@charset "UTF-8";

/* =========================================================
   app.css
   ---------------------------------------------------------
   Common base / layout / header / footer / utility styles
   ========================================================= */

/* =========================================================
   root
   ========================================================= */
:root {
  --color-text: #333333;
  --color-bg: #ffffff;
  --color-main: #19bbe8;
  --color-main-dark: #165aa7;
  --color-main-soft: #eaf8fd;
  --color-border: #d9edf5;
  --color-white: #ffffff;
  --color-link-hover: #0f4f94;

  --font-base: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    YuGothic, Meiryo, sans-serif;
  --font-en: "Helvetica Neue", Arial, sans-serif;

  --content-width: 1200px;
  --content-narrow: 1100px;
  --gutter: 24px;

  --transition-base: 0.25s ease;
}

/* =========================================================
   html / body
   ========================================================= */
html {
  font-size: 62.5%;
}

body {
  font-family: var(--font-base);
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  font-feature-settings: "palt";
  word-break: break-word;
  overflow-wrap: break-word;
}

/* =========================================================
   common text
   ========================================================= */
p {
  line-height: 1.8;
}

small {
  font-size: 1.2rem;
}

strong {
  font-weight: 700;
}

em {
  font-style: normal;
}

/* =========================================================
   links
   ========================================================= */
a {
  transition:
    color var(--transition-base),
    opacity var(--transition-base),
    background-color var(--transition-base),
    border-color var(--transition-base),
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

a:hover {
  color: var(--color-link-hover);
}

@media (hover: none) {
  a:hover {
    color: inherit;
  }
}

/* =========================================================
   images
   ========================================================= */
img {
  display: block;
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* =========================================================
   headings
   ========================================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.4;
  font-weight: 700;
}

/* =========================================================
   layout
   ========================================================= */
.wrapper {
  min-width: 320px;
  overflow: clip;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--content-width));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - (var(--gutter) * 2), var(--content-narrow));
  margin-inline: auto;
}

/* =========================================================
   section
   ========================================================= */
.section {
  padding: 8rem 0;
}

.section--sm {
  padding: 5.6rem 0;
}

.section--lg {
  padding: 11.2rem 0;
}

.section__head {
  margin-bottom: 3.2rem;
}

.section__eyebrow {
  margin-bottom: 0.8rem;
  color: var(--color-main-dark);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.section__title {
  font-size: 3.2rem;
  line-height: 1.4;
  font-weight: 700;
}

.section__lead {
  margin-top: 1.2rem;
  color: #666666;
  font-size: 1.6rem;
  line-height: 1.8;
}

/* =========================================================
   page title band
   ========================================================= */
.page-title-band {
  width: 100%;
  padding: 1.8rem 0 1.6rem;
  background: linear-gradient(180deg, #f7fbfe 0%, #eef6fb 100%);
  border-bottom: 1px solid #d9e7f0;
}

.page-title-band__title {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 0;
  color: #1f2937;
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.page-title-band__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
}

.page-title-band__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.page-title-band__text {
  display: inline-block;
}

/* =========================================================
   button
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 5.2rem;
  padding: 0 2.4rem;
  border-radius: 9999px;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--color-main);
  color: var(--color-white);
}

.btn--primary:hover {
  background: #11add8;
  color: var(--color-white);
}

.btn--outline {
  border: 2px solid var(--color-main);
  background: transparent;
  color: var(--color-main-dark);
}

.btn--outline:hover {
  border-color: var(--color-main-dark);
  color: var(--color-main-dark);
}

/* =========================================================
   card
   ========================================================= */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 2rem;
  box-shadow: 0 8px 24px rgba(22, 90, 167, 0.06);
}

/* =========================================================
   site header
   ========================================================= */
.site-header {
  background: var(--color-main);
  color: var(--color-white);
}

.site-header__inner {
  width: min(100% - (var(--gutter) * 2), var(--content-width));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  padding: 2rem 0 1.6rem;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  min-width: 0;
  flex: 1 1 auto;
}

.site-header__logo {
  flex: 0 0 auto;
  width: 14rem;
}

.site-header__title-group {
  min-width: 0;
}

.site-header__title {
  margin: 0;
  color: var(--color-white);
  font-size: clamp(3.8rem, 4vw, 6.8rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-header__subtitle {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 2px solid rgba(255, 255, 255, 0.72);
  color: rgba(255, 255, 255, 0.96);
  font-family: var(--font-en);
  font-size: clamp(2rem, 2vw, 3.6rem);
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.site-header__contact {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex: 0 0 auto;
  white-space: nowrap;
}

.site-header__tel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 6rem;
  height: 6rem;
}

.site-header__tel-icon img,
.site-header__tel-icon svg {
  width: 6rem;
  height: 6rem;
}

.site-header__contact-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-header__tel {
  color: var(--color-white);
  font-family: var(--font-en);
  font-size: clamp(3.2rem, 3.4vw, 6rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.site-header__tel:hover {
  color: var(--color-white);
  opacity: 0.88;
}

.site-header__copy {
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.6rem;
  line-height: 1.4;
}

/* =========================================================
   menu toggle
   ========================================================= */
.menu-toggle {
  display: none;
  position: relative;
  z-index: 20;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  flex: 0 0 auto;
}

.menu-toggle__line {
  position: absolute;
  left: 50%;
  width: 2.4rem;
  height: 0.2rem;
  background: #fff;
  border-radius: 999px;
  transform: translateX(-50%);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease,
    top 0.25s ease;
}

.menu-toggle__line:nth-child(1) {
  top: 1.5rem;
}

.menu-toggle__line:nth-child(2) {
  top: 2.3rem;
}

.menu-toggle__line:nth-child(3) {
  top: 3.1rem;
}

.menu-toggle.is-open .menu-toggle__line:nth-child(1) {
  top: 2.3rem;
  transform: translateX(-50%) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle__line:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .menu-toggle__line:nth-child(3) {
  top: 2.3rem;
  transform: translateX(-50%) rotate(-45deg);
}

/* =========================================================
   global nav
   ========================================================= */
.global-nav {
  background: var(--color-main-dark);
}

.global-nav__inner {
  width: min(100% - (var(--gutter) * 2), var(--content-width));
  margin-inline: auto;
}

.global-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
}

.global-nav__item {
  flex: 0 0 auto;
}

.global-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 5.6rem;
  color: var(--color-white);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
}

.global-nav__link:hover,
.global-nav__link.is-current {
  color: rgba(255, 255, 255, 0.82);
}

/* =========================================================
   footer
   ========================================================= */
.footer {
  background: var(--color-main);
  color: var(--color-white);
  padding: 4.8rem 0 4rem;
}

.footer__inner {
  width: min(100% - (var(--gutter) * 2), var(--content-width));
  margin-inline: auto;
  text-align: center;
}

.footer__brand {
  margin-bottom: 2rem;
}

.footer__logo {
  display: inline-block;
  width: 10rem;
}

.footer__info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.8rem 2.4rem;
  margin-bottom: 2.4rem;
  font-size: 1.6rem;
  line-height: 1.8;
}

.footer__name,
.footer__address,
.footer__tel {
  margin: 0;
}

.footer__tel a {
  color: var(--color-white);
}

.footer__tel a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer__nav {
  margin-bottom: 2.4rem;
}

.footer__nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.2rem;
}

.footer__nav-list li {
  position: relative;
}

.footer__nav-list li:not(:last-child)::after {
  content: "/";
  display: inline-block;
  margin-left: 1.2rem;
  color: rgba(255, 255, 255, 0.78);
}

.footer__nav-list a {
  color: var(--color-white);
  font-size: 1.6rem;
  line-height: 1.6;
}

.footer__nav-list a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer__nav-list .is-current a {
  font-weight: 700;
}

.footer__banners {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  max-width: 1080px;
  margin: 2.4rem auto 0;
}

.footer__banner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 84px;
  padding: 0.8rem 1rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.14);
}

.footer__banner:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
}

.footer__banner img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.footer__copy {
  margin: 2rem 0 0;
  font-size: 1.4rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.footer__copy small {
  font-size: inherit;
}

/* =========================================================
   utility
   ========================================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0 !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

/* =========================================================
   page top
   ========================================================= */
.page-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-main-dark);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease,
    background-color 0.2s ease;
}

.page-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-top:hover {
  background: #184f92;
}

.page-top__arrow {
  font-size: 1.6rem;
  line-height: 1;
}

/* =========================================================
   responsive : 1200
   ========================================================= */
@media screen and (max-width: 1200px) {
  .site-header__inner {
    gap: 2.4rem;
  }

  .site-header__logo {
    width: 12rem;
  }

  .global-nav__list {
    gap: 3rem;
  }
}

/* =========================================================
   responsive : 1024
   ========================================================= */
@media screen and (max-width: 1024px) {
  :root {
    --gutter: 20px;
  }

  .section {
    padding: 7.2rem 0;
  }

  .section--sm {
    padding: 4.8rem 0;
  }

  .section--lg {
    padding: 9.6rem 0;
  }

  .section__title {
    font-size: 2.8rem;
  }

  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 0 1.6rem;
  }

  .site-header__brand,
  .site-header__contact {
    width: 100%;
  }

  .site-header__contact {
    justify-content: flex-start;
  }

  .global-nav__list {
    gap: 2.4rem;
    flex-wrap: wrap;
    padding: 0.6rem 0;
  }

  .global-nav__link {
    min-height: 4.8rem;
  }
}

/* =========================================================
   responsive : 900
   ========================================================= */
@media screen and (max-width: 900px) {
  .footer__banners {
    grid-template-columns: 1fr;
    max-width: 420px;
    gap: 1.2rem;
  }

  .footer__banner {
    min-height: 76px;
  }

  .footer__banner img {
    max-height: 52px;
  }
}

/* =========================================================
   responsive : 767
   ========================================================= */
@media screen and (max-width: 767px) {
  html {
    font-size: 56.25%;
  }

  :root {
    --gutter: 16px;
  }

  body {
    line-height: 1.75;
  }

  .page-title-band {
    padding: 2.2rem 0 1.8rem;
  }

  .page-title-band__title {
    gap: 0.8rem;
    font-size: clamp(2.4rem, 8vw, 3.2rem);
    line-height: 1.3;
  }

  .page-title-band__icon {
    width: 2.2rem;
    height: 2.2rem;
  }

  .section {
    padding: 5.6rem 0;
  }

  .section--sm {
    padding: 4rem 0;
  }

  .section--lg {
    padding: 7.2rem 0;
  }

  .section__head {
    margin-bottom: 2.4rem;
  }

  .section__title {
    font-size: 2.4rem;
  }

  .section__lead {
    font-size: 1.5rem;
  }

  .btn {
    width: 100%;
    min-height: 4.8rem;
    padding: 0 2rem;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  .site-header {
    position: relative;
  }

  .site-header__inner {
    display: grid;
    grid-template-columns: 6.5rem 1fr 4.8rem;
    grid-template-areas:
      "logo title menu"
      "contact contact contact";
    align-items: center;
    column-gap: 1.2rem;
    row-gap: 1.6rem;
    padding: 1.6rem 0 1.8rem;
  }

  .site-header__brand {
    display: contents;
  }

  .site-header__logo {
    grid-area: logo;
    width: 6.5rem;
  }

  .site-header__title-group {
    grid-area: title;
    min-width: 0;
  }

  .site-header__title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.12;
    letter-spacing: 0.01em;
  }

  .site-header__subtitle {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    font-size: 1.2rem;
    letter-spacing: 0.04em;
  }

  .menu-toggle {
    display: block;
    grid-area: menu;
    justify-self: end;
    margin-right: 0.8rem;
    position: relative;
    width: 4.8rem;
    height: 4.8rem;
    z-index: 30;
  }

  .site-header__contact {
    grid-area: contact;
    width: 100%;
    padding: 1.2rem 1.4rem;
    border-radius: 1.6rem;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  }

  .site-header__tel-icon {
    width: 6rem;
    height: 6rem;
  }

  .site-header__tel-icon img,
  .site-header__tel-icon svg {
    width: 4.6rem;
    height: 4.6rem;
  }

  .site-header__contact-body {
    min-width: 0;
  }

  .site-header__tel {
    display: block;
    font-size: clamp(2.2rem, 8vw, 3.2rem);
    line-height: 1.05;
    letter-spacing: 0;
  }

  .site-header__copy {
    margin-top: 0.4rem;
    font-size: 1.3rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.92);
  }

  .global-nav {
    display: none;
    background: linear-gradient(180deg, #1b62b1 0%, #1959a0 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  .global-nav.is-open {
    display: block;
  }

  .global-nav__inner {
    width: min(100% - 32px, var(--content-width));
    margin-inline: auto;
  }

  .global-nav__list {
    display: block;
    width: 100%;
    padding: 1rem 0 1.4rem;
  }

  .global-nav__item {
    width: 100%;
  }

  .global-nav__item + .global-nav__item {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .global-nav__link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 5.8rem;
    padding: 0 1rem;
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #fff;
    white-space: normal;
  }

  .global-nav__link.is-current,
  .global-nav__link:hover {
    color: rgba(255, 255, 255, 0.82);
  }

  .footer {
    padding: 3.6rem 0 3.2rem;
  }

  .footer__logo {
    width: 8.8rem;
  }

  .footer__info {
    display: grid;
    gap: 0.4rem;
    margin-bottom: 2.4rem;
    text-align: center;
  }

  .footer__name {
    font-size: 2rem;
    font-weight: 700;
  }

  .footer__address,
  .footer__tel {
    font-size: 1.5rem;
    line-height: 1.8;
  }

  .footer__nav {
    margin-bottom: 2.4rem;
  }

  .footer__nav-list {
    display: grid;
    gap: 1rem;
  }

  .footer__nav-list li:not(:last-child)::after {
    content: none;
  }

  .footer__nav-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 4.8rem;
    padding: 0 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
  }

  .footer__nav-list a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
  }

  .footer__nav-list .is-current a {
    background: rgba(255, 255, 255, 0.14);
  }

  .footer__copy {
    margin-top: 2rem;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
  }

  .page-top {
    right: 14px;
    bottom: 14px;
    width: 48px;
    height: 48px;
  }

  .page-top__arrow {
    font-size: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-top {
    transition: none;
  }
}