@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Open+Sans:wght@400;600;700;800&display=swap");

:root {
  --green: #45be00;
  --teal: #005e62;
  --yellow: #ffda48;
  --cream: #fffbda;
  --orange: #ff8b3b;
  --content-width: 375px;
  --design-height: 12191.7px;
  --top-height: 10318px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--teal); }
body { min-width: 320px; margin: 0; overflow-x: hidden; color: #111; background: var(--teal); font-family: "Noto Sans JP", "A-OTF 新ゴ Pro", "A-OTF 新ゴ", sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 16px; color: #fff; border-radius: 999px; background: var(--teal); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.lp { position: relative; width: 100%; background: var(--teal); }
.design-top { position: relative; width: 100%; height: var(--top-height); overflow: hidden; }
.design-art { position: absolute; top: 0; left: 50%; max-width: none; user-select: none; -webkit-user-drag: none; }
.design-art--pc { display: block; width: 1920px; height: var(--design-height); transform: translateX(calc(-50% - 2.5px)); }
.design-art--sp { display: none; width: 375px; height: var(--design-height); transform: translateX(-50%); }

.desktop-menu { position: fixed; z-index: 20; top: 0; left: calc(50% - 552px); width: 346px; height: 100vh; overflow: hidden; color: var(--teal); background: var(--teal); }
.desktop-menu::before { content: ""; position: absolute; top: 133px; left: 44px; width: 279px; height: 1px; background: #fff; }
.desktop-menu__logo { position: absolute; top: 55px; left: 56px; display: block; width: 260px; height: 46px; background: url("./assets/greenplan-logo-white.svg") center / contain no-repeat; }
.desktop-menu nav { position: absolute; top: 153px; left: 44px; display: grid; width: 278px; gap: 5px; }
.desktop-menu nav a { position: relative; display: flex; height: 21px; align-items: center; overflow: hidden; padding: 0 7px 0 23px; color: var(--teal); background: #fff; font-size: 11.5px; font-weight: 700; line-height: 1; letter-spacing: -.04em; white-space: nowrap; }
.desktop-menu nav a::before { content: ""; position: absolute; top: 50%; left: 10px; width: 0; height: 0; border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 6px solid var(--teal); transform: translateY(-50%); }
.desktop-menu__cta { position: absolute; left: 44px; display: flex; width: 278px; height: 48px; align-items: center; justify-content: center; overflow: hidden; border-radius: 999px; font-size: 16px; font-weight: 800; line-height: 1; }
.desktop-menu__cta::after { content: ""; width: 0; height: 0; margin-left: 9px; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 9px solid currentColor; }
.desktop-menu__cta--plan { top: 361px; }
.desktop-menu__cta--shop { top: 425px; }
.desktop-menu__cta--plan { color: #fff; background: var(--orange); }
.desktop-menu__cta--shop { color: #000; background: var(--yellow); }
.desktop-menu__cta:hover, .desktop-menu__cta:focus-visible { filter: brightness(.96); }
.desktop-menu a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px rgba(0,94,98,.8); }
.mobile-sticky-cta { display: none; }

.mobile-menu-button, .mobile-menu, .mobile-menu-backdrop { display: none; }

.central-interactions { position: absolute; z-index: 5; top: 0; left: 50%; width: 375px; height: var(--top-height); transform: translateX(-50%); pointer-events: none; }
.hotspot { position: absolute; display: block; overflow: hidden; color: transparent; border-radius: 999px; background-position: center; background-repeat: no-repeat; background-size: 100% 100%; font-size: 0; pointer-events: auto; }
.hotspot:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px rgba(0,94,98,.8); }
.hotspot--yellow:hover, .hotspot--yellow:focus-visible { background-image: url("./assets/cta-yellow-hover.svg"); }
.hotspot--orange:hover, .hotspot--orange:focus-visible { background-image: url("./assets/cta-orange-hover.svg"); }
.hotspot--teal:hover, .hotspot--teal:focus-visible { background-image: url("./assets/cta-teal-hover.svg"); }
.hotspot--detail-1, .hotspot--detail-2, .hotspot--detail-3, .hotspot--switch-plan, .hotspot--option-plan, .hotspot--prepare-plan { left: 48px; width: 278px; height: 48px; }
.hotspot--detail-1 { top: 3986px; }
.hotspot--detail-2 { top: 4431px; }
.hotspot--detail-3 { top: 4806px; }
.hotspot--switch-plan { top: 6310px; }
.hotspot--option-plan { top: 7090px; }
.hotspot--filter, .hotspot--safety { left: 87px; width: 200px; height: 32px; border-radius: 0; }
.hotspot--filter { top: 8439px; }
.hotspot--filter:hover, .hotspot--filter:focus-visible { background-image: url("./assets/cta-filter-hover.svg"); }
.hotspot--safety { top: 8607px; }
.hotspot--safety:hover, .hotspot--safety:focus-visible { background-image: url("./assets/cta-safety-hover.svg"); }
.hotspot--esim { top: 8914px; left: 94px; width: 186px; height: 34px; }
.hotspot--esim:hover, .hotspot--esim:focus-visible { background-image: url("./assets/cta-esim-hover.svg"); }
.hotspot--prepare-plan { top: 9709px; }
.hotspot--web, .hotspot--store { left: 95px; width: 190px; height: 42px; }
.hotspot--web { top: 10003px; }
.hotspot--store { top: 10146px; }
.info-accordions { position: absolute; z-index: 6; top: 9023px; left: 29px; display: grid; width: 317px; gap: 12px; pointer-events: auto; }
.info-accordion { color: var(--teal); border: 1px solid var(--teal); background: #fff; box-shadow: 0 0 0 5px #fff; }
.info-accordion summary { position: relative; display: grid; min-height: 47px; place-items: center; padding: 9px 42px 9px 18px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 700; line-height: 1.4; text-align: center; }
.info-accordion summary::-webkit-details-marker { display: none; }
.info-accordion summary::after { content: "+"; position: absolute; top: 50%; right: 20px; color: var(--teal); font-family: "Open Sans", Helvetica, Arial, sans-serif; font-size: 24px; font-weight: 400; line-height: 1; transform: translateY(-54%); }
.info-accordion[open] summary { border-bottom: 1px solid var(--teal); }
.info-accordion[open] summary::after { content: "−"; transform: translateY(-58%); }
.info-accordion p { margin: 0; padding: 18px 22px 0; color: #111; font-size: 11px; font-weight: 700; line-height: 1.75; text-align: left; }
.info-accordion p:last-child { padding-bottom: 22px; }
.info-accordion p + p { padding-top: 12px; }
.info-accordion summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

.anchor { position: absolute; left: 50%; width: 1px; height: 1px; scroll-margin-top: 20px; }
.anchor--about { top: 432px; }
.anchor--reasons { top: 1530px; }
.anchor--price { top: 3310px; }
.anchor--switching { top: 5400px; }
.anchor--options { top: 7250px; }
.anchor--prepare { top: 9250px; }

.faq { position: relative; z-index: 3; width: var(--content-width); max-width: 100%; margin: 0 auto; padding: 58px 37px 60px; color: var(--teal); background: #fff; }
.faq__english { margin: 0; color: rgba(0,94,98,.16); font-family: "Open Sans", Helvetica, Arial, sans-serif; font-size: 52px; font-weight: 400; line-height: 1; text-align: center; }
.faq h1 { position: relative; z-index: 1; width: max-content; margin: -14px auto 44px; font-size: 25px; font-weight: 900; line-height: 1.4; }
.faq h1::after { content: ""; position: absolute; z-index: -1; right: -12px; bottom: 1px; left: -12px; height: 9px; border-radius: 999px; background: var(--yellow); }
.faq__items { display: grid; gap: 20px; }
.faq details { padding: 17px 23px; border-radius: 8px; background: #f6fcf2; }
.faq summary { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 3px; align-items: start; padding: 0 24px 10px 0; border-bottom: 1px solid var(--teal); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "⌄"; position: absolute; top: -3px; right: 0; font-family: "Open Sans", sans-serif; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "⌃"; }
.faq summary span, .faq details p span { font-family: "Open Sans", Helvetica, Arial, sans-serif; font-size: 20px; font-weight: 400; line-height: 1.2; }
.faq summary strong { font-size: 12px; font-weight: 700; line-height: 1.55; }
.faq details p { display: grid; grid-template-columns: 24px 1fr; gap: 3px; margin: 13px 0 0; font-size: 10px; font-weight: 500; line-height: 1.72; }
.faq details p a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

.design-tail { position: relative; width: 375px; max-width: 100%; height: 502px; margin: 0 auto; overflow: hidden; background: var(--green); }
.design-tail > img { position: absolute; top: -11690px; left: 0; display: block; width: 375px; height: var(--design-height); max-width: none; }
.tail-hotspot--proceed { top: 0; left: 48px; width: 278px; height: 48px; }
.tail-hotspot--logo { position: absolute; z-index: 2; top: 175px; left: 98px; width: 180px; height: 92px; }
.footer-links { position: absolute; z-index: 2; top: 302px; left: 0; display: grid; width: 100%; gap: 23px; opacity: 0; font-size: 12px; line-height: 1; text-align: center; }
.footer-links a { width: max-content; margin: 0 auto; }
.footer-links a:hover, .footer-links a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

@media (max-width: 899px) {
  .desktop-menu { display: none; }
  .design-art--pc { display: none; }
  .design-art--sp { display: block; }
  .central-interactions { transform: translateX(-50%); }

 .mobile-menu-button {
  position: fixed;
  z-index: 40;
  top: 46px;
  right: 45px;
  display: block;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  opacity: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-menu-button span,
.mobile-menu-button b {
  display: none;
}
  .mobile-menu { position: fixed; z-index: 35; top: 0; right: 0; display: block; width: 301px; max-width: 80vw; height: 440px; padding: 0; overflow: hidden; background: transparent; transform: translateX(105%); transition: transform .22s ease; }
  .mobile-menu { background: #effbea; border-left: 1px solid #d8e8cf; }
  .mobile-menu__art { display: none; }
  .mobile-menu__logo {
  position: absolute;
  top: 72px;
  left: 44px;
  display: block;
  width: 205px;
  height: auto;
  opacity: 1;
}

.mobile-menu__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.mobile-menu nav {
  position: absolute;
  top: 156px;
  left: 14px;
  display: grid;
  width: 272px;
  gap: 7px;
}
  .mobile-menu nav a {
  display: flex;
  height: 21px;
  align-items: center;
  padding: 0 8px;
  color: var(--teal);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
  .mobile-menu nav a::before { content: "▶"; margin-right: 6px; font-size: 9px; }
  .mobile-menu__cta { display: none; }
  .mobile-menu__cta--orange { color: #fff; background: var(--orange); }
  .mobile-menu__cta--yellow { color: #111; background: var(--yellow); }
  .mobile-menu-backdrop { position: fixed; z-index: 30; inset: 0; display: block; background: rgba(0,0,0,.35); opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s ease; }
  .mobile-sticky-cta { position: fixed; z-index: 31; bottom: max(16px, env(safe-area-inset-bottom)); left: 50%; display: block; width: min(278px, calc(100vw - 32px)); height: 48px; transform: translateX(-50%); filter: drop-shadow(0 4px 10px rgba(0,0,0,.24)); }
  .mobile-sticky-cta img { display: block; width: 100%; height: 100%; }
  body.menu-open { overflow: auto; }
  body.menu-open .mobile-menu { transform: translateX(0); }
  body.menu-open .mobile-menu-button { opacity: 0; pointer-events: none; }
  body.menu-open .mobile-sticky-cta { display: none; }
  body.menu-open .mobile-menu-backdrop { opacity: 1; visibility: visible; }
}

@media (max-width: 374px) {
  .design-art--sp { left: 0; transform: none; }
  .central-interactions { left: 0; transform: none; }
  .faq { padding-right: 24px; padding-left: 24px; }
  .design-tail > img { left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mobile-menu, .mobile-menu-backdrop { transition: none; }
}

/* FAQの定型文はデザイン指定どおり1行で表示 */
.faq .answer-text {
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
}

/* PC KV左端に残る元画像の白線を隠す */
@media (min-width: 900px) {
  .design-top::before { content: ""; position: absolute; z-index: 4; top: 0; bottom: 0; left: 0; width: 4px; background: var(--teal); pointer-events: none; }
  .design-top::after { content: ""; position: fixed; z-index: 19; top: 0; bottom: 0; left: calc(50% - 710px); width: 5px; background: var(--teal); pointer-events: none; }
}
