@charset "UTF-8";
/*-----------------------------------------------------
Reset
----------------------------------------------------- */
html, body, div, span,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0; padding: 0; border: 0; font-size: 100%; vertical-align: baseline;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section , main {
	display: block;
}

a:link, a:visited, a:hover, a:active { text-decoration: none; }

html { scroll-behavior:smooth; scrollbar-gutter: stable; }
[id] { scroll-margin-top: var(--fixed-header-height); }
body { line-height: 1; text-align: justify; background: #fff; color: var(--color-text); font-family: var(--font-base);letter-spacing: .1em;}
ol, ul { list-style: none; color: #252525; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; }
table { border-collapse: collapse; border-spacing: 0; }

* { margin: 0; padding: 0; }
img { max-width: 100%; width: 100%; height: auto; vertical-align: bottom; flex-shrink: 0; }
picture { display: block; }

/*オーバーレイ*/
.overlay { background: #fff; position: fixed; top: 0; left: 0; height: 100%; width: 100%; z-index: 10000; }

/*-----------------------------------------------------
fade
----------------------------------------------------- */
.fade { opacity: 0; transition: opacity 1.5s; }
.fade.is_inview { opacity: 1; transition-delay: .8s; }

.fade_early { opacity: 0; transition: opacity 1s; }
.fade_early.is_inview { opacity: 1; transition-delay: .1s; }

.fadeup { opacity: 0; transform: translateY(30px); transition: opacity 2s, transform .8s; }
.fadeup.is_inview { opacity: 1; transform: translateY(0); transition-delay: .1s; }
.fadeup02 { opacity: 0; transform: translateY(30px); transition: opacity 2s, transform .8s; }
.fadeup02.is_inview  { opacity: 1; transform: translateY(0); transition-delay: .2s; }
.fadeup03 { opacity: 0; transform: translateY(30px); transition: opacity 2s, transform 1s; }
.fadeup03.is_inview  { opacity: 1; transform: translateY(0); transition-delay: .3s; }

.fadeleft { opacity: 0; transform: translateX(-30px); transition: opacity .8s ease, transform .8s ease; }
.fadeleft.is_inview { opacity: 1; transform: translateX(0); transition-delay: .3s; }

.blur{ opacity:0; filter:blur(6px); transition:opacity 1s ease, transform 1s ease, filter 1s ease; }
.blur.is_inview{ opacity:1; filter:blur(0); transition-delay:1.1s; }


.sec { position: relative; z-index: 1; }
.sec_txt { font-size: clamp(14px, 3vw, 16px); }

h1 , h2 , h3 , h4 , h5 { font-feature-settings: "palt"; font-weight: initial; line-height: 1.5; }
.pc { display: block; }
.tab { display: none; }
.sp { display: none; }
p { font-feature-settings: "palt"; line-height: 1.8; }

/*[data-overDirection="full"] { width: 100vw; margin: 0 calc(50% - 50vw); }*/
[data-size="w600"]{ max-width: 600px; width: 90%; margin: 0 auto; }
[data-size="w750"]{ max-width: 750px; margin: 0 auto; }
[data-size="w800"]{ max-width: 800px; width: 90%; margin: 0 auto; }
[data-size="w900"] { max-width: 900px; width: 90%; margin: 0 auto; }
[data-size="w1000"]{ max-width: 1000px; width: 90%; margin: 0 auto; }
[data-size="w1200"]{ max-width: 1200px; width: 90%; margin: 0 auto; }
[data-size="w1400"]{ max-width: 1400px; width: 90%; margin: 0 auto; }
[data-size="w1800"]{ max-width: 1800px; margin: 0 auto; }
[data-size="padding_inner"]{ padding-left: 20px; padding-right: 20px; box-sizing: border-box; margin: 0 auto; }

:root {
  --color-text: #3e3331;
  --color-orange: #e4bb45;
  --color-darkorange: #e9500c;
  --color-blue: #00519e;
  --color-red: #ff5a50;
  --color-green-light: #67d25e;
  --color-green-dark: #00a050;
  --color-yellow-light: #fffcdc;
  --color-yellow-dark: #ffe67f;
  --font-base: "LINE Seed JP", sans-serif;

}
@media screen and (max-width: 600px) {
    :root {
        --fixed-header-height: 60px;
        --spec-term-w:80px;
    }
}

/* ----- ADEMOK ヘッダー（共通） ----- */
.l-header.l-header--ademok {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
  background: transparent;
  box-sizing: border-box;
  pointer-events: none;
}

.l-header.l-header--ademok.is-scrolled {
  background: transparent;
}

.l-header.l-header--ademok.is-scrolled .l-header--ademok__top {
  filter: drop-shadow(0 0 0.75rem #c6af8f);
}

.l-header--ademok__top {
  position: relative;
  z-index: 2;
  background: #fff;
  padding: 10px 0;
  text-align: center;
  pointer-events: auto;
  transition: filter 0.25s ease;
}

.l-header--ademok__top::after {
  content: '';
  display: block;
  background: #fff;
  width: 250px;
  height: 150px;
  position: absolute;
  z-index: -1;
  right: 0;
  left: 0;
  margin: auto;
  top: -20px;
  border-radius: 50%;
}

.l-header--ademok__logo {
  display: inline-block;
  vertical-align: bottom;
}

.l-header--ademok__logo img {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
  margin: 0 auto;
}

/* ハンバーガーメニュー */
.l-header--ademok__navbtn {
  position: absolute;
  top: 50%;
  right: clamp(10px, 3vw, 20px);
  transform: translateY(-50%);
  width: 70px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.l-header--ademok.is-scrolled .l-header--ademok__navbtn {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* MV内ナビ非表示時は、スクロールに依存せずハンバーガーを常に表示 */
@media only screen and (max-width: 820px) {
  .l-header--ademok__navbtn {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

.l-header--ademok__navbtn-lines,
.l-header--ademok__navbtn-lines::before,
.l-header--ademok__navbtn-lines::after {
  display: block;
  width: 70px;
  height: 2px;
  margin: 0 auto;
  border-radius: 2px;
  background: var(--color-blue);
}

.l-header--ademok__navbtn-lines {
  position: relative;
  top: 0;
}

.l-header--ademok__navbtn-lines::before,
.l-header--ademok__navbtn-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.l-header--ademok__navbtn-lines::before {
  top: -14px;
}

.l-header--ademok__navbtn-lines::after {
  top: 14px;
}

.l-header--ademok__navbtn-lines,
.l-header--ademok__navbtn-lines::before,
.l-header--ademok__navbtn-lines::after {
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    top 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    left 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.2s ease;
}

/* ドロワー表示中：ハンバーガーが閉じるボタンと同じ角度のバツへ */
body.is-drawer-open .l-header--ademok__navbtn-lines {
  background-color: transparent;
}

body.is-drawer-open .l-header--ademok__navbtn-lines::before {
  top: 50%;
  left: 50%;
  width: 60px;
  transform: translate(-50%, -50%) rotate(32deg);
}

body.is-drawer-open .l-header--ademok__navbtn-lines::after {
  top: 50%;
  left: 50%;
  width: 60px;
  transform: translate(-50%, -50%) rotate(-32deg);
}

@media (prefers-reduced-motion: reduce) {
  .l-header--ademok__navbtn-lines,
  .l-header--ademok__navbtn-lines::before,
  .l-header--ademok__navbtn-lines::after {
    transition-duration: 0.01ms;
  }
}

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

/* PC: ドロワー表示中も背後をスクロール可 / SP 以下は従来どおり固定 */
@media only screen and (min-width: 901px) {
  body.is-drawer-open {
    overflow: visible;
  }
}

.l-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(400px, calc(100vw - 32px));
  height: min(70vh, 760px);
  height: min(70dvh, 760px);
  min-height: 480px;
  padding: 96px 35px 56px;
  border-radius: 0 0 52px 52px;
  background: var(--color-blue);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
  z-index: 1001;
}

.l-drawer::before,
.l-drawer::after {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0.9;
}

.l-drawer::before {
  top: 30px;
  left: 0;
  width: 95px;
  height: 100px;
  background: url('../img/ademok_common_nav_til01.png') no-repeat;
  background-size: contain;
  opacity: 0.3;
}

.l-drawer::after {
  bottom: 30px;
  right: 0;
  width: 120px;
  height: 100px;
  background: url('../img/ademok_common_nav_til02.png') no-repeat;
  background-size: contain;
  opacity: 0.3;
}

body.is-drawer-open .l-drawer {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  filter: drop-shadow(0 0 0.75rem #c6af8f);
}

.l-drawer__close {
  position: absolute;
  top: 23px;
  right: 20px;
  width: 70px;
  height: 70px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.l-drawer__close::before,
.l-drawer__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.l-drawer__close::before {
  transform: translate(-50%, -50%) rotate(32deg);
}

.l-drawer__close::after {
  transform: translate(-50%, -50%) rotate(-32deg);
}

.l-drawer__list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 260px;
}

.l-drawer__link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  position: relative;
  padding-left: 38px;
  color: #fff;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 10px;
  transform: translateX(0);
  transition:
    text-decoration-color 0.28s ease,
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.l-drawer__link:focus-visible {
  text-decoration-color: currentColor;
  transform: translateX(8px);
}

@media (hover: hover) and (pointer: fine) {
  .l-drawer__link:hover {
    text-decoration-color: currentColor;
    transform: translateX(8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .l-drawer__link {
    transition: text-decoration-color 0.28s ease;
  }

  .l-drawer__link:hover,
  .l-drawer__link:focus-visible {
    transform: none;
  }
}

.l-drawer__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 28px;
  transform: translate(-6px, -50%) scale(0.92);
  background: url("../img/ademok_top_icon_menu.svg") no-repeat center / contain;
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.l-drawer__link:hover::before,
.l-drawer__link:focus-visible::before {
  opacity: 1;
  transform: translate(0, -50%) scale(1);
}

@media only screen and (max-width: 900px) {
  .l-drawer {
    width: min(300px, calc(100vw - 24px));
    height: min(100dvh, 380px);
    min-height: 380px;
    padding: 88px 24px 44px;
    border-radius: 0 0 30px 30px;
  }

  .l-drawer::before {
    height: 80px;
  }
  .l-drawer::after {
    width: 90px;
    height: 80px
  }
}

@media only screen and (max-width: 600px) {

  .l-drawer__link {
    font-size: 1rem;
  }
}

/*pagetop*/
.l-footer-pagetop { position: sticky; bottom: 0; z-index: 10; transition: .5s; }
.l-footer-pagetop__btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  z-index: 9;
  display: block;
  visibility: hidden;
  opacity: 0;
  max-width: 60px;
  transform: scale(1);
  transform-origin: 50% 50%;
  transition:
    opacity 0.5s,
    visibility 0.5s,
    transform 0.32s cubic-bezier(0.33, 0.11, 0.25, 1);
}
.l-footer-pagetop__btn.is-show { visibility: visible; opacity: 1; }
.l-footer-pagetop__btn img {
  display: block;
  width: 100%;
  height: auto;
}



/* 固定ボタン */
.p-float { position: fixed; right: 0; top: 180px; z-index: 998; display: flex; flex-direction: column; gap: 10px; }
.p-float.is-stop { position: absolute; }
.p-float__btn { width: 64px; height: 220px; border-radius: 10px 0 0 10px; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.10); }
.p-float__btn--reserve { background: var(--color-red); }
.p-float__btn--student { background: var(--color-green-light); }
.p-float__text { writing-mode: vertical-rl; text-orientation: mixed; font-size: 18px; font-weight: 700; color: #fff; letter-spacing: .08em; }

/* footer */
.l-footer { background: #3e3331; padding: 50px 0 40px; z-index: 1; position: relative; }
.l-footer__main { display: flex; justify-content: space-between; gap: 40px; }
.l-footer__name { line-height: 1; font-size: clamp(25px, 3vw, 40px); font-weight: 700; margin: 0 0 20px; }
.l-footer__address, .l-footer__tel { font-size: clamp(14px, 3vw, 16px); line-height: 1.6; }
.l-footer__nav { margin-top: auto; margin-left: auto; text-align: right; }
.l-footer__nav a { color: var(--color-text); font-size: clamp(14px, 3vw, 16px); transition: .5s; }
.l-footer__nav img { width: 14px; vertical-align: vertical-align: bottom; }
.l-footer__copy { margin-top: 40px; font-size: 0.688rem; color: #fff; }

.l-footer__logo {
  display: block;
  width: min(220px, 100%);
}

.l-footer__nav-wrap {
  margin-left: auto;
  text-align: center;
}

.l-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
  margin-top: 0;
  margin-left: 0;
  text-align: center;
}

.l-footer__nav--primary {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #4d4341;
}

.l-footer__nav a {
  color: #fff;
  font-size: 1rem;
}

.l-footer__nav--secondary a {
  font-size: 0.813rem;
  font-weight: 500;
}

.l-footer__copy {
  margin-top: 10px;
  text-align: right;
}

@media (hover: hover) and (pointer: fine) {
  .l-footer__nav a:hover {
    opacity: .5;
  }

  .l-footer-pagetop__btn.is-show:hover,
  .l-footer-pagetop__btn.is-show:focus-visible {
    transform: scale(1.24);
  }
}

@media (prefers-reduced-motion: reduce) {
  .l-footer-pagetop__btn {
    transition: opacity 0.5s, visibility 0.5s;
  }

  .l-footer-pagetop__btn.is-show:hover,
  .l-footer-pagetop__btn.is-show:focus-visible {
    transform: none;
  }
}

@media screen and (max-width: 980px){
  }

@media screen and (max-width: 600px) {
  .sp { display: block; }
  .pc { display: none; }
  .p-float { display: none; }
  .l-footer { padding: 40px 0 25px; }
  .l-header--ademok__logo img {
    width: 60%;
  }
  .l-header--ademok__top::after {
    width: 190px;
    height: 110px;
  }
  .l-footer__logo { width: min(150px, 100%); }
  .l-footer__main { flex-direction: column; gap: 24px; align-items: center; }
  .l-footer__nav-wrap { margin-left: 0; }
  .l-footer__nav { gap: 7px 10px; justify-content: center; }
  .l-footer__copy { margin-top: 25px; text-align: center; }
  .c-btn { flex: 1 1 calc((100% - 20px) / 3); padding: 0 10px; font-size: 13px; }
  .l-header--ademok__navbtn-lines, .l-header--ademok__navbtn-lines::before, .l-header--ademok__navbtn-lines::after {
    width: 35px;
  }
  .l-footer__nav a {
    font-size: 0.875rem;
  }
  .l-header--ademok__navbtn , .l-drawer__close { 
    width: 50px;
    height: 50px;
    right: clamp(10px, 3vw, 20px);
  }
  .l-drawer__close { 
    top: 15px;
  }

  .l-header--ademok__navbtn-lines::after {
    top: 12px;
  }
  .l-header--ademok__navbtn-lines::before {
    top: -12px;
  }
  .l-drawer__close::before, .l-drawer__close::after {
    width: 40px;
  }

  .l-footer__nav--secondary a {
    font-size: 0.75rem;
   }
}
