:root {
  --color-bg: #f7fbff;
  --color-bg-soft: #eef6fc;
  --color-surface: #ffffff;
  --color-text: #15263d;
  --color-text-soft: #5f6f82;
  --color-primary: #2f90d0;
  --color-primary-dark: #1e6fa7;
  --color-line: #dce8f1;
  --font-heading: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", sans-serif;
  --container: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-surface);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--color-primary);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}


/* GLOBAL HEADER */

.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  border-bottom:1px solid rgba(220,232,241,.72);
  background:rgba(255,255,255,.90);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
  transition:background-color .25s ease,box-shadow .25s ease,border-color .25s ease;
}

.site-header.is-scrolled{
  border-bottom-color:rgba(208,224,236,.88);
  background:rgba(255,255,255,.96);
  box-shadow:0 8px 28px rgba(44,85,122,.07);
}

.site-header__inner{
  position:relative;
  display:flex;
  min-height:76px;
  align-items:center;
  justify-content:space-between;
  gap:36px;
}

.site-header__brand{
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
}

.site-header__brand img{
  width:138px;
  height:auto;
}

.site-nav{
  display:flex;
  align-items:center;
  gap:30px;
}

.site-nav a{
  position:relative;
  padding:7px 0;
  color:var(--color-text-soft);
  font-size:.75rem;
  font-weight:700;
  line-height:1.4;
  letter-spacing:.12em;
  transition:color .2s ease;
}

.site-nav a::after{
  position:absolute;
  right:0;
  bottom:0;
  left:0;
  height:1px;
  background:var(--color-primary);
  content:"";
  transform:scaleX(0);
  transform-origin:right center;
  transition:transform .25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"]{
  color:var(--color-primary-dark);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after{
  transform:scaleX(1);
  transform-origin:left center;
}

.site-header__toggle{
  display:none;
  width:44px;
  height:44px;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  padding:0;
  border:0;
  border-radius:12px;
  color:var(--color-text);
  background:transparent;
  cursor:pointer;
}

.site-header__toggle span{
  display:block;
  width:21px;
  height:2px;
  border-radius:999px;
  background:currentColor;
  transition:transform .25s ease,opacity .2s ease;
}

.site-header.is-menu-open .site-header__toggle span:nth-child(1){
  transform:translateY(7px) rotate(45deg);
}

.site-header.is-menu-open .site-header__toggle span:nth-child(2){
  opacity:0;
}

.site-header.is-menu-open .site-header__toggle span:nth-child(3){
  transform:translateY(-7px) rotate(-45deg);
}

@media(max-width:820px){
  .site-header__inner{
    min-height:66px;
  }

  .site-header__brand img{
    width:124px;
  }

  .site-header__toggle{
    display:flex;
    position:relative;
    z-index:2;
  }

  .site-nav{
    position:absolute;
    top:calc(100% + 1px);
    right:0;
    left:0;
    display:flex;
    flex-direction:column;
    gap:0;
    align-items:stretch;
    padding:10px 22px 16px;
    border:1px solid rgba(220,232,241,.92);
    border-top:0;
    border-radius:0 0 22px 22px;
    background:rgba(255,255,255,.98);
    box-shadow:0 22px 40px rgba(44,85,122,.12);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translateY(-8px);
    transition:opacity .2s ease,visibility .2s ease,transform .2s ease;
  }

  .site-header.is-menu-open .site-nav{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateY(0);
  }

  .site-nav a{
    display:block;
    padding:15px 2px;
    border-bottom:1px solid var(--color-line);
    font-size:.78rem;
    letter-spacing:.14em;
  }

  .site-nav a:last-child{
    border-bottom:0;
  }

  .site-nav a::after{
    display:none;
  }
}

@media(max-width:680px){
  .site-header__inner{
    min-height:62px;
  }

  .site-header__brand img{
    width:116px;
  }

  .site-header__toggle{
    width:42px;
    height:42px;
  }

  .site-nav{
    padding-inline:18px;
    border-radius:0 0 18px 18px;
  }
}

/* PAGE HEADER - PLAN 02 */

.page-header {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 18%, rgba(107, 189, 235, .16), transparent 22%),
    linear-gradient(135deg, #ffffff 0%, #f5faff 47%, #eaf5fc 100%);
}


.page-header__inner {
  position: relative;
  z-index: 3;
  min-height: 300px;
  padding-top: 72px;
  padding-bottom: 38px;
}

.page-header__title-block {
  position: absolute;
  bottom: 108px;
  left: 0;
  max-width: 720px;
  padding-left: 30px;
}

.page-header__title-block::before {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--color-primary-dark), #62b7e8);
  content: "";
}

.page-header__eyebrow {
  margin: 0 0 12px;
  color: var(--color-primary-dark);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
}

.page-header__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.65rem, 4.6vw, 4.3rem);
  line-height: 1.22;
  letter-spacing: -.045em;
}


.page-header__brand-sign {
  position: absolute;
  right: 0;
  bottom: 40px;
  display: grid;
  gap: 2px;
  max-width: 360px;
  text-align: right;
  opacity: .72;
}

.page-header__brand-sign::before {
  position: absolute;
  right: 0;
  bottom: -15px;
  width: 190px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 144, 208, .42));
  content: "";
}

.page-header__brand-sign strong {
  color: var(--color-primary-dark);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.page-header__brand-sign span {
  color: var(--color-text-soft);
  font-size: .8rem;
  letter-spacing: .03em;
}


.page-header__decoration {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.page-header__curve {
  position: absolute;
  right: -10%;
  width: 72%;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 50%;
  transform: rotate(-11deg);
}

.page-header__curve--01 { top: 40px; }
.page-header__curve--02 { top: 94px; right: -13%; opacity: .72; }
.page-header__curve--03 { top: 154px; right: -15%; opacity: .48; }

.page-header__glow {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 0 32px rgba(255, 255, 255, .92);
}

.page-header__glow--01 {
  top: 96px;
  right: 22%;
  width: 8px;
  height: 8px;
}

.page-header__glow--02 {
  top: 184px;
  right: 31%;
  width: 6px;
  height: 6px;
}


/* CONTACT */

.contact {
  position: relative;
  overflow: hidden;
  padding-block: 108px 120px;
  background: #fff;
}

.contact::before {
  position: absolute;
  top: -150px;
  left: 50%;
  width: 760px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 144, 208, .055), transparent 68%);
  content: "";
  transform: translateX(-50%);
  pointer-events: none;
}

.contact__inner { position: relative; }

.contact__heading {
  max-width: 760px;
  margin: 0 auto 54px;
  text-align: center;
}

.contact__heading h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.1vw, 2.9rem);
  line-height: 1.45;
  letter-spacing: -.035em;
}

.contact__heading > p:last-child {
  margin: 20px 0 0;
  color: var(--color-text-soft);
}

.contact-form-card {
  width: min(100%, 760px);
  margin-inline: auto;
  padding: 28px;
  border: 1px solid var(--color-line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(44, 85, 122, .08);
}

.contact-form-card iframe {
  display: block;
  width: 100%;
  height: 1116px;
  border: 0;
}

.contact__note {
  max-width: 760px;
  margin: 24px auto 0;
  color: var(--color-text-soft);
  font-size: .84rem;
  text-align: center;
}


/* LINE CONTACT */

.line-contact {
  width: min(100%, 760px);
  margin: 72px auto 0;
  padding-top: 64px;
  border-top: 1px solid var(--color-line);
}

.line-contact__inner {
  padding: 48px 36px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 12%, rgba(6, 199, 85, .10), transparent 30%),
    linear-gradient(145deg, #f8fffb 0%, #ffffff 68%);
  box-shadow: 0 16px 42px rgba(44, 85, 122, .07);
  text-align: center;
}

.line-contact__eyebrow {
  margin: 0 0 14px;
  color: #06a944;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.line-contact h2 {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  line-height: 1.45;
  letter-spacing: -.03em;
}

.line-contact__text {
  margin: 22px 0 0;
  color: var(--color-text-soft);
}

.line-contact__button {
  display: inline-flex;
  min-width: 280px;
  margin-top: 30px;
  padding: 15px 28px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  color: #fff;
  background: #06c755;
  box-shadow: 0 12px 26px rgba(6, 199, 85, .22);
  font-weight: 700;
  line-height: 1.4;
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}

.line-contact__button:hover {
  background: #05b84e;
  box-shadow: 0 15px 30px rgba(6, 199, 85, .28);
  transform: translateY(-3px);
}

.line-contact__icon {
  display: inline-flex;
  width: 42px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: #06a944;
  background: #fff;
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.line-contact__subtext {
  margin: 16px 0 0;
  color: var(--color-text-soft);
  font-size: .82rem;
}

/* FOOTER */

.footer {
  margin-top: 0;
  color: rgba(255, 255, 255, .82);
  background: linear-gradient(180deg, #173a5c 0%, #12263d 100%);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  padding: 72px 0 56px;
  align-items: start;
}

.footer__brand { max-width: 200px; }
.footer__brand img { width: 200px; height: auto; }

.footer__message {
  width: 200px;
  margin-top: 22px;
  color: rgba(255, 255, 255, .72);
  font-size: .7rem;
  line-height: 1.8;
  text-align: center;
}

.footer__message strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-weight: 600;
  letter-spacing: .08em;
}

.footer__menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px;
}

.footer__column h3 {
  margin: 0 0 22px;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.footer__column ul { margin: 0; padding: 0; list-style: none; }
.footer__column li + li { margin-top: 14px; }

.footer__column a {
  color: rgba(255, 255, 255, .72);
  font-size: .93rem;
  line-height: 1.8;
  transition: color .25s ease;
}

.footer__column a:hover,
.footer__column a[aria-current="page"] { color: #fff; }

.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__bottom .container { padding: 24px 0; text-align: center; }
.footer__bottom small { color: rgba(255, 255, 255, .52); font-size: .78rem; }

.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 999;
  display: flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(47, 144, 208, .92);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
  font-size: 1.35rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: transform .25s ease, background .25s ease, opacity .25s ease;
}

.back-to-top.is-visible { opacity: .85; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-4px); background: var(--color-primary-dark); }

@media (max-width: 980px) {
  .page-header,
  .page-header__inner { min-height: 400px; }

  .page-header__curve { right: -30%; width: 92%; }

  .page-header__brand-sign {
    right: 8px;
    max-width: 310px;
  }

  .contact { padding-block: 96px 104px; }
  .footer__inner { grid-template-columns: 1fr; gap: 56px; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 32px), var(--container)); }

  .page-header,
  .page-header__inner { min-height: 250px; }


  .page-header__inner {
    padding-top: 54px;
    padding-bottom: 34px;
  }

  .page-header__title-block {
    bottom: 104px;
    left: 0;
    padding-left: 21px;
  }
  .page-header__title-block::before { width: 3px; }

  .page-header__eyebrow {
    margin-bottom: 9px;
    font-size: .66rem;
  }

  .page-header__title {
    font-size: clamp(2.3rem, 12vw, 3.25rem);
    line-height: 1.25;
  }

  .page-header__brand-sign {
    right: 0;
    bottom: 28px;
    max-width: 270px;
  }

  .page-header__brand-sign::before {
    bottom: -10px;
    width: 130px;
  }

  .page-header__brand-sign strong {
    font-size: .88rem;
  }

  .page-header__brand-sign span {
    font-size: .7rem;
    line-height: 1.65;
  }

  .page-header__curve {
    right: -78%;
    width: 145%;
    height: 290px;
  }

  .page-header__curve--01 { top: 44px; }
  .page-header__curve--02 { top: 90px; }
  .page-header__curve--03 { top: 138px; }

  .page-header__glow--01 { top: 102px; right: 15%; }
  .page-header__glow--02 { display: none; }

  .contact { padding-block: 78px 84px; }

  .contact__heading {
    margin: 0 auto 38px;
    text-align: center;
  }

  .contact__heading > p:last-child {
    max-width: 340px;
    margin: 18px auto 0;
  }

  .contact__heading h2 { font-size: 1.9rem; }

  .contact-form-card {
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .contact-form-card iframe { height: 1116px; }

  .contact__note {
    margin-top: 20px;
    line-height: 1.75;
    text-align: left;
  }


  .line-contact {
    margin-top: 56px;
    padding-top: 48px;
  }

  .line-contact__inner {
    padding: 38px 22px;
    border-radius: 18px;
  }

  .line-contact h2 {
    font-size: 1.55rem;
  }

  .line-contact__text {
    font-size: .9rem;
    line-height: 1.9;
  }

  .line-contact__button {
    width: 100%;
    min-width: 0;
    padding-inline: 20px;
  }

  .line-contact__subtext {
    font-size: .78rem;
    line-height: 1.75;
  }

  .footer__inner { gap: 46px; padding: 56px 0 40px; }

  .footer__brand {
    width: 200px;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .footer__brand img { width: 160px; margin: 0 auto; }
  .footer__message { width: 100%; }

  .footer__menu {
    grid-template-columns: 1fr;
    gap: 38px;
    text-align: center;
  }

  .back-to-top {
    right: 18px;
    bottom: 18px;
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
