@charset "UTF-8";

body {
    margin: 0;
    background-color:  #E0DED4;
    font-family: "Bellefair", "Helvetica-Light","Inter-SemiBold", "Inter-Medium", "Inter";
    overflow-x: hidden;
}


/*----- 変数定義 -----*/
:root {
    --color-primary: #202121;
    --color-secondary: #E0DED4;
    --color-accent: #A49D7D;

    --width-content: 100%;
    --width-content2: 770px;
    --width-content3: 500px;
    --width-content4: 320px;

    --space-unit: 20px;
    --space-section: 50px;
    --space-large: 100px;
    --space-big: 250px;
}

/*----- home -----*/
.HOME {
    background-color: var(--color-secondary);
    width: 100%;
}

/*----- layout -----*/
section {
    margin-bottom: var(--space-big);
}

.wrapper,
.wrapper-sec {
    width: var(--width-content);
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
    max-width: 100%;
    padding-left: 5%;
    padding-right: 5%;
}

.wrapper-sec01 {
    padding: 0;
}

.wrapper-sec03 {
    margin: 0 auto var(--space-big);
    position: relative;
    box-sizing: border-box;
    max-width: 100%;
    padding-top: 30px;
}

/*----- 共通 -----*/
.sec-ttl,
.sec-ttl#ttl-2 {
    text-align: left;
    transform: rotate(90deg);
    font-weight: 400;
    color: #202021;
    font-size: 9rem;
    letter-spacing: 0;
    line-height: normal;
    white-space: nowrap;
    margin-left: 0;
}

.sec-ttl {
    margin-top: 40px;
    position: relative;
}

.sec-ttl#ttl-2 {
    margin-top: 20px;
}

h1 {
    font-size: 60px;
    text-align: center;
}

.text {
    font-size: 18px;
}

.text-big {
    font-size: 35px;
}

.text-mini {
    font-size: 13px;
    padding: 10px 0;
}

img {
    margin: 0 auto;
    display: block;
    width: 100%;
    height: auto;
}

/*----- ボタン -----*/
.btn,
.btn-2nd {
    background: none;
    border: none;
    font-size: 20px;
    color: #333;
    text-decoration: underline;
    transition: transform 1.0s cubic-bezier(0.25, 1, 0.5, 1), opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    padding-right: 5%;
    padding-left: 5%;
}

.btn {
    position: absolute;
    right: 0;
    bottom: 0;
}

.btn-2nd {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.btn:hover,
.btn-2nd:hover,
.view-more:hover  {
    transform: scale(1.2);
    opacity: 0.7;
}

.view-more {
    display: inline-block;
    padding-top: 5rem;
    padding-right: 0;
    text-decoration: underline;
    color: #333;
    position: relative;
    transition: transform 1.0s cubic-bezier(0.25, 1, 0.5, 1), opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    font-size: 20px;
}

.btn-back {
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
    font-size: 20px;
    text-decoration: underline;
    transition: transform 1.0s cubic-bezier(0.25, 1, 0.5, 1), opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/*----- ページトップボタン -----*/
.pagetop {
    display: none;
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 9999;
    width: 50px;
    height: 50px;
    background-color: rgba(128, 128, 128, 0.5); /* 半透明のグレー */
    border-radius: 50%;
    opacity: 1;
}

.pagetop:before {
    content: "";
    position: absolute;
    height: 10px;
    width: 10px;
    border-top: 3px solid white;
    border-right: 3px solid white;
    transform: translate(0, 20%) rotate(-45deg);
    top: calc(50% - 5px);
    left: calc(50% - 5px);
}

/*----- ホバー制御 -----*/
@media (hover: hover) and (pointer: fine) {
    .btn-primary:hover,
    .btn-secondary:hover,
    .pagetop a:hover {
        opacity: 0.7;
    }
}

@media (hover: none) or (pointer: coarse) {
    .btn-primary:active,
    .btn-secondary:active,
    .pagetop a:hover {
        opacity: 1;
    }
}

/*////// HEADER /////////////////////////////////*/
.header .wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header .wrapper {
    margin-bottom: var(--space-unit);
}


/* logo */
.logo {
    padding-top: var(--space-section);
    margin: 0 auto var(--space-section);
    max-width: 1600px;
    height: auto;
    display: block;
    width: 100%;
}


/* nav menu */
.navbar {
    flex: 1; /* navとmenuボタンで space-between を効かせる */
    padding-top: 50px;
    max-width: 1500px;
    margin: 0 auto;
}


.navbar ul  {
    display: flex;
    justify-content: space-between;
    list-style: none;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    
}

.navbar a {
    font-family: "Inter-SemiBold", Helvetica;
    font-weight: 600;
    color: #202021;
    font-size: 24px;
    text-decoration: none;
    transition: transform 1.0s ease, color 0.3s; /* ← 追加（拡大+色の滑らかさ） */
}

.navbar a:hover {
    transform: scale(1.2); /* ← ホバー時に拡大 */
    color: var(--color-accent); /* ← 色変更もしてるならそのまま残してOK */
}

.nav-list {
    width: 100%; /* ← 固定幅をやめる */
    justify-content: space-between; /* もここで指定するのが明確 */
    padding-bottom: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.nav-link {
    display: block;
    height: 60px;
    font-size: 30px;
    font-weight: bold;
    color: var(--color-white);
    text-align: center;
    line-height: 60px;
    transition: all 0.5s;
}

.navbar-footer {
    display: flex; /* ← これがないと space-between は無効 */
    flex: 1;
    max-width: 1200px;     /* .wrapper と同じ横幅 */
    margin: 0 auto;        /* 中央に配置 */
}

.nav-link:hover {
    color: var(--color-accent);
}

/* スライダー画像 */
.slider {
    margin-bottom: var(--space-large);
}

.slider img {
    width: 100%;
    margin: 0 auto;
    display: block;
}

.slider2 {
    width: 100%;
}

/* スライダー矢印カスタマイズ */
.slick-prev {
    left: 20px;
    z-index: 1;
    transform: rotateY(180deg);
}

.slick-next {
    right: 20px;
}

.slick-prev:before,
.slick-next:before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f0c8";
}

.slick-dots,
.slick-prev,
.slick-next {
    display: none !important;
}


/*////// TOP /////////////////////////////////*/
/*===== sec01 =====*/

/* タイトル */
.h1-1 {
    margin-bottom: 400px;
    padding-top: var(--space-section);
    opacity: 0;
    animation: fadeUp 1.0s ease-out forwards;
    animation-delay: 0.3s;
}

/* テキスト設定 */
.text {
    line-height: 1.6;
    padding-top: 5%;
    text-align: left;
    max-width: var(--width-content3);
}

/* アニメーション付きライン（rectangle） */
.HOME .rectangle1 {
    display: block;
    position: absolute;
    width: 270px;
    height: 3px;
    background-color: #202021;
    top: 120%;
    left: 50%;
    transform: rotate(90deg);
    transform-origin: left center;
    opacity: 0;
    animation: slideRightFadeIn 1.5s ease-out forwards;
    animation-delay: 1.5s;
}

/*===== アニメーション定義 =====*/

/* フェードアップ */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 縦にラインを描く */
@keyframes drawLine {
    0% {
        height: 0;
    }
    100% {
        height: 100%;
    }
}

/* ラインを右へフェードインしながら描画 */
@keyframes slideRightFadeIn {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 270px;
        opacity: 1;
    }
}

/*===== テキストと画像のリストエリア =====*/


.box-list {
    display: flex;
    justify-content: space-between;
    gap: 100px; 
    flex: wrap;
    margin-top: 12%;
    margin-bottom: 12%;
}


/* 各記事ブロック */
.box-list article {
    width: calc((100% - 100px) / 2);
}

p.post-date {
    margin-top: 15px;
}

/* 画像設定 */

.box-list-flex dd {
    flex-basis: 25%;
}

.box-list .pc {
    max-width: 100%;
    height: auto;
    display: inline-block;
    vertical-align: top;
    align-items: end;
    padding-top: 5%;
}

.box-list img {
    height: auto;
    object-fit: cover; /* 必要なら切り抜き調整 */
    display: block; /* スクロールや余白対策 */
}


/* ホバー時のエフェクト */
.pc-1 {
    transition: transform 0.3s ease; /* 拡大・縮小をなめらかに */
}
.box-item:hover .pc-1 {
    transform: scale(1.08);  /* ホバー中は拡大 */
}
.box-item:hover .box-txt {
    opacity: 1;  /* テキストがフェードイン */
}

/* テキスト＋画像 */
/* アニメーション関連のCSS */
.f-up {
    opacity: 0;
}

.f-up.fadeup {
    animation: fadeupanime 1.5s forwards;
}

@keyframes fadeupanime {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*----- sec02,04 -----*/

  /* カテゴリーページ */
.news .sec-ttl,
.journal .sec-ttl {
    transform: rotate(0);
    margin-top: var(--space-large);
}

.news .box-list,
.journal .box-list {
    margin-top: 7%;
}

.news .sec04,
.journal .sec04 {
    margin-bottom: var(--space-unit);
}

/* 各ボックスアイテム - 均等に4分割 */
.box-item {
    flex: 1 1 calc(25% - 15px); /* 4分割で、gap分を考慮 */
    min-width: 200px; /* 小さい画面での最小幅 */
    flex-shrink: 0;   /* 縮ませない */
    display: inline-block;
    position: relative;
    margin: 10px;
}



/* Flexboxコンテナ */
.box-list-flex {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    position: relative; /* 絶対配置の基準点 */
    padding-bottom: var(--space-section);
}

.box-box {
    display: flex;
    justify-content: flex-start;
    gap: 30px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-left: 15px; /* ✅←ここを追加 */
    scroll-padding-left: 15px; /* スムーズスクロール対策 */
}

.box-box::-webkit-scrollbar {
    height: 6px;
}

.box-box::-webkit-scrollbar-track {
    background: transparent; /* 背景透明にする */
}

.box-box::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2); /* 薄い黒のつまみ */
    border-radius: 10px;
}


/* 最初のボックス（タイトル用）のスタイル */
.title-box {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
}

.title-box h2 {
    font-size: 24px;
    color: #333;
}

.HOME .rectangle2 {
display: block;
    width: 80%;
    height: 3px;
    background-color: #202021;
  margin: 40px auto 0; /* デフォルトは中央に */
}

  /* 図とイメージのスタイル */
figure {
    width: 100%;
    margin-bottom: var(--space-unit);
}

.pc-1 {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s cubic-bezier(0.33, 0, 0.67, 1);
    transform-origin: bottom center;
    object-fit: cover;
}

.pc-1 .end-img {
    width: 100%;
}

  /* テキスト部分のスタイル */
.box-txt {
    margin-top: 1rem;
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
    transition: opacity 0.3s ease;
}

.card {
    width: 400px;
    box-sizing: border-box;
    padding: 0 var(--space-unit);
}

.card-txt {
    font-size: 16px;
    line-height: calc(26 / 14); 
}


/*----- sec03 -----*/
.sec03-wrapper {
    position: relative; 
}

.ttl-bgi {
    position: relative;
    width: 100%;
    height: auto;
    text-align: center;
}

.pc-bg {
    width: 100%;
    height: auto;
    display: block;
}

.sec-ttl-2 {
    position: absolute;
    top: 35%;
    color: var(--color-secondary);
    z-index: 2;
    font-size: 140px;
    letter-spacing: 0;
    padding-left: var(--space-section);
    width: 100%;
}
.sec-ttl-2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0px; 
    width: 0; /* 最初は0で非表示 */
    right: 0;    /* ← 右端まで広げる */
    height: 2px;
    background-color: var(--color-secondary);
    animation: underlineExpand 4s ease-out forwards;
}

.sec-ttl-2-2 {
    position: relative; /* ← これが必要！ */
    color: var(--color-primary);
    z-index: 2;
    font-size: 140px;
    letter-spacing: 0;
    padding-left: var(--space-section);
    width: 100vw;
}

.sec-ttl-2-2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0px; 
    width: 0; /* 最初は0で非表示 */
    right: 0;    /* ← 右端まで広げる */
    height: 2px;
    background-color: var(--color-primary);
    animation: underlineExpand 4s ease-out forwards;
}


/* アニメーション定義 */
@keyframes underlineExpand {
    0% {
        width: -10%;
        opacity: 0;
        }
        100% {
        width: 100%;
        opacity: 1;
        }
    }
    


.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 50% 50%;
    position: relative;
    padding-bottom: var(--space-unit);
}

.item-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    border: 1px solid black;
    padding: 3.0rem;
}


.item-box img.pc-2 {
    margin: 0 auto;
    display: block;
    width: auto;
}

.flexcontainer {
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: left;
    padding: 2.5rem;
}

.text-wrapper {
    display: inline-block;
    margin-left: 10px;
    font-weight: 500;
    font-size: 20px;
}

.item-box2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    border: 1px solid black;

}

.item-box2 .text {
    margin: 0;
    padding: 10px 0;
    position: relative;
}

.item-box2 .text:first-child {
    border-bottom: 1px solid #000; /* This creates the line between paragraphs */
}

.text#01 {
    font-size: 1.5rem; /* Makes this text larger */
}


/*----- sec05 -----*/

.HOME .rectangle5 {
    width: 80%; /* 画面サイズにあわせ伸縮 */
    height: 3px;
    background-color: #202021;
    top: 300px; /* 垂直位置は必要に応じて指定してください */
    left: 50%;  /* 親要素の左端から50%の位置へ */
    display: block;
}


/*----- product-sec06 -----*/

.sec06 {
    position: relative;
    box-sizing: border-box;
    margin: 0;
    margin: 0 auto;
}

.sec06 .text {
    padding-top: 0;
}

.sec-ttl-2-2 {
    color: var(--color-primary);
    z-index: 2;
    text-align: left;
    font-size: 140px;
    margin-top: var(--space-large);
    margin: var(--space-large) 0 0 0; /* ← 左の余白をゼロに */
}

.box-list-flex#products00 {
    margin-bottom: var(--space-section);
}

.box-list-flex#products {
    margin-bottom: var(--space-section);
}


/* sec7*/
.heading-7 {
    display: inline-block;
    position: relative;
    margin: calc(3.5em / 2) 0 0 calc(3.5em / 2);
    color: #202121;
    line-height: 1;
}

.heading-7::before {
    position: absolute;
    bottom: calc(-3.5em / 16);
    left: calc(-3.5em / 2);
    z-index: -1;
    width: 3.5em;
    height: 3.5em;
    border-radius: 50%;
    background: #eeede7;
    content: '';
}

/* journal 一覧のレイアウト調整 */
.sec-04 .journal .box .f-up .fadeup {
    max-width: 320px;
}




/*----- end img -----*/
.wrapper-end {
    margin-top: var(--space-large);
    margin-bottom: var(--space-large);
    margin-left: 0;
    margin-right: auto;
    width: clamp(300px, 75%, 960px); /* ← 画面幅に応じて可変 */
    box-sizing: border-box;
}


/*////// FOOTER /////////////////////////////////*/
/* スライド文字 */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: var(--color-secondary); /* 背景色適用 */
}

.marquee-content {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%; /* 右から登場 */
    animation: scroll-left 30s linear infinite;
}

.h1-2 {
    display: inline-block;
    color: var(--color-primary);
    padding: 1rem 2rem;
    white-space: nowrap;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* フッター */
.footer {
    margin-top: var(--space-section);
}

.wrapper2 {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 2.5rem;
    color: var(--color-white);
    background: var(--color-primary);
}

.address {
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1.39; /* 25 ÷ 18 ≒ 1.39 */
    margin: 0 auto;
}

.footer-ttl {
    font-weight: bold;
    padding-bottom: var(--space-unit);
}

.sns {
    padding-top: 30px;
    padding-bottom: 60px;
    color: var(--color-secondary);
    font-size: 20px;
}

.copyright {
    color: var(--color-secondary);
    text-align: center;
    font-size: 15px;
}

.footer .logo {
    transition: filter 0.3s ease, transform 0.5s ease;
  }
  
  .footer .logo:hover {
    filter: brightness(0.8);
    transform: scale(1.05);
  }


/* ニュースレターセクション */
.newsletter-section {
    margin-top: 50px;
    margin-bottom: 30px; 
}

.newsletter-title {
    font-size: 1em; /* 文字サイズ */
    margin-bottom: 15px; /* フォームとの余白 */
    color: var(--color-secondary); /* タイトルの文字色 */
}

  .newsletter-form {
    display: flex;      /* 入力欄とボタンを横並びにする */
    justify-content: center; /* 中央揃え */
    align-items: center; /* 垂直方向中央揃え */
    max-width: 400px;   /* フォームの最大幅 */
    margin: 0 auto;     /* 中央揃え */
  }
  
  .newsletter-form input[type="email"] {
    flex-grow: 1;         /* 横幅を可能な限り広げる */
    padding: 12px 15px;   /* 内側の余白 */
    border: 1px solid #ccc; /* 枠線の色 (薄いグレー) */
    background-color: transparent; /* 背景を透明に */
    color: #f0f0f0;         /* 入力文字の色 */
    border-radius: 4px 0 0 4px; /* 左側の角を丸める */
    font-size: 0.9em;
    outline: none; /* フォーカス時の枠線を消す (必要なら別途スタイル指定) */
  }
  
  .newsletter-form input[type="email"]::placeholder {
    color: #aaa; /* プレースホルダーの文字色 */
    opacity: 1;
  }
  
  .newsletter-form button[type="submit"] {
    padding: 10px;       /* 内側の余白 */
    border: 1px solid #EAE7DC; /* 枠線の色 */
    background-color: #EAE7DC; /* ボタンの背景色 (クリーム色系) */
    color: #222;         /* アイコンの色 (濃いグレー) */
    cursor: pointer;
    border-radius: 0 4px 4px 0; /* 右側の角を丸める */
    line-height: 0; /* SVGアイコンのずれを防ぐ */
    margin-left: -1px; /* 枠線の重なりを調整 */
    height: 46.4px; /* inputの高さに合わせる (paddingで調整) */
    width: 46.4px;  /* inputの高さに合わせる (paddingで調整) */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease; /* ホバー効果 */
  }
  
  .newsletter-form button[type="submit"]:hover {
    background-color: #dcd9cf; /* ホバー時の背景色 */
  }
  
  .newsletter-form button svg {
    width: 20px;  /* アイコンサイズ */
    height: 20px; /* アイコンサイズ */
    stroke: #222; /* アイコン線の色 */
  }

/* SNS */
  .social-links {
    text-align: center; /* アイコン全体を中央揃え */
    margin-bottom: 20px; /* 他の要素との下に余白 */
  }
  
  .social-links ul {
    list-style: none; /* リストの点を消す */
    padding: 0;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  
  .social-links li {
    display: inline-block; /* 横並びにする */
    margin: 0 10px; /* アイコン間の左右の余白 */
  }
  
  .social-links a {
    display: inline-block; /* クリック範囲を確保 */
    color: #ffffff; /* アイコンの色 (白) */
    font-size: 28px; /* アイコンのサイズ (SVGの場合は width/height で調整も可) */
    text-decoration: none; /* 下線を消す */
    transition: opacity 0.3s ease; /* ホバー効果 */
  }
  
  .social-links a:hover {
    opacity: 0.7; /* ホバー時に少し薄くする */
  }
  
  /* SVG を使う場合のサイズ調整 */
  .social-links a svg {
    width: 24px; /* SVGの幅 */
    height: 24px; /* SVGの高さ */
    vertical-align: middle; /* 上下の位置調整 */
  }
  




/*----- responsive　tablet (ipad) 記述少なめになる -----*/ 
@media screen and (min-width: 768px) and (max-width: 1199px)/*768以上1199以下*/ {
section {
    margin-bottom: 100px;
}
.wrapper {
    width: 768px !important; /*一番小さい値にしていれば形が崩れない*/
}

.wrapper-sec03 {
    margin: 0 auto;
}

.header {
    margin-bottom: 50px;
}

.box {
    width: 80%;
}

.footer-nav {
    width: 100%;
}

.sec-ttl {
    font-size: 100px;
}

.navbar-footer,
.logo {
    margin-right: auto;
    box-sizing: border-box;
}

nav#nav.navbar {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.wrapper2 {
    padding-top: 2.5rem;
}

.logo {
    margin-bottom: 0;
    padding-left: 5%;
    padding-right: 5%;
}

.sns {
    padding-bottom: 50px;
}

.sec-ttl,
.sec-ttl-2,
.sec-ttl-2-2,
.sec-ttl#ttl-2 {
    font-size: 100px; /* タブレット向けに小さく */
    padding: 0;
    margin: 0;
    }
    
.sec-ttl-2 {
    position: absolute;
    padding-left: var(--space-unit);
}

.rectangle2,
.rectangle5 {
    margin-left: 30px !important;
}

.box-item {
    margin: 0;
    width: 100%; /* または 48% など */
}


.sec06 .box-list-flex {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-left: 15px;
    scroll-padding-left: 15px;
}

/* sec6*/
.sec06 {
    width: 100%;
}

.box-list {
    gap: 50px; /* 余白を少し狭める */
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}

.scent {
    padding-top: 5%;
}

#nav {
    display: flex !important;
    flex-direction: row;
    justify-content: space-between;
  }

  .menu {
    display: none; /* ハンバーガーを非表示にする */
  }


}