:root {
  --navy: #05263d;
  --navy-dark: #021d31;
  --green: #29b76f;
  --ink: #111111;
  --text: #303030;
  --muted: #666666;
  --line: #d5d5d5;
  --soft: #f8f8f8;
  --white: #ffffff;
  --max: 760px;
  --wide: 980px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #eeeeee;
  color: var(--ink);
  font-family:
    "Noto Sans JP",
    "Yu Gothic",
    "Hiragino Kaku Gothic ProN",
    Meiryo,
    system-ui,
    sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 10;
  transform: translateY(-150%);
  padding: 8px 12px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-frame {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header .site-frame,
.hero .site-frame {
  width: min(var(--wide), calc(100% - 32px));
}

.site-header {
  background: var(--white);
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 132px;
}

.brand-logo,
.footer-logo {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.brand-logo {
  width: 132px;
  height: auto;
}

.brand-logo img,
.footer-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.header-inner p {
  justify-self: end;
  max-width: 590px;
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 510px;
  isolation: isolate;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(4, 30, 46, 0.9) 0%, rgba(4, 30, 46, 0.7) 44%, rgba(4, 30, 46, 0.14) 100%),
    url("assets/mock-hero-pc.png") center / cover no-repeat;
}

.hero::before {
  position: absolute;
  right: max(0px, calc((100vw - var(--wide)) / 2));
  bottom: -28px;
  z-index: 1;
  width: min(570px, 78vw);
  height: 210px;
  background:
    url("assets/mock-town-blue-nocloud.png") right bottom / 100% auto no-repeat,
    url("assets/mock-glow-blue-soft.png") right -50px bottom -122px / 470px auto no-repeat;
  content: "";
  pointer-events: none;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 58, 85, 0.14);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 510px;
  display: grid;
  align-content: start;
  padding: 62px 0 92px;
}

.hero-bubbles {
  width: min(900px, calc(100vw - 96px));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: center;
  margin: 0 0 48px 50%;
  transform: translateX(-50%);
}

.hero-bubbles a {
  width: 206px;
  min-height: 186px;
  display: grid;
  place-items: center;
  justify-self: center;
  margin: 0;
  padding: 66px 16px 24px;
  border: 0;
  border-radius: 0;
  background: url("assets/ieA.png") center / contain no-repeat;
  color: var(--white);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.42);
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
  touch-action: manipulation;
  transition:
    transform 0.22s ease,
    filter 0.22s ease,
    text-shadow 0.22s ease;
}

.hero-bubbles a:focus {
  outline: none;
}

.hero-bubbles a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.86);
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .hero-bubbles a:hover {
    filter:
      drop-shadow(0 0 6px rgba(255, 255, 255, 0.42))
      drop-shadow(0 0 14px rgba(255, 255, 255, 0.26))
      drop-shadow(0 10px 18px rgba(0, 0, 0, 0.24));
    transform: translateY(-4px) scale(1.035);
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.55);
  }
}

.hero-bubbles a:active,
.hero-bubbles a.is-tapped {
  filter:
    drop-shadow(0 0 6px rgba(255, 255, 255, 0.42))
    drop-shadow(0 0 14px rgba(255, 255, 255, 0.26))
    drop-shadow(0 10px 18px rgba(0, 0, 0, 0.24));
  transform: translateY(-4px) scale(1.035);
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.55);
}

.hero-bubbles a:first-child {
  padding-top: 88px;
  background-image: url("assets/mock-phone.png"), url("assets/ieA.png");
  background-position:
    50% 46px,
    center;
  background-size:
    50px auto,
    contain;
  background-repeat: no-repeat;
}

.hero-bubbles a:nth-child(2) {
  background-image: url("assets/ieB.png");
}

.hero-bubbles a:nth-child(3) {
  background-image: url("assets/ieC.png");
}

.hero-bubbles a:nth-child(4) {
  background-image: url("assets/ieA.png");
}

.hero-bubbles span {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 3px;
  background: #25d366;
  color: var(--white);
  font-size: 19px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 760px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(40px, 6.3vw, 62px);
  font-weight: 600;
  line-height: 1.16;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

.title-line {
  display: inline-block;
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
}

.button,
.plan-button {
  min-width: 150px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 18px;
  border: 2px solid var(--ink);
  border-radius: 2px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

.hero-actions .button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 0 0 rgba(5, 38, 61, 0);
  transition:
    background-color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.hero-actions .button::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 0%, rgba(5, 38, 61, 0.2) 45%, transparent 70%);
  content: "";
  transform: translateX(-120%);
  transition: transform 0.38s ease;
}

.hero-actions .button:hover {
  border-color: var(--navy);
  background: #eef4f8;
  box-shadow:
    0 0 0 3px rgba(5, 38, 61, 0.28),
    0 11px 20px rgba(0, 0, 0, 0.24);
  transform: translateY(-3px);
}

.hero-actions .button:hover::before {
  transform: translateX(120%);
}

.button::after {
  content: "→";
}

.intro {
  width: min(980px, calc(100% - 32px));
  padding: 42px 0 24px;
  text-align: center;
  background: var(--white);
}

.intro h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.35;
}

.intro p {
  margin: 0 auto;
  max-width: 900px;
  font-size: 14px;
  font-weight: 700;
}

.support-list {
  width: min(980px, calc(100% - 32px));
  display: grid;
  gap: 62px;
  padding: 0 0 48px;
  background: var(--white);
}

.support-card {
  width: 100%;
  max-width: none;
  justify-self: center;
  border: 1px solid var(--line);
  background: var(--white);
}

.support-card h3 {
  margin: 0;
  padding: 11px 18px;
  background: var(--navy);
  color: var(--white);
  font-size: clamp(16px, 2.8vw, 22px);
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.support-body {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 30px;
  align-items: center;
  padding: 28px 52px 20px;
}

.support-illust {
  justify-self: center;
  object-fit: contain;
}

.phone-illust {
  width: 96px;
}

.devices-illust {
  width: 126px;
}

.line-badge {
  width: 86px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  border-radius: 6px;
  background: #25d366;
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
}

.lead-list,
.accordion-content ul {
  margin: 0;
  padding-left: 1.35em;
}

.lead-list li {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
}

.accordion-list {
  margin: 0 52px;
  border-top: 1px solid var(--line);
}

.accordion-list details {
  border-bottom: 1px solid var(--line);
}

.accordion-list summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 12px 42px 12px 94px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  list-style: none;
  cursor: pointer;
}

.accordion-list summary::-webkit-details-marker {
  display: none;
}

.accordion-list summary::before {
  position: absolute;
  left: 48px;
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  content: "";
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s ease;
}

.accordion-list details[open] summary::before {
  transform: rotate(225deg) translate(-5px, -1px);
}

.accordion-content {
  padding: 0 42px 20px 94px;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
}

.accordion-content p {
  margin: 0;
}

.accordion-content .note-text {
  margin-bottom: 1em;
  padding-left: 1em;
  text-indent: -1em;
}

.plan-button {
  width: min(330px, calc(100% - 36px));
  min-height: 38px;
  display: flex;
  margin: 24px auto 26px;
}

.instagram-gallery {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 28px 64px;
  background: var(--white);
  overflow: hidden;
}

.instagram-gallery [class^="elfsight-app-"],
.instagram-gallery iframe {
  width: 100% !important;
  max-width: none !important;
  min-height: 340px;
  display: block;
  border: 0;
}

.site-footer {
  padding: 58px 0;
  border-bottom: 2px solid var(--ink);
  background: var(--navy-dark);
  color: var(--white);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
}

.footer-inner p {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
}

.footer-inner strong {
  display: inline-block;
  margin-right: 8px;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

@media (max-width: 820px) {
  .header-inner {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 0;
  }

  .header-inner p {
    justify-self: start;
    max-width: none;
  }

  .hero {
    min-height: auto;
    background-position: 58% center;
  }

  .hero-inner {
    min-height: 520px;
    padding: 22px 0 54px;
  }

  .hero-bubbles {
    width: min(100%, 360px);
    grid-template-columns: repeat(2, 1fr);
    column-gap: 4px;
    row-gap: 10px;
    margin: 0 auto 20px;
    transform: none;
  }

  .hero-bubbles a {
    width: min(176px, 45vw);
    min-height: 184px;
    padding: 66px 8px 24px;
    font-size: 12.5px;
    line-height: 1.36;
  }

  .hero-bubbles span {
    font-size: 19px;
  }

  .hero-bubbles a:first-child {
    padding-top: 94px;
    background-position:
      50% 50px,
      center;
    background-size:
      42px auto,
      contain;
  }

  .hero-bubbles a:nth-child(odd) {
    justify-self: end;
  }

  .hero-bubbles a:nth-child(even) {
    justify-self: start;
  }

  .hero-copy {
    padding-inline: clamp(14px, 4vw, 24px);
  }

  .intro {
    padding-top: 18px;
  }

  .support-list {
    gap: 46px;
    padding-bottom: 35px;
  }

  .support-body {
    grid-template-columns: 96px 1fr;
    gap: 16px;
    padding: 22px 18px 14px;
  }

  .accordion-list {
    margin: 0 18px;
  }

  .accordion-list summary {
    padding: 12px 34px 12px 54px;
  }

  .accordion-list summary::before {
    left: 18px;
  }

  .accordion-content {
    padding: 0 18px 18px 54px;
  }
}

@media (min-width: 561px) and (max-width: 1024px) {
  .hero-inner {
    min-height: 430px;
    padding-top: 22px;
  }

  .hero-bubbles {
    width: min(100%, 820px);
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    column-gap: 0;
    row-gap: 0;
    margin: 0 auto 22px;
    transform: none;
  }

  .hero-bubbles a {
    width: min(168px, 22vw);
    min-height: 142px;
    padding: 52px 8px 18px;
    font-size: 12px;
    line-height: 1.32;
    justify-self: center !important;
  }

  .hero-bubbles a:first-child {
    padding-top: 70px;
    background-position:
      50% 36px,
      center;
    background-size:
      34px auto,
      contain;
  }

  .hero-bubbles a:nth-child(odd),
  .hero-bubbles a:nth-child(even) {
    justify-self: center !important;
  }

  .hero-bubbles span {
    font-size: 16px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .site-frame {
    width: min(100% - 24px, var(--max));
  }

  .site-header .site-frame,
  .hero .site-frame {
    width: min(100% - 24px, var(--max));
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 124px;
  }

  .header-inner p {
    font-size: 12px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(27px, 8vw, 31px);
  }

  .hero-actions {
    gap: 10px;
    margin-top: 18px;
  }

  .intro h2 {
    font-size: clamp(23px, 6.4vw, 26px);
  }

  .instagram-gallery {
    width: min(100% - 24px, var(--max));
    padding: 0 12px 42px;
  }

  .instagram-gallery [class^="elfsight-app-"],
  .instagram-gallery iframe {
    max-width: 100% !important;
    min-height: 300px;
  }

  .button {
    min-width: 0;
    flex: 1 1 calc((100% - 10px) / 2);
  }

  .support-body {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .phone-illust {
    width: 82px;
  }

  .devices-illust {
    width: 114px;
  }

  .lead-list li,
  .accordion-list summary {
    font-size: 14px;
  }

  .accordion-list summary {
    min-height: 50px;
    padding-right: 10px;
  }

  .plan-button {
    width: calc(100% - 36px);
  }

  .footer-inner strong {
    font-size: 25px;
  }
}

@media (orientation: landscape) and (max-height: 560px) and (min-width: 480px) {
  .hero .site-frame {
    width: min(100% - 24px, var(--max));
  }

  .hero-inner {
    min-height: 430px;
    padding-top: 22px;
    padding-bottom: 44px;
  }

  .hero-bubbles {
    width: min(100%, 820px);
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    column-gap: 0;
    row-gap: 0;
    margin: 0 auto 22px;
    transform: none;
  }

  .hero-bubbles a {
    width: min(168px, 22vw);
    min-height: 142px;
    padding: 52px 8px 18px;
    font-size: 12px;
    line-height: 1.32;
    justify-self: center !important;
  }

  .hero-bubbles a:first-child {
    padding-top: 70px;
    background-position:
      50% 36px,
      center;
    background-size:
      34px auto,
      contain;
  }

  .hero-bubbles a:nth-child(odd),
  .hero-bubbles a:nth-child(even) {
    justify-self: center !important;
  }

  .hero-bubbles span {
    font-size: 16px;
  }
}
