@charset "utf-8";
/*=================================
 ここから
共通設定（モバイルファースト）
=================================*/

body {
  background-color: #F3F5E7; /* 背景色（淡いベージュ） */
  color: #4A4A4A;            /* 文字色（濃いグレー） */
  font-family: "Zen Kaku Gothic New", sans-serif; /* 本文用フォント */
  font-size: 16px;           /* モバイルの本文サイズ */
  font-weight: 400;
  letter-spacing: 0.05em;    /* 文字間隔やや広め */
  line-height: 1.75;         /* 行間やや広め */
  margin: 0;
}

section {
  margin: 80px auto;       /* セクション間の余白 */
}

/* === 見出し（h1～h3） === */
h1, h2, h3, h4 {
  font-family: "Sawarabi Mincho", serif; /* 和風の見出し用フォント */
  font-weight: 400;
  text-shadow: 0 4px 4px rgba(0,0,0,0.25); /* ソフトな影 */
  line-height: 1.5;
}

h1 {
  font-size: 32px;
  letter-spacing: 0.03em;
  color: #73916F;
}

h2 {
  font-size: 28px;
  letter-spacing: 0.025em;
  color: #73916F;
  padding-bottom: 40px;
}

h3 {
  font-size: 22px;
  letter-spacing: 0.02em;
  text-shadow: none;        /* h3のみ影なしで軽やかに */
  line-height: 1.6;
  color: #73916F;
}

h4 {
  font-size: 18px;
  letter-spacing: 0.02em;
  text-shadow: none;        /* h3のみ影なしで軽やかに */
  line-height: 1.6;
  color: #73916F;
}

/* === 本文テキスト（p） === */
p {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  letter-spacing: 0.02em;
  line-height: 1.8;
}

/* === ボタンスタイル（.btn） === */
.btn {
  display: flex;            /* 中央揃えのためFlex使用 */
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 40px;
  margin: 40px 0;
  font-size: 18px;
  color: #c6803e;           /* オレンジ系の文字色 */
  text-decoration: none;
  border-radius: 0;
  line-height: 1;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
  z-index: 2;
}

/* ボタンに上下の横線を表示（アニメ付き） */
.btn::before,
.btn::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #c6803e;
  transition: 0.3s;
  z-index: 1;
}

.btn::before { top: 0; }      /* 上の線 */
.btn::after { bottom: 0; }    /* 下の線 */

/* ホバーで線がスライドして消える演出 */
.btn:hover::before {
  transform: translateX(-100%);
}
.btn:hover::after {
  transform: translateX(100%);
}

/* === ここからフェードイン共通 === */

/* セクション全体を下からふわっと表示させるアニメーション用クラス */
.fade-in-section {
  opacity: 0; /* 初期は非表示 */
  transform: translateY(30px); /* 下から30pxずらして表示 */
  transition: opacity 1.2s cubic-bezier(0.4,0,0.2,1), transform 1.2s cubic-bezier(0.4,0,0.2,1); /* ゆっくり上品な動き */
  will-change: opacity, transform; /* パフォーマンス向上 */
}
/* 表示範囲に入ったら適用されるクラス */
.fade-in-section.is-visible {
  opacity: 1; /* 透明→表示 */
  transform: none; /* 元の位置へ */
}

/* --- 画像用: 右からふわっと --- */
/* 画像が右からふわっと表示されるアニメーション用クラス */
.fade-in-right {
  opacity: 0; /* 初期は非表示 */
  transform: translateX(50px); /* 右から50pxずらして表示 */
  transition: opacity 1.2s cubic-bezier(0.4,0,0.2,1), transform 1.2s cubic-bezier(0.4,0,0.2,1); /* ゆっくり上品な動き */
  will-change: opacity, transform; /* パフォーマンス向上 */
}
/* 表示範囲に入ったら適用されるクラス */
.fade-in-right.is-visible {
  opacity: 1; /* 透明→表示 */
  transform: none; /* 元の位置へ */
}

/* --- 画像用: 左からふわっと --- */
/* 画像が左からふわっと表示されるアニメーション用クラス */
.fade-in-left {
  opacity: 0; /* 初期は非表示 */
  transform: translateX(-50px); /* 左から50pxずらして表示 */
  transition: opacity 1.2s cubic-bezier(0.4,0,0.2,1), transform 1.2s cubic-bezier(0.4,0,0.2,1); /* ゆっくり上品な動き */
  will-change: opacity, transform; /* パフォーマンス向上 */
}
/* 表示範囲に入ったら適用されるクラス */
.fade-in-left.is-visible {
  opacity: 1; /* 透明→表示 */
  transform: none; /* 元の位置へ */
}
/* === ここまでフェードイン共通 === */


/* === PC・タブレット用の調整（768px以上） === */
@media screen and (min-width: 768px) {
    
section {
  margin: 150px auto;       /* セクション間の余白 */
}

  h1 {
    font-size: 40px;
    letter-spacing: 0.05em;
  }
  h2 {
    font-size: 36px;
    letter-spacing: 0.04em;
  }
  h3 {
    font-size: 24px;
    letter-spacing: 0.03em;
  }
    
    h4{
        font-size: 22px;
    }
    
  p {
    font-size: 20px;
  }
}

/*=================================
 ここまで
タブレット・PC用（768px以上）
=================================*/
/*===========================
 ここからナビゲーション
===========================*/
.main-nav {
    display: flex; /* 子要素を横並びにする（Flexbox） */
    justify-content: space-between; /* 子要素を左右に最大限離して配置 */
    align-items: center; /* 子要素を垂直方向の中央に配置 */
    padding: 10px 20px; /* ナビゲーションバーの内側の余白 */
    background-color: #FFF; /* ナビゲーションバーの背景色（視認性のため） */
    color: #73916F;
   /* ↓ ここから追記・修正 ↓ */
    position: fixed;   /* 上部に固定 */
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;      /* 他の要素の前面に出す */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 見た目の補強 */
}

.nav-logo {
    font-size: 24px; /* ロゴの文字サイズ */
    font-weight: bold; /* ロゴの文字を太字に */
    font-family: "Sawarabi Mincho", serif; /* 和風の見出し用フォント */
    display: flex;                 /* 画像とテキストを横並びに */
    align-items: center;           /* 縦方向中央揃え */
}

.logo-img {
    height: 32px;                  /* 画像の高さ（必要に応じて調整） */
    margin-right: 8px;             /* 画像とテキストの間に余白 */
    display: inline-block;
    vertical-align: middle;
}

/* Hamburger menu styling */
.hamburger {
    width: 30px; /* ハンバーガーアイコンの幅 */
    height: 20px; /* ハンバーガーアイコンの高さ */
    display: flex; /* 子要素（span）をFlexboxで配置 */
    flex-direction: column; /* 子要素を縦方向に並べる */
    justify-content: space-between; /* 子要素を上下に最大限離して配置 */
    cursor: pointer; /* マウスオーバー時にカーソルをポインターにする */
    z-index: 1000; /* 他の要素の上に表示されるようにする */
}

.hamburger span {
    display: block; /* spanをブロック要素にする */
    width: 100%; /* 幅を親要素（.hamburger）いっぱいに */
    height: 3px; /* 線の高さ */
    background-color: #73916F; /* 線の色 */
    transition: all 0.3s ease; /* すべてのプロパティの変化を0.3秒かけて滑らかに */
}

/* Transform hamburger to 'x' when active */
.hamburger.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg); /* 1番目の線を下に移動して45度回転 */
}

.hamburger.is-active span:nth-child(2) {
    opacity: 0; /* 2番目の線を透明にする */
}

.hamburger.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg); /* 3番目の線を上に移動して-45度回転 */
}

/* Navigation list styling */
.nav-list {
    list-style: none; /* リストの点（・）を非表示に */
    margin: 0; /* 外側の余白をなくす */
    padding: 0; /* 内側の余白をなくす */
    display: none; /* **モバイル表示では初期状態では非表示** */
    flex-direction: column; /* 子要素を縦方向に並べる */
    width: 100%; /* 幅を親要素いっぱいに */
    background-color: #FFF; /* ナビゲーションリストの背景色 */
    position: absolute; /* 親要素（.main-nav）を基準に位置を絶対指定 */
    top: 100%; /* 親要素のすぐ下に配置 */
    left: 0; /* 親要素の左端に配置 */
    text-align: center; /* テキストを中央揃え */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* 軽い影をつける */
    z-index: 999; /* 他の要素の上に表示されるようにする */
}

.nav-list.is-active {
    display: flex; /* **is-activeクラスが付いたら表示** */
}

.nav-list li {
    padding: 15px 0; /* リストアイテムの内側の上下余白 */
    border-bottom: 1px solid #ddd; /* リストアイテムの下に線 */
}

.nav-list li:last-child {
    border-bottom: none; /* 最後のリストアイテムには下線を表示しない */
}

.nav-list a {
    text-decoration: none; /* リンクの下線を非表示に */
    color: #333; /* リンクの文字色 */
    font-size: 18px; /* リンクの文字サイズ */
    display: block; /* リンクをブロック要素にして、クリック可能な範囲を広げる */
}

.nav-list a:hover {
    background-color: #F3F5E7; /* マウスオーバー時の背景色 */
}

/* Media query for larger screens (desktop) */
@media (min-width: 768px) {
    /* 画面幅が768px以上の場合（デスクトップ向けの設定） */
    .hamburger {
        display: none; /* **ハンバーガーメニューを非表示に** */
    }

    .nav-list {
        display: flex; /* **ナビゲーションリストを常に表示** */
        flex-direction: row; /* 子要素を横方向に並べる */
        position: static; /* 絶対配置を解除し、通常の位置に戻す */
        width: auto; /* 幅を自動調整 */
        box-shadow: none; /* 影を非表示に */
        background-color: transparent; /* 背景色を透明に */
    }

    .nav-list li {
        border-bottom: none; /* 下線を非表示に */
        padding: 0 15px; /* リストアイテムの左右余白 */
    }

    .nav-list a {
        font-size: 16px; /* リンクの文字サイズを調整 */
    }
}

/*=============================
ここまでナビゲーション
=============================*/

/*=================================
  ここからFV
=================================*/

header {
  background: url('../images/fv-mb-img1.png') no-repeat center center / cover;
  height: 100vh;
  max-width: 1800px;
  margin: 0 auto;
}
h1{
    width: 100%;
    text-align: center;
    padding-top: 100px;
}

.br-sp {
  display: block;
}

@media screen and (min-width: 1023px) {
    
  .br-sp {
  white-space: nowrap;
  }
    
  header {
    background: url('../images/fv-pc-img2.png') no-repeat center top / cover;
    height: 100vh;
    position: relative; /* h1をpositionで配置するために必要 */
  }
header h1.heading {
  width: auto;
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 4rem;
  top: 8rem;
  gap: 1rem; /* 行間調整。必要に応じて調整 */
  line-height: 1.5;
}

.heading span {
  display: inline-block;
  background: rgba(255,255,255,0.9);
}
.heading span:last-child {
  margin-bottom: 0;
}
}


/*=================================
  ここまでFV
=================================*/
/*=================================
  ここから私たちについて
=================================*/
.about h2,
.about p{
    padding: 0 40px;
}

.about h2{
    margin-bottom: 40px;
}

.img-left-pc{
    display: none;
}
.img-left-mb {
  width: calc(100vw - 100px); /* 画面幅 - 100px（左に100px余白） */
  height: auto;
  display: block;
  margin-bottom: 80px;
}
.img-right {
  width: calc((100vw - 40px) / 2); /* 左画像の半分の幅 */
  height: auto;
  display: block;
  margin-left: auto; /* 右寄せ */
}

.br-pc {
  display: none;
}

@media screen and (min-width: 768px) {

.br-pc {
    display: inline;
  }

.about h2{
    margin-left: 200px;
}
/* .about セクション内のコンテンツの配置を調整 */
.about-area {
    display: flex; /* 子要素（h2とp）を横並びにする */
    align-items: flex-start; /* 子要素の開始位置（上端）を揃える */
    justify-content: center;
    /* 必要に応じてgapプロパティで子要素間の余白を設定できます */
    gap: 20px; /* 例えば、h2とpの間に20pxのスペース */
    flex-wrap: wrap; /* 画面幅が狭い場合に折り返す */
    padding: 0 20px; /* 左右の余白（必要に応じて） */
}

    .about-text-area{
        padding-top: 150px;
    }
    .img-left-mb{
        display: none;
    }
    
  .img-left-pc {
    display: block;
    width: 60vw; /* 画面の半分の幅 */
    margin-bottom: 150px;
    margin-top: 110px;/* ボタンのマージン40pxと足して150x */
  } 
    
    .img-right{
        width: 20vw; /* 画面の半分の幅 */
        margin-right: 150px;
        margin-bottom: 150px;
    }
}
/*=================================
  ここまで私たちについて
=================================*/
/*=================================
  ここからおいしさ
=================================*/

.taste h2, p{
    padding-right: 40px;
    padding-left: 40px;
}
.taste img{
    width: 100%;
    padding-top: 20px;
}

@media screen and (min-width: 768px) {
  .taste {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px; /* お好みの間隔 */
    padding: 40px;
  }

  .taste-area {
    width: 30%;
    padding: 0;
  }

  .taste img {
    width: 30%;
    padding-top: 0;
  }
}

/*=================================
  ここまでおいしさ
=================================*/
/*=================================
  ここからこだわり
=================================*/
.commitment h2,
.commitment p{
    padding: 0 40px;
}

.commitment h2{
    margin-bottom: 40px;
}


.commitment{
    background-color: #73916F;
    text-align: center;
}

.commitment h3,
.commitment p {
    color: #FFF;
}
.commitment p{
    text-align: left;
}

    .commitment-heading {
      text-align: center;
      margin-top: 100px;
  position: relative;
  overflow: hidden; /* 拡大してはみ出る部分を隠す */
    }
    .vertical-heading {
     position: relative;
     z-index: 2;
      writing-mode: vertical-rl;
      -webkit-writing-mode: vertical-rl;
      display: inline-block;
      background: rgba(255, 255, 255, 0.9);
      padding: 0 10px;
      height: 300px;
      line-height: 0.2;
      margin-top: 150px;
    }

.bg-under-heading {
  background-image: url('../images/renkon-1.png'); /* ←画像パスに応じて変更 */
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 400px;         /* お好みで高さを調整 */
  position: absolute;
  top: 40px; /* 必要に応じて調整 */
  left: 0;
  z-index: 1;
  transform: scale(1); /* 2倍に拡大 */
  transform-origin: center center; /* 拡大の基準を中央に */
}

.commitment img{
    width: 60%;
    margin: 20px auto 80px;
}

.commitment .btn {
  color: #F3F5E7;           /* オレンジ系の文字色 */
}

/* ボタンに上下の横線を表示（アニメ付き） */
.commitment .btn::before,
.commitment .btn::after {
  background-color: #F3F5E7;
}

@media screen and (min-width: 768px) {
.commitment{
    margin-right: 200px;
}
.sentence{
    margin-left: 200px;
    }
  .commitment-groups {
    display: flex;
    justify-content: space-between; /* 間隔調整。 */
    gap: 10px; /* 要素の間に余白を加える */
    margin-top: 110px;
  }

  .commitment-group-one,
  .commitment-group-two,
  .commitment-group-three {
    flex: 1; /* 各要素を均等に並べる */
  }

}

/*=================================
  ここまでこだわり
=================================*/

/*=================================
  ここから問い合わせ
=================================*/

/* タイトルのスタイル */
.contact h3 {
  display: inline-block;
  padding: 0 10px;
  height: auto;
  line-height: 1.5;
  color: #4A4A4A;
  background-color: #FFF;
}

/* 背景に敷く画像（透過） */
.contact-img-one {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 1;
  width: 100%;
  opacity: 0.7;
  pointer-events: none;
}

.contact-img-one img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* 全体ラッパー */
.contact-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* 文字部分（画像の上に表示） */
.contact-heading {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 20px;
}

/* 画像＋キャプションのコンテナ */
.contact-img-two,
.contact-img-three {
  position: relative; /* キャプションの絶対位置基準 */
  padding: 0;
  flex: 1;
  width: 80%;  /* これで親コンテナの幅を70%に */
  max-width: 80%; /* 念のため最大幅も指定 */
  margin: 0 auto;
}

/* 画像のスタイル */
.contact-img-two img,
.contact-img-three img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0;
}

/* キャプション */
.contact-caption {
  position: absolute;
  bottom: 0;
  left: 0; /* 画像の左端にぴったり揃える */
  background-color: #FFF;
  color: #4A4A4A;
  padding: 0 10px;
  line-height: 1.5;
  white-space: nowrap; /* 文章が長い場合は折り返さない */
}

/* 縦書きキャッチコピー */
.heading-one,
.heading-two {
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  display: inline-block;
  background: rgba(255, 255, 255, 0.7);
  padding: 0 10px;
  line-height: 1;
  text-align: center;
}

.heading-one {
  height: 200px;
  margin-right: 20px;
}

.heading-two {
  height: 500px;
}

/* サブ見出し */
.contact h4 {
  color: #73916F;
  padding: 0 40px;
  margin: 20px auto;
}

/* 段落 */
.contact p {
  padding: 0 40px;
}

.contact-block{
    margin-top: 40px;
}

/*=================================
  PCサイズ以上のレスポンシブ対応
=================================*/
@media screen and (min-width: 768px) {
  .contact-wrapper {
    width: 60%;
    min-height: 600px;
    margin: 0 auto;
  }

  .heading-one {
    height: 240px;
  }

  .heading-two {
    height: 640px;
  }

  .contact-img-one {
    top: 60%;
  }

  /* 画像とテキストを横並び */
  .contact-block {
    display: flex;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 150px auto 60px;
  }

  /* 画像とテキストを均等割り */
  .contact-img-two,
  .contact-img-three,
  .individual-sentence,
  .company-sentence {
    flex: 1;
  }

  /* テキストの左右余白 */
  .individual-sentence,
  .company-sentence {
    padding: 0 10px;
  }
}

/*=================================
  ここまで問い合わせ
=================================*/


/*=================================
  ここからフッター
=================================*/

footer{
    padding-top: 40px;
    background-color: #73916F;
    line-height: 3em;
    color: #FFF;
    font-family: "Sawarabi Mincho", serif; /* 和風の見出し用フォント */    
}

footer p{
    font-family: "Sawarabi Mincho", serif; /* 和風の見出し用フォント */
    font-size: 20px;
}

.footer-one,.footer-two, small{
    padding: 0 40px;
}

/* 横並びにする要素全体を囲むコンテナ */
.footer-container {
  display: flex; /* 子要素を横または縦に並べるflexboxを使う */
  flex-direction: column; /* 初期状態（スマホなど）は縦並び */
}

/* パソコンサイズ（幅768px以上）の時だけレイアウト変更 */
@media (min-width: 768px) {
    
  footer{
    padding-top: 40px;
    }
    
  .footer-container {
    flex-direction: row; /* 横並びに変更する */
    justify-content: center; /* 子要素の間に均等なすき間を作る */
    align-items: flex-start; /* 上揃えにする */
  }

  .footer-p,
  .footer-one,
  .footer-two {
      width: 350px;
  }

  footer small {
    display: block;           /* 中央寄せを効かせるためにブロック化 */
    text-align: center;       /* テキストを中央寄せに */
    margin-top: 20px;         /* 上に少し余白を追加（お好みで） */
  }  
}

/*=================================
  ここまでフッター
=================================*/

/* === ローディング用CSSは一番下に追加 === */

.loading-bg {
  position: fixed;         /* 画面全体に固定表示。スクロールしても常に同じ位置に表示される */
  top: 0; left: 0;         /* 画面の左上を基準に配置 */
  width: 100vw; height: 100vh; /* ビューポート（画面）全体を覆う */
  background: rgba(255,255,255,1); /* 白の半透明背景で下の内容を薄く隠す */
  display: flex;           /* 中身（ローディングGIF）を中央揃えにするためflexboxを使用 */
  justify-content: center; /* 横方向の中央揃え */
  align-items: center;     /* 縦方向の中央揃え */
  z-index: 9999;           /* 他の要素よりも上のレイヤーに表示 */
}

.loading-spinner {
  width: 64px;             /* ローディングGIFの幅 */
  height: 64px;            /* ローディングGIFの高さ */
}






























