@charset "UTF-8";
/* CSS Document */
.header {
  height: 50px;
  background-color: #FFF;
  position: relative;
}
.header h1 {
  fout-size: 2rem;
  color: #333;
  position: absolute;
  width: 80px;
}
.header__navigation {
  display: none;
}
.header h1 img {
  width: 64px;
  height: 66;
}
.header nav ul {
  width: 100%;
}
.header nav li a {
  padding: 28px 0px 0px 30px;
}
.main {
  background-color: #FAFAFA;
  padding-bottom: 120px;
}
.section-top {
  background-color: #67360F;
  width: 100vw;
  height: 459px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 120px;
}
.section-top.slide1 {
  height: 459px;
  background-image: url("../img/aikidou3_photo.jpg");
}
.section-top.slide2 {
  height: 459px;
  background-image: url("../img/kamidana_photo.jpg");
  background-position: center;
}
.section-top.slide3 {
  height: 459px;
  background-image: url("../img/waza_photo.jpg");
  background-position: 56% 70%;
}
.section-doujyou {
  margin-bottom: 100px;
}
.section-flex {
  display: block;
  width: 100%;
}
.only-pc {
  display: none;
}
.only-sp {
  text-align: center;
  margin-bottom: 54px;
  font-size: 3rem;
  font-weight: 800;
}
.section-services__picture {
  object-fit: cover;
  object-position: 0% 0%;
}
.aiki__box {
  width: 100%;
  height: 324px
}
.waza-change {
  flex-direction: row-reverse;
}
.text__box {
  font-size: 1.5rem;
  display: block;
  line-height: 1.9;
  width: 100%;
  margin: 0px auto;
}
.text__box h2 {
  text-align: center;
  font-size: 4rem;
  margin: 0px auto 20px;
}
.section-sidouin h2 {
  padding-bottom: 10px;
  border-bottom: solid 6px #24308E;
  margin-bottom: 40px;
  width: 160px;
  margin: 0px auto;
  font-size: 3rem;
  text-align: center;
}
.minetoha p {
  line-height: 2;
}
.section-sidouin-syoukai {
  list-style: none;
  justify-content: center;
  margin-bottom: 60px;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0px 75px;
  text-align: center;
}
.section-sidouin-syoukai img {
  height: 300px;
  border-radius: 500px;
  margin: 60px auto 0px;
}
.section-sidouin-syoukai li h3 {
  margin: 10px 0 5px;
  font-size: 1.8rem;
  font-weight: 500;
  text-align: center;
}
.section-sidouin-syoukai a {
  text-align: center;
  display: block;
  text-decoration: none;
}
.aside-first {
  background-color: #EFF2FA;
  text-align: center;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.aside-first img {
  justify-content: space-around;
}
.aside-first a {
  display: inline-block;
}
.aside-second {
  background-color: #D9DEFF;
  height: 270px;
}
.aside-flex {
  width: 100%;
  display: block;
  line-height: 8;
}
.aside-box {
  text-align: center;
  width: 100%;
}
.aside-box a {
  display: inline-block;
}
.footer {
  height: 238px;
  padding: 2px 0px;
}
.footer__container {
  text-align: center;
  margin-top: 40px;
}
.footer__container img {
  width: 46px;
  height: 46px;
}
.footer__site-map ul {
  display: flex;
  justify-content: center;
  gap: 0px 42px;
  margin-top: 20px;
  font-size: 1.2rem;
}
.pagetop {
  position: absolute;
  right: 38px;
  bottom: 38px;
  padding: 0px 0px 0px 0px;
  border-width: 0px;
  width: 40px;
  height: 40px;
}
.footer small {
  clear: both;
  display: block;
  text-align: center;
  margin-top: 52px;
  font-size: 1rem;
}
.footer__site-map ul li {
  display: inline-block;
  width: 5em;
}
@media (max-width: 480px) {
  /* ハンバーガーアイコン */
  #nav-drawer {
    padding: 10px 24px 0 0;
    text-align: right;
    position: relative;
  }
  #nav-open {
    display: inline-block;
    vertical-align: middle;
    width: 24px;
    height: 16px;
  }
  #nav-open span, #nav-open span:before, #nav-open span:after {
    position: absolute;
    height: 2px;
    width: 25px;
    background-color: #777;
    display: block;
    content: "";
  }
  #nav-open span:before {
    bottom: -8px;
  }
  #nav-open span:after {
    bottom: -16px;
  }
  #nav-close {
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.5;
  }
  #nav-content {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 70%;
    height: 100%;
    background-color: #FFF;
    text-align: left;
    padding: 18px 0 0 24px;
    transform: translateX(-105%);
    transition: 0.3s ease-in-out;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.25);
  }
  .nav-drawer__title {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #24308E;
    margin-bottom: 46px;
  }
  .nav-drawer__title img {
    width: 32px;
    height: 30px;
  }
  .nav-drawer__link-top {
    display: block;
  }
  #nav-content ul li {
    margin-bottom: 12px;
  }
  #nav-content ul li a {
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 600;
    color: #24308E;
    padding-left: 1px;
  }
  #nav-input:checked ~ #nav-close {
    display: block;
  }
  #nav-input:checked ~ #nav-content {
    transform: translateX(0%);
  }
}
/*ここよりPC版*/
@media (min-width: 480px) {
  .header {
    height: 80px;
    background-color: #FFF;
    position: relative;
  }
  .header h1 {
    fout-size: 2rem;
    color: #333;
    position: absolute;
    width: 100px;
    padding-top: 16px;
  }
  .header h1 img {
    width: 64px;
    height: 66;
  }
  .header nav ul {
    padding: 0px 22px;
  }
  .header nav li a {
    padding: 28px 0px 0px 30px;
  }
  .top-nav {
    display: none;
  }
  .main {
    background-color: #FAFAFA;
    padding-bottom: 150px;
  }
  .section-top {
    background-color: #67360F;
    height: 459px;
    background-image: url("../img/aikidou3_photo.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 150px;
    position: relative;
  }
  .section-doujyou {
    margin-bottom: 120px;
  }
  .section-doujyou h2 {
    margin: 0px auto 10px;
  }
  .section-doujyou p {
    line-height: 1.9;
    font-size: 1.6rem;
  }
  .if-sp {
    display: none;
  }
  .section-flex {
    display: flex;
    width: 100%;
  }
  .section-services__picture {
    object-fit: cover;
    object-position: 0% 0%;
  }
  .aiki__box {
    width: 50%;
    height: 378px
  }
  .text__box {
    font-size: 1.5rem;
    display: block;
    line-height: 1.9;
    width: 50%;
    margin: 0px auto;
    margin-left: 80px;
  }
  .text__box h2 {
    text-align: center;
    font-size: 4rem;
    margin: 0px auto 20px;
  }
  .waza-change {
    flex-direction: row-reverse;
  }
  .aikidoutoha {
    margin-right: 80px;
    margin-left: 0px;
  }
  .only-sp {
    display: none;
  }
  .only-pc {
    text-align: center;
    margin-bottom: 90px;
    display: block;
  }
  .section-sidouin h2 {
    padding-bottom: 10px;
    border-bottom: solid 6px #24308E;
    margin-bottom: 40px;
    width: 156px;
    margin: 0px auto;
    text-align: center;
  }
  .minetoha p {
    line-height: 1.9;
  }
  .section-sidouin-syoukai {
    display: flex;
    list-style: none;
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0px 75px;
  }
  .section-sidouin-syoukai li h3 {
    margin: 10px 0 5px;
    font-size: 1.8rem;
    text-align: center;
  }
  .section-access__map {
    height: 330px;
  }
  .section-access__map iframe {
    width: 100%;
    height: 100%;
    border: solid 1px #333;
  }
  /*　バナー */
  .aside-first {
    background-color: #EFF2FA;
    text-align: center;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .aside-first img {
    justify-content: space-around;
  }
  .aside-first a {
    display: inline-block;
  }
  .aside-second {
    background-color: #D9DEFF;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .aside-flex {
    display: flex;
  }
  .aside-box {
    text-align: center;
    width: 50%;
  }
  .aside-box a {
    display: inline-block;
  }
  .footer {
    height: 360px;
  }
  .footer__container {
    text-align: center;
    margin-top: 66px;
  }
  .footer__container img {
    width: 90px;
    height: 88px;
  }
  .footer__site-map ul {
    display: flex;
    justify-content: center;
    gap: 0px 70px;
    margin-top: 50px;
    font-size: 2.4rem;
  }
  .pagetop {
    position: absolute;
    bottom: 40px;
    right: 78px;
  }
  .footer small {
    clear: both;
    display: block;
    text-align: center;
    margin-top: 66px;
    font-size: 1.2rem;
  }
  .footer__site-map ul li {
    display: inline-block;
    width: 5em;
  }
}
@media (max-width:1040px) {
  .section-top {
    height: 44vw;
  }
}
@media (max-width:768px) {
  .section-top {
    background-size: cover;
    background-position: 34% 50%;
    height: 88vw;
  }
}