@charset "utf-8";
/*
Theme Name: Takatsuki Ankyo Theme

*/

:root {
  --theme-color: #00ff7f;
  --light-theme-color:#E6FFF2;
  --black: #333333;
  --gray: rgba(112, 112, 112, 0.5);
  --theme-color-sub: #98FF98;
}

html {
  font-style: normal;
  font-size: 62.5%;
  overflow-x: hidden;
  color: #333333;
  position: relative;
  background-color: #F0F0F0;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;

}


img {
  max-width: 100%;
  width: auto;
  height: auto;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea {
  border: none;
  background-color: #F5F5F5;
  padding: 5px;
}

.wrapper {
  margin-left: auto;
  margin-right: auto;
}

.wrapper {
  max-width: 1200px;
  width: calc(100% - 60px);
}


.wrapper.min {
  max-width: 900px;
}


.clearfix::after {
  content: "";
  display: block;
  clear: both;
}


h1,h2,h3,h4,h5,h6,p,th,td,li,dt,dd {

}
h1,h2,h3,h4,h5,h6 {
  font-weight: bold;
  line-height: 1.2;
}
h1 {
  font-size: 4rem;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 2rem;
}

h4,h5,h6 {
  font-size: 1.8rem;
}

p,th,td,li,dt,dd {
  font-size: 1.6rem;
  line-height: 1.6;
}



a,button {
  cursor: pointer;
  cursor: hand;
}

a {

  transition: all 0.2s ease;
}


/* a:hover {
  opacity: 0.5;
} */

.slick-slide {
  margin: 0;
  padding: 0;
  line-height: 0;
}
.slick-slide img{
  vertical-align: bottom;
}

@media screen and (min-width: 701px){
  .sp {
    display: none !important;
  }
}

@media screen and (max-width: 700px){
  .pc {
    display: none !important;
  }
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.4rem;
  }
  
  h3 {
    font-size: 2rem;
  }
  
  h4,h5,h6 {
    font-size: 1.7rem;
  }
  
  p,th,td,li,dt,dd {
    font-size: 1.5rem;
    line-height: 1.6;
  }
  


}



/***共通***/
.link_btn a {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--theme-color);
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.3);
  font-size:  1.8rem;
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
  padding: 15px 10px;
  text-align: center;

}

@media screen and (max-width: 700px){
  .link_btn a {

    font-size:  1.5rem;

    padding: 10px 10px;

  
  }
}

/***ヘッダー***/
header {
  background-color: var(--theme-color-sub);
  padding: 5px 0;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

header .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;

}

header .header_logo .name {
  font-size: 2.6rem;
  font-weight: bold;
  margin-bottom: 2px;
}

header .info p {
  font-size: 1.4rem;
}

header .header_menu > ul > li > a i {
  margin-right: 6px;
}

.openbtn {
  display: none;
}
@media screen and (min-width: 801px){
  header .header_logo {
    margin-bottom: 5px;
  }

  header .header_menu > ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
  }
  header .header_menu > ul > li {
    padding: 10px 0;
    position: relative;
  }


  header .header_menu > ul > li:not(:last-of-type) {
    margin-right: 20px;
  }
  header .header_menu > ul > li > a {
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    text-align: center;
    line-height: 1;
    padding: 4px 0;
  }

  header .header_menu > ul > li > a > span {
    line-height: 1.2;
  }


  header .header_menu > ul > li > ul {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1;
    visibility: hidden;
    opacity: 0;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
  }

  header .header_menu > ul > li:hover > ul {
    visibility: visible;
    opacity: 1;
  }

  header .header_menu > ul > li > ul li a {
    background-color: white;
    display: block;
    padding: 10px 5px;
    text-align: center;
    min-width: max-content;
  }

  header .header_menu > ul > li > ul li a:hover {
    background-color: var(--theme-color);
  }

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

  .openbtn{
    position: relative;/*ボタン内側の基点となるためrelativeを指定*/
    cursor: pointer;
    width: 30px;
    height:20px;
    display: block;
    z-index: 2;
  }
  
  /*ボタン内側*/
  .openbtn span{
      display: inline-block;
      transition: all .4s;/*アニメーションの設定*/
      position: absolute;
      left: 0;
      height: 2px;
    background: var(--black);
      width: 100%;
    }
  
  .openbtn span:nth-of-type(1) {
    top:0px; 
  }
  
  .openbtn span:nth-of-type(2) {
    top:10px;
  }
  
  .openbtn span:nth-of-type(3) {
    top:20px;
  }
  
  /*activeクラスが付与されると線が回転して×に*/
  
  .openbtn.active span:nth-of-type(1) {
    top: 50%;
    left: 50%;
      transform: translate(-50%, -50%) rotate(-45deg);

  }
  
  .openbtn.active span:nth-of-type(2) {
    opacity: 0;/*真ん中の線は透過*/
  }
  
  .openbtn.active span:nth-of-type(3){
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);

  }


  header {
    padding: 0;
    min-height: 60px;
    display: flex;
    align-items: center;
    
  }


header .header_logo .name {
  font-size: 2.4rem;
  font-weight: bold;
  margin-bottom: 2px;
}

header .header_logo .ex {
  font-size: 1.2rem;
}


  header .right {
    position: fixed;
    top: 60px;
    left: 0;
    background-color: white;
    width: 100%;
    height: calc(100vh - 60px);
    display: none;
  }

  .header_menu > ul > li {
    padding: 10px 20px;
    border-bottom: 1px solid var(--gray);
  }
  .header_menu > ul > li.has_child {
    position: relative;
    padding-right: 30px;
  }

  .header_menu > ul > li.has_child::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 10px;
    right: 10px;
    transition: all 0.2s ease;
  }


  .header_menu > ul > li.has_child.on::after {
    transform: rotate(180deg);
  }
  .header_menu > ul > li br {
    display: none;
  }

  .header_menu > ul > li > ul {
    padding-left: 30px;
    display: none;
  }

  .header_menu > ul > li > ul li {
    padding: 5px 0;
  }



  .header_menu > ul > li > ul li a {
    position: relative;
    display: inline-block;
  }

  .header_menu > ul > li > ul li a::before {
    content: '-';

  }

  header .info {
    padding: 20px;
    text-align: center;
  }
  header .info p {
    font-size: 1.5rem;
  }
  
}




/***フッター***/
footer {
  padding: 60px 0 20px;
  background-color: var(--theme-color-sub);
}


.footer_top {
  display: flex; 
  flex-wrap: wrap;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 2px solid var(--gray);
}

.footer_top .logo {
  margin-right: 20px;
}

.footer_top .logo h2 {
  font-size: 3.3rem;
}
.footer_middle {
  margin-bottom: 20px;
}
.footer_middle ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}


.footer_middle ul li {
  margin: 0 15px 15px;
}


.footer_bottom {
  text-align: center;
}


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


  .footer_top {
    flex-direction: column;
    margin-bottom: 30px;
    padding-bottom: 30px;
    text-align: center;

  }
  .footer_top .logo {
    margin-bottom: 5px;
  }
  .footer_middle ul {
    justify-content: flex-start;
  }
  .footer_bottom p {
    font-size: 1.2rem;
  }
}