@charset "utf-8";

/* yakuhanmp-noto */
@import url('https://cdn.jsdelivr.net/npm/yakuhanjp@3.3.1/dist/css/yakuhanjp-noto.min.css');
/* Noto Sans Japanese */
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP:400,500,600,700,900');
/* Catamaran */
@import url('https://fonts.googleapis.com/css2?family=Catamaran:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* ============================================
   Base
============================================ */
body {
  font-family: YakuHanJP_Noto, 'Noto Sans JP', sans-serif;
  font-size: clamp(0.938rem, 0.906rem + 0.16vw, 1rem);
  color: #333;
  line-height: 1.9;
  text-align: left;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

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

a {
  color: #333;
  text-decoration: none;
}
a:hover {
  color: #333;
  text-decoration: none;
}

.sp {
  display: block;
}
.pc {
  display: none;
}

/* ============================================
   Header
============================================ */
header {
  background-color: #fff;
  height: 75px;
  position: relative;
}

header h1 {
  margin: 0;
  padding-left: 10px;
  text-align: left;
}
header h1 img {
  width: 100vw;
  max-width: 264px;
  height: auto;
  padding: 15px 0;
}

/* ============================================
   ハンバーガーメニュー (SP)
============================================ */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: none;
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  padding: 6px;
  transition:
    border-color 0.2s,
    background 0.2s;
  z-index: 10000;
}

.hamburger-btn:hover {
  background: rgba(131, 177, 207, 0.1);
  border-color: rgba(131, 177, 207, 0.4);
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #444;
  border-radius: 2px;
  transform-origin: center;
  transition:
    transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 0.2s ease,
    width 0.25s ease;
}

/* Open state → X */
.hamburger-btn.is-open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.is-open .hamburger-line:nth-child(2) {
  opacity: 0;
  width: 0;
}
.hamburger-btn.is-open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   Nav (SP) – slide-down
============================================ */
nav.slide-contents {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease;
  border-top: 1px solid #e5e5e5;
  background: #fff;
  position: absolute;
  top: 75px;
  left: 0;
  right: 0;
  z-index: 9999;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.09);
}

nav.slide-contents.is-open {
  max-height: 700px;
  opacity: 1;
}

nav ul li {
  float: none;
  width: 100%;
  border-bottom: 1px solid #f0f0f0;
}

nav ul li:nth-child(odd) {
  background: none;
}

nav ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 0;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #333;
  /* transition削除で揺れ防止 */
}

nav ul li a::before {
  content: '';
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #83b1cf;
  transition:
    background 0.15s,
    transform 0.2s;
}

nav ul li:hover a {
  background: #f4f9fc;
  color: #1575aa !important;
}

nav ul li:hover a::before {
  background: #1575aa;
  transform: scale(1.4);
}

/* ============================================
   Contents: section titles
============================================ */
#main h2.ttl {
  font-size: clamp(1.5rem, 1.307rem + 0.96vw, 2.5rem);
  text-align: center;
  position: relative;
  margin-bottom: 35px;
}
#main h2.ttl::after {
  content: '';
  position: absolute;
  height: 15px;
  width: 15px;
  border-top: 1px solid #83b1cf;
  border-right: 1px solid #83b1cf;
  bottom: -20px;
  right: 50%;
  transform: translateX(50%) rotate(135deg);
}

/* ============================================
   Footer
============================================ */
#copyright {
  margin-bottom: 20px;
  text-align: center;
  font-size: 12px;
}

/* ============================================
   mainVisual
============================================ */
#mainVisual {
  margin-bottom: 45px;
  text-align: center;
}
#mainVisual img {
  width: 100%;
  height: auto;
}
#mainVisual .pc {
  display: none;
}
#mainVisual .sp {
  display: block;
}

/* ============================================
   #greeting
============================================ */
#greeting {
  margin-bottom: 60px;
  padding: 140px 30px 0;
  margin-top: -150px;
}

#greeting p {
  margin-bottom: 1rem;
  line-height: 2.05;
  text-align: justify;
  text-justify: inter-ideograph;
}

@media only screen and (min-width: 961px) {
  #greeting p {
    line-height: 2.2;
  }
}
.img-container {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  text-align: right;
}
.img-container ul {
  margin: 0;
  padding: 0;
}
.img-container ul li {
  list-style: none;
  line-height: 1.65;
  font-size: 105%;
  color: #333;
}
.img-container ul li:nth-child(1) {
  font-size: 105%;
  line-height: 1.65;
  color: #111;
}
.img-container ul li:nth-child(3) {
  font-size: 85%;
  color: #666;
  line-height: 1.45;
}

/* ============================================
   #outline
============================================ */
#outline {
  width: 100vw;
  margin: 0 auto 130px auto;
  padding: 85px 0;
  background: #f4f5f7;
}
#outline .content-area {
  padding: 35px 30px;
}
#outline dl {
  margin: 0;
  padding: 0;
  width: 100%;
}
#outline dl dt {
  margin: 0;
  padding: 5px 0 0 5px;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.8;
}
#outline dl dd {
  margin: 0 0 15px;
  padding: 5px 0 0 5px;
  border-bottom: 1px solid #ccc;
  box-sizing: border-box;
  line-height: 1.8;
}
#outline dl dd > span > small {
  font-size: 85% !important;
}
#outline dl dd span {
  display: inline-block;
}
#outline .content-area dl dd > a:hover {
  color: #007bff !important;
  text-decoration: underline !important;
}

/* ============================================
   #program
============================================ */
#program {
  margin-bottom: 60px;
  padding: 0 30px;
}

/* ============================================
   #endai
============================================ */
#endai {
  width: 100vw;
  margin: 60px auto;
  padding: 85px 0;
  background: #fafafa;
}
#endai .content-area {
  padding: 35px 30px;
}
#endai .content-area dl {
  margin: 0;
  padding: 0;
}
#endai .content-area dl dt {
  font-weight: 700;
}

/* ============================================
   #info
============================================ */
#info {
  margin-bottom: 60px;
  padding: 0 30px;
}
#info .content-area {
  padding: 35px 0;
}

/* ============================================
   #entry
============================================ */
#entry {
  width: 100vw;
  margin: 60px auto;
  padding: 85px 0;
  background: #fafafa;
}
#entry .content-area {
  padding: 35px 30px;
}
#entry .content-area dl {
  margin: 0;
  padding: 0;
}
#entry .content-area dl dt {
  font-weight: 700;
}

/* ============================================
   #access
============================================ */
#access {
  margin-bottom: 60px;
  padding: 0 30px;
}
#access .content-area iframe {
  width: 100%;
  min-height: 350px;
}
#access .content-area dl {
  width: 100%;
  margin: 0 0 25px;
}
#access .content-area dl dt,
#access .content-area dl dd {
  line-height: 1.45;
}
#access .content-area dl dd:nth-child(2) {
  line-height: 1.85;
}
#access .content-area dl dd > a {
  color: #007bff !important;
  text-decoration: underline !important;
}

/* ============================================
   #contact
============================================ */
#contact {
  width: 100vw;
  margin: 0 auto 60px auto;
  padding: 85px 0;
  background: #fafafa;
}
#contact ul {
  padding: 10px !important;
  margin: 0 !important;
  list-style-type: none !important;
}
#contact ul a {
  color: #007bff !important;
}
#contact ul li:nth-child(odd) {
  list-style-type: none !important;
  margin: 0 !important;
  font-weight: bold;
  font-size: 1.05rem !important;
}
#contact ul li:nth-child(even) {
  list-style-type: none !important;
  padding: 0 0 25px 2px;
  font-size: 1rem !important;
}
#contact div.content-area ul li > span {
  display: inline-block !important;
  font-weight: bold !important;
}

/* ============================================
   Tablet: 760px+
============================================ */
@media only screen and (min-width: 760px) {
  .sp {
    display: none;
  }
  .pc {
    display: block;
  }

  header {
    display: block;
    position: relative;
    width: 100vw;
    height: 80px;
    margin: 0 auto;
  }

  #mainVisual {
    margin-bottom: 80px;
    background: #f0f8ff;
    text-align: center;
  }
  #mainVisual img {
    max-width: 1200px;
    height: auto;
  }
  #mainVisual .pc {
    display: block;
  }
  #mainVisual .sp {
    display: none;
  }

  #greeting {
    max-width: 920px;
    margin: 0 5% 130px 5%;
    padding: 0;
  }
  #outline {
    width: 100vw;
    margin: 0 auto 130px auto;
    padding: 85px 0;
  }
  #outline .content-area {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 35px;
  }
  #outline dl {
    display: flex;
    flex-wrap: wrap;
  }
  #outline dl dt {
    width: calc(5rem + 30px);
    padding: 15px;
    border-bottom: 1px solid #000;
    box-sizing: border-box;
    text-align: justify;
    text-align-last: justify;
    text-justify: inter-ideograph;
  }
  #outline dl dd {
    width: calc(100% - 5rem - 30px);
    margin: 0;
    padding: 15px;
    border-bottom: 1px solid #ccc;
    box-sizing: border-box;
  }
  #outline dl dd span {
    display: inline-block;
    margin-right: 0.5rem;
  }

  #program {
    max-width: 920px;
    margin: 0 5% 130px 5%;
    padding: 0;
  }
  #endai {
    width: 100vw;
    margin: 0 auto 130px auto;
    padding: 85px 0;
  }
  #endai .content-area {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 35px;
  }
  #info {
    max-width: 920px;
    margin: 0 5% 130px 5%;
    padding: 0;
  }
  #entry {
    width: 100vw;
    margin: 0 auto 130px auto;
    padding: 85px 0;
  }
  #entry .content-area {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 35px;
  }
  #access {
    max-width: 920px;
    margin: 0 5% 130px 5%;
    padding: 0;
  }
  #contact {
    width: 100vw;
    margin: 0 auto 130px auto;
    padding: 85px 0;
  }

  iframe {
    width: 100% !important;
    min-height: 450px;
  }
  footer {
    max-width: 960px;
    margin: 0;
    padding-bottom: 20px;
  }
  nav {
    font-size: 14.5px !important;
    letter-spacing: -0.01rem;
  }
}

/* ============================================
   PC: 961px+
============================================ */
@media only screen and (min-width: 961px) {
  /* ハンバーガー非表示 */
  .hamburger-btn {
    display: none;
  }

  /* navをインライン水平 */
  nav.slide-contents {
    display: block !important;
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible !important;
    position: absolute;
    bottom: 15px;
    right: 2em;
    top: auto;
    left: auto;
    border-top: none;
    background: transparent;
    box-shadow: none;
    transition: none;
  }

  nav ul li {
    display: inline;
    float: none;
    width: auto;
    border-bottom: none;
    text-align: right;
  }

  nav ul li a {
    display: inline;
    gap: 0;
    padding: 0;
    margin-left: 10px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #111 !important;
    text-decoration: underline;
    transition:
      color 0.15s,
      font-weight 0.1s;
  }

  nav ul li a::before {
    display: none;
  }

  nav ul li a:hover {
    color: #c0385f !important;
    background: none;
    padding-left: 0;
  }

  nav ul li:hover {
    background: initial;
  }

  #greeting {
    width: 920px;
    margin: -70px auto 65px auto;
    padding: 70px 0 0;
  }
  #greeting .content-area {
    padding: 3px 0 45px;
  }
  #program {
    width: 920px;
    margin: -70px auto 130px auto;
    padding: 70px 0 0;
  }
  #program .content-area {
    padding: 25px 0 45px;
  }
  #endai .content-area {
    margin-top: -70px;
    padding: 135px 0 45px;
  }
  #info {
    width: 920px;
    margin: -70px auto 130px auto;
    padding: 70px 0 0;
  }
  #info .content-area {
    padding: 25px 0 45px;
  }
  #entry .content-area {
    margin-top: -70px;
    padding: 135px 0 45px;
  }
  #access {
    width: 920px;
    margin: -70px auto 130px auto;
    padding: 70px 0 0;
  }
  #access .content-area {
    padding: 25px 0 45px;
    text-align: center;
  }
  #access .content-area iframe {
    max-width: 920px;
  }
  #contact {
    margin-top: -70px;
    padding-top: 70px;
  }

  footer {
    max-width: 960px;
    margin: 0 auto;
  }
}

/* ============================================
   1280px+
============================================ */
@media only screen and (min-width: 1280px) {
  header h1 {
    position: absolute;
    top: 12px;
    left: 25px;
  }
  header h1 img {
    width: 323px;
    height: 55px;
    max-width: initial !important;
    padding: 0 !important;
  }
  nav {
    font-size: 16px !important;
  }
}

/* ============================================
   Components
============================================ */
.link_btn {
  text-align: center;
  padding: 1.6em 0;
}
.link_btn a {
  display: block;
  width: 100%;
  color: #499eda;
  text-decoration: none;
  padding: 12px 0;
  border-radius: 3px;
  border: 1px solid #499eda;
  transition: all 0.7s ease;
}
.link_btn a:hover {
  color: #fff;
  background-color: #499eda;
  border: 1px solid #499eda;
}
.link_btn a::after {
  margin-left: 5px;
  font-family: 'Font Awesome 5 Free';
  content: '\f35d';
  font-weight: 900;
}

.cf {
  zoom: 1;
}
.cf:before,
.cf:after {
  content: '';
  display: table;
}
.cf:after {
  clear: both;
}

.scroll-to-top {
  z-index: 9999;
  right: 1rem;
  bottom: 1rem;
  display: none;
}
.scroll-to-top a {
  width: 3.5rem;
  height: 3.5rem;
  background-color: rgba(33, 37, 41, 0.5);
  line-height: 3.1rem;
}

/* 準備中 */
.preparation {
  border: solid 1px #ccc;
  padding: 20px;
  margin: 0 auto;
  max-width: 500px;
  text-align: left;
}
.preparation p {
  font-size: 14px;
  margin: 0 !important;
  padding: 0 !important;
}

@media screen and (min-width: 420px) {
  .preparation {
    padding: 45px;
    text-align: center;
  }
  .preparation p {
    font-size: 16px;
  }
}

/* Utilities */
.inb {
  display: inline-block !important;
}

.double-underline {
  position: relative;
}
.double-underline::before,
.double-underline::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #5c5c5c;
}
.double-underline::after {
  bottom: -3px;
}

.table tbody tr td {
  text-align: center !important;
}

.small {
  font-size: 90% !important;
  line-height: 1.65 !important;
}
.small02 {
  font-size: 80% !important;
}

p.price-note {
  padding-top: 7px;
  font-size: 90% !important;
  line-height: 1.45 !important;
  padding-left: 0.9rem !important;
  text-indent: -0.9rem !important;
}

.fxbr {
  display: inline-block;
}
.indent-1 {
  padding-left: 0.9rem;
  text-indent: -0.9rem;
}

.ls10 {
  letter-spacing: -0.19rem !important;
}
@media only screen and (min-width: 400px) {
  .ls10 {
    letter-spacing: initial !important;
  }
}

*:focus {
  outline: none !important;
  box-shadow: none !important;
}

a.alink {
  color: #007bff;
  text-decoration: none;
}
a.alink:hover {
  color: #0068d8;
  text-decoration: underline;
}
