/*
Theme Name: On SEASON
Theme URI: https://onseason-okinawa.com
Author: Ando
Description: 県産生フルーツ専門店 On SEASON 公式サイト
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: onseason
*/

@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@300;400;500&display=swap');

*{box-sizing:border-box;margin:0;padding:0;}
html{
  background-color:#f4f1ea;
  background-image:radial-gradient(circle, rgba(24,42,79,0.09) 1px, transparent 1px);
  background-size:26px 26px;
}
body{font-family:'Shippori Mincho',serif;background:#fff;color:#1a1a1a;max-width:680px;margin:0 auto;box-shadow:0 12px 50px rgba(24,42,79,0.14);}
img{max-width:100%;height:auto;display:block;}

/* ===== NAV ===== */
nav{display:flex;align-items:center;justify-content:space-between;padding:0 24px;height:58px;background:#fff;border-bottom:2.5px solid #e60012;position:sticky;top:0;z-index:100;}
.nav-logo{font-family:'acumin-pro-semi-condensed',sans-serif;font-weight:800;font-size:22px;letter-spacing:0.02em;color:#e60012;line-height:1;}
.nav-logo em{color:#e60012;font-style:normal;}
.nav-logo-sub{font-family:'Shippori Mincho',serif;font-size:10px;font-weight:300;color:#e60012;letter-spacing:0.15em;margin-bottom:2px;opacity:0.75;}
.nav-links{display:flex;gap:20px;}
.nav-links a{color:#555;font-size:13px;letter-spacing:0.1em;text-decoration:none;font-weight:300;}

/* ===== HAMBURGER MENU ===== */
.nav-burger{display:none;flex-direction:column;justify-content:center;gap:5px;width:32px;height:32px;background:none;border:none;cursor:pointer;padding:0;}
.nav-burger span{display:block;width:100%;height:2px;background:#182a4f;border-radius:999px;transition:transform 0.25s ease,opacity 0.2s ease;}
.nav-burger.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav-burger.is-open span:nth-child(2){opacity:0;}
.nav-burger.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

.nav-overlay{display:none;position:fixed;top:58px;left:0;right:0;bottom:0;background:rgba(24,42,79,0.35);z-index:99;}
.nav-overlay.is-open{display:block;}

/* ===== HERO ===== */
/* ===== HERO INTRO（テキストエリア） ===== */
.hero-intro{padding:36px 24px 24px;text-align:left;border-bottom:none;}
.hero-badge{display:inline-flex;align-items:center;background:#e60012;border-radius:999px;padding:6px 16px;margin-bottom:14px;}
.hero-badge span{font-family:sausage,sans-serif;font-size:12px;color:#fff;letter-spacing:0.08em;line-height:1;}
.hero-intro h1{font-family:'acumin-pro-semi-condensed',sans-serif;font-weight:800;font-size:48px;line-height:1;letter-spacing:0.04em;color:#e60012;margin-bottom:12px;text-align:center;}
.hero-intro h1 em{color:#e60012;font-style:normal;}
.hero-desc{font-size:14px;color:#666;line-height:1.9;font-weight:300;letter-spacing:0.06em;text-align:center;}

/* ===== HERO SLIDER（スワイプ画像） ===== */
.hero-slider{position:relative;width:100%;height:520px;overflow:hidden;touch-action:pan-y;animation:heroFadeIn 1.3s ease;}
@keyframes heroFadeIn{from{opacity:0;}to{opacity:1;}}
.hero-slider-track{display:flex;height:100%;/* widthはJSがループ用クローンの枚数に応じて動的に設定 */}
.hero-slide{position:relative;height:100%;flex-shrink:0;/* widthはJSが動的に設定 */}
.hero-slide img{width:100%;height:100%;object-fit:cover;user-select:none;-webkit-user-drag:none;}
.hero-slide-cta{position:absolute;bottom:0;left:0;right:0;padding:24px;display:flex;gap:10px;flex-wrap:wrap;background:linear-gradient(to top,rgba(24,42,79,0.75) 0%,transparent 100%);}

.hero-slider-dots{position:absolute;bottom:16px;left:0;right:0;display:flex;justify-content:center;gap:7px;z-index:2;}
.hs-dot{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,0.5);cursor:pointer;transition:background 0.2s,width 0.2s;}
.hs-dot.is-active{background:#fff;width:18px;border-radius:999px;}

.hero-slider-arrow{position:absolute;top:50%;transform:translateY(-50%);background:none;border:none;color:#fff;font-size:34px;line-height:1;cursor:pointer;z-index:2;text-shadow:0 1px 8px rgba(0,0,0,0.5);padding:6px 10px;}
.hero-slider-prev{left:2px;}
.hero-slider-next{right:2px;}
a.btn-red,a.btn-navy-outline,a.btn-red-solid,a.btn-navy,a.btn-ghost,a.f-sns-btn{text-decoration:none;display:inline-flex;align-items:center;}
.btn-red{background:#e60012;color:#fff;font-family:sausage,sans-serif;font-size:15px;padding:12px 26px;border:none;cursor:pointer;border-radius:999px;letter-spacing:0.05em;}
.btn-navy-outline{background:transparent;color:#fff;font-family:sausage,sans-serif;font-size:15px;padding:12px 26px;border:1.5px solid rgba(255,255,255,0.6);cursor:pointer;border-radius:999px;letter-spacing:0.05em;}

/* ===== INFO BANNER ===== */
.info-banner{background:#182a4f;padding:13px 24px;display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;}
.ib-text{font-family:sausage,sans-serif;font-size:13px;color:rgba(255,255,255,0.85);letter-spacing:0.1em;}
.ib-dot{width:4px;height:4px;border-radius:50%;background:rgba(255,255,255,0.35);}

/* ===== PHOTO STRIP ===== */
.photo-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;}
.ps-item{overflow:hidden;}
.ps-item img{width:100%;height:100%;object-fit:cover;}

/* ===== TODAY STATUS ===== */
.today{background:#fff;border-bottom:1px solid #eee;padding:28px 24px;}
.today-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;}
.today-title{font-family:'acumin-pro-semi-condensed',sans-serif;font-weight:800;font-size:13px;letter-spacing:0.22em;color:#182a4f;text-transform:uppercase;}
.today-updated{font-size:12px;color:#bbb;font-weight:300;}
.status-row{display:flex;align-items:center;gap:12px;margin-bottom:18px;flex-wrap:wrap;}
.status-badge{display:inline-flex;align-items:center;gap:8px;padding:9px 20px;border-radius:999px;font-family:sausage,sans-serif;font-size:16px;}
.status-open{background:#182a4f;color:#fff;}
.status-closed{background:#fff;color:#e60012;border:1.5px solid #e60012;}
.status-dot{width:7px;height:7px;border-radius:50%;background:currentColor;animation:pulse 1.5s infinite;}
@keyframes pulse{0%,100%{opacity:1;}50%{opacity:0.3;}}
.status-hours{font-size:15px;color:#555;font-weight:300;letter-spacing:0.06em;}
.today-comment{background:#f8f6f2;border-left:3px solid #e60012;padding:13px 16px;margin-bottom:20px;font-size:15px;color:#333;line-height:1.9;border-radius:0 6px 6px 0;font-weight:300;letter-spacing:0.05em;}
.today-comment-label{font-family:'acumin-pro-semi-condensed',sans-serif;font-weight:800;font-size:11px;color:#e60012;letter-spacing:0.18em;margin-bottom:5px;text-transform:uppercase;}
.today-menu-label{font-family:'acumin-pro-semi-condensed',sans-serif;font-weight:800;font-size:11px;color:#999;letter-spacing:0.18em;text-transform:uppercase;margin-bottom:10px;}
.menu-status-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;}
.ms-item{display:flex;align-items:center;justify-content:space-between;background:#f8f6f2;border-radius:8px;padding:11px 14px;border:1px solid #eee;}
.ms-name{font-size:13px;color:#333;font-weight:300;letter-spacing:0.04em;}
.ms-badge{font-family:sausage,sans-serif;font-size:11px;padding:3px 10px;border-radius:999px;white-space:nowrap;}
.ms-ok{background:#182a4f;color:#fff;}
.ms-ng{background:#eee;color:#bbb;}

/* ===== SHARED SECTION ===== */
.section{padding:52px 24px;border-bottom:1px solid #eee;}
.section-alt{background:#f8f6f2;}
.sec-eyebrow{font-family:sausage,sans-serif;font-size:13px;color:#e60012;letter-spacing:0.1em;margin-bottom:8px;}
.sec-title{font-family:'acumin-pro-semi-condensed',sans-serif;font-weight:800;font-size:36px;letter-spacing:0.04em;color:#182a4f;line-height:1;margin-bottom:6px;}
.sec-title-wrap{display:inline-block;margin-bottom:28px;}
.sec-title-ja{font-size:14px;color:#bbb;letter-spacing:0.18em;margin-bottom:6px;font-weight:300;white-space:nowrap;}
.sec-rule{width:100%;height:3px;background:#e60012;border-radius:999px;}

/* ===== ABOUT ===== */
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:24px;}

/* ===== ONLINE SHOP INTRO ===== */
.shop-intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center;}
.shop-intro-text{display:flex;flex-direction:column;align-items:flex-start;gap:18px;}
.photo-box{border-radius:8px;overflow:hidden;}
.photo-box img{width:100%;height:100%;object-fit:cover;}
.about-text{font-size:16px;color:#444;line-height:2.2;margin-bottom:22px;font-weight:300;letter-spacing:0.06em;}

/* ===== PAGE CONTENT（プライバシーポリシー等の固定ページ用） ===== */
.page-content{font-size:15px;color:#444;line-height:2.2;font-weight:300;letter-spacing:0.03em;}
.page-content p{margin-bottom:16px;}
.page-content h2{font-family:'acumin-pro-semi-condensed',sans-serif;font-weight:800;font-size:22px;color:#182a4f;letter-spacing:0.04em;margin:32px 0 12px;}
.page-content h3{font-size:16px;font-weight:700;color:#182a4f;margin:24px 0 8px;letter-spacing:0.03em;}
.page-content ul,.page-content ol{margin:0 0 16px 20px;}
.page-content li{margin-bottom:6px;}
.page-content table{width:100%;border-collapse:collapse;margin:16px 0 24px;}
.page-content th,.page-content td{padding:10px 12px;border:1px solid #eee;text-align:left;font-size:14px;vertical-align:top;}
.page-content th{background:#f8f6f2;font-weight:700;color:#182a4f;width:35%;white-space:nowrap;}
.tags{display:flex;flex-wrap:wrap;gap:8px;}
.tag{font-family:sausage,sans-serif;font-size:13px;padding:6px 18px;border-radius:999px;letter-spacing:0.04em;}
.tag-navy{background:#182a4f;color:#fff;}
.tag-red{background:#e60012;color:#fff;}
.tag-outline{background:transparent;color:#182a4f;border:1.5px solid #182a4f;}
.img-fruit{object-position:center -200px;}
.img-cut-fruit{object-position:center -180px;}

/* ===== PHOTO MOSAIC ===== */
.photo-mosaic{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:160px 160px;gap:3px;margin:28px 0;}
.pm-main{grid-row:span 2;overflow:hidden;}
.pm-sub{overflow:hidden;}
.pm-main img,.pm-sub img{width:100%;height:100%;object-fit:cover;}

/* ===== MENU ===== */
.menu-list{margin-bottom:28px;}
.mi{display:flex;align-items:center;justify-content:space-between;padding:18px 0;border-bottom:1px solid #eee;}
.mi:last-child{border-bottom:none;}
.mi-l{display:flex;align-items:center;gap:14px;}
.mi-thumb{width:56px;height:56px;border-radius:8px;flex-shrink:0;overflow:hidden;}
.mi-thumb img{width:100%;height:100%;object-fit:cover;}
.mi-name{font-size:16px;font-weight:500;color:#1a1a1a;letter-spacing:0.05em;}
.mi-sub{font-size:13px;color:#999;margin-top:4px;font-weight:300;letter-spacing:0.06em;}
.mi-price{font-family:'acumin-pro-semi-condensed',sans-serif;font-weight:800;font-size:18px;color:#e60012;white-space:nowrap;}
.btn-navy{display:inline-flex;align-items:center;gap:8px;background:#182a4f;color:#fff;font-family:sausage,sans-serif;font-size:15px;padding:13px 28px;border-radius:999px;letter-spacing:0.05em;cursor:pointer;border:none;}
.btn-navy::after{content:'→';}
.btn-red-solid{display:inline-flex;align-items:center;gap:8px;background:#e60012;color:#fff;font-family:sans-serif;font-size:15px;padding:13px 28px;border-radius:999px;letter-spacing:0.05em;cursor:pointer;border:none;}
.btn-red-solid::after{content:'→';}
.btn-ghost{display:inline-flex;align-items:center;gap:8px;margin-top:20px;background:transparent;color:#182a4f;font-family:sausage,sans-serif;font-size:15px;padding:12px 24px;border-radius:999px;letter-spacing:0.05em;cursor:pointer;border:1.5px solid #182a4f;}
.btn-ghost::after{content:'→';}

/* ===== PHOTO ROW ===== */
.photo-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:3px;}
.pr-item{height:120px;overflow:hidden;}
.pr-item img{width:100%;height:100%;object-fit:cover;}

/* ===== ACCESS ===== */
.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px;}
.info-card{background:#fff;border-radius:8px;padding:22px 18px;border:1px solid #eee;}
.info-lbl{font-family:'acumin-pro-semi-condensed',sans-serif;font-weight:800;font-size:11px;letter-spacing:0.18em;color:#e60012;margin-bottom:12px;display:flex;align-items:center;gap:6px;text-transform:uppercase;}
.info-lbl::before{content:'';width:6px;height:6px;border-radius:50%;background:#e60012;display:inline-block;flex-shrink:0;}
.info-body{font-size:15px;color:#333;line-height:2.2;font-weight:300;letter-spacing:0.06em;}
.info-muted{font-size:13px;color:#bbb;font-weight:300;}
.map-box{border-radius:8px;height:280px;overflow:hidden;}
.map-box iframe{width:100%;height:100%;border:0;display:block;}
.payment-row{display:flex;align-items:center;gap:14px;margin-bottom:16px;padding:16px 18px;background:#f8f6f2;border-radius:8px;border:1px solid #eee;flex-wrap:wrap;}
.payment-label{font-family:'Shippori Mincho',serif;font-size:13px;font-weight:300;color:#999;letter-spacing:0.08em;white-space:nowrap;}
.payment-tags{display:flex;flex-wrap:wrap;gap:7px;}
.payment-tag{font-family:'Shippori Mincho',serif;font-size:13px;font-weight:300;padding:4px 12px;border-radius:999px;background:#fff;color:#182a4f;border:1px solid #ddd;letter-spacing:0.06em;}

/* ===== NEWS ===== */
.ni{display:flex;gap:16px;padding:18px 0;border-bottom:1px solid #eee;align-items:flex-start;}
.ni:last-child{border-bottom:none;}
.ni-meta{flex-shrink:0;width:110px;}
.ni-date{font-size:13px;color:#bbb;letter-spacing:0.06em;margin-bottom:7px;font-weight:300;}
.nbadge{display:inline-block;font-family:sausage,sans-serif;font-size:12px;padding:3px 12px;border-radius:999px;}
.nb-navy{background:#182a4f;color:#fff;}
.nb-red{background:#e60012;color:#fff;}
.nb-outline{background:transparent;color:#182a4f;border:1px solid #182a4f;}
.ni-text{font-size:15px;color:#333;line-height:1.9;padding-top:2px;font-weight:300;letter-spacing:0.06em;}
.ni-text a{color:inherit;text-decoration:none;}
.ni-text a:hover{text-decoration:underline;}

/* ===== GALLERY (自社写真) ===== */
.ig-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin-bottom:22px;}
.ig-thumb{aspect-ratio:1/1;overflow:hidden;border-radius:4px;}
.ig-thumb img{width:100%;height:100%;object-fit:cover;}

/* ===== INSTAGRAM FEED (自動取得) ===== */
.insta-feed{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin-bottom:22px;}
.insta-feed a{display:block;aspect-ratio:1/1;overflow:hidden;border-radius:4px;background:#f0ede8;}
.insta-feed img{width:100%;height:100%;object-fit:cover;display:block;}
.insta-loading{font-size:13px;color:#bbb;font-weight:300;padding:20px 0;text-align:center;grid-column:1/-1;}

/* ===== FOOTER ===== */
footer{background:#182a4f;padding:36px 24px 28px;}
.f-top{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:28px;}
.f-logo{font-family:'acumin-pro-semi-condensed',sans-serif;font-weight:800;font-size:22px;letter-spacing:0.02em;color:#e60012;}
.f-logo em{color:#e60012;font-style:normal;}
.f-tagline{font-size:12px;color:rgba(255,255,255,0.4);margin-top:4px;font-weight:300;letter-spacing:0.08em;}
.f-links{display:flex;flex-direction:column;gap:10px;align-items:flex-end;}
.f-links a{font-size:13px;color:rgba(255,255,255,0.5);text-decoration:none;font-weight:300;letter-spacing:0.06em;}
.f-bottom{border-top:0.5px solid rgba(255,255,255,0.1);padding-top:20px;display:flex;flex-direction:column;gap:14px;}
.f-legal{display:flex;flex-wrap:wrap;gap:16px;}
.f-legal a{font-size:11px;color:rgba(255,255,255,0.35);text-decoration:none;letter-spacing:0.04em;}
.f-legal a:hover{color:rgba(255,255,255,0.6);}
.f-bottom-row{display:flex;align-items:center;justify-content:space-between;}
.f-copy{font-size:12px;color:rgba(255,255,255,0.25);font-weight:300;}
.f-sns-btn{font-family:sans-serif;font-size:12px;padding:7px 16px;border-radius:999px;background:#e60012;color:#fff;border:none;cursor:pointer;}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  html{background-color:#fff;background-image:none;}
  body{margin:0 auto;box-shadow:none;}

  nav{padding:0 16px;height:54px;}
  .nav-logo{font-size:18px;}
  .nav-logo-sub{font-size:9px;}
  .nav-burger{display:flex;}
  .nav-links{
    display:flex;
    flex-direction:column;
    gap:0;
    position:fixed;
    top:54px;
    right:0;
    width:220px;
    background:#fff;
    border-left:1px solid #eee;
    border-bottom:1px solid #eee;
    box-shadow:-4px 4px 16px rgba(0,0,0,0.08);
    transform:translateX(100%);
    transition:transform 0.25s ease;
    z-index:100;
  }
  .nav-links.is-open{transform:translateX(0);}
  .nav-links a{
    font-size:14px;
    letter-spacing:0.06em;
    padding:16px 20px;
    border-bottom:1px solid #f2f2f2;
  }
  .nav-links a:last-child{border-bottom:none;}

  .hero-intro{padding:24px 16px 16px;}
  .hero-intro h1{font-size:34px;}
  .hero-desc{font-size:13px;}
  .hero-slider{height:calc(100vh - 54px);}
  .hero-slide-cta{padding:16px;}
  .btn-red,.btn-navy-outline{font-size:13px;padding:10px 18px;}

  .info-banner{flex-direction:column;align-items:center;gap:6px;padding:14px 16px;}
  .ib-text{font-size:11px;}
  .ib-dot{display:none;}

  .photo-strip{grid-template-columns:1fr 1fr;}

  .section{padding:40px 16px;}
  .sec-title{font-size:28px;}
  .sec-title-ja{font-size:12px;}

  .about-grid{grid-template-columns:1fr;gap:10px;}
  .shop-intro-grid{grid-template-columns:1fr;gap:16px;}
  .photo-mosaic{grid-template-rows:140px 140px;}
  .img-fruit{object-position:center -250px;}
  .img-cut-fruit{object-position:center 0px;}

  .mi-name{font-size:14px;}
  .mi-sub{font-size:12px;}
  .mi-price{font-size:16px;}
  .mi-thumb{width:46px;height:46px;}

  .info-grid{grid-template-columns:1fr;}

  .ig-grid{grid-template-columns:repeat(2,1fr);}
  .insta-feed{grid-template-columns:repeat(3,1fr);}

  .photo-row{grid-template-columns:1fr 1fr;}
  .photo-row .pr-item:nth-child(3){display:none;}

  .payment-row{flex-direction:column;align-items:flex-start;gap:8px;}

  footer{padding:28px 16px 20px;}
  .f-top{flex-direction:column;gap:20px;}
  .f-links{flex-direction:row;flex-wrap:wrap;justify-content:flex-start;gap:14px;}
  .f-bottom{gap:12px;}
  .f-bottom-row{flex-direction:column;align-items:flex-start;gap:10px;}
  .f-logo{font-size:18px;}

  .btn-navy,.btn-red-solid,.btn-ghost{font-size:13px;padding:11px 22px;}

  .menu-status-grid{grid-template-columns:1fr;}
  .ni-meta{width:90px;}
}
