:root {
  --blue: #3c75b1;
  --blue-light: #6ea9ce;
  --blue-soft: #e9f1f7;
  --teal: #54b5b2;
  --gold: #c5a14a;
  --gold-soft: #d4c7a4;
  --text: #495055;
  --muted: #768491;
  --cream: #f9f7f2;
  --line: #e9edf3;
  --white: #fff;
  --font-jp: "Noto Sans JP", "Yu Gothic", "YuGothic", sans-serif;
  --font-shuei: "dnp-shuei-gothic-gin-std", sans-serif;
  --font-round: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  --font-en: "Outfit", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding-top: 0;
  color: var(--text);
  font-family: var(--font-jp);
  font-weight: 500;
  line-height: 1.85;
  overflow-x: hidden;
}

body.is-drawer-open {
  overflow: hidden;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: transparent;
  box-shadow: 0 8px 24px rgba(60, 117, 177, .08);
  transition: transform .35s ease, opacity .25s ease;
}

.site-header.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.site-header__inner {
  width: min(1760px, calc(100% - 48px));
  min-height: 125px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header__logo {
  width: 316px;
  flex: 0 0 auto;
}

.global-nav {
  flex: 1;
}

.global-nav__list {
  display: flex;
  justify-content: center;
  gap: 0;
  background: transparent;
}

.global-nav__list>li {
  position: relative;
  padding: 0 clamp(8px, 1vw, 18px);
}

.global-nav__list>li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  height: 34px;
  border-right: 2px dotted #ccd6df;
  transform: translateY(-50%);
}

.global-nav a {
  display: grid;
  place-items: center;
  position: relative;
  padding-bottom: 4px;
  color: var(--text);
  background: transparent;
  font-weight: 600;
  white-space: nowrap;
  transition: color .25s ease;
}

.global-nav__list>li>a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--teal);
  transform: translateX(-50%);
  transition: width .3s ease;
}

.global-nav__list>li>a:hover,
.global-nav__list>li>a:focus-visible {
  color: var(--blue);
}

.global-nav__list>li>a:hover::after,
.global-nav__list>li>a:focus-visible::after {
  width: 100%;
}

.global-nav span {
  font-size: 20px;
}

.global-nav em {
  color: #4a79ab;
  font-family: var(--font-en);
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
}

.global-nav__has-child>a>span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.global-nav__has-child>a>span::after {
  content: "";
  width: 16px;
  height: 9px;
  flex: 0 0 auto;
  background: url("../img/allow.png") center / contain no-repeat;
}

.global-nav__child {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 520px;
  padding: 20px 30px 26px;
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(4, auto);
  gap: 8px 30px;
  background: rgba(255, 255, 255, .94);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 14px 32px rgba(60, 117, 177, .14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

.global-nav__child::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  right: 0;
  height: 18px;
}

.global-nav__child a {
  min-height: 44px;
  padding: 0 0 0 30px;
  display: flex;
  align-items: center;
  border-bottom: 3px dotted rgba(204, 214, 223, .75);
  border-radius: 0;
  color: var(--text);
  font-size: 18px;
  text-align: left;
  transition: color .2s ease, background-color .2s ease;
}

.global-nav__child a::before {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-soft) url("../img/allow.png") center / 11px auto no-repeat;
  transform: rotate(-90deg);
}

.global-nav__child a:hover {
  color: var(--blue);
  background: rgba(233, 241, 247, .42);
}

.global-nav__has-child:hover .global-nav__child,
.global-nav__has-child:focus-within .global-nav__child {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.tel-button {
  position: relative;
  width: 280px;
  min-height: 90px;
  padding: 12px 18px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  column-gap: 10px;
  color: var(--white);
  background: var(--teal);
  border: 3px solid var(--white);
  border-radius: 15px;
  box-shadow: 0 8px 18px rgba(84, 181, 178, .22);
}

.site-header__tel::after,
.site-footer__info .tel-button::after,
.fixed-actions__tel::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 10px;
  pointer-events: none;
}

.tel-button img {
  width: 48px;
  grid-row: span 2;
}

.tel-button span {
  font-size: 17.42px;
  font-weight: 900;
  line-height: 1.2;
}

.tel-button strong {
  font-family: var(--font-round);
  font-size: 29.33px;
  font-weight: 700;
  line-height: 1;
}

.menu-button {
  display: none;
}

.drawer {
  display: none;
}

@media (min-width: 1181px) {
  .site-header {
    border-bottom: 0;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
  }
}

.section-card {
  width: min(1640px, calc(100% - 56px));
  margin: 70px auto;
  background: var(--white);
  border: 2px solid #f6f9fa;
  border-radius: 50px;
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 44px;
}

.section-heading::after {
  content: "";
  width: 112px;
  height: 10px;
  margin: 20px auto 0;
  display: block;
  background-image: radial-gradient(circle, var(--blue-light) 3px, transparent 3.5px);
  background-position: 0 50%;
  background-size: 14px 10px;
}

.section-heading p {
  margin: 0;
  color: var(--blue);
  font-family: var(--font-en);
  font-size: clamp(38px, 3vw, 50px);
  font-weight: 500;
  line-height: 1;
}

.section-heading p span {
  color: var(--blue-light);
}

.section-heading h2 {
  margin: 8px 0 0;
  color: var(--blue);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.3;
}

iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.site-footer__info p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
}

.site-footer__info p img {
  width: 24px;
  max-height: 33px;
  object-fit: contain;
}

@media (min-width: 769px) and (max-width: 1200px) {
  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading p {
    font-size: 40px;
  }

  .section-heading h2 {
    font-size: 25px;
  }

  .section-heading::after {
    margin-top: 16px;
  }
}

.site-footer__inner {
  position: relative;
  width: min(1600px, calc(100% - 56px));
  margin: 0 auto;
}

.site-footer {
  overflow: hidden;
  background: var(--white);
}

.site-footer__inner {
  width: min(1320px, calc(100% - 56px));
  padding: clamp(140px, 16vw, 310px) 0 clamp(80px, 7.5vw, 140px);
  display: grid;
  grid-template-columns: 43% 1fr;
  gap: 60px;
}

.site-footer__logo {
  width: 349px;
  margin-bottom: 30px;
}

.site-footer__info {
  display: grid;
  gap: 18px;
  align-content: start;
}

.site-footer__info p {
  font-size: 20px;
}

.site-footer__info .tel-button {
  margin-top: 10px;
}

.site-footer__hours table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 10px;
}

.site-footer__hours th,
.site-footer__hours td {
  padding: 14px 10px;
  text-align: center;
}

.site-footer__hours tbody th {
  position: relative;
}

.site-footer__hours tbody th small {
  position: absolute;
  top: 8px;
  left: 10px;
  font-size: .48em;
  line-height: 1;
}

.site-footer__hours thead th {
  color: var(--white);
  background: #77abd5;
  font-size: 17.57px;
}

.site-footer__hours tbody th {
  color: #5381a6;
  background: #eef5f9;
  font-family: var(--font-round);
  font-size: 23.96px;
}

.site-footer__hours td {
  color: #77abd5;
  background: #eef5f9;
  font-family: var(--font-round);
  font-size: 24px;
  font-weight: 700;
}

.site-footer__hours p {
  margin: 18px 0 0;
  font-size: 19.14px;
  font-weight: 900;
  line-height: 1.7;
}

.site-footer__closed {
  color: #c8a340;
}

.site-footer__map {
  position: relative;
  width: min(1567px, calc(100% - 56px));
  height: 440px;
  margin: 0 auto clamp(90px, 9.5vw, 180px);
}

.site-footer__map::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 44%;
  right: 50%;
  bottom: clamp(-180px, -9.5vw, -90px);
  width: 100vw;
  transform: translateX(50%);
  background: var(--cream);
  pointer-events: none;
}

.site-footer__map iframe {
  position: relative;
  z-index: 1;
  filter: saturate(.5) brightness(1.08);
}

.copyright {
  margin: 0;
  padding: 9px;
  color: var(--white);
  background: #6e9cce;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

@media (max-width: 1200px) {
  .site-footer__inner {
    width: min(900px, calc(100% - 64px));
    padding: clamp(90px, 12vw, 140px) 0 90px;
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .site-footer__info {
    width: fit-content;
    max-width: 100%;
    justify-self: center;
    justify-items: start;
    text-align: left;
  }

  .site-footer__info .tel-button {
    justify-self: start;
  }

  .site-footer__hours {
    overflow-x: auto;
  }

  .site-footer__hours table {
    min-width: 720px;
  }

  .site-footer__map {
    width: calc(100% - 64px);
    height: clamp(320px, 35vw, 420px);
  }
}

.fixed-actions {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 75px;
  align-items: end;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .35s ease, visibility .35s ease, transform .35s ease;
}

.fixed-actions.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.fixed-actions__top {
  width: 75px;
  height: 75px;
  display: grid;
  place-items: center;
  background: #6e9cce;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(60, 117, 177, .24);
  transition: opacity .2s ease, transform .2s ease;
}

.fixed-actions__top img {
  width: 45px;
  height: 25px;
  object-fit: contain;
}

.fixed-actions__top:hover {
  opacity: .85;
  transform: translateY(-2px);
}

@media (max-width: 1340px) {
  body {
    padding-top: 0;
  }

  .site-header__inner {
    min-height: 82px;
  }

  .site-header__logo {
    width: 240px;
  }

  .global-nav,
  .site-header__tel {
    display: none;
  }

  .menu-button {
    width: 52px;
    height: 48px;
    margin-left: auto;
    padding: 9px;
    display: grid;
    place-items: center;
    gap: 4px;
    color: var(--white);
    background: var(--blue-light);
    border: 0;
    border-radius: 5px;
  }

  .menu-button span {
    width: 30px;
    height: 2px;
    background: var(--white);
    border-radius: 9px;
    transition: transform .3s ease, opacity .2s ease;
  }

  .menu-button em {
    display: none;
  }

  .menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  .drawer {
    position: fixed;
    inset: 0;
    z-index: 45;
    display: block;
    pointer-events: none;
    background: rgba(60, 117, 177, .22);
    opacity: 0;
    transition: .22s ease;
  }

  .drawer[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
  }

  .drawer__panel {
    width: 100%;
    max-width: none;
    height: 100%;
    margin-left: auto;
    padding: 104px 20px 50px;
    overflow-y: auto;
    background: #f4f8fb;
    box-shadow: -18px 0 38px rgba(60, 117, 177, .2);
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  }

  .drawer[aria-hidden="false"] .drawer__panel {
    transform: translateX(0);
  }

  .drawer__logo {
    display: block;
    width: 250px;
    margin: 0 auto 28px;
  }

  .drawer nav {
    width: min(520px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 7px;
    border: 0;
  }

  .drawer nav a {
    position: relative;
    padding: 14px 56px 14px 16px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    border: 0;
    border-radius: 8px;
    color: var(--text);
    background: var(--white);
    box-shadow: 0 1px 5px rgba(60, 117, 177, .08);
    font-size: 17px;
    font-weight: 900;
  }

  .drawer nav a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--blue-soft) url("../img/allow.png") center / 14px auto no-repeat;
    transform: translateY(-50%) rotate(-90deg);
  }

  .drawer nav span {
    color: var(--blue);
    font-family: var(--font-en);
    font-size: 13px;
  }

  .drawer__tel {
    margin: 28px auto 0;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 0;
    line-height: 1.75;
  }

  .site-header__inner {
    width: calc(100% - 24px);
    min-height: 58px;
    margin: 0 12px;
  }

  .site-header__logo {
    width: 150px;
  }

  .section-card {
    width: min(calc(100% - 28px), 720px);
    margin-right: auto;
    margin-left: auto;
    border-radius: 28px;
  }

  .section-heading p {
    font-size: 34px;
  }

  .section-heading h2 {
    font-size: 24px;
  }

  .site-footer__inner {
    width: calc(100% - 28px);
    padding: 54px 0 38px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .site-footer__logo {
    width: 260px;
  }

  .site-footer__info p {
    align-items: flex-start;
    font-size: 16px;
  }

  .site-footer__hours {
    width: 100%;
    overflow-x: visible;
  }

  .site-footer__hours table {
    min-width: 0;
    table-layout: fixed;
  }

  .site-footer__hours th,
  .site-footer__hours td {
    padding: 9px 1px;
  }

  .site-footer__hours thead th {
    font-size: 10px;
  }

  .site-footer__hours thead th:first-child,
  .site-footer__hours tbody th {
    width: 32%;
    white-space: nowrap;
  }

  .site-footer__hours tbody th {
    font-size: 12px;
  }

  .site-footer__hours td {
    font-size: 15px;
  }

  .site-footer__hours tbody th small {
    top: 4px;
    left: 4px;
    font-size: 7px;
  }

  .site-footer__hours p {
    font-size: 13px;
  }

  .site-footer__map {
    width: calc(100% - 28px);
    height: 260px;
    margin-bottom: 46px;
  }

  .site-footer__map::before {
    bottom: -46px;
  }

  .fixed-actions {
    right: 12px;
    bottom: 12px;
    grid-template-columns: auto 58px;
    gap: 8px;
  }

  .site-footer__info .tel-button,
  .fixed-actions__tel {
    width: min(280px, calc(100vw - 90px));
    min-height: 68px;
    padding: 8px 12px;
  }

  .site-footer__info .tel-button img,
  .fixed-actions__tel img {
    width: 36px;
  }

  .site-footer__info .tel-button span,
  .fixed-actions__tel span {
    font-size: clamp(11px, 3.2vw, 14px);
    white-space: nowrap;
    padding-left: 12px;
  }

  .site-footer__info .tel-button strong,
  .fixed-actions__tel strong {
    font-size: clamp(17px, 5.8vw, 22px);
    white-space: nowrap;
    padding-left: 10px;
  }

  .fixed-actions__top {
    width: 58px;
    height: 58px;
    font-size: 34px;
  }

  .tel-button strong {
    font-size: 26px;
  }

  .fixed-actions__top img {
    width: 30px;
    height: 20px;
    object-fit: contain;
  }
}

@media (max-width: 450px) {
  .site-footer__info .tel-button,
  .fixed-actions__tel {
    width: min(260px, calc(100vw - 90px));
    grid-template-columns: 47px 1fr;
  }

  .site-footer__info .tel-button span,
  .fixed-actions__tel span {
    padding-left: 14px;
    font-size: 13px;
  }
}

/* PSDで秀英角ゴシック銀 Std（B）指定のある日本語見出し・ラベルのみ。 */

.global-nav__list>li>a>span,
.drawer nav>a,
.tel-button span,
.section-heading h2,
.site-footer__info p,
.site-footer__hours thead th,
.site-footer__hours p,
.copyright,
.fixed-actions__tel span {
  font-family: var(--font-shuei);
  font-weight: 600;
}

.section-heading>p,
.section-heading>h2 {
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .fixed-actions__tel img {
    margin-left: 10px;
  }
}

/* October revision: shared typography and responsive feature layout. */

:root {
  --revision-body: 20px;
  --revision-point-heading: 28px;
}

.site-footer__map iframe {
  filter: none;
}

.site-footer__hours tbody th small {
  font-size: 14px;
}

.drawer nav span,
.drawer .drawer__tel span {
  font-size: 14px;
}

@media (min-width: 1201px) and (max-width: 1500px) {
  :root {
    --revision-point-heading: 24px;
  }
}

@media (max-width: 1200px) {
  :root {
    --revision-body: 18px;
    --revision-point-heading: 24px;
  }

  .site-footer__hours p {
    font-size: 14px;
  }

  .site-footer__hours {
    overflow: visible;
  }

  .site-footer__hours table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

  .site-footer__hours th:first-child {
    width: 34%;
  }
}

@media (max-width: 768px) {
  :root {
    --revision-body: 16px;
    --revision-point-heading: 20px;
  }

  .site-footer__hours {
    width: 100%;
    overflow: visible;
  }

  .site-footer__hours table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

  .site-footer__hours th,
  .site-footer__hours td {
    padding: 12px 0;
  }

  .site-footer__hours thead th,
  .site-footer__hours tbody th {
    font-size: 14px;
  }

  .site-footer__hours thead th:first-child,
  .site-footer__hours tbody th {
    width: 34%;
  }

  .site-footer__hours td {
    font-size: 18px;
  }

  .site-footer__hours tbody th small {
    top: 2px;
    left: 4px;
    font-size: 14px;
  }

  .site-footer__hours p,
  .copyright {
    font-size: 14px;
  }

  .fixed-actions__tel span,
  .site-footer__info .tel-button span {
    font-size: 14px;
  }

  .drawer nav span,
  .drawer .drawer__tel span {
    font-size: 14px;
  }
}

/* Keep the footer schedule times readable at responsive widths. */

@media (max-width: 1200px) {
  .site-footer__hours tbody th {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .site-footer__hours tbody th {
    font-size: 18px;
  }
}
