@charset "UTF-8";

/* 全体を横3カラムに */
.three-column {
display: grid;
grid-template-columns: 1fr 480px 1fr;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

/* 左右カラムは固定でスクロールしない */
.left-fixed,
.right-fixed {
  background: #fff8e3e8;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.left-fixed{
  display: flex;
  margin-right: 0;
  padding-right: 0;
  z-index: 0;
  position: relative;
}

.lottie-top-left {
  position: absolute; /* 親要素に対して自由に配置 */
  top: 30px;          /* ★「やや上」の調整（数値が小さいほど上） */
  right: 0px;       /* ★「右端の隙間なし」にするための調整 */
  width: 650px;       /* サイズはお好みで */
  height: 650px;
  z-index: 10;        /* メニューより手前に出す */
  pointer-events: none; /* 動画がメニューの上に乗ってもクリックを邪魔しない */
}

.left-fixed::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
  url("../images/applehands.png");
  background-size: cover;     /* 枠いっぱいに表示 */
  background-position: center;
  
  /* 中央寄せ */
  opacity: 0.5;                /* 透明度50% */
  z-index: -1;                 /* コンテンツの後ろに配置 */
}

.bottom-apple-box {
  position: absolute;
  bottom: 0;         /* ★下端にぴったりくっつける */
  left: 30%;         /* 一旦中央へ */
  transform: translateX(46%); /* 完全に真ん中に合わせる */
  
  width: 80%;        /* カラム幅の80%くらいの大きさに（調整可） */
  max-width: 300px;  /* 大きくなりすぎない制限 */
  height: auto;
  
  z-index: 5;        /* 背景(::before)より前、Lottieより後ろ */
  pointer-events: none; /* クリックを邪魔しない */
}

.bottom-apple-box1 {
  position: absolute;
  bottom: 40px;         /* ★下端にぴったりくっつける */
  left: 30%;         /* 一旦中央へ */
  transform: translateX(-75%) rotate(-30deg); /* 完全に真ん中に合わせる */
  
  width: 80%;        /* カラム幅の80%くらいの大きさに（調整可） */
  max-width: 500px;  /* 大きくなりすぎない制限 */
  height: auto;
  
  z-index: 5;        /* 背景(::before)より前、Lottieより後ろ */
  pointer-events: none; /* クリックを邪魔しない */
}

/* 中央だけスクロール可能にする */
.center-scroll {
  height: 100vh;
  overflow-y: auto;
  background: rgb(255, 248, 234); /* ページ背景 */
}

/* スマホでは三カラムを解除して1カラムに戻す */
@media (max-width: 768px) {
  .three-column {
    grid-template-columns: 1fr;
  }
  .left-fixed,
  .right-fixed {
    display: none;
  }
}

body {
  margin: 0%;
}

.header {
  background-color: #AB3027;
  display: flex;
  padding: 10px;
  justify-content: space-between; 
  align-items: center;
  padding: 10px 20px; 
  position: relative;
}

.logo {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 30px;
  color: #FFFFFF;
  margin: 0;
  text-align: left;
}

.menu-button, 
.menu-checkbox, 
.drawer-menu {
  display: none;
}


@media (max-width: 768px) {
/* ハンバーガーアイコン（三本線） */
.menu-button {
  display: block;
  cursor: pointer;
  padding: 10px;
  z-index: 10;
}

.menu-button span {
  margin-top: 8px; /* 前後の棒とのバランスをとる */
}

.menu-button span, .menu-button span::before, .menu-button span::after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  background: #ffffff;
  transition: 0.3s;
  position: relative;
}
.menu-button span::before { bottom: 8px; position: absolute; }
.menu-button span::after { top: 8px; position: absolute; }


.drawer-menu {
  display: block;
  position: fixed;
  top: 0;
  right: -100%; /* 画面の外に配置 */
  width: 100%;
  height: 100%;
  background-color: #F6F4EF; /* 画像の背景色 */
  transition: 0.5s;
  z-index: 100;
  padding: 60px 40px;
  box-sizing: border-box;
  overflow-y: auto;
}


.menu-checkbox:checked ~ .drawer-menu {
  right: 0;
}


.close-button {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #AB3027; 
  cursor: pointer;
}

.menu-list {
  list-style: none;
  padding: 0;
}

.menu-item {
  color: #663333; 
  font-weight: bold;
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.menu-item a {
  text-decoration: none;
  color: inherit;
}

/* 子要素（豆知識など）のスタイル */
.sub-list {
  list-style: none;
  padding-left: 20px;
  margin-top: 15px;
}

.sub-list li {
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: normal;
}
}

.main {
  position: relative; 
  width: 100%;
}

.main img:not(.catch-image) {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.85;
}

.catch-image {
  position: absolute; /* 親要素を基準に自由に配置 */
  bottom: 5%;         /* 下から5%の位置（お好みで調整） */
  right: 5%;          /* 右から5%の位置（お好みで調整） */
  
  width: 48%;         /* メイン画像に対する大きさ（例：30%） */
  max-width: 300px;   /* 大きくなりすぎない制限 */
  height: auto;
  
  z-index: 10;        /* メイン画像より手前に出す */
  pointer-events: none; /* 下の画像などの操作を邪魔しない */
}

.intro {
  padding: 32px 50px;
}

.intro p {
  line-height: 1.7;
  letter-spacing: 0.08em;
}

.section.concept-section {
  position: relative;
  border-radius: 60px 60px 0 0;
  background-color: #D5423A;
  color: #FFFFFF;
  padding-bottom: 25%;
}

.section.concept-section.history-section {
  z-index: 1;
  margin-top: 0; 
}

.section.concept-section + .section.concept-section {
  margin-top: -90px;
}

.section.concept-section.science-section {
  background-color: #6DBEE6;
  z-index: 2;
}

.section.concept-section.economy-section {
  background-color: #6ECB65; 
  z-index: 3;
}

.section-title {
  position: relative;
  padding: 10% 0% 5% 0%;
  text-align: center;
  letter-spacing: 0.2em; /* 右側に隙間ができる */
  text-indent: 0.2em;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 30px;
  color: #FFFFFF;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.title-apple {
  position: absolute;
  top: 3%;           
  left: 20%;          /* 画面中央付近から左に寄せる */
  
  /* 傾きと大きさの調整 */
  width: 100px;       /* お好みのサイズに */
  height: auto;
  transform: rotate(-15deg); /* 左に20度傾ける */
  
  /* 背後に配置 */
  z-index: -1;        
  opacity: 0.8;       /* 少し透かすと馴染みます */
  pointer-events: none;
}

.section-text {
  margin: 5% 5% 0% 5%;
  padding: 5%;
  background-color: #FFFFFF;
  color: #000000;
}

.concept-section .section-image img {
  width: 80%; /* 親要素の幅に合わせる */
  height: auto;
  display: block;
  border-radius: 20px; /* ★ここで画像の角を丸くする */
  margin: 0 auto;
}

.qa {
  padding: 3%;
  border: 2px dashed rgba(109, 94, 93, 0.6);
  margin-bottom: 5px;
}

/* 1. 標準の三角形（矢印）を消す */
.qa::-webkit-details-marker {
  display: none;
}

.qa-question {
  color: #3d3d3d;
  line-height: 1.7;
  letter-spacing: 0.08em;
  display: block; /* 標準のリスト形式を解除 */
  position: relative; /* 画像を右下に配置するための基準点 */
  padding-bottom: 10px; /* 右下の画像と重ならないよう、下に余白を作る */
  cursor: pointer;
  list-style: none; /* Firefox用の標準矢印消し */
  font-weight: bold;
}

/* 2. 右下に画像を配置する */
.qa-question::after {
  content: "";
  display: block;
  position: absolute;
  right: 0; /* 右端 */
  bottom: 0; /* 下端 */
  width: 20px; /* 画像のサイズ（調整してください） */
  height: 20px;
  background-image: url("../images/arrow.png"); /* ★ここに画像パスを入れる */
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s; /* 回転をなめらかにする */
}

/* 3. 開いた時（open属性がついた時）に回転させる */
.qa[open] .qa-question::after {
  transform: rotate(180deg); /* 180度回転。角度はお好みで */
}

.qa-answer {
  color:#95764B;
  padding: 5%;
  line-height: 1.7;
  letter-spacing: 0.08em;
}

.science-section .section-title {
  letter-spacing: 0.8em;
  text-indent: 0.8em;
}

.economy-section .section-title {
  letter-spacing: 0.6em;
  text-indent: 0.8em;
}

.history-aomori .section-title {
  text-align: left;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 32px;
  line-height: 1.7;
  padding-left: 10%;
  color: #333333;
  text-shadow: none;
  background-image: url("../images/aomori.png"); /* ★ここに背景画像のパスを入れる */
  background-repeat: no-repeat;
  /* 3. 画像の「右後ろ」への配置とサイズ調整 */
  background-position: right center; /* 右端の中央に配置 */
  background-size: contain; /* 画像全体が入るように調整（または 200px 等の数値）*/
}

.history-aomori .section-text {
  line-height: 1.7;
  letter-spacing: 0.08em;
  margin-bottom: 30px;
  padding: 20px 50px;
}

.history-aomori .section-image img {
  width: 80%;
  display: block;
  margin: 0 auto;
  border-radius: 15px;
  height: auto;
}

.product-section .section-title {
  color: #333333;
  text-shadow: none;
  text-align: center;
  padding-top: 0; 
}

/* セクション全体の背景と余白 */
.product-section {
  padding: 60px 5%;
  background-color: #fcfcfc; /* わずかにグレーの入った白でカードを際立たせる */
}

/* 商品カードのコンテナ */
.product-container {
  display: flex;
  justify-content: space-between;
  gap: 10px; /* カード同士の隙間 */
  flex-wrap: wrap; /* 画面が狭くなったら折り返す */
}

.product-card {
  background-color: #ffffff;
  border-radius: 15px;
  width: calc(50% - 5px);
  max-width: none;
  box-sizing: border-box;
  overflow: hidden;
}

/* 商品画像部分 */
.product-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 商品情報の詳細エリア */
.product-details {
  padding: 20px;
  text-align: center;
}

.product-name {
  font-size: 16px;
  color: #000000;
  margin-bottom: 10px;
}

.product-catch {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 8px;
}

.product-info {
  font-size: 13px;
  color: #666;
  margin-bottom: 15px;
}

.product-price {
  font-size: 22px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

/* 数量選択とボタン */
.product-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.quantity-selector {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.quantity-selector input {
  width: 50px;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.buy-button {
  background-color: #D5423A;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.buy-button:hover {
  background-color: #dcb73c; 
}


.footer {
  background-color: #AB3027;
  padding: 40px 0; 
  align-items: center;
}

.footer-contact {
  background-color: #F6F4EF;
  padding: 20px 40px;
  border-radius: 8px; 
  text-align: center; 
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* 「お問い合わせ」ラベルのスタイル */
.contact-label {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 5px;
  color: #333;
}

/* 電話番号のスタイル */
.contact-number {
  font-size: 2rem; /* 数字を大きく設定 */
  font-weight: bold;
  color: #82231c; /* 番号をアクセントカラーに */
  margin: 0;
}

.footer-sns {
  display: flex; 
  justify-content: center;  
  list-style: none; 
  padding: 0;
  margin: 20px 0; 
  gap: 20px; 
}

.footer-sns li a {
  color: #ffffff;
  text-decoration: none;   /* 下線を消す */
  font-size: 0.9rem;
}

.footer-sns li:not(:last-child):after {
  content: "/";
  margin-left: 20px;
  color: #ffffff;
}

.footer-sns li a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

/* --- お客様サポート（ナビゲーション） --- */
.footer-nav {
  color: #ffffff;
  text-align: center;
  margin: 110px 0px 60px;
}

.nav-title {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 15px;
  display: inline-block; /* 線の長さを文字に合わせる */
  padding-bottom: 5px;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0 60px 0;
  display: inline-block; /* 中身の幅に合わせる */
  text-align: left;     /* 項目は左揃えにする */
}

.nav-list li {
  margin-bottom: 10px; /* 項目間の縦の隙間 */
}

.nav-list a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: opacity 0.3s;
}

.nav-list a:hover {
  text-decoration: underline;
  opacity: 0.7;
}

/* --- コピーライト --- */
.footer-copyright {
  background-color: #840E0E; /* 背景色を少しだけ暗くして境界を作る */
  padding: 20px 0;
  text-align: center;
  margin-top: 20px;
}

.footer-copyright small {
  color: #ffffff;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* 右カラム自体の設定 */
.right-fixed {
  background-color: #eee2c3; 
  padding: 20px;
  display: flex;
  justify-content: center;
  
  position: relative; /* 子要素の基準にする */
  z-index: 0; /* 背景を背面に回すための準備 */
  overflow: hidden;/* 画像がはみ出さないようにする */
}

.right-fixed::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/appleorchard.png");
  background-size: cover;      /* 画像を枠いっぱいに広げる */
  background-position: center;  /* 中央寄せ */
  opacity: 0.5;                /* 透明度50% */
  z-index: -1;                 /* コンテンツの後ろに配置 */
}

.side-menu {
  width: 100%;
  max-width: 300px; /* メニューの横幅 */
  margin-top: 100px;
  background-color: rgba(251, 251, 251, 0.7);    
  border: 2px solid #d9554c;   
  border-radius: 20px;         
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px 15px;
  height: 450px;
}


.side-logo {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: bold;
  color: #AB3027;
  font-size: 1.2rem;
  border: 2px solid #AB3027;
  padding: 5px 10px;
  border-radius: 50px; /* 丸い枠線 */
}

.side-close {
  display: block;
  margin: 10px auto 0;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* ナビゲーションリスト */
.side-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-nav-list > li {
  margin-bottom: 20px;
}

.side-nav-list a, .category-title {
  text-decoration: none;
  color: #802620;
  font-weight: bold;
  font-size: 21px;
  display: block;
  transition: color 0.3s;
}

.side-nav-list a:hover {
  color: #2a251d;
}

/* 子要素（豆知識など） */
.side-sub-list {
  list-style: none;
  padding-left: 10px;
  margin-top: 8px;
  border-left: 2px solid #ddd; /* 縦棒を入れて見やすく */
}

.side-sub-list li {
  margin-bottom: 5px;
}

.side-sub-list a {
  font-weight: normal;
  font-size: 18px;
}


