:root {
  --ink: #5B4A43;
  --ink-soft: #8E807A;
  --text: #4a3d37;
  --muted: #9a8a82;
  --peach: #e8a09a;
  --peach-deep: #EC6E84;
  --apple: #D9434F;
  --leaf: #88BE6A;
  --leaf-deep: #6BA84E;
  --cream: #f7f3ee;
  --white: #fff;
  --line: #e8ded6;

  --pad: 22px;

  --serif: "Shippori Mincho", serif;
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  width: 100%;
}

body {
  font-family: 'Noto Sans JP', system-ui, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--cream);
  line-height: 2;
  letter-spacing: .04em;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.layout {
  width: 100%;
  min-height: 100svh;
}

.pc-photo {
  display: none;
}

.mobile-site {
  width: 100%;
  background: var(--white);
  min-height: 100svh;
}

/* PC */
@media (min-width: 1325px) {
  .layout {
    display: grid;
    grid-template-columns: 900px 1fr;
    width: 100vw;
  }

  .pc-photo {
    display: block;
    position: sticky;
    top: 0;
    width: 900px;
    height: 100svh;
    background: #ddd;
    overflow: hidden;
  }

  .mobile-site {
    width: 430px;
    max-width: 430px;
    justify-self: center;
    background: var(--white);
  }
}

/* タブレット */
@media (min-width: 768px) and (max-width: 1325px) {
  .layout {
    position: relative;
    width: 100vw;
    min-height: 100svh;
    display: grid;
    justify-items: center;
    background: #ddd;
    overflow: hidden;
  }

  .pc-photo {
    display: block;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100svh;
    z-index: 0;
    background: #ddd;
    overflow: hidden;
  }

  .pc-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(247, 243, 238, .35);
    backdrop-filter: blur(1px);
  }

  .mobile-site {
    position: relative;
    z-index: 1;
    width: 430px;
    max-width: 430px;
    min-height: 100svh;
    background: var(--white);
    box-shadow: 0 0 60px rgba(0,0,0,.12);
  }
}

/* スマホ */
@media (max-width: 767px) {
  .pc-photo {
    display: none;
  }

  .mobile-site {
    width: 100%;
    max-width: none;
  }
}

.hero {
  min-height: 100svh;
  padding: 28px 24px 56px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
  isolation: isolate; /* 疑似要素のz-indexをhero内に閉じ込める */
  background-image: url(../images/main-bg.webp);
  background-size: cover;
  background-position: center;
}

@media (max-width: 414px) {
  .hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 160px;
    background: linear-gradient(to bottom, transparent, #fff);
    z-index: -1;
    pointer-events: none;
  }
}

.brand {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink);
  text-align: right;
}

.brand small {
  display: block;
  font-size: 9px;
  color: var(--peach);
  letter-spacing: .16em;
}

.catch {
  font-family: var(--serif);
  align-self: center;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.catch h1 {
  font-size: 34px;
  writing-mode: vertical-rl;
  line-height: 1;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: .16em;
  margin: 0;
}

.catch p {
  font-size: 14px;
  text-align: center;
  margin: 2em 0 0;
}

.lead {
  font-size: 14px;
  text-align: center;
  color: var(--muted);
}

.character-img {
  width: 210px;
  margin: 0 auto;
}

.photo-block {
  height: 360px;
  background: #ddd;
}

.shops {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.shops li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.shops li::before {
  content: "—";
  margin-right: 10px;
  color: var(--peach);
}

/* =========================================================
   セクション共通
   ========================================================= */
.section__head { 
  text-align:center; 
  margin-bottom:22px;
}
.section__eyebrow {
  display:inline-block;
  font-size:11px;
  letter-spacing:.2em;
  color:var(--peach-deep);
  font-weight:600;
}
.section__title {
  font-family: var(--serif);
  font-weight:700;
  font-size:24px;
  line-height:1.4;
  margin:4px 0 0;
}
.section__title .accent {
  color:var(--apple);
}
.section__lead {
  font-size:14px;
  color:var(--ink-soft);
  margin-top:8px;
}

@supports (animation-timeline: view()){
  @media (prefers-reduced-motion: no-preference){
    .intro__photo-inner{
      animation: introParallax linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
  }
}
@keyframes introParallax{
  from{ transform: translateY(28px); }
  to  { transform: translateY(-28px); }
}

.lead-copy {
  text-align: left;
  padding: 0 28px 0 0;
  margin-bottom: 34px;
  position: relative;
}

.lead-copy::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 0;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(236, 110, 132, .20) 0%,   /* --peach-deep 相当 */
    rgba(236, 110, 132, 0) 70%
  );
  z-index: 0;
  pointer-events: none;
}

/* テキストを円より前面に固定 */
.lead-copy__eyebrow,
.lead-copy__main,
.lead-copy__note {
  position: relative;
  z-index: 1;
}

.lead-copy__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .26em;
  color: var(--peach-deep);
  margin-bottom: 18px;
}

.lead-copy__main {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(21px, 6.2vw, 25px);
  line-height: 1.9;
  letter-spacing: .06em;
  margin: 0;
}

.lead-copy__line {
  display: block;            /* 1行ずつ制御＋リビール対象化 */
}

.lead-copy__accent {
  color: var(--apple);
  border-bottom: 2px solid var(--peach-pale, #fbe7e4);
  padding-bottom: 2px;
}

.lead-copy__note {
  font-size: 12.5px;
  color: var(--ink-soft);
  letter-spacing: .05em;
  margin-top: 16px;
}
.lead-copy__strong {
  color: var(--peach-deep);
  font-weight: 700;
}
.lead-copy__divider {
  margin: 0 .3em;
  color: var(--line, #netshopfd6);
}

/* ---- スクロールリビール（1行ずつ立ち上げ） ---- */
/* JS有効時のみ隠す。JS無効でも必ず読める */
.js .lead-copy .lead-copy__eyebrow,
.js .lead-copy .lead-copy__line,
.js .lead-copy .lead-copy__note {
  opacity: 0;
  transform: translateY(14px);
}

/* 出す側は .js を足して詳細度で確実に上書き（順序に依存させない） */
.js .lead-copy.is-inview .lead-copy__eyebrow,
.js .lead-copy.is-inview .lead-copy__line,
.js .lead-copy.is-inview .lead-copy__note {
  opacity: 1;
  transform: none;
  transition: opacity .7s ease,
              transform .7s cubic-bezier(.22, 1, .36, 1);
}

.lead-copy.is-inview .lead-copy__eyebrow             { transition-delay: 0s; }
.lead-copy.is-inview .lead-copy__line:nth-child(1)   { transition-delay: .12s; }
.lead-copy.is-inview .lead-copy__line:nth-child(2)   { transition-delay: .24s; }
.lead-copy.is-inview .lead-copy__line:nth-child(3)   { transition-delay: .36s; }
.lead-copy.is-inview .lead-copy__note                { transition-delay: .52s; }

@media (prefers-reduced-motion: reduce) {
  .js .lead-copy .lead-copy__eyebrow,
  .js .lead-copy .lead-copy__line,
  .js .lead-copy .lead-copy__note {
    opacity: 1;
    transform: none;
  }
  .lead-copy.is-inview * { transition: none !important; }
}

.petals {
  position: fixed;
  inset: 0;
  margin: 0 auto;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.petal {
  position: absolute;
  top: -32px; /* 画像が少し大きくなる想定で開始位置を上げる */
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  will-change: transform;
}

/* ---- 個別指定:画像・サイズ・動き ---- */
/* パスは style.css からの相対パス例。構成に合わせて調整 */
.petal:nth-child(1) {
  left: 1%;
  width: 22px; height: 22px;
  background-image: url(../images/petal-01.webp);
  animation-name: fallA; animation-duration: 42s; animation-delay: -3s;
}
.petal:nth-child(2) {
  left: 14%;
  width: 26px; height: 26px;
  background-image: url(../images/petal-02.webp);
  opacity: .9;
  animation-name: fallB; animation-duration: 17s; animation-delay: 3s;
}
.petal:nth-child(3) {
  left: 79%;
  width: 18px; height: 18px;
  background-image: url(../images/petal-03.webp);
  animation-name: fallC; animation-duration: 33s; animation-delay: -12s;
}
.petal:nth-child(4) {
  left: 94%;
  width: 24px; height: 24px;
  background-image: url(../images/petal-04.webp);
  opacity: .85;
  animation-name: fallD; animation-duration: 48s; animation-delay: -36s;
}

@keyframes fallA{
  0%{   transform:translate(0,0)      rotate(0deg);   opacity:0; }
  8%{   opacity:.85; }
  30%{  transform:translate(16px,30vh) rotate(140deg); }
  60%{  transform:translate(-12px,62vh) rotate(250deg); }
  100%{ transform:translate(10px,112vh) rotate(430deg); opacity:.15; }
}
@keyframes fallB{
  0%{   transform:translate(0,0)       rotate(0deg);    opacity:0; }
  10%{  opacity:.8; }
  35%{  transform:translate(-24px,34vh) rotate(-120deg); }
  65%{  transform:translate(14px,66vh)  rotate(-260deg); }
  100%{ transform:translate(-8px,112vh) rotate(-360deg); opacity:.12; }
}
@keyframes fallC{
  0%{   transform:translate(0,0)       rotate(0deg);   opacity:0; }
  9%{   opacity:.85; }
  28%{  transform:translate(28px,28vh)  rotate(180deg); }
  58%{  transform:translate(-18px,60vh) rotate(330deg); }
  100%{ transform:translate(22px,112vh) rotate(500deg); opacity:.15; }
}
@keyframes fallD{
  0%{   transform:translate(0,0)       rotate(0deg);   opacity:0; }
  11%{  opacity:.78; }
  33%{  transform:translate(-14px,32vh) rotate(110deg); }
  70%{  transform:translate(18px,70vh)  rotate(240deg); }
  100%{ transform:translate(-10px,112vh) rotate(380deg); opacity:.12; }
}

/* =========================================================
   平井果樹園のじまん
   ========================================================= */

.sec-pride {
  padding: 130px 24px 210px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(210deg, #e1f3ff 0%, #f2fbff 40%, #eaf0f0 72%, #f6f2eb 100%);
}
.sec-pride-fade {
  position: absolute;
  inset: 0 0 auto;
  height: 120px;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    #fff 0%,
    rgba(255,255,255,.75) 35%,
    rgba(255,255,255,0) 100%
  );
}

.has-js .sec-pride::before{
  content:"";
  position:absolute; inset:-12% -12% 0;
  z-index:3; pointer-events:none;
  background:
    radial-gradient(60% 45% at 26% 22%, #fff 0%, rgba(255,255,255,0) 62%),
    radial-gradient(54% 40% at 78% 32%, #fff 0%, rgba(255,255,255,0) 60%),
    radial-gradient(72% 56% at 50% 72%, #fff 0%, rgba(255,255,255,0) 66%),
    rgba(255,255,255,.92);
  filter: blur(10px);
  opacity:1;
  transition: opacity 1.7s ease, transform 1.9s cubic-bezier(.22,.61,.36,1);
}
.has-js .sec-pride.is-inview::before{
  opacity:0;
  transform: translateY(-30px) scale(1.06);   /* 上へ晴れていく */
}
 
/* 中身は霞の奥からピントが合う */
.has-js .sec-pride .pridecatch,
.has-js .sec-pride .pridetxt{
  opacity:0; filter:blur(5px); transform:translateY(10px);
  transition: opacity 1.3s ease, filter 1.3s ease, transform 1.3s ease;
}
.has-js .sec-pride.is-inview .pridecatch{
  opacity:1; filter:none; transform:none; transition-delay:.2s;
}
.has-js .sec-pride.is-inview .pridetxt{
  opacity:1; filter:none; transform:none; transition-delay:.4s;
}
 
@media (prefers-reduced-motion: reduce){
  .has-js .sec-pride::before{ display:none; }
  .has-js .sec-pride .pridecatch,
  .has-js .sec-pride .pridetxt{
    opacity:1; filter:none; transform:none; transition:none;
  }
}

.sec-pride::after {
  content: '';
  display: inline-block;
  width: 200px;
  height: 200px;
  background-image: url(../images/logo.png);
  background-size: contain;
  vertical-align: middle;
  position: absolute;
  top: 40px;
  right: 10px;
  opacity: .1;
  z-index: 1;
}

.pridecatch {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  color: #122f4d;
  line-height: 1.6;
  margin: -25px 0 0;
  writing-mode: tb;
  right: 20px;
  position: absolute;
  letter-spacing: 6px;
  text-shadow: 1px 1px 1px #fff;
  z-index: 2;
}
.pridetxt {
  font-size: 14px;
  line-height: 2.5;
  position: relative;
  z-index: 2;
}

.sabakoyu {
  margin: -200px 0 0;
}


/* =========================================================
   育てているもの
   ========================================================= */

.sec-fruit {
  padding: 36px 24px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    var(--white) 10%,
    var(--white) 90%,
    rgba(255, 255, 255, 0) 100%
  );
}
.group_label {
  position: relative;
  z-index: 1;
  text-align: center;
  font-weight: bold;
  color: var(--ink);
  margin: 30px auto 10px;
  font-size: 24px;
}

.group_label::before {
  content: attr(data-en);
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 35px;
  font-weight: bold;
  z-index: -1;
  white-space: nowrap;
  letter-spacing: 0.1em;
  opacity: 0.1;
  color: var(--peach-deep);
}

/* もも8種 */
.peach-list {
  margin-bottom: 60px;
}

.peach-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 13px 0 20px;
  border-bottom: 1px solid #f2e4dc;
}

.peach-num {
  font-size: 15px;
  font-weight: 900;
  color: var(--peach);
  line-height: 1;
  padding-top: 16px;
}

.peach-content {
  flex: 1;
}

.peach-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.peach-name {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: .01em;
}

.peach-kana {
  font-size: 11px;
  font-weight: 500;
  margin-left: 4px;
}

.peach-period {
  font-size: 11px;
  font-weight: 700;
  color: var(--peach-deep);
  background: var(--cream);
  padding: 2px 9px;
  border-radius: 100vh;
  white-space: nowrap;
}

.peach-desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 6px;
}

/* サンふじりんご */
.apple-card {
  border-bottom: 1px solid var(--line);
  padding-bottom: 25px;
}
.apple-card-inner {
  display: flex;
  gap: 18px;
  align-items: center;
}

.apple-text {
  flex: 1;
}

.apple-kicker {
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--leaf);
  font-weight: 700;
  margin: 0 0 6px;
}

.apple-name {
  font-size: 22px;
  font-weight: 900;
  margin: 0;
  letter-spacing: .01em;
}

.apple-period {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--leaf-deep);
  background: var(--cream);
  padding: 2px 9px;
  border-radius: 100vh;
  white-space: nowrap;
}

.apple-photo {
  width: 140px;
  height: 140px;
  border-radius: 4px;
  object-fit: cover;
  background: #eee;
  flex-shrink: 0;
}

.apple-desc {
  margin-top: 20px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.apple-card-reverse {
  padding-top:30px;
}



/* =========================================================
   直売所案内
   ========================================================= */

.sec-shop {
  padding: 42px 24px 24px;
}
.z-999 {
  position: relative;
  z-index: 999;
}
.shops {
  display:grid;
  gap:16px;
}
.shop {
  background:#fff;
  border:1px solid var(--line);
  border-radius:4px;
  overflow:hidden;
  box-shadow:0 8px 22px rgba(150,110,100,.06);
}
.shop__photo .ph {
  width:100%;
  height:150px;
}
.shop__body { 
  padding:16px 18px 24px;
}
.shop__name {
  font-weight:700;
  font-size:17px;
  margin:0 0 10px;
}
.shop__row {
  display:flex;
  gap:5px;
  font-size:14px;
  color:var(--ink-soft);
  margin:5px 0;
  align-items:baseline;
}
.shop__row img { 
  width: 12px;
  height: auto;
}
.shop__map {
  display:inline-flex;
  align-items:center; gap:6px;
  margin-top:12px;
  font-size:12px;
  font-weight:700;
  color:var(--leaf-deep);
  border:1.5px solid var(--leaf);
  border-radius:100vh;
  padding:2px 16px;
  transition:background .2s ease, color .2s ease;
}
.shop__map:active {
  background:var(--leaf);
  color:#fff;
}

/* =========================================================
   ネットで買う
   ========================================================= */

.sec-netshop {
  padding: 24px;
  background: var(--white);
}

.netshop {
  position:relative;
  border-radius:4px;
  overflow:hidden;
  box-shadow:0 12px 30px rgba(150,110,100,.16);
}
.netshop__bg {
  position:absolute;
  inset:0;
}
.netshop__bg .ph {
  width:100%;
  height:100%;
}
.netshop__bg .ph::after {
  color:#cfc6c0;
}
.netshop__inner {
  position:relative; padding:65px 20px 55px;
  background:linear-gradient(180deg, rgb(184 184 184 / 18%), rgb(33 31 31 / 50%));
  backdrop-filter:blur(2px);
}
.netshop__lead{ color:#fff; text-align:center; text-shadow:0 2px 12px rgba(50,25,25,.4); margin:0 0 16px; }
.netshop__lead b{ display:block; font-family:var(--font-display); font-weight:700; font-size:18px; }
.netshop__lead small{ font-size:14px; opacity:.92; }
.netshop__btns{ display:grid; grid-template-columns:1fr 1fr; gap:11px; }
.netshop__btn{
  align-items:center;
  border-radius:4px;
  padding:10px 8px;
  background:var(--white);
  transition:background .2s ease, transform .2s ease;
}
.netshop__btn:active{ transform:translateY(2px); }
.netshop__btn img{
  width: 100px;
  height: auto;
  margin: 0 auto;
}


/* ============================
   園主あいさつ
============================ */
.sec-owner {
  padding: 72px var(--pad) 80px;
  background: #fdfaf6;
  text-align: center;
}

.owner__figure { margin: 0 0 28px; }
.owner__figure img {
  width: 240px;
  height: auto;
  margin-inline: auto;
  display: block;
}
.owner__bubble {
  position: relative;
  display: inline-block;
  margin-top: 18px;
  padding: 8px 18px;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 100vh;
  background: #fff;
}
.owner__bubble::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: #fff;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  transform: translateX(-50%) rotate(45deg);
}

/* 見出し */
.owner__catch {
  width: 270px;
  margin: 0 auto 28px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.14em;
  color: var(--ink);
  border-bottom: 1px dashed var(--peach);
}

/* 本文 */
.owner__body p {
  margin: 0 0 1.6em;
  font-size: 14px;
  line-height: 2.2;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.owner__body p:last-child { margin-bottom: 0; }

/* 署名 */
.owner__sign {
  margin: 36px 0 0;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}
.owner__name {
  display: inline-block;
  margin-left: 0.8em;
  font-size: 17px;
  color: var(--ink);
}

.apple {
  color: var(--apple);
}


.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.sec-notice {
  padding: 72px var(--pad);
  background: var(--white);
  text-align: center;
}
.notice__eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--peach-deep);
  margin-bottom: 14px;
}
.notice__copy {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: .12em;
  line-height: 1.9;
  color: var(--ink);
}
.notice__sub {
  margin: 0 0 30px;
  font-size: 13px;
  color: var(--muted);
}
.notice__list {
  list-style: none;
  margin: 0 auto 26px;
  padding: 0;
  max-width: 340px;
  text-align: left;
}
.notice__list li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  align-items: start;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.9;
}
.notice__list li:first-child { border-top: 1px solid var(--line); }
.notice__list .x {
  width: 16px; height: 16px;
  margin-top: 6px;
  color: var(--apple);
}
.notice__list .o {
  width: 16px; height: 16px;
  margin-top: 6px;
  color: var(--leaf-deep);
}
.notice__list li.is-ok span:last-child {
  color: var(--ink);
  font-weight: 500;
}
