
:root {
  --brand-color: #3A97D9;
  --sub-brand-color: #82B64A;
  --third-brand-color: #4C7324;
  --brown-color: #860F0F;
  --back-color: #E2F2F5;
  --section-margin:120px;
  --base-font-size:1.6rem;
}
@media screen and (min-width: 751px) {
  :root {
    --section-margin:120px;
  }
}
@media screen and (max-width: 750px) {
  :root {
    --section-margin:60px;
  }
}
html {
  font-size: 10px; /* 1rem = 10px に設定 */;
  letter-spacing: 0.1rem;
  scroll-padding: 150px;
  scroll-behavior: smooth;
  font-family: "Yu Gothic", "游ゴシック", "YuGothic", sans-serif;
}

body{
  font-size: 1.6rem;

}
main{
  position: relative;
  overflow-x: hidden
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(50px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}
.gray{
  color: rgba(0, 0, 0, 0.4);
}
.blue{
  color: rgba(0, 140, 175, 0.4);
}
input:-webkit-autofill
{
  /* 色はinput要素の背景色（ここでは#fff）にそろえる */
  box-shadow: 0 0 0px 999px #fff inset;
}
input {
	border-radius:5px;
	-webkit-box-sizing: content-box;
	-webkit-appearance: button;
	appearance: button;
	border: none;
	box-sizing: border-box;
	cursor: pointer;

  border: 1px solid #CCC;
	border-radius:5px;
	padding:10px;
	width:100%
}

textarea {
	border-radius:5px;
	-webkit-box-sizing: content-box;
	-webkit-appearance: button;
	appearance: button;
	border: none;
	box-sizing: border-box;
	cursor: pointer;

  border: 1px solid #CCC;
	border-radius:5px;
	padding:10px;
	width:100%
}
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.zoom_hidden{
  position:relative;overflow: hidden;
}
.zoom-in-section {
  opacity: 0.6;
  transform: scale(1.2); /* 初期状態を拡大 */
  transition: opacity 1.0s ease-out, transform 1.0s ease-out;
  
}

.zoom-in-section.is-visible {
  opacity: 1;
  transform: scale(1); /* 通常のサイズに戻す */
}
.btn_wrap{
  width:100%;
  text-align: center;
}
.more_btn{
  width: auto;
  position: relative;
  font-size:1.8rem;
  padding: 2rem 6rem;
  font-weight: 500;
  display: inline-block;
  text-align: center;
  background-color: var(--brand-color);
  font-family: "Josefin Sans", serif;
  color: #FFF;
}

a{
  color: #000;
  font-size:1.6rem;
  transition: opacity 0.5s
}
a:hover{
  opacity: 0.8;
}
p{
  font-size:1.6rem;
  line-height: 180%;
  margin-bottom:1.8rem
}
p:last-of-type{
  margin-bottom:0!important
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap:10px;
  padding: 40px 0;
}
span.page-numbers.current {
  padding: 10px;
  background: var(--sub-brand-color);
  color: #FFF;
border: 1px solid var(--sub-brand-color);
}

a.page-numbers{
  padding: 10px;
  background: #FFF;
  color: var(--sub-brand-color);
border: 1px solid var(--sub-brand-color);
}






@media screen and (min-width: 751px) {
  .main_wrap{
    max-width: 1400px;
    min-width: 1000px;
    margin: auto;
    padding:0 2%;
  }
  .sub_main_wrap{
    width: 1000px!important;
    margin: auto;
    padding:0 2%;
  }
  .sub_main_wrap h2 {
      padding-bottom: calc(var(--section-margin) / 3);
  }
  .moca_sp{display: none!important;}
  .moca_pc{display: block;}
  h2.title{
    width: 100%;
   font-size: 4.0rem;
   font-weight: 700;
   color:var(--brand-color);
   text-align: center;
   margin:0 0 20px
  }

  h3.title{
    width: 100%;
    font-size: 2.4rem;
    text-align: center;
    color:#000;
    margin:0 0 calc(var(--section-margin) / 2)
  }
  ul.thumb_list{
    width:100%;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin: 0 auto calc(var(--section-margin) / 2);
  }
  
  ul.thumb_list li{
    width:calc((100% - 40px) / 2);
    position: relative;
    line-height: 0;
  }
  ul.thumb_list li img.thumb{
    line-height: 0;
  }
  ul.thumb_list li .title{
    width:100%;
    display: flex;
    flex-wrap: wrap;
    background-color: #FFF;
  }
  ul.thumb_list li .title h3{
    width:calc(100% - 64px);
    padding:20px 20px;
    line-height: 140%;
    font-weight: 500;
  
  }
  ul.thumb_list li .title img.arrow{
    width:64px;
  }
  .video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    width:90%;
    margin:0 5%;
  }
  
  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .vertical-line {
    position: absolute;
    left: 180px; /* 左から20%の位置 */
    top: 0;
    width: 1px; /* 線の幅 */
    height: 100%; /* 高さを100%に設定 */
    background-color: #B6B6B6; 
  }
  .vertical-line_2 {
    position: absolute;
    right: 180px; /* 左から20%の位置 */
    top: 0;
    width: 1px; /* 線の幅 */
    height: 100%; /* 高さを100%に設定 */
    background-color: #B6B6B6; 
  }
  .wide_title {
    width: 100%; /* ビューポート全体の幅 */
    border-bottom: 1px solid #B6B6B6;
    padding-bottom: 30px;
    position: relative; /* 中央揃えのために必要 */
    left: 50%; /* ビューポートの中央に移動 */
    transform: translateX(-50%); /* 中央揃え */
    margin-bottom: 30px;
    box-sizing: border-box; 
  }
  .wide_title .main_wrap{
    width:100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .wide_title .num{
    width:100px;
    font-size:4.8rem;
    font-family: "Josefin Sans", serif;
    
  }
  .wide_title h2{
    width:calc(100% - 100px - 200px);
    padding:0 10%;
    font-size:4.8rem;
  }
  .wide_title h3{
    width:200px;
    font-size:4.8rem;
    font-family: "Josefin Sans", serif;
  }
  .sub_head_title{
    width: 90%;
  margin: -150px 5% 0;
  background: #FFF;
  padding: 60px 20px;
  z-index: 1;
  position: relative;
  box-sizing: border-box;
  }
  .sub_head_title h1{
    font-size: 4.8rem;
    font-weight: 700;
    color:#000;
    margin-bottom: 20px;
    text-align: center;
  }
  .sub_head_title h1 span{
    color:var(--brand-color);
  }
  .sub_head_title p{
    font-size: 1.6rem;
    color:#000;
    font-weight: 700;
    text-align: center;
  }
  .fsc_wrap{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin:60px 0;
    gap: 20px;
  }
  .fsc_wrap img{
    width: 100px;
    height: 100px;
  }
  .fsc_wrap p{
    font-size: 1.6rem;
    color:#000;
    font-weight: 700;
    text-align: left;
  }
  .sub_main{
    padding-bottom: var(--section-margin);
  }
  .caption{
    width:800px;
    
    margin:0 auto var(--section-margin);
  }
  .caption h2{
    font-size:3.2rem;
    text-align: center;
    font-weight:bold;
    margin-bottom:calc(var(--section-margin) / 2);
  }
  .caption p{
    font-size:1.8rem;
  }
  
}
@media screen and (max-width: 750px) {
  .main_wrap{
    width: 100%;
    padding: 0 4%;
  }

  .moca_sp{display: block;}
  .moca_pc{display: none!important;}
  h2.title{
    width: 100%;
   font-size: 2.4rem;
   font-weight: 700;
   color:var(--brand-color);
   text-align: center;
   margin:0 0 20px
  }

  h3.title{
    width: 100%;
    font-size: 1.8rem;
    text-align: center;
    color:#000;
    margin:0 0 calc(var(--section-margin) / 2)
  }
  .video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    width:100%;
    margin:0;
  }
  
  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .vertical-line {
    position: absolute;
    left: 40px; /* 左から20%の位置 */
    top: 0;
    width: 1px; /* 線の幅 */
    height: 100%; /* 高さを100%に設定 */
    background-color: #e6e5e5; 
  }
  .vertical-line_2 {
    position: absolute;
    right: 40px; /* 左から20%の位置 */
    top: 0;
    width: 1px; /* 線の幅 */
    height: 100%; /* 高さを100%に設定 */
    background-color: #e6e5e5; 
  }
  .wide_title {
    width: 100%;
    border-bottom: 1px solid #B6B6B6;
    padding-bottom: 30px;
    position: relative; /* 中央揃えのために必要 */
    left: 50%; /* ビューポートの中央に移動 */
    transform: translateX(-50%); /* 中央揃え */
    margin-bottom: 30px;
    box-sizing: border-box; 
  }
  .wide_title .main_wrap{
    width:100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .wide_title .num{
    width:100%;
    font-size:3.0rem;
    font-family: "Josefin Sans", serif;
    
  }
  .wide_title h2{
    width:calc(100%);
    padding:0;
    font-size:3.2rem;
    line-height: 140%;
  }
  .wide_title h3 {
    width: 100%;
    font-size: 3.2rem;
    font-family: "Josefin Sans", serif;
    text-align: right;
  }
  .sub_head_title{
    width: 100%;
        margin: 0;
        background: #FFF;
        padding: 30px 20px;
        z-index: 1;
        position: relative;
        box-sizing: border-box;
  }
  .sub_head_title h1{
    font-size: 2.4rem;
    font-weight: 700;
    color:#000;
    margin-bottom: 20px;
    text-align: center;
  }
  .sub_head_title h1 span{
    color:var(--brand-color);
  }
  .sub_head_title p{
    font-size: 1.6rem;
    color:#000;
    font-weight: 700;
    text-align: center;
  }
  .fsc_wrap{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin:60px 0;
    gap: 20px;
  }
  .fsc_wrap img{
    width: 100px;
    height: 100px;
  }
  .fsc_wrap p{
    font-size: 1.6rem;
    color:#000;
    font-weight: 700;
    text-align: left;
  }
  .sub_main{
    padding-bottom: var(--section-margin);
  }
  .caption{
    width:100%;
    padding:0 4%;
    margin:0 auto var(--section-margin);
    box-sizing: border-box;
  }
  .caption h2{
    font-size:1.8rem;
    text-align: center;
    font-weight:bold;
    margin-bottom:calc(var(--section-margin) / 2);
  }
  .caption p{
    font-size:1.4rem;
  }
  
  p{
  font-size:1.4rem;
}
  
}

