html {
  font-size: 62.5%;
  margin: 0;
  padding: 0;
  font-feature-settings: "palt";
  scroll-behavior: smooth;
}
body {
  font-family: "Zen Old Mincho", serif;
  font-size: 1.7rem;
  font-weight: 500;
  background: #fffef8;
  color: #333;
  margin: 0;
  padding: 0;
  min-height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
  line-height: 1.7;
  visibility: hidden;
}
.font-loaded body {
  visibility: visible;
}
body.is-menu-open {
  overflow: hidden;
}

img {
  vertical-align: top;
  width: 100%;
  height: auto;
}

a {
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  color: #333;
}
button, a {
  -webkit-tap-highlight-color: transparent;
}

.pc_off { display: block; }
.sp_off { display: none; }

.bold { font-weight: 700; }

@media screen and (min-width: 768px), print {
  img {
    image-rendering: -webkit-optimize-contrast;
  }
  .pc_off { display: none; }
  .sp_off { display: block; }

  .hv {
    transition: opacity 0.3s ease-in-out;
  }
  .hv:hover {
    opacity: 0.7;
  }

  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
  }
}





/* header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 70px;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fffef8;;
}

.header-logo, .header-logo a {
  height: 50px;
  line-height: 1;
}
.header-logo img {
  width: auto;
  height: inherit;
}

.sp-menu-btn {
  width: 50px;
  height: 50px;
  position: absolute;
  top: 10px;
  right: 0;
}
.sp-menu-btn span {
  display: block;
  width: 26px;
  height: 2px;
  background: #000;
  position: absolute;
  top: calc(50% - 1px);
  left: 12px;
  transition: .1s;
}
.sp-menu-btn span::before {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: #000;
  position: absolute;
  top: 8px;
  left: 0;
  transition: .3s;
}
.sp-menu-btn span::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: #000;
  position: absolute;
  top: -8px;
  left: 0;
  transition: .4s;
}
.is-menu-open .sp-menu-btn span {
  background: transparent;
}
.is-menu-open .sp-menu-btn span:after {
  transform: rotate(45deg);
  top: 0;
}
.is-menu-open .sp-menu-btn span:before {
  transform: rotate(-45deg);
  top: 0;
}

.sp-nav {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  width: 100%;
  height: calc(100dvh - 70px);
  background: #fffef8;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.45s ease,
    visibility 0s linear 0.45s;
}
.sp-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.45s ease,
    visibility 0s linear 0s;
}
.sp-nav__inner {
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 24px 24px 50px;
}

.sp-nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.pc-nav {
  display: none;
}

@media screen and (min-width: 768px), print {
  .header {
    position: relative;
    height: auto;
    flex-direction: column;
    padding-top: 15px;
  }

  .header-logo, .header-logo a {
    height: 85px;
  }
  .sp-menu-btn, .sp-nav {
    display: none;
  }

  .pc-nav {
    display: block;
    width: 100%;
  }
  .pc-nav ul {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 940px;
    gap: 2em;
    margin: 20px auto 0;
    padding-top: 20px;
    border-top: solid 1px #000;
  }
}





/* footer */

footer {
  padding-bottom: 80px;
}
.footer-logo {
  display: flex;
  justify-content: center;
}
.footer-logo img {
  width: 25px;
  height: auto;
}

.mail-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  font-size: 1.5rem;
}

.copyright {
  text-align: center;
  font-size: 1.4rem;
  margin-top: 2em;
}

.sp-footer-navi {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 999;
  background: #fff;
  box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
  font-family: "Noto Sans JP", sans-serif;
}
.sp-footer-navi ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.sp-footer-navi ul li a {
  display: flex;
  flex-direction: column;
  height: 60px;
  justify-content: center;
  align-items: center;
  line-height: 1;
  font-size: 1.2rem;
}
.sp-footer-navi ul li a svg {
  height: 22px;
  width: auto;
  margin-bottom: 4px;
}
.sp-footer-navi ul li.line a svg {
  fill: #00b900;
}

@media screen and (min-width: 768px), print {
  footer {
    padding-bottom: 10px;
  }
  .footer-logo img {
    width: 30px;
  }
  .mail-line {
    flex-direction: row;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
  }

  .sp-footer-navi {
    display: none;
  }
}





/* main */

main {
  flex: 1;
  padding-top: 70px;
  width: 100%;
}
@media screen and (min-width: 768px), print {
  main {
    padding-top: 50px;
    margin-inline: auto;
  }
}


/* fv */

.fv {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.fv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (min-width: 768px), print {
  .fv {
    max-width: 940px;
    margin-inline: auto;
    aspect-ratio: 16 / 9;
  }
}


/* about */

.about {
  padding: 40px 25px;
}
.about > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about > div + div {
  margin-top: 50px;
}
.about h2 {
  text-align: center;
  font-size: 2.5rem;
}
.about p {
  margin-top: 0.8em;
  font-size: 1.8rem;
}
.about a {
  color: #0c4426;
  display: inline-block;
  border: solid 2px #0c4426;
  padding: 0.6em 3em;
  margin-top: 1.5em;
}

@media screen and (min-width: 768px), print {
  .about {
    width: 100%;
    max-width: 940px;
    margin-inline: auto;
    padding: 100px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .about > div:nth-child(1){
    grid-column:1 / 3;
    justify-self:center;
    width:50%;
  }
  .about > div + div {
    margin-top: 0;
  }
  .about h2 {
    font-size: 3.0rem;
  }
  .about p {
    margin-block: 0.8em 1.5em;
    font-size: 1.9rem;
  }
  .about a {
    margin-top: auto;
    transition: color 0.3s ease, background-color 0.3s ease;
  }
  .about a:hover {
    background: #0c4426;
    color: #fff;
  }
}





/* course */

.course {
  background: url(../img/course.jpg) no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  padding: 25px;
}
.course_wrapper {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 20px;
  text-align: center;
  width: 100%;
}

.course_wrapper h2 {
  font-size: 2.5rem;
}
.course_wrapper .larger {
  font-size: 2rem;
  margin-top: 1em;
}
.course_wrapper .contents {
  font-size: 1.6rem;
}
.course_wrapper .information {
  margin-top: 1.2em;
}

@media screen and (min-width: 768px), print {
  .course {
    padding: 150px 100px;
  }
  .course_wrapper {
    padding: 100px 20px;
    max-width: 700px;
  }
  .course_wrapper h2 {
    font-size: 2.8rem;
  }
  .course_wrapper .larger {
    margin-top: 2em;
  }
  .course_wrapper .contents {
    font-size: 1.7rem;
  }
  .course_wrapper .information {
    margin-top: 2em;
    font-size: 1.8rem;
 }
}





/* access */

.access {
  padding: 60px 25px;
  font-size: 1.6rem;
  scroll-margin-top: 30px;
}
.access h2 {
  font-size: 2.5rem;
}
.access dl {
  display: grid;
  grid-template-columns: 3em 1fr;
  margin-top: 20px;
}
.access dl dt {
  display: flex;
}
.access dl dt span {
  display: block;
  width: 2em;
}
.access dl dt::after {
  content: "：";
}
.access p {
  margin-top: 1em;
}
.access h3 {
  margin-top: 20px;
  font-size: 1.8rem;
}

.access .parking {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 30px;
}
.access .parking a {
  display: block;
  text-align: center;
  color: #0c4426;
  border: solid 2px #0c4426;
  padding: 0.6em 3em;
}

@media screen and (min-width: 768px), print {
  .access {
    width: 100%;
    max-width: 940px;
    font-size: 1.7rem;
    margin-inline: auto;
    padding: 100px 40px;
  }
  .access h2 {
    font-size: 2.8rem;
  }
  .access dl {
    margin-top: 30px;
  }
  .access p {
    margin-top: 2em;
  }
  .access h3 {
    margin-top: 30px;
    font-size: 2.2rem;
  }

  .access .parking {
    flex-direction: row;
    gap: 20px;
    margin-top: 40px;
  }
  .access .parking a {
    transition: color 0.3s ease, background-color 0.3s ease;
  }
  .access .parking a:hover {
    background: #0c4426;
    color: #fff;
  }
}





/* outline */

.outline {
  scroll-margin-top: 30px;
}
.outline-header {
  background: #fff;
}
.outline-header figure {
  width: 100%;
  aspect-ratio: 16 / 10;
}
.outline-header figure img {
  width:100%;
  height:100%;
  object-fit: cover;
}
.outline-header h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 3.0rem;
  line-height: 1;
  padding-block: 40px 50px;
}
.outline-header h1 .position {
  font-size: 1.6rem;
  margin-bottom: 1em;
  font-style: italic;
}
.outline-header h1 .roman {
  font-size: 1.6rem;
  margin-top: 0.5em;
}

.outline-2col {
  padding: 50px 25px 20px;
}
.outline-2col h2 {
  font-size: 2.5rem;
  margin-bottom: 1em;
}
.outline-2col li {
  font-size: 1.6rem;
}
.outline-2col h3 {
  font-size: 1.8rem;
  margin-block: 1em 0.5em;
  color: #06273a;
}
.outline-2col a {
  text-decoration: underline;
}

.concept {
  padding: 40px 25px;
  margin-top: 20px;
  background: #fff;
  scroll-margin-top: 30px;
}
.concept h2 {
  text-align: center;
}
.concept-header {
  text-align: center;
  margin-top: 1.5em;
}
.concept h3 {
  text-align: center;
  font-size: 1.8rem;
  color: #06273a;
  margin-top: 2em;
}
.concept-text {
  font-size: 1.6rem;
  text-align: justify;
  margin-top: 1em;
}

.approach {
  padding: 40px 25px;
  scroll-margin-top: 30px;
}
.approach h2 {
  text-align: center;
}
.approach p {
  font-size: 1.6rem;
  text-align: justify;
  margin-top: 2em;
}
.approach h3 {
  font-weight: normal;
  text-align: center;
  font-size: 1.8rem;
  color: #06273a;
  margin-top: 2em;
}
.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  margin-top: 20px;
}
.approach-grid > div {
  aspect-ratio: 4 / 5;
  overflow:hidden;
}
.approach-grid > div img {
  width:100%;
  height:100%;
  object-fit: cover;
}

.service {
  padding: 40px 25px;
}
.service h2 {
  text-align: center;
}
.service p {
  font-size: 1.6rem;
  text-align: justify;
  margin-top: 2em;
}
.service h3 {
  font-weight: normal;
  text-align: center;
  font-size: 1.8rem;
  color: #06273a;
  margin-top: 2em;
}


@media screen and (min-width: 768px), print {
  .outline-header {
    display: grid;
    grid-template-columns: 4fr 5fr;
    justify-content: center;
    width: 100%;
    max-width: 1920px;
    margin-inline: auto;
  }
  .outline-header h1 {
    justify-content: center;
    font-size: 4.0rem;
    padding-block: 0 20px;
  }
  .outline-header h1 .position {
    font-size: 1.8rem;
    margin-bottom: 1em;
  }
  .outline-header h1 .roman {
    font-size: 1.8rem;
    margin-top: 1em;
  }

  .outline-2col {
    width: 100%;
    max-width: 940px;
    margin: 100px auto 0;
    padding: 0 40px 30px;
    display: grid;
    grid-template-columns: 2.5fr 4.5fr;
    gap: 120px;
  }
  .outline-2col h2 {
    font-size: 3.2rem;
    margin-bottom: 0;
    text-align: right;
  }
  .outline-2col ul {
    margin-top: 0.5em;
  }
  .outline-2col li {
    font-size: 2rem;
  }
  .outline-2col li + li {
    margin-top: 1em;
  }
  .outline-2col h3 {
    font-size: 2.2rem;
    margin-block: 2em 1.0em;
  }

  .concept {
    width: 100%;
    max-width: 940px;
    padding: 0 40px;
    margin: 150px auto 0;
    background: transparent;
  }
  .concept h2 {
    font-size: 3.5rem;
  }
  .concept-header {
    font-size: 1.8rem;
    line-height: 2;
    margin-top: 2.5em;
  }
  .concept h3 {
    font-size: 2rem;
    margin-top: 3em;
  }
  .concept-text {
    font-size: 1.7rem;
    width: 100%;
    max-width: 800px;
    margin: 2em auto 0;
    line-height: 2;
  }

  .approach {
    width: 100%;
    max-width: 940px;
    padding: 0 40px;
    margin: 150px auto;
  }
  .approach h2 {
    font-size: 3.5rem;
  }
  .approach p {
    font-size: 1.7rem;
    width: 100%;
    max-width: 800px;
    margin: 2em auto 0;
    line-height: 2;
  }
  .approach h3 {
    font-size: 2.2rem;
    margin-top: 4em;
  }
  .approach-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 30px;
  }
  .approach-grid > div {
    aspect-ratio: auto;
    height: 400px;
  }
  .approach-grid .wide {
    grid-column: span 2;
  }
  .approach-grid > div img {
    transition: transform 0.4s ease, filter 0.4s ease;
  }
  .approach-grid > div img:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
  }

  .service {
    width: 100%;
    max-width: 940px;
    padding: 0 40px;
    margin: 150px auto;
  }
  .service h2 {
    font-size: 3.5rem;
  }
  .service p {
    font-size: 1.7rem;
    width: 100%;
    max-width: 800px;
    margin: 2em auto 0;
    line-height: 2;
  }
  .service h3 {
    font-size: 2.2rem;
    margin-top: 4em;
  }

}
