@charset "utf-8";

/* トップページ(index_new_test.css)と同じヘッダー・フッター・TOPボタンを下層ページで使うための共通スタイル。
   下層ページの旧CSS(style3.css: html 62.5% / body 14px ゴシック)の継承をここで打ち消す。 */

#site-header,
.site-footer {
  color: #020202;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Times New Roman", serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6em;
  letter-spacing: 0.4px;
}

:where(#site-header, .site-footer) * {
  box-sizing: border-box;
}

:where(#site-header, .site-footer) img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

:where(#site-header, .site-footer) a {
  color: inherit;
  text-decoration: none;
}

#site-header {
  position: relative;
  z-index: 50;
}

/* tel_onlinebtn.css の rem 指定は旧CSSの html{font-size:62.5%} で縮むため px で固定 */
#site-header .nav1_inner,
#site-header .nav2_inner {
  margin-bottom: 40px;
  font-size: 16px;
}

#site-header h2.inquiry {
  font-size: 32px;
}

/* 下層ページ本文用の span.tel / .shareList(style3.css, style_studio.css)がメニュー内に効かないようにする */
#site-header span.tel {
  display: inline;
  margin: 0;
  font-family: inherit;
  font-size: inherit !important;
  font-weight: 500;
  line-height: inherit;
}

#site-header .shareList__item {
  line-height: inherit;
}

#site-header .shareList__link {
  max-height: none;
}

/* commom/access.html が style3.css を後から再読込するため、その p リセットより少しだけ強くする */
:where(#site-header) p:not(.inquiry_text) {
  margin: 1em 0;
}

/* 旧アクセス欄(commom/access.html)の float を解除しないとフッターが横に押し込まれる */
.site-footer {
  clear: both;
}

@media (max-width: 767px) {
  #site-header header,
  #site-header .header1,
  #site-header .header2,
  #site-header #menu_btn,
  #site-header #menu_btn1,
  #site-header #menu_btn2 {
    transition: transform 0.28s ease, opacity 0.28s ease;
    will-change: transform;
  }

  #site-header.is-scroll-hidden header,
  #site-header.is-scroll-hidden .header1,
  #site-header.is-scroll-hidden .header2,
  #site-header.is-scroll-hidden #menu_btn,
  #site-header.is-scroll-hidden #menu_btn1,
  #site-header.is-scroll-hidden #menu_btn2 {
    transform: translateY(-95px);
    opacity: 0;
    pointer-events: none;
  }

  #site-header.is-scroll-hidden #nav.open,
  #site-header.is-scroll-hidden #nav1.open,
  #site-header.is-scroll-hidden #nav2.open,
  #site-header.is-scroll-hidden .overlay.open,
  #site-header.is-scroll-hidden .overlay1.open,
  #site-header.is-scroll-hidden .overlay2.open {
    transform: translateZ(0);
    opacity: 1;
    pointer-events: auto;
  }

  #site-header #nav.open,
  #site-header #nav1.open,
  #site-header #nav2.open {
    top: 70px;
    width: min(86vw, 360px);
    height: calc(100svh - 70px);
    padding: 22px 0 34px;
    background: rgba(16, 16, 16, 0.96);
  }

  #site-header .nav1_inner,
  #site-header .nav2_inner {
    padding: 18px;
    margin-bottom: 0;
    font-size: 14.72px;
    line-height: 1.65;
  }

  #site-header h2.inquiry {
    margin: 0 0 14px;
    font-size: 22.08px;
    line-height: 1.35;
    letter-spacing: 0.08em;
  }

  #site-header .nav1_inner p,
  #site-header .nav2_inner p {
    max-width: 100%;
    margin: 0.7em auto;
    font-size: 15.04px !important;
    line-height: 1.75;
  }

  #site-header input[type="submit"],
  #site-header .button002 a {
    max-width: 100%;
    font-size: 15.68px;
  }

  #site-header #nav.open {
    padding-top: 24px;
  }

  #site-header #nav.open li {
    padding: 0 18px;
  }

  #site-header #nav.open li a {
    padding: 12px 6px;
    font-size: 15.2px;
    line-height: 1.35;
  }

  #site-header #nav.open .sub-menu {
    position: static;
    display: none;
    margin: 4px 0 10px;
    padding: 12px;
  }
}

.site-footer {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 24px 20px 40px;
  background:
    radial-gradient(circle at 30% 0%, rgba(240, 109, 87, 0.36), transparent 28vw),
    linear-gradient(180deg, #5b1108 0 72px, #101012 72px 100%),
    #101012;
  color: #fff;
  text-align: center;
}

.site-footer__drums {
  display: grid;
  width: min(170px, 42vw);
  aspect-ratio: 1;
  align-items: center;
  justify-items: center;
  margin-top: -42px;
  margin-bottom: -6px;
  transform: translateY(0);
}

.site-footer__drums img {
  width: 100%;
}

.site-footer__logo img {
  width: 120px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.site-footer small {
  color: rgba(255, 255, 255, 0.5);
}

.back-to-top {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 80;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04)),
    rgba(22, 16, 14, 0.72);
  box-shadow: 0 18px 45px rgba(28, 13, 9, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: #fffaf3;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.94);
  transition: opacity 0.28s ease, transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.back-to-top::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 4px;
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
  transform: rotate(45deg);
}

.back-to-top span {
  margin-top: -9px;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-size: 8.96px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top:focus-visible {
  border-color: rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08)),
    rgba(80, 18, 10, 0.82);
  transform: translateY(-3px) scale(1);
  outline: 2px solid rgba(255, 255, 255, 0.86);
  outline-offset: 4px;
}


.back-to-top {
  touch-action: manipulation;
}

@media (hover: hover) and (pointer: fine) {
  .back-to-top:hover {
    border-color: rgba(255, 255, 255, 0.82);
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08)),
      rgba(80, 18, 10, 0.82);
    transform: translateY(-3px) scale(1);
  }
}

@media (hover: none) {
  .back-to-top:active {
    border-color: rgba(255, 255, 255, 0.82);
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08)),
      rgba(80, 18, 10, 0.82);
    transform: translateY(-3px) scale(1);
  }
}

@media (max-width: 640px) {
  .site-footer small {
    white-space: nowrap;
    font-size: clamp(10px, 2.75vw, 12px);
  }

  .back-to-top {
    right: 16px;
    bottom: 18px;
    width: 44px;
    height: 44px;
  }
}

/* トップのアクセス欄。index_new_test.css から該当ルールだけを .site-access 内に限定して移植(rem は旧CSSの html 62.5% で縮むため px に換算) */

.site-access {
  color: #020202;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Times New Roman", serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6em;
  letter-spacing: 0.4px;
}

.site-access {
  --color-bg: #f6f1ea;
  --color-bg-dark: #101012;
  --color-surface: rgba(255, 255, 255, 0.84);
  --color-surface-solid: #fffaf3;
  --color-text: #171512;
  --color-muted: #6f665c;
  --color-gold: #c79a4a;
  --color-coral: #f06d57;
  --color-brown: #4a2518;
  --shadow-soft: 0 24px 80px rgba(54, 32, 18, 0.16);
  --shadow-card: 0 18px 44px rgba(37, 24, 16, 0.12);
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 6px;
  --container: min(1120px, calc(100% - 40px));
  --font-serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Times New Roman", serif;
  --font-sans: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
}

@media (max-width: 640px) {
  .site-access {
    --container: min(100% - 24px, 1120px);
  }
}

.site-access * {
  box-sizing: border-box;
}

.site-access img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.site-access a {
  color: inherit;
  text-decoration: none;
}

.site-access a[href],
.site-access .btn {
  touch-action: manipulation;
}

.site-access .section {
  width: var(--container);
  margin: 0 auto;
  padding: 110px 0;
}

.site-access .section__head {
  max-width: 720px;
  margin: 0 0 42px;
}

.site-access .section__head--split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.7fr);
  gap: 32px;
  align-items: end;
  max-width: none;
}

.site-access .section__head--split h2 {
  font-size: clamp(24.8px, 2.45vw, 40.8px);
  letter-spacing: 0.075em;
  white-space: nowrap;
}

@media (min-width: 981px) {
  .site-access .section__head--split > div:first-child {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: end;
  }

  .site-access .access-section {
    --section-mark-top: 42px;
    --section-mark-size: clamp(41.6px, 7vw, 86.4px);
  }

  .site-access .access-section__mark {
    top: var(--section-mark-top);
    right: max(20px, calc((100vw - 1220px) / 2));
    z-index: 3;
    font-size: var(--section-mark-size);
  }

  .site-access .access-section .section__head {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: none;
    margin-bottom: 40px;
    padding-top: clamp(108px, 11vw, 148px);
    padding-inline: max(20px, calc((100vw - 1220px) / 2));
  }

  .site-access .access-section .section__head > div {
    width: auto;
    min-width: 0;
    justify-self: start;
    text-align: left;
  }

  .site-access .access-section .section__head h2 {
    white-space: nowrap;
    font-size: clamp(24px, 2.1vw, 32.8px);
    letter-spacing: 0.1em;
    text-align: left;
  }

  .site-access .access-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }

  .site-access .access-panel__text {
    max-width: none;
  }

  .site-access .access-panel__text > p {
    max-width: none;
  }

  .site-access .access-list {
    grid-template-columns: max-content minmax(0, 1fr);
  }

  .site-access .access-list dd {
    white-space: nowrap;
  }

  .site-access .access-panel__map {
    width: auto;
    max-width: none;
    margin-inline: 0;
    min-height: 430px;
  }

  .site-access .access-panel__map iframe {
    min-height: 430px;
  }

  .site-access .access-section .section__head--split {
    display: grid;
    grid-template-rows: auto;
    align-items: end;
    text-align: left;
  }

  .site-access .access-section .section__head--split > div:first-child {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    justify-self: start;
  }
}

.site-access .section__head h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(26.4px, 3vw, 48.8px);
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: 0.1em;
}

.site-access .btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-weight: 800;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.site-access .btn--primary {
  background: linear-gradient(135deg, var(--color-coral), var(--color-gold));
  color: #fff;
  box-shadow: 0 16px 34px rgba(240, 109, 87, 0.32);
}

.site-access .btn--ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(14px);
}

.site-access .btn--dark {
  border-color: rgba(23, 21, 18, 0.14);
  color: var(--color-text);
}

.site-access .btn--line {
  gap: 9px;
}

.site-access .btn--line img {
  width: 26px;
  height: 26px;
}

.site-access .access-section__mark {
  position: absolute;
  top: 42px;
  right: max(20px, calc((100vw - 1120px) / 2));
  z-index: -1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  background: linear-gradient(
  90deg,
  rgba(168, 128, 52, 0.18) 0%,
  rgba(244, 214, 155, 0.36) 52%,
  rgba(255, 232, 188, 0.26) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-sans);
  font-size: var(--section-mark-size, clamp(41.6px, 7vw, 86.4px));
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1;
  pointer-events: none;
}

.site-access .access-section__mark::before {
  display: inline-block;
  width: clamp(72px, 18vw, 140px);
  height: 2px;
  flex-shrink: 0;
  content: "";
  background: linear-gradient(
  90deg,
  rgba(168, 128, 52, 0.16) 0%,
  rgba(244, 214, 155, 0.34) 55%,
  rgba(255, 232, 188, 0.22) 100%
  );
}

.site-access .access-section .section__head {
  position: relative;
  z-index: 1;
  margin-bottom: 32px;
  color: #fff;
}

.site-access .access-section .section__head h2 {
  color: #fff;
}

.site-access .access-section.section,
.site-access .access-section {
  --access-lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M24 0 48 24 24 48 0 24Z' fill='none' stroke='%23ffffff' stroke-opacity='.075' stroke-width='.65'/%3E%3Cpath d='M24 0v48M0 24h48' fill='none' stroke='%23ffffff' stroke-opacity='.05' stroke-width='.5'/%3E%3C/svg%3E");
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: max(20px, calc((100vw - 1120px) / 2));
  padding-bottom: 0;
  overflow: hidden;
  background-color: #10100f;
  color: rgba(255, 252, 248, 0.92);
}

.site-access .access-section__lattice {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #10100f;
  background-image: var(--access-lattice);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(
  to bottom right,
  #000 0%,
  rgba(0, 0, 0, 0.92) 18%,
  rgba(0, 0, 0, 0.62) 42%,
  rgba(0, 0, 0, 0.28) 68%,
  rgba(0, 0, 0, 0.08) 86%,
  transparent 100%
  );
  mask-image: linear-gradient(
  to bottom right,
  #000 0%,
  rgba(0, 0, 0, 0.92) 18%,
  rgba(0, 0, 0, 0.62) 42%,
  rgba(0, 0, 0, 0.28) 68%,
  rgba(0, 0, 0, 0.08) 86%,
  transparent 100%
  );
}

.site-access .access-section::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
  linear-gradient(180deg, rgba(16, 16, 15, 0.35) 0%, transparent 18%, transparent 78%, rgba(16, 16, 15, 0.5) 100%),
  radial-gradient(ellipse 90% 70% at 50% 40%, transparent 30%, rgba(16, 16, 15, 0.25) 100%);
}

.site-access .access-section__mark {
  z-index: 3;
  background: linear-gradient(
  90deg,
  rgba(255, 255, 255, 0.12) 0%,
  rgba(255, 255, 255, 0.32) 52%,
  rgba(255, 255, 255, 0.16) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-access .access-section__mark::before {
  background: linear-gradient(
  90deg,
  rgba(255, 255, 255, 0.08) 0%,
  rgba(255, 255, 255, 0.22) 55%,
  rgba(255, 255, 255, 0.1) 100%
  );
}

.site-access .access-section > :not(.access-section__mark, .access-section__lattice) {
  position: relative;
  z-index: 2;
}

.site-access .access-section .section__head {
  position: relative;
  z-index: 3;
  max-width: none;
  text-align: left;
  padding-bottom: clamp(24px, 4vw, 36px);
  border-bottom: none;
}

.site-access .access-section .section__head::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.14);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-access .access-section .section__head.is-visible::after {
  transform: scaleX(1);
  transition-delay: 0.25s;
}

.site-access .access-section .section__head h2 {
  color: rgba(255, 252, 248, 0.95);
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-align: left;
}

.site-access .access-panel {
  --access-line-duration: 1.45s;
  --access-line-stagger: 0.58s;
  --access-line-start: 0.4s;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  background: transparent;
  border: none;
}

.site-access .access-panel.reveal {
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.site-access .access-panel__text {
  padding: clamp(36px, 5vw, 56px) 0 clamp(28px, 4vw, 40px);
  background: transparent;
  color: rgba(255, 252, 248, 0.92);
}

.site-access .access-panel__text > p {
  position: relative;
  margin: 0;
  padding-bottom: clamp(28px, 4vw, 40px);
  border-bottom: none;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--font-serif);
  font-size: clamp(14.08px, 1.1vw, 15.36px);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 2;
}

.site-access .access-panel__text > p::after,
.site-access .access-list > div::before,
.site-access .access-actions::before,
.site-access .access-panel__map::before {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.14);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--access-line-duration, 1.45s) cubic-bezier(0.16, 1, 0.3, 1);
}

.site-access .access-panel__text > p::after {
  bottom: 0;
}

.site-access .access-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
}

.site-access .access-list > div {
  position: relative;
  display: grid;
  grid-template-columns: minmax(104px, 136px) 1fr;
  gap: 0;
}

.site-access .access-list > div::before {
  top: 0;
}

.site-access .access-list dt {
  margin: 0;
  padding: 18px 24px 18px 0;
  border-top: none;
  color: rgba(244, 214, 155, 0.72);
  font-family: var(--font-sans);
  font-size: 9.92px;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-access .access-list dd {
  margin: 0;
  padding: 18px 0;
  border-top: none;
  color: rgba(255, 252, 248, 0.9);
  font-family: var(--font-serif);
  font-size: clamp(14.4px, 1.08vw, 16px);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.75;
}

.site-access .access-list dd a {
  color: inherit;
  text-decoration: none;
}

.site-access .access-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: clamp(28px, 4vw, 40px) 0;
  border-top: none;
}

.site-access .access-actions::before {
  top: 0;
}

.site-access .access-actions .btn--ghost.btn--dark {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 252, 248, 0.68);
  font-weight: 600;
  letter-spacing: 0.06em;
  box-shadow: none;
  backdrop-filter: none;
}

@media (hover: hover) and (pointer: fine) {
  .site-access .access-actions .btn--ghost.btn--dark:hover {
    border-color: rgba(255, 255, 255, 0.46);
    background: rgba(255, 255, 255, 0.11);
    color: rgba(255, 252, 248, 0.88);
  }
}

.site-access .access-panel.is-visible .access-panel__text > p::after {
  transform: scaleX(1);
  transition-delay: var(--access-line-start, 0.4s);
}

.site-access .access-panel.is-visible .access-list > div:nth-child(1)::before {
  transform: scaleX(1);
  transition-delay: calc(var(--access-line-start, 0.4s) + var(--access-line-stagger, 0.58s));
}

.site-access .access-panel.is-visible .access-list > div:nth-child(2)::before {
  transform: scaleX(1);
  transition-delay: calc(var(--access-line-start, 0.4s) + var(--access-line-stagger, 0.58s) * 2);
}

.site-access .access-panel.is-visible .access-list > div:nth-child(3)::before {
  transform: scaleX(1);
  transition-delay: calc(var(--access-line-start, 0.4s) + var(--access-line-stagger, 0.58s) * 3);
}

.site-access .access-panel.is-visible .access-actions::before {
  transform: scaleX(1);
  transition-delay: calc(var(--access-line-start, 0.4s) + var(--access-line-stagger, 0.58s) * 4);
}

.site-access .access-panel__map {
  position: relative;
  overflow: hidden;
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
  min-height: clamp(280px, 52vw, 420px);
  border-top: none;
  background: #0a0a09;
}

.site-access .access-panel__map::before {
  top: 0;
}

.site-access .access-panel.is-visible .access-panel__map::before {
  transform: scaleX(1);
  transition-delay: calc(var(--access-line-start, 0.4s) + var(--access-line-stagger, 0.58s) * 5);
}

.site-access .access-panel__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(280px, 52vw, 420px);
  filter: saturate(0.55) contrast(1.08) brightness(0.82) grayscale(0.15);
}

@media (hover: hover) and (pointer: fine) {
  .site-access .btn:hover {
    transform: translateY(-2px);
  }
}

.site-access .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.site-access .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .site-access .reveal,
  .site-access .reveal.is-visible {
    transform: none;
    transition: opacity 0.7s ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-access .reveal {
    animation: none;
    transition: none;
  }

  .site-access .reveal {
    opacity: 1;
    transform: none;
  }

  .site-access .access-section .section__head::after,
  .site-access .access-panel__text > p::after,
  .site-access .access-list > div::before,
  .site-access .access-actions::before,
  .site-access .access-panel__map::before {
    transition: none;
    transform: scaleX(1);
  }
}

@media (max-width: 980px) {
  .site-access .section {
    padding-top: 82px;
    padding-bottom: 82px;
  }

  .site-access .section__head--split {
    grid-template-columns: 1fr;
  }

  .site-access .access-section .section__head {
    margin-bottom: 36px;
    padding-top: 0;
  }

  .site-access .access-section {
    --section-mark-top: 32px;
    --section-mark-size: clamp(32px, 9vw, 44.8px);
    --section-mark-title-gap: clamp(44px, 8.5vw, 60px);
  }

  .site-access .access-section__mark {
    top: var(--section-mark-top);
    right: max(20px, calc((100vw - 1220px) / 2));
    z-index: 3;
    font-size: var(--section-mark-size);
  }

  .site-access .access-section .section__head {
    margin-bottom: 0;
    padding-top: var(--section-mark-title-gap, clamp(44px, 8.5vw, 60px));
  }

  .site-access .access-section .section__head--split {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(var(--section-mark-title-gap), auto) auto auto;
    align-items: start;
    min-height: 0;
  }

  .site-access .access-section .section__head--split > div:first-child {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
  }

  .site-access .access-panel {
    grid-template-columns: 1fr;
  }

  .site-access .access-panel__map,
  .site-access .access-panel__map iframe {
    min-height: 280px;
  }

  .site-access .access-panel__map,
  .site-access .access-panel__map iframe {
    min-height: 340px;
  }

  .site-access .section__head--split h2 {
    white-space: normal;
  }
}

@media (max-width: 767px) {
  .site-access .access-section .section__head {
    padding-inline: max(20px, calc((100vw - 1220px) / 2));
  }
}

@media (max-width: 640px) {
  .site-access .access-actions {
    display: grid;
  }

  .site-access .btn {
    width: 100%;
  }
}

/* style3.css の .btn(下層ページ用)がアクセス欄のボタンに混ざらないよう打ち消す */
.site-access .btn {
  position: static;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  vertical-align: baseline;
  -webkit-user-select: auto;
  user-select: auto;
}

/* style3.css の疑似要素 box-sizing 継承を打ち消し、トップと同じ content-box にする */
#site-header *::before,
#site-header *::after,
.site-footer *::before,
.site-footer *::after,
.back-to-top::before,
.back-to-top::after,
.site-access *::before,
.site-access *::after {
  box-sizing: content-box;
}

/* トップではヘッダー部品が後から読み込む meanmenu4.css の img 指定が勝つため、同じ値にする */
.site-access img {
  vertical-align: bottom;
}
