@charset "UTF-8";

.foot_contact {
  margin-top: 0;
}

.contents {
  padding: 80px 0 ;
}

.mainTtl {
  font-size: 40px;
  text-align: center;
  margin-bottom: 30px;
}

.mainTtl_en {
  font-size: 14px;
  margin-bottom: 20px;
  text-align: center;
  letter-spacing: 0.2em;
}

.mainCopy {
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 100px;
}

h5.kei {
  font-size: 30px;
  margin-bottom: 30px;
}

.kei {
display: flex;
align-items: center;
justify-content: center;
}
.kei:before, .kei:after {
border-top: 1px solid;
content: "";
width: 3em;
}
.kei:before {
margin-right: 1em;
}
.kei:after {
margin-left: 1em;
}



/*タブ切り替え全体のスタイル*/
.tabs {
    width: 1000px;
    max-width: 90%;
    margin: 0 auto 50px;
}

/*タブのスタイル*/
.tab_item {
    width: calc(100% / 3);
    border: 1px solid #9a8f5a;
    border-bottom: 4px solid #9a8f5a;
    background-color: #fff;
    line-height: 1.2;
    font-size: 16px;
    text-align: center;
    color: #565656;
    display: block;
    float: left;
    text-align: center;
    font-weight: bold;
    transition: all 0.2s ease;
    cursor: pointer;
    padding: 6px 0px;
    font-family: 'EB Garamond', serif;
    box-sizing: border-box;
}

.tab_item img {
max-width: 220px;
margin: 0 auto;
}

.tab_item:hover {
    opacity: 0.75;
}
.tab_item {
  font-size: 20px;
}
.tab_item strong {
    font-size: 180%;
  font-weight: normal;
    line-height: 1.4;
}

.tab_item strong.garamond {
    font-size: 30px;
    font-family: 'EB Garamond', serif;
}

.tab_item span {
    border: 1px solid;
    padding: 0px 6px;
    font-size: 13px;
    margin-left: 5px;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
    display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
    display: none;
    padding: 40px 0;
    clear: both;
    background: #fff;
    overflow: hidden;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  border: 5px solid #9a8f5a;
  border-top: none;
}


/*選択されているタブのコンテンツのみを表示*/
#tab01:checked~#tab01_content,
#tab02:checked~#tab02_content,
#tab03:checked~#tab03_content,
#tab04:checked~#tab04_content,
#tab05:checked~#tab05_content {
    display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked+.tab_item {
    background-color: #9a8f5a;
    color: #fff;
}

.tabs input:checked+.tab_item img {
    filter: brightness(5);
}

.zumen_a {
  width: 456px;
  max-width: 90%;
  margin: 020px auto 50px;
}

.zumen_b {
  width: 519px;
  max-width: 90%;
  margin: 020px auto 50px;
}

.zumen_c {
  width: 744px;
  max-width: 90%;
  margin: 020px auto 50px;
}

.madori_ttl {
  width: 80%;
  display: flex;
  justify-content: center;
  gap:4%;
  margin: 0 auto 30px;
}
.madori_ttl h4 {
  width: 200px;
  max-width: 100%;
  padding: 20px 0;
  font-size: 30px;
  text-align: center;
  color: #fff;
  background: url(../../common/img/bg.jpg) no-repeat;
  background-size: 1000px;
  background-position: center top;
  font-style: italic;
  display: flex;
  justify-content: center;
  align-items: center;
}
.madori_ttl h4 strong {
  font-size: 180%;
  font-weight: normal;
}
.madori_ttl > div {
  width: fit-content;
}
.madori_ttl > div p {
  font-size: 15px;
  margin-bottom: 7px;
}
.madori_ttl > div p strong {
  font-size: 180%;
  font-weight: normal;
}

.hanrei {
  width: 200px;
  max-width: 80%;
  margin: 0 auto;
}


@media only screen and (max-width: 768px) {
  
  .contents {
    margin-top: 0px;
  }
  
  
  .mainTtl {
    font-size: 25px;
  }
  .mainTtl_en {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .mainCopy {
    max-width: 90%;
    margin: 0 auto 50px;
    font-size: 14px;
  }
  
  h5.kei {
    font-size: 20px;
  }
  
  .madori_ttl {
    flex-wrap: wrap;
  }
  .madori_ttl h4 {
    width: 100%;
    padding: 10px 0;
    margin-bottom: 20px;
    font-size: 20px;
    letter-spacing: 0.1em;
  }
  .madori_ttl > div p {
    font-size: 12px;
  }
  
  
  .tab_content {
    padding: 20px 0;
  }
  .tab_item {
    font-size: 16px;
  }
  
  .zumen_a,
  .zumen_b,
  .zumen_c {
    max-width: 85%;
    margin: 10px auto 30px;
  }

}