/* =========================================================
   上原ファームとは（about.html）
   PC: 上原ファーム ABOUT / SP・TB: MAbout
   ========================================================= */
/* PCだけ・TB/SPだけの出し分け（1200pxで切り替え） */
@media (max-width: 1199px) { .v-pc { display: none !important; } }
@media (min-width: 1200px) { .v-m { display: none !important; } }

@keyframes ringWide { 0% { transform: scale(1); opacity: .7 } 100% { transform: scale(2.2); opacity: 0 } }

/* ---------- ヒーロー（ABOUTはPageHeroと少し違う） ---------- */
@media (min-width: 1200px) {
  .page-hero--about .page-hero__photo { width: 55%; }
  .page-hero--about .dot--sun { left: 52%; }
  .page-hero--about .dot--green { left: 55%; top: 430px; bottom: auto; }
  .page-hero--about .page-hero__text { right: calc(var(--pad-x) - 20px); }
  .page-hero--about .page-hero__title { letter-spacing: .1em; }
}

/* ---------- 共通の見出し ---------- */
.a-head { display: flex; flex-direction: column; gap: 18px; }
.a-head--center { align-items: center; gap: 16px; }
.a-head--center .tag { align-self: center; }
.a-h2 { font-size: 34px; font-weight: 700; letter-spacing: .12em; }
@media (max-width: 1199px) {
  .a-head, .a-head--center { gap: 12px; }
  .a-h2 { font-size: 28px; letter-spacing: .1em; }
}
@media (max-width: 767px) { .a-h2 { font-size: 24px; } }

/* ---------- イントロ ---------- */
.intro { display: flex; flex-direction: column; align-items: center; gap: 36px; padding: 150px calc(var(--pad-x) + 100px) 140px; text-align: center; }
.intro__title { font-family: var(--font-mincho); font-size: 40px; font-weight: 600; letter-spacing: .14em; line-height: 1.7; }
.intro__body { max-width: 760px; font-size: 16px; line-height: 2.3; letter-spacing: .06em; text-wrap: pretty; }
.intro__dots { font-size: 13px; color: var(--sun-deep); letter-spacing: .6em; }
@media (max-width: 1199px) {
  .intro { gap: 24px; padding: 90px 72px 80px; }
  .intro .stamp { width: 64px; height: 64px; font-size: 26px; box-shadow: inset 0 0 0 3px var(--cream), inset 0 0 0 5px var(--plum); }
  .intro__title { font-size: 30px; letter-spacing: .12em; }
  .intro__body { max-width: none; font-size: 15px; line-height: 2.2; letter-spacing: .04em; text-align: left; }
}
@media (max-width: 767px) {
  .intro { padding: 70px 24px 60px; }
  .intro__title { font-size: 24px; }
  .intro__body { font-size: 14px; }
}

/* ---------- ふたりのこと ---------- */
.story {
  position: relative; background: var(--sand);
  clip-path: polygon(0 4%,12% 1%,28% 3.5%,46% 0,63% 3%,80% .5%,100% 3%,100% 97%,86% 100%,70% 96.5%,52% 99.5%,34% 97%,16% 100%,0 97.5%);
  padding: 170px var(--pad-x) 180px; display: flex; flex-direction: column; gap: 72px;
}
.story__list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 96px; }
.person { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.person__visual { position: relative; width: 320px; height: 320px; }
.person__ring { position: absolute; inset: -24px; border-radius: 50%; border: 2px dashed rgba(91,42,78,.28); animation: spin 70s linear infinite; }
.person--wife .person__ring { animation-direction: reverse; }
.person__photo {
  position: absolute; inset: 0; border-radius: 50%; border: 12px solid var(--cream);
  background: repeating-linear-gradient(135deg, var(--c1) 0 14px, var(--c2) 14px 28px);
  transition: transform .7s cubic-bezier(.3,1.4,.5,1);
}
.person__photo:hover { transform: scale(1.04) rotate(-2deg); }
.person__img { position: absolute; inset: 0; border-radius: 50%; background-size: cover; background-repeat: no-repeat; }
.person__role {
  position: absolute; right: -4px; bottom: 24px; background: var(--plum); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: .1em; padding: 12px 22px; border-radius: 44px 36px 46px 32px;
  white-space: nowrap; animation: wobble 5s ease-in-out infinite;
}
.person--wife .person__role { background: var(--sun); color: var(--plum-deep); animation-delay: -2.5s; }
.person__name { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.person__name h3 { font-family: var(--font-mincho); font-size: 26px; font-weight: 600; letter-spacing: .2em; }
.person__en { font-size: 10px; font-weight: 700; letter-spacing: .3em; color: var(--green); }
.person__text { max-width: 420px; font-size: 15px; line-height: 2.1; letter-spacing: .05em; color: var(--muted); text-wrap: pretty; }
@media (max-width: 1199px) {
  .story {
    clip-path: polygon(0 2%,25% 0,50% 1.5%,75% 0,100% 1.5%,100% 98%,75% 100%,50% 98.5%,25% 100%,0 98.5%);
    padding: 100px 48px; gap: 40px;
  }
  .story__list { grid-template-columns: 1fr 1fr; gap: 48px 32px; }
  .person { gap: 16px; }
  .person__visual { width: 220px; height: 220px; }
  .person__ring { inset: -16px; }
  .person--wife .person__ring { animation-direction: normal; }
  .person__photo { border-width: 10px; background: repeating-linear-gradient(135deg, var(--c1) 0 12px, var(--c2) 12px 24px); }
  .person__photo:hover { transform: none; }
  .person__role { right: -10px; bottom: 16px; font-size: 12px; letter-spacing: 0; padding: 10px 16px; border-radius: 40px 32px 42px 28px; }
  .person__name h3 { font-size: 22px; letter-spacing: .18em; }
  .person__text { max-width: none; font-size: 13px; line-height: 2; letter-spacing: 0; text-align: left; }
}
@media (max-width: 767px) {
  .story { padding: 80px 24px; }
  .story__list { grid-template-columns: 1fr; }
}

/* ---------- 4つのこだわり ---------- */
.commit { position: relative; padding: 150px var(--pad-x) 120px; }
.commit__head { margin-bottom: 96px; }
.commit__wrap { position: relative; }
.commit__line { position: absolute; left: 50%; top: 0; bottom: 0; margin-left: -1px; border-left: 3px dotted var(--green); opacity: .45; transform-origin: top; }
.commit__list { display: flex; flex-direction: column; gap: 110px; }
.point { position: relative; display: flex; align-items: center; gap: 140px; }
.point--rev { flex-direction: row-reverse; }
.point__dot { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 6px var(--cream); }
.point__dot i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--sun); animation: ringWide 2.6s ease-out infinite; }
.point__visual { flex: 1; display: flex; justify-content: center; }
.point__circle { position: relative; width: 420px; height: 420px; flex: none; }
.point__photo {
  position: absolute; inset: 0; border-radius: 50%; border: 12px solid var(--sand-2);
  background: repeating-linear-gradient(135deg, var(--c1) 0 14px, var(--c2) 14px 28px);
  transition: transform .7s cubic-bezier(.3,1.4,.5,1);
}
.point__photo:hover { transform: scale(1.04); }
.point__img { position: absolute; inset: 0; border-radius: 50%; background-size: cover; background-repeat: no-repeat; }
.point__no {
  position: absolute; left: 8px; top: 8px; width: 84px; height: 84px; border-radius: 50%;
  background: var(--plum); color: var(--sun); display: flex; flex-direction: column; align-items: center; justify-content: center;
  animation: sway 4s ease-in-out infinite;
}
.point__no span:first-child { font-size: 9px; font-weight: 700; letter-spacing: .2em; color: var(--cream); }
.point__no .mono { font-size: 26px; line-height: 1; }
.point__text { flex: 1; display: flex; flex-direction: column; gap: 22px; }
.point__en { font-size: 11px; font-weight: 700; letter-spacing: .3em; color: var(--green); }
.point__text h3 { font-family: var(--font-mincho); font-size: 30px; font-weight: 600; letter-spacing: .12em; line-height: 1.6; }
.point__text p { max-width: 440px; font-size: 15px; line-height: 2.1; letter-spacing: .05em; color: var(--muted); text-wrap: pretty; }
@media (max-width: 1199px) {
  .commit { padding: 90px 48px; }
  .commit__head { margin-bottom: 40px; }
  .commit__line { left: 60px; top: 40px; bottom: 40px; margin-left: 0; border-left: 3px dotted rgba(63,122,58,.45); opacity: 1; }
  .commit__list { gap: 48px; }
  .point, .point--rev { flex-direction: row; align-items: flex-start; gap: 28px; }
  .point__visual { flex: none; display: block; }
  .point__circle { width: 130px; height: 130px; }
  .point__photo { border-width: 6px; background: repeating-linear-gradient(135deg, var(--c1) 0 10px, var(--c2) 10px 20px); }
  .point__photo:hover { transform: none; }
  .point__no { left: -6px; top: -4px; width: 44px; height: 44px; animation-delay: 0s !important; }
  .point__no .mono { font-size: 15px; line-height: normal; }
  .point__text { gap: 8px; padding-top: 6px; }
  .point__en { letter-spacing: .24em; }
  .point__text h3 { font-size: 22px; letter-spacing: .08em; line-height: 1.5; }
  .point__text p { max-width: none; font-size: 13px; line-height: 1.9; letter-spacing: 0; }
}
@media (max-width: 767px) {
  .commit { padding: 72px 24px; }
  .commit__line { left: 48px; }
  .point, .point--rev { gap: 18px; }
  .point__circle { width: 104px; height: 104px; }
  .point__text h3 { font-size: 19px; }
}

/* ---------- 畑のいちねん ---------- */
.cal { position: relative; overflow: hidden; background: var(--plum-deep); color: var(--cream); padding: 120px var(--pad-x) 130px; display: flex; flex-direction: column; gap: 72px; }
.cal__ring { position: absolute; left: -200px; top: -260px; width: 640px; height: 640px; border-radius: 50%; border: 1px dashed rgba(242,179,61,.25); animation: spin 100s linear infinite; pointer-events: none; }
.cal__head { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.cal__head-l { display: flex; flex-direction: column; gap: 18px; }
.cal__title { font-family: var(--font-mincho); font-size: 36px; font-weight: 600; letter-spacing: .14em; }
.cal__lead { max-width: 440px; font-size: 15px; line-height: 2; letter-spacing: .05em; color: rgba(251,247,240,.86); }
.cal__body { position: relative; display: flex; flex-direction: column; gap: 28px; }
.cal__months { display: grid; grid-template-columns: repeat(12, 1fr); }
.cal__month { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cal__month b { font-family: var(--font-mono); font-weight: 400; font-size: 14px; color: rgba(251,247,240,.7); }
.cal__month.is-now b { color: var(--sun); }
.cal__now-label { position: absolute; top: -30px; font-size: 10px; font-weight: 700; letter-spacing: .16em; color: var(--sun); white-space: nowrap; }
.cal__bar { position: relative; height: 6px; border-radius: 3px; background: rgba(251,247,240,.15); }
.cal__fill { position: absolute; inset: 0; border-radius: 3px; background: linear-gradient(90deg,#3F7A3A,#9BCB8E 30%,#F2B33D 55%,#E39B1B 70%,#8C5A7E); transform-origin: left; }
.cal__now { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px var(--plum-deep); }
.cal__now i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--sun); animation: ringWide 2s ease-out infinite; }
.cal__seasons { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0 32px; }
.season { --c: var(--c-pc); display: flex; flex-direction: column; gap: 12px; padding: 24px 0 0; }
.season__img { aspect-ratio: 4/3; border-radius: 28px 24px 30px 22px; border: 5px solid var(--c); background-size: cover; background-repeat: no-repeat; margin-bottom: 6px; }
.season__label { display: flex; align-items: center; gap: 10px; }
.season__label i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.season__label span { font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--c); }
.season__title { font-size: 18px; font-weight: 700; letter-spacing: .08em; }
.season p { font-size: 14px; line-height: 1.9; color: rgba(251,247,240,.82); }
@media (max-width: 1199px) {
  .cal { padding: 90px 48px; gap: 28px; }
  .cal__ring { left: auto; right: -120px; top: -120px; width: 320px; height: 320px; }
  .cal__head { display: contents; }
  .cal__head-l { display: contents; }
  .cal__title { font-size: 30px; letter-spacing: .12em; }
  .cal__seasons { grid-template-columns: 1fr 1fr; gap: 16px; }
  .season { --c: var(--c-m); gap: 10px; padding: 14px 22px 22px 18px; border-radius: 24px; background: rgba(251,247,240,.07); border-left: 4px solid var(--c); }
  .season__img { border: 0; border-radius: 16px; margin: 0 -4px 6px; }
  .season__label span { font-size: 12px; }
  .season__title { font-size: 17px; letter-spacing: .06em; }
  .season p { font-size: 13px; }
}
@media (max-width: 767px) {
  .cal { padding: 72px 24px; }
  .cal__title { font-size: 24px; }
  .cal__seasons { grid-template-columns: 1fr; }
}

/* ---------- 農園概要 ---------- */
.profile { padding: 150px var(--pad-x); display: grid; grid-template-columns: minmax(0,1fr) 520px; gap: 96px; align-items: start; }
.profile__l { display: flex; flex-direction: column; gap: 40px; }
.prof { margin: 0; display: flex; flex-direction: column; }
.prof__row { display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 24px; padding: 22px 8px; border-bottom: 2px dotted rgba(91,42,78,.25); font-size: 15px; line-height: 1.8; }
.prof__row dt { font-weight: 700; letter-spacing: .12em; color: var(--plum); }
.prof__row dd { margin: 0; letter-spacing: .04em; }
.prof__row dd a { color: inherit; }
.prof__row dd a:hover { color: var(--sun-deep); }
.profile__map { position: relative; margin-top: 110px; }
.profile__dot { position: absolute; right: -18px; top: -18px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; background: var(--sun); animation: floatY 6s ease-in-out infinite; }
.profile__frame { position: relative; aspect-ratio: 1; border-radius: 40px; overflow: hidden; background: repeating-linear-gradient(135deg,#E3E9D6 0 14px,#EEF1E4 14px 28px); }
.profile__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.profile__note { margin-top: 16px; font-size: 13px; line-height: 1.8; color: var(--muted); }
@media (max-width: 1199px) {
  .profile { display: flex; flex-direction: column; gap: 24px; padding: 90px 48px; }
  .profile__l, .profile .a-head { display: contents; }
  .prof__row { grid-template-columns: 140px 1fr; gap: 20px; padding: 16px 4px; font-size: 14px; }
  .prof__row dt { font-size: 13px; letter-spacing: .1em; }
  .prof__row dd { letter-spacing: 0; }
  .profile__map { margin-top: 8px; }
  .profile__frame { aspect-ratio: 16/9; border-radius: 28px; background: #E3E9D6; }
}
@media (max-width: 767px) {
  .profile { padding: 72px 24px; }
  .prof__row { grid-template-columns: 1fr; gap: 4px; }
  .profile__frame { aspect-ratio: 4/3; }
}

/* ---------- CTA ---------- */
.a-cta {
  position: relative; margin: 0 calc(var(--pad-x) - 40px) 140px; padding: 90px 80px; background: var(--sand);
  border-radius: 48% 52% 46% 54% / 30% 34% 30% 26%;
  display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center;
}
.a-cta__d1 { left: 120px; top: 60px; width: 22px; height: 22px; animation: drift 8s ease-in-out infinite; }
.a-cta__d2 { right: 160px; bottom: 70px; width: 16px; height: 16px; animation: drift 9s ease-in-out -3s infinite; }
.a-cta__title { font-family: var(--font-mincho); font-size: 36px; font-weight: 600; letter-spacing: .14em; line-height: 1.7; }
.a-cta__btns { display: flex; gap: 20px; }
.a-cta__btns .btn { padding: 14px 32px; }
@media (max-width: 1199px) {
  .a-cta { margin: 0 40px 80px; padding: 56px 28px; border-radius: 48% 52% 46% 54% / 20% 22% 20% 18%; gap: 22px; }
  .a-cta__title { font-size: 22px; letter-spacing: .1em; }
  .a-cta__btns { gap: 12px; width: 100%; justify-content: center; }
  .a-cta__btns .btn { padding: 14px 26px; }
}
@media (max-width: 767px) {
  .a-cta { margin: 0 16px 80px; }
  .a-cta__title { font-size: 19px; }
  .a-cta__btns { flex-direction: column; }
}
