/* ロゴスペースを消してメニューを中央揃え */
#header_inner {
  width: 950px !important;
  margin: 0 auto !important;
  position: relative !important;
}

#site_id {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

#gmenu {
  float: none !important;
  width: 700px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  text-align: center !important;
}

#gmenu li {
  float: none !important;
  display: inline-block !important;
}

/* メニュー下の余白を消す */
#header {
  padding-bottom: 0 !important;
}

#body[style] {
  margin-top: 0 !important;
}

/* メニューの文字色変更 */
#gmenu li span,
#gmenu li a {
  color: #923832 !important;
}

/* メニューバーを不透明に */
#header {
  background: #ffffff !important;
  opacity: 1 !important;
}

/* メインビジュアルを高画質版に差し替え */
#main_img {
  background-image: url("https://biz.comlog.jp/cc105284/file/312644.png") !important;
  background-size: cover !important;
  background-position: center center !important;
}

/* 新着情報セクションの背景色を白に */
#news_txt_wrap,
#news_txt {
  background: none !important;
  background-image: none !important;
  background-color: #ffffff !important;
}

/* パンクズセクションを削除 */
#pankuzu_search_wrap {
  display: none !important;
}

/* メインセクションの背景設定 */
.freespace_wap.preview_edit_area8 {
  background: url("https://biz.comlog.jp/cc105284/file/312748.png") no-repeat center top !important;
  background-size: 100% 100% !important;
  background-color: transparent !important;
}

/* 中の白背景を透明にする */
.freespace_wap.preview_edit_area8 .freespace,
.freespace_wap.preview_edit_area8 .freespace_cont,
.freespace_wap.preview_edit_area8 .free_area {
  background: transparent !important;
  background-image: none !important;
  background-color: transparent !important;
}

/* イントロセクションのCSS */
.aso_intro_section {
  width: 100%;
  height: 550px;
  position: relative;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  overflow: hidden;
}

.aso_intro_copy {
  position: absolute;
  left: 140px;
  top: 200px;
  width: 280px;
  height: auto;
}

.aso_intro_photo {
  position: absolute;
  right: 0;
  top: 90px;
  width: 400px;
  height: auto;
  border-radius: 34px 0 0 34px;
}

/* メッセージセクションのCSS */
.aso_message_section {
  width: 100%;
  padding: 40px 0 90px;
  background: transparent;
}

.aso_message_text {
  width: 750px;
  margin: 0 auto;
  color: #534741;
  font-size: 18px;
  line-height: 2.1;
  font-weight: 500;
  text-align: left;
}

.aso_message_text p {
  margin: 0 0 34px;
}

.aso_message_text p:last-child {
  margin-bottom: 0;
}


.aso_links_section {
  position: relative;
  width: 100%;
  height: 900px; /* 全体高さ（あとで調整OK） */
}

/* リンクセクションのCSS */
/* 共通 */
.aso_img {
  position: absolute;
  width: 450px;
  border-radius: 20px;
}

.aso_btn {
  position: absolute;
  width: 340px;
transition: 0.3s;
}

/* リンクセクションボタンホバー演出 */
.aso_btn:hover {
  opacity: 0.85;
  transform: translateY(-3px);
}

/* ===== 1段目 ===== */
.img1 {
  top: 0;
  left: 0px;
}

.btn1 {
  top: 60px;
  right: 40px;
}

/* ===== 2段目 ===== */
.img2 {
  top: 300px;
  right: 0px;
}

.btn2 {
  top: 375px;
  left: 55px;
}

/* ===== 3段目 ===== */
.img3 {
  top: 600px;
  left: 0px;
}

.btn3 {
  top: 665px;
  right: 40px;
}

/* お問い合わせセクションCSS */
.aso_contact_section {
  text-align: center;
  padding: 80px 0 60px;
}

.aso_contact_img {
  width: 320px; /* ボタンサイズ */
  transition: 0.3s;
}

/* ホバー演出 */
.aso_contact_img:hover {
  opacity: 0.85;
  transform: translateY(-3px);
}

/* フッターの非表示 */
#footer,
#pagetop {
  display: none !important;
}

/* フッターボトムの色変え */
#footer_bottom {
  background: #E6DCD2 !important;
  background-image: none !important;
}

/* ----------------こだわりページ---------------- */
/* ページタイトルを非表示 */
h1.kiji_title.preview_edit_area {
    display: none !important;
}

/* タイトルエリアの余白削除 */
#cont_wrap .kiji_area {
    padding-top: 0 !important;
}

/* セクション間の謎線対策 */
.aso_section_bg,
.aso_story_section02 {

    border: none !important;

}

/* ===== セクション1背景 ===== */
.aso_section_bg {
  width: 100vw;
  margin-left: calc((100vw - 100%) / -2);

  background-image: url("https://biz.comlog.jp/cc105284/file/312985.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;

  padding: 70px 0;
padding-bottom: 40px !important;
  box-sizing: border-box;
}

/* ===== セクション1中身 ===== */
.aso_section_inner {
  width: 950px;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* ===== 阿蘇物語セクション ===== */
.aso_story_section {

  width: 950px;
  margin: 0 auto;

  padding:
    120px 0
    180px;

  box-sizing: border-box;

  color: #fff;

}

/* ===== タイトル ===== */
.aso_story_title {

  font-size: 36px;
  line-height: 1.6;

  font-weight: bold;

  margin: 0 0 50px;

  letter-spacing: 0.04em;

}

/* ===== 本文 ===== */
.aso_story_text {

  width: 100%;

}

/* ===== 段落 ===== */
.aso_story_text p {

  font-size: 16px;

  line-height: 2.1;

  font-weight: bold;

  margin: 0 0 40px;

  letter-spacing: 0.03em;

}

/* 最後の文章だけ余白を消す */
.aso_story_text p:last-child {

  margin-bottom: 0 !important;

}

/* =========================
   受け継ぐということ セクション
========================= */

.aso_story_section02 {

  width: 100vw;

  margin-left: calc((100vw - 100%) / -2);

  background-image:
    url("https://biz.comlog.jp/cc105284/file/312988.png");

  background-repeat: no-repeat;

  background-position: center top;

  background-size: cover;

  padding:
    120px 0
    140px;

  box-sizing: border-box;

}

/* 内側 */
.aso_story02_inner {

  width: 950px;

  margin: 0 auto;

}

/* タイトル */
.aso_story02_title {

  color: #D92E2E;

  font-size: 36px;

  line-height: 1.6;

  font-weight: bold;

  letter-spacing: 0.04em;

  margin: 0 0 50px;

}

/* 本文 */
.aso_story02_text p {

  color: #5B4D46;

  font-size: 16px;

  line-height: 2.0;

  letter-spacing: 0.03em;

  margin: 0 0 40px;

  font-weight: 500;

}

/* 最後の段落余白調整 */
.aso_story02_text p:last-child {

  margin-bottom: 0;

}
/* ========================================
   阿蘇クララファーム
   こだわりページ PC版・最新版
======================================== */
/* CMSの本文枠：こだわりページだけ全幅にする */
#cont_wap:has(.kodawari-page) { padding:44px 0 0 !important; }
#cont_wap:has(.kodawari-page) .cont_wap_innner { width:100% !important; margin:0 !important; padding:0 !important; }
#cont_wap:has(.kodawari-page) .kiji_title { display:none !important; }
#cont_wap .kiji_area:has(.kodawari-page) { width:100% !important; margin:0 !important; padding:0 !important; background:transparent !important; border:0 !important; }
/* 共通：950pxの中身と全幅背景を分離 */
.kodawari-page { width:100%; margin:0 !important; padding:0 !important; color:#756a61; background:#f6f3ec; font-family:Arial,'Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif; font-size:21px; line-height:1.6; text-align:left; }
.kodawari-page *, .kodawari-page *::before, .kodawari-page *::after { box-sizing:border-box; }
.kodawari-page .kodawari-inner { width:950px; max-width:none; margin:0 auto !important; padding:0; position:relative; z-index:2; }
.kodawari-page .kodawari-section { position:relative; margin:0 !important; border:0 !important; }
.kodawari-page p { margin:0 0 36px !important; padding:0 !important; font-size:21px !important; line-height:1.6 !important; color:inherit; font-weight:400; letter-spacing:0; background:none; border:0; }
.kodawari-page p:last-child { margin-bottom:0 !important; }
.kodawari-page .kodawari-heading { color:#cf2e37 !important; font-size:48px !important; line-height:1.8 !important; margin:0 0 24px !important; padding:0 !important; border:0 !important; background:none !important; font-weight:700; }
.kodawari-page .kodawari-row { display:grid; grid-template-columns:445px 445px; gap:60px; align-items:center; margin:0 !important; padding:0 !important; }
.kodawari-page .kodawari-row--reverse .kodawari-section__image { grid-column:2; grid-row:1; }
.kodawari-page .kodawari-row--reverse .kodawari-section__text { grid-column:1; grid-row:1; }
.kodawari-page .kodawari-section__image { display:block; width:445px !important; height:445px !important; max-width:none !important; object-fit:cover; border-radius:42px; margin:0 !important; padding:0 !important; border:0 !important; float:none !important; }
.kodawari-page svg { display:block; width:100%; height:100%; }
/* ファーストビュー */
.kodawari-page .kodawari-hero { position:relative; min-height:830px; height:auto !important; margin:0 !important; padding:120px 0 140px !important; color:#fff; }
.kodawari-page .kodawari-hero__background { position:absolute; inset:0; background:url('https://www.aso-kurarafarm.jp/cc105284/file/319161.png') center center / cover no-repeat; }
.kodawari-page .kodawari-hero__inner { display:block !important; height:auto !important; color:#fff; }
.kodawari-page .kodawari-hero__copy { margin:0 0 44px !important; padding:0 !important; font-size:32px !important; line-height:1.8 !important; text-align:left; color:#fff !important; background:none !important; border:0 !important; font-weight:700; }
.kodawari-page .kodawari-hero__text p { color:#fff !important; font-weight:700; font-size:22px !important; line-height:1.55 !important; }
.kodawari-page .kodawari-hero__wave { position:absolute; bottom:-1px; left:0; width:100%; height:80px; }
/* 父の味を受け継ぐセクション */
.kodawari-page .kodawari-father { padding:64px 0 76px !important; }
.kodawari-page .kodawari-father__background { position:absolute; inset:0; background:#eae0d7; }
.kodawari-page .kodawari-father__background svg { position:absolute; bottom:-430px; left:0; height:740px; background:#f6f3ec; z-index:1; }
/* 桜セクション */
.kodawari-page .kodawari-stories { padding:0 0 0 !important; }
.kodawari-page .kodawari-sakura { align-items:center; }
/* スタッフセクション */
.kodawari-page .kodawari-staff { margin-top:64px !important; }
/* 牛セクション */
.kodawari-page .kodawari-cow { margin-top:64px !important; align-items:start; }
.kodawari-page .kodawari-cow .kodawari-section__text { padding-top:8px; }
/* 店舗情報・Googleマップ */
.kodawari-page .kodawari-shop { background:#eae0d7; padding:110px 0 80px !important; }
.kodawari-page .kodawari-shop__wave { position:absolute; top:-60px; left:0; width:100%; height:61px; }
.kodawari-page .kodawari-shop__inner { display:grid; grid-template-columns:445px 445px; gap:60px; align-items:center; }
.kodawari-page .kodawari-shop__address { margin:0; padding:0; font-style:normal; font-size:20px; line-height:1.55; font-weight:500; color:#675b53; }
.kodawari-page .kodawari-shop__postal { font-size:24px; }
.kodawari-page .kodawari-shop__phone { font-size:27px; }
.kodawari-page .kodawari-shop__privacy { display:inline-block; margin-top:22px; color:#675b53 !important; font-size:12px; line-height:1.6; text-decoration:underline; }
.kodawari-page .kodawari-shop__map { width:445px; height:277px; border-radius:42px; overflow:hidden; background:#ccc; }
.kodawari-page .kodawari-shop__map iframe { display:block; width:445px !important; height:277px !important; max-width:none !important; margin:0 !important; padding:0 !important; border:0 !important; }

/* ========================================
   阿蘇クララファーム
   商品一覧ページ PC版
======================================== */
/* CMS本文枠：商品一覧を含むページだけ調整 */
#cont_wap:has(.product-list-page) { padding:44px 0 0 !important; }
#cont_wap:has(.product-list-page) .cont_wap_innner { width:100% !important; margin:0 !important; padding:0 !important; }
#cont_wap:has(.product-list-page) .kiji_title { display:none !important; }
#cont_wap .kiji_area:has(.product-list-page) { width:100% !important; margin:0 !important; padding:0 !important; border:0 !important; background:transparent !important; }
/* 950pxの内容と全幅の背景 */
.product-list-page { width:100%; margin:0; padding:0; color:#5b4d46; background:#f6f3ec; font-family:Arial,'Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif; text-align:left; }
.product-list-page *, .product-list-page *::before, .product-list-page *::after { box-sizing:border-box; }
.product-list-page .product-inner { width:950px; max-width:none; margin:0 auto; padding:0; position:relative; z-index:2; }
.product-list-page svg { display:block; width:100%; height:100%; }
.product-list-page .product-section { margin:0; border:0; background:transparent; scroll-margin-top:130px; }
.product-list-page .product-section__heading { color:#cd2e35; font-size:48px; line-height:1.2; font-weight:700; text-align:center; padding:0 0 30px; margin:0 0 80px; border:0; border-bottom:3px solid #b52e30; background:none; }
/* 上部カテゴリー導線 */
.product-list-page .product-category-nav { position:relative; background:#fff; padding:80px 0 180px; margin:0; }
.product-list-page .product-category-nav__inner { display:flex; flex-direction:column; align-items:center; gap:44px; }
.product-list-page .product-category-nav__link { display:block; width:728px; padding:0; margin:0; text-decoration:none; }
.product-list-page .product-category-nav__image { display:block; width:728px; height:auto; max-width:none; margin:0; padding:0; border:0; }
.product-list-page .product-category-nav__wave { position:absolute; bottom:-1px; left:0; width:100%; height:232px; pointer-events:none; }
.product-list-page .product-category-nav__link:hover { opacity:.9; }
.product-list-page .product-category-nav__link:focus-visible { outline:3px solid #923832; outline-offset:5px; }
/* 無添加シリーズ */
.product-list-page .product-section--mutenka { padding:36px 0 0; }
.product-list-page .product-section--mutenka .product-section__heading { margin-bottom:110px; }
.product-list-page .product-section--mutenka .product-items { gap:52px; }
.product-list-page .product-section--mutenka .product-item:nth-child(3) { margin-top:40px; }
/* 定番商品 */
.product-list-page .product-section--teiban { padding:175px 0 0; }
/* その他 */
.product-list-page .product-section--sonota { padding:110px 0 0; }
.product-list-page .product-section--sonota .product-section__heading { margin-bottom:60px; }
/* 商品カード共通 */
.product-list-page .product-items { display:grid; gap:60px; }
.product-list-page .product-item { display:grid; grid-template-columns:445px 445px; gap:60px; align-items:center; margin:0; padding:0; border:0; }
.product-list-page .product-item__text { grid-column:1; grid-row:1; }
.product-list-page .product-item__image { grid-column:2; grid-row:1; display:block; width:445px; height:277px; max-width:none; object-fit:cover; border-radius:38px; box-shadow:5px 8px 18px rgba(73,57,44,.14); margin:0; padding:0; border:0; float:none; }
.product-list-page .product-item--reverse .product-item__text { grid-column:2; }
.product-list-page .product-item--reverse .product-item__image { grid-column:1; }
.product-list-page .product-item__award { font-size:17px; line-height:1.5; font-weight:400; color:#71655d; padding:0; margin:0; border:0; background:none; }
.product-list-page .product-item__name { color:#5b4d46; font-size:32px; line-height:1.4; font-weight:500; margin:0; padding:0; border:0; background:none; }
.product-list-page .product-item__price { color:#71655d; font-size:21px; line-height:1.5; margin:0; padding:0 0 7px; border:0; border-bottom:1px solid #a59c92; background:none; }
.product-list-page .product-item__description { color:#756a61; font-size:16px; line-height:1.6; margin:10px 0 0; padding:0; border:0; background:none; }
.product-list-page .product-item__detail { display:block; width:185px; margin:22px 0 0; padding:0; text-decoration:none; cursor:default; }
.product-list-page .product-item__detail img { display:block; width:185px; height:auto; max-width:none; margin:0; padding:0; border:0; }
.product-list-page .product-item__detail:focus-visible, .product-list-page .product-shop-cta__link:focus-visible { outline:3px solid #923832; outline-offset:5px; }
/* オンラインショップCTA */
.product-list-page .product-shop-cta { position:relative; margin:0; padding:80px 0 100px; background:transparent; text-align:center; }
.product-list-page .product-shop-cta__link { display:inline-block; width:420px; margin:0; padding:0; cursor:default; }
.product-list-page .product-shop-cta__link img { display:block; width:420px; height:auto; max-width:none; margin:0; padding:0; border:0; }
.product-list-page .product-shop-cta__wave { position:absolute; bottom:-1px; left:0; width:100%; height:200px; pointer-events:none; }
/* 店舗情報・Googleマップ */
.product-list-page .product-shop { background:#eae0d7; margin:0; padding:0 0 80px; }
.product-list-page .product-shop__inner { display:grid; grid-template-columns:445px 445px; gap:60px; align-items:center; }
.product-list-page .product-shop__address { margin:0; padding:0; color:#675b53; font-style:normal; font-size:20px; line-height:1.55; font-weight:500; }
.product-list-page .product-shop__postal { font-size:24px; }
.product-list-page .product-shop__phone { font-size:27px; }
.product-list-page .product-shop__privacy { display:inline-block; margin-top:22px; color:#675b53; font-size:12px; line-height:1.6; text-decoration:underline; }
.product-list-page .product-shop__map { width:445px; height:277px; border-radius:38px; overflow:hidden; background:#ccc; }
.product-list-page .product-shop__map iframe { display:block; width:445px; height:277px; max-width:none; margin:0; padding:0; border:0; }

/* ========================================
   阿蘇クララファーム
   トップページ PC版
======================================== */
/* CMS枠：トップ本文があるページだけ調整 */
#body:has(#aso-top-content) > .freespace_wap { margin:0 !important; padding:0 !important; background:none !important; }
#body:has(#aso-top-content) > .freespace_wap .freespace,
#body:has(#aso-top-content) > .freespace_wap .freespace_cont { width:100% !important; max-width:none !important; margin:0 !important; padding:0 !important; background:none !important; }
/* 移動完了後に限り標準FVを非表示 */
#body:has(> #aso-top-hero[data-positioned="true"]) > #main_img { display:none !important; }
.aso-top-page { color:#61554d; font-family:Arial,'Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif; font-size:18px; line-height:1.7; margin:0; padding:0; background:#fff; text-align:left; }
.aso-top-page *, .aso-top-page *::before, .aso-top-page *::after { box-sizing:border-box; }
.aso-top-page .top-inner { width:950px; max-width:none; margin:0 auto; position:relative; }
.aso-top-page section { margin:0; border:0; }
.aso-top-page img { display:block; max-width:none; margin:0; padding:0; border:0; }
.aso-top-page h2, .aso-top-page h3, .aso-top-page p { padding:0; border:0; background:none; color:inherit; }
.aso-top-page p { margin:0; font-size:18px; line-height:1.7; }
.aso-top-page .top-card-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:30px; }
.aso-top-page .top-image-link { display:block; padding:0; text-decoration:none; }
.aso-top-page .top-image-link[aria-disabled="true"] { cursor:default; }
.aso-top-page .top-image-link:focus-visible { outline:3px solid #923832; outline-offset:5px; }
.aso-top-page .top-image-link img { width:100%; height:auto; }
.aso-top-page .top-heading { font-size:40px; line-height:1.4; font-weight:700; text-align:center; margin:0 0 26px; }
.aso-top-page .top-heading::after { content:''; display:block; width:70px; height:3px; background:#ca2e36; margin:14px auto 0; }
/* ファーストビュー */
.aso-top-page.top-hero { position:relative; height:600px; margin-top:44px; overflow:hidden; background:#bad9e7; }
.aso-top-page .top-hero__background { position:absolute; inset:0; background:url('https://www.aso-kurarafarm.jp/cc105284/file/319232.png') center center / cover no-repeat; }
.aso-top-page .top-hero__inner { display:grid; grid-template-columns:445px 505px; height:600px; align-items:start; }
.aso-top-page .top-hero__text { padding-top:40px; position:relative; z-index:2; }
.aso-top-page .top-hero__copy { margin:0; padding:0; border:0; background:none; }
.aso-top-page .top-hero__copy img { width:490px; height:auto; margin-left:-46px; }
.aso-top-page .top-hero__cta { width:475px; margin-top:0; }
.aso-top-page .top-hero__visual { width:1200px; height:auto; margin:-230px 0 0 -247px; }
.aso-top-page .top-hero__wave { position:absolute; bottom:-1px; left:0; width:100%; height:40px; z-index:3; }
.aso-top-page svg { display:block; width:100%; height:100%; }
/* 新着情報：自動出力のDOMを保持 */
#body:has(#aso-top-content) > #news_txt_wrap { background:#f6f3ec !important; margin:0; padding:0; }
#body:has(#aso-top-content) #news_txt { display:flex; width:820px; padding:25px 0 30px; margin:0 auto; gap:70px; align-items:flex-start; background:#f6f3ec !important; }
#body:has(#aso-top-content) #news_txt .news_left { width:95px; flex:0 0 95px; float:none; margin:0; }
#body:has(#aso-top-content) #news_txt .news_title { font-size:0; line-height:1.4; padding:0; margin:0 0 6px; font-weight:400; }
#body:has(#aso-top-content) #news_txt .news_title::before { content:'お知らせ'; font-size:20px; color:#61554d; }
#body:has(#aso-top-content) #news_txt .to_newslist { margin:0; padding:0; line-height:1.2; }
#body:has(#aso-top-content) #news_txt .to_newslist a { display:inline-block; font-size:12px; color:#61554d; background:#e8e5df; padding:2px 10px; text-decoration:none; }
#body:has(#aso-top-content) #news_txt dl { display:grid; grid-template-columns:110px 1fr; gap:4px 28px; width:auto; flex:1; float:none; margin:0; padding:0; }
#body:has(#aso-top-content) #news_txt dt,
#body:has(#aso-top-content) #news_txt dd { float:none; width:auto; margin:0; padding:0; font-size:14px; line-height:1.6; background:none; border:0; }
#body:has(#aso-top-content) #news_txt dd a { color:#61554d; text-decoration:none; }
/* 選ばれる理由 */
.aso-top-page .top-reasons { background:#f6f3ec; padding:12px 0 60px; }
.aso-top-page .top-reasons__heading { display:flex; align-items:center; gap:45px; font-size:36px; line-height:1.5; text-align:center; white-space:nowrap; margin:0 0 28px; font-weight:700; }
.aso-top-page .top-reasons__heading::before, .aso-top-page .top-reasons__heading::after { content:''; flex:1; height:1px; background:#9c9187; }
.aso-top-page .top-reason-card { min-height:296px; padding:24px 16px; border-radius:24px; background:#fff; text-align:center; }
.aso-top-page .top-reason-card__icon { width:98px; height:98px; object-fit:contain; margin:0 auto 12px; }
.aso-top-page .top-reason-card h3 { font-size:24px; line-height:1.4; color:#cc2e36; font-weight:700; margin:0 0 20px; }
.aso-top-page .top-reason-card p { font-size:16px; line-height:1.8; color:#8a7c70; }
/* おすすめ商品 */
.aso-top-page .top-products { padding:42px 0 50px; }
.aso-top-page .top-product-card { border-radius:24px; overflow:hidden; background:#f6f3ec; box-shadow:2px 4px 6px rgba(83,65,50,.13); text-align:center; }
.aso-top-page .top-product-card__image { width:100%; height:292px; object-fit:cover; }
.aso-top-page .top-product-card__text { padding:20px 22px 30px; }
.aso-top-page .top-product-card h3 { font-size:28px; font-weight:700; line-height:1.4; margin:0 0 8px; }
.aso-top-page .top-product-card__description { font-size:16px; line-height:1.8; font-weight:500; }
.aso-top-page .top-product-card__price { font-size:18px; line-height:1.5; color:#ca2e36; margin:16px 0 14px; }
.aso-top-page .top-product-card__purchase { width:240px; margin:0 auto; }
.aso-top-page .top-products__list { width:406px; margin:50px auto 0; }
/* こだわり：全体画像＋別レイヤーの文章と支給ボタン */
.aso-top-page .top-feature { position:relative; display:grid; grid-template-columns:445px 1fr; border-radius:24px; overflow:hidden; }
.aso-top-page .top-feature__background { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.aso-top-page .top-feature__text { position:relative; z-index:1; align-self:center; padding-left:38px; }
.aso-top-page .top-feature__text h2 { font-size:28px; line-height:1.6; font-weight:700; margin:0 0 30px; white-space:nowrap; }
.aso-top-page .top-feature__text p { font-size:18px; line-height:1.8; margin:0 0 36px; }
.aso-top-page .top-feature__button { width:406px; }
.aso-top-page .top-story .top-feature { height:475px; }
/* こんなシーンにおすすめ */
.aso-top-page .top-scenes { padding:52px 0 55px; }
.aso-top-page .top-scene-card { background:#f6f3ec; border-radius:24px; overflow:hidden; text-align:center; }
.aso-top-page .top-scene-card__image { width:100%; height:216px; object-fit:cover; }
.aso-top-page .top-scene-card__text { padding:14px 10px 26px; }
.aso-top-page .top-scene-card h3 { font-size:28px; line-height:1.4; font-weight:700; margin:0 0 12px; }
.aso-top-page .top-scene-card p { font-size:16px; line-height:1.8; color:#8a7c70; }
/* オンラインショップCTA */
.aso-top-page .top-shop .top-feature { height:356px; grid-template-columns:540px 1fr; }
.aso-top-page .top-shop .top-feature__text h2 { font-size:36px; line-height:1.5; margin-bottom:24px; }
.aso-top-page .top-shop .top-feature__text p { font-size:20px; margin-bottom:32px; }
/* 店舗情報 */
.aso-top-page .top-access { position:relative; margin-top:170px; padding:90px 0 75px; background:#eae0d7; }
.aso-top-page .top-access__wave { position:absolute; top:-120px; left:0; width:100%; height:121px; }
.aso-top-page .top-access__inner { width:820px; margin:0 auto; display:grid; grid-template-columns:325px 380px; gap:115px; align-items:center; }
.aso-top-page .top-access address { color:#675b53; font-style:normal; font-size:16px; line-height:1.6; font-weight:500; }
.aso-top-page .top-access__postal { font-size:18px; }
.aso-top-page .top-access__phone { font-size:22px; }
.aso-top-page .top-access__privacy { display:inline-block; font-size:10px; line-height:1.6; margin-top:18px; color:#675b53; text-decoration:underline; }
.aso-top-page .top-access__map { width:380px; height:238px; border-radius:36px; overflow:hidden; background:#ccc; }
.aso-top-page .top-access__map iframe { display:block; width:380px; height:238px; max-width:none; margin:0; padding:0; border:0; }

/* ========================================
   2026-10-14 微調整：既存コードを保持して対象3ページだけに追加
   共通：画像ボタン ホバー（未設定リンクも対象／URLは変更しない）
======================================== */
.aso-top-page .top-image-link,
.kodawari-page a:has(> img),
.product-list-page .product-category-nav__link,
.product-list-page .product-item__detail,
.product-list-page .product-shop-cta__link {
  opacity:1;
  transition:opacity .3s ease;
}
@media (hover:hover) {
  .aso-top-page .top-image-link:hover,
  .kodawari-page a:has(> img):hover,
  .product-list-page .product-category-nav__link:hover,
  .product-list-page .product-item__detail:hover,
  .product-list-page .product-shop-cta__link:hover { opacity:.85; }
}
/* ========================================
   トップページ：FV波形とセクション間の余白調整
   SVGパス・背景色・新着情報の自動出力は維持
======================================== */
.aso-top-page .top-hero__wave { height:70px; }
#body:has(#aso-top-content) #news_txt { padding:38px 0 42px; }
.aso-top-page .top-reasons { padding:24px 0 76px; }
.aso-top-page .top-products { padding:60px 0 72px; }
.aso-top-page .top-story { padding:8px 0 12px; }
.aso-top-page .top-scenes { padding:68px 0 76px; }
.aso-top-page .top-shop { padding:8px 0; }
.aso-top-page .top-access { margin-top:190px; padding:100px 0 88px; }
/* ========================================
   トップページ：店舗情報を他2ページの既存共通値に合わせる
   地図のサイズと位置は維持し、文字側の幅だけ確保
======================================== */
.aso-top-page .top-access__inner { grid-template-columns:365px 380px; gap:75px; }
.aso-top-page .top-access address { font-size:20px; line-height:1.55; }
.aso-top-page .top-access__postal { font-size:24px; }
.aso-top-page .top-access__phone { font-size:27px; }
.aso-top-page .top-access__privacy { font-size:12px; line-height:1.6; margin-top:22px; }
/* ========================================
   こだわりページ：店舗情報上端の波形
   既存SVGを約1.6倍に拡張。文章と波形の重なりを避ける余白
   padding-bottomだけ既存padding:0 !importantへの上書きが必要
======================================== */
.kodawari-page .kodawari-shop__wave { top:-95px; height:96px; }
.kodawari-page .kodawari-stories { padding-bottom:104px !important; }
/* ========================================
   商品一覧ページ：全13商品の商品名
======================================== */
.product-list-page .product-item__name { font-size:30px; font-weight:700; }
/* ========================================
   共通：prefers-reduced-motion
   スクロール演出は各ページ末尾のJSで制御。
   通常CSSではopacity:0を指定せず、JS失敗時にも内容を表示。
======================================== */
@media (prefers-reduced-motion:reduce) {
  .aso-top-page .top-image-link,
  .kodawari-page a:has(> img),
  .product-list-page .product-category-nav__link,
  .product-list-page .product-item__detail,
  .product-list-page .product-shop-cta__link { transition:none; }
}

/* ========================================
   2026-10-14 トップページ：FV文言画像＋購入ボタンの位置調整
   共通親を20px上げ、文言とボタンの画像同士の間隔を維持
======================================== */
.aso-top-page.top-hero .top-hero__text { top:-20px; }

/* ========================================
   2026-10-14 トップ追加調整：見出しと左右の線を一体で表示
   h2の既存疑似要素を保持し、外側の専用要素へ演出を適用
   FV画像の上余白は-230px、文言＋ボタンはtop:-20px
======================================== */
#aso-top-content .top-reasons__reveal { display:flow-root; }

/* ========================================
   2026-10-14：Zen Kaku Gothic New（対象3ページ限定）
   各ページの既存CSS linkの横でGoogle Fontsを読み込み。
   無条件のbody指定を避け、管理画面・他ページには適用しない。
   font-weightは既存の400 / 500 / 700を維持。900も読込可能。
======================================== */
body:has(#aso-top-content, .kodawari-page, .product-list-page),
.aso-top-page,
.kodawari-page,
.product-list-page { font-family:"Zen Kaku Gothic New", sans-serif; }
/* CMSの新着情報とヘッダーは本文の外にあるため対象ページへ限定 */
body:has(#aso-top-content, .kodawari-page, .product-list-page) #header,
body:has(#aso-top-content, .kodawari-page, .product-list-page) #gmenu,
#body:has(#aso-top-content) #news_txt,
body:has(#aso-top-content, .kodawari-page, .product-list-page) #footer_bottom {
  font-family:"Zen Kaku Gothic New", sans-serif;
}

/* ========================================
   Zen適用後：読みやすさのための最小限の行間調整
   商品名・見出し・メニューのサイズとウェイトは既存値を保持
======================================== */
.kodawari-page .kodawari-text p { line-height:1.65 !important; }
.product-list-page .product-item__description { line-height:1.65; }
.aso-top-page .top-access address,
.kodawari-page .kodawari-shop__address,
.product-list-page .product-shop__address { line-height:1.65; }

/* ========================================
   阿蘇クララファーム 店舗情報ページ PC版（2026-10-15）
   最新支給カンプ準拠。既存ヘッダー・フッターは変更しない。
======================================== */
/* CMS本文枠：店舗ページを含む場合だけ950px制限と下余白を解除 */
#cont_wap:has(.shop-info-page) { padding:44px 0 0; }
#cont_wap:has(.shop-info-page) .cont_wap_innner { width:100%; max-width:none; margin:0; padding:0; }
#cont_wap:has(.shop-info-page) .kiji_title { display:none; }
#cont_wap .kiji_area:has(.shop-info-page) { width:100%; margin:0; padding:0; border:0; background:transparent; }
#body:has(.shop-info-page) #pankuzu_search_wrap { display:none; }
/* 本文と共通幅：固定座標に依存しない構造 */
.shop-info-page { width:100%; margin:0; padding:0; color:#675b53; background:#eae0d7; font-family:"Zen Kaku Gothic New",sans-serif; font-size:20px; line-height:1.8; text-align:center; }
.shop-info-page *, .shop-info-page *::before, .shop-info-page *::after { box-sizing:border-box; }
.shop-info-page section { position:relative; margin:0; padding:0; border:0; }
.shop-info-page .shop-inner { width:calc(100% - 64px); max-width:1120px; margin:0 auto; padding:0; }
.shop-info-page p, .shop-info-page h2, .shop-info-page dl, .shop-info-page dt, .shop-info-page dd { margin:0; padding:0; border:0; background:none; color:inherit; }
/* ファーストビュー：2026-10-21 正式店舗写真を比率維持で中央配置
   広いPC画面でも高さは600pxまで。同じ画像のぼかしで左右を補完。 */
.shop-info-page .shop-hero { height:min(39vw,600px); aspect-ratio:auto; overflow:hidden; isolation:isolate; background:#f6f3ec; }
.shop-info-page .shop-hero__blur-bg { position:absolute; inset:-30px; background:url("https://www.aso-kurarafarm.jp/cc105284/file/319596.png") center / cover no-repeat; filter:blur(30px) brightness(1) saturate(.95); transform:scale(1.08); pointer-events:none; }
.shop-info-page .shop-hero__photo { position:relative; z-index:1; display:block; width:auto; height:100%; max-width:100%; margin:0 auto; padding:0; border:0; object-fit:contain; object-position:center center; filter:none; }
/* 波形：上下の背景を既存サイト同様のSVGで接続 */
.shop-info-page .shop-wave { position:absolute; left:0; bottom:-1px; width:100%; pointer-events:none; }
.shop-info-page .shop-wave svg { display:block; width:100%; height:100%; }
.shop-info-page .shop-hero__wave { z-index:2; height:70px; }
/* 店舗FV：写真の左右端だけをごく狭く透過し、明るさを保ってぼかし背景につなぐ（2026-10-21） */
@media (min-width:768px) {
  .shop-info-page .shop-hero__photo {
    -webkit-mask-image:linear-gradient(to right, transparent, #000 clamp(10px,1vw,18px), #000 calc(100% - clamp(10px,1vw,18px)), transparent);
    mask-image:linear-gradient(to right, transparent, #000 clamp(10px,1vw,18px), #000 calc(100% - clamp(10px,1vw,18px)), transparent);
  }
}
/* リード文：明朝体はこの要素だけ */
.shop-info-page .shop-lead-section { padding:82px 24px 140px; background:#f6f3ec; }
.shop-info-page .shop-lead { max-width:1120px; margin:0 auto; font-family:"Zen Old Mincho",serif; font-size:21px; line-height:1.55; font-weight:500; letter-spacing:.1em; }
.shop-info-page .shop-lead p { font-family:inherit; font-size:inherit; line-height:inherit; font-weight:inherit; letter-spacing:inherit; }
.shop-info-page .shop-lead p + p { margin-top:24px; }
.shop-info-page .shop-lead__wave { height:100px; }
/* 店舗基本情報：各行のラベルと値をそろえて中央配置 */
.shop-info-page .shop-details { padding:36px 0 61px; background:#eae0d7; }
.shop-info-page .shop-basic-info { display:flex; flex-direction:column; gap:14px; font-size:22px; line-height:1.8; }
.shop-info-page .shop-basic-row { display:flex; justify-content:center; align-items:baseline; gap:20px; flex-wrap:wrap; }
.shop-info-page .shop-basic-row dt { font-size:inherit; font-weight:700; line-height:inherit; }
.shop-info-page .shop-basic-row dd { font-size:inherit; font-weight:500; line-height:inherit; }
/* 区切り線 */
.shop-info-page .shop-divider { width:110px; height:1px; margin:46px auto 55px; border:0; background:#9c9187; }
/* アクセス：文言は支給テキストをそのまま使用 */
.shop-info-page .shop-access h2 { margin:0 0 3px; font-size:22px; line-height:1.6; font-weight:700; }
.shop-info-page .shop-access p { font-size:20px; line-height:1.8; font-weight:400; }
.shop-info-page .shop-access-group + .shop-access-group { margin-top:27px; }
/* Google Map：コムログ標準機能で生成した埋め込み */
.shop-info-page .shop-map { width:88%; max-width:1120px; aspect-ratio:2.46; margin:73px auto 0; border-radius:30px; overflow:hidden; background:#dedbd7; }
.shop-info-page .shop-map iframe { display:block; width:100%; height:100%; max-width:none; margin:0; padding:0; border:0; }
/* 運営 */
.shop-info-page .shop-company { display:flex; justify-content:center; align-items:baseline; flex-wrap:wrap; gap:22px; margin:64px 24px 0; font-size:22px; line-height:1.8; font-weight:500; }
.shop-info-page .shop-company__label { font-weight:700; }
/* スクロール演出はページ末尾の既存方式JSで追加。通常CSSでは隠さない。
   prefers-reduced-motion時はJSで演出を無効化する。 */

/* ========================================
   共通ヘッダー：ロゴ追加調整（2026-10-15／PC版）
   公式ロゴ設定は変更せず、既存の空のトップリンクを再利用。
   先頭のロゴ非表示・メニュー固定幅の!importantだけを限定上書き。
   1024px未満は従来のヘッダー表示を維持。
======================================== */
@media (min-width:1024px) {
  #header #header_innner { box-sizing:border-box; display:flex; align-items:center; justify-content:space-between; gap:32px; width:calc(100% - 64px); max-width:1120px; min-height:80px; margin:0 auto; padding:10px 0; }
  #header #header_innner::after { display:none; }
  #header #site_id { display:block !important; flex:0 0 230px; float:none; width:230px !important; height:auto !important; margin:0 !important; padding:0 !important; }
  #header #site_id > a { display:block; width:100%; aspect-ratio:1028 / 257; background:url("https://www.aso-kurarafarm.jp/cc105284/file/319391.png") left center / contain no-repeat; }
  #header #gmenu { display:flex; flex:0 1 700px; align-items:center; justify-content:space-between; width:auto !important; margin:0 !important; text-align:center; }
  #header #gmenu > li { flex:0 0 auto; }
  #header #gmenu > li > a, #header #gmenu > li > span { white-space:nowrap; padding:10px 14px; }
  /* 固定ヘッダー80px分を共通本文枠で確保。各ページ既存44pxと重複させない */
  #body:has(> #header #site_id) { padding-top:80px; }
  #body .aso-top-page.top-hero { margin-top:0; }
  #body #cont_wap:has(.kodawari-page, .product-list-page, .shop-info-page) { padding-top:0 !important; }
}

/* ========================================
   商品一覧ページ：新ファーストビュー（2026-10-16）
   既存の商品カード・共通ヘッダーには変更を加えない。
======================================== */
.product-list-page .product-hero { position:relative; margin:0; padding:40px 24px 78px; min-height:470px; box-sizing:border-box; overflow:hidden; background:url("https://www.aso-kurarafarm.jp/cc105284/file/319393.png") center / cover no-repeat; }
.product-list-page .product-hero__inner { position:relative; z-index:1; width:100%; max-width:735px; margin:0 auto; }
.product-list-page .product-hero__main { display:grid; grid-template-columns:minmax(0,375fr) minmax(0,338fr); gap:22px; align-items:center; }
/* FVコピー：上下の白線も含む支給画像を、そのまま比率維持 */
.product-list-page .product-hero__copy { align-self:end; }
.product-list-page .product-hero__copy img { display:block; width:100%; height:auto; max-width:100%; margin:0; padding:0; border:0; }
/* FV商品3点：別々のimgを均等幅で並べる */
.product-list-page .product-hero__items { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:end; gap:0; }
.product-list-page .product-hero__item { display:block; width:100%; height:auto; max-width:100%; margin:0; padding:0; border:0; }
/* FVカテゴリーボタン：既存ホバークラスとアンカーを維持 */
.product-list-page .product-hero__nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:26px; width:calc(100% - 40px); margin:26px auto 0; }
.product-list-page .product-hero__nav .product-category-nav__link { display:block; width:100%; margin:0; padding:0; }
.product-list-page .product-hero__nav img { display:block; width:100%; height:auto; max-width:100%; margin:0; padding:0; border:0; }
/* FV下端：既存サイト同様のSVG波形でクリーム色へ接続 */
.product-list-page .product-hero__wave { position:absolute; z-index:2; left:0; bottom:-1px; width:100%; height:60px; pointer-events:none; }
/* MUKUセクション：赤線は既存の指定をそのまま利用 */
.product-list-page .product-section--mutenka { padding-top:100px; }
/* FV登場演出は専用JSの有限アニメーション。通常CSSでは隠さない。
   JS未実行・非対応・reduced-motionでも最初から全内容を表示する。 */
@media (max-width:767px) {
  .product-list-page .product-hero { min-height:0; padding:32px 20px 64px; }
  .product-list-page .product-hero__main { grid-template-columns:1fr; gap:22px; }
  .product-list-page .product-hero__copy { width:100%; max-width:375px; margin:0 auto; }
  .product-list-page .product-hero__items { width:80%; max-width:338px; margin:0 auto; }
  .product-list-page .product-hero__nav { width:100%; gap:14px; margin-top:24px; }
}
