@charset "UTF-8";

/*base--------------------*/

body {
  font-family: "m-plus-2p", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  text-align:justify;
  text-justify: inter-ideograph;
  color: #333;
  background-color: #ffffff;
}

a{
    text-decoration: none!important;
}
    
h1 {
  font-size: 2.0em;
  font-weight: 800;
  margin: 20px auto;
  line-height: 1.2;
}
h2 {
  font-size: 1.0em;
 font-weight: 700;
  margin-top: -20px;
}
h3 {
    font-size: 0.8em;
     font-weight: 500;
    line-height: 1.1;
}
h4 {
    font-size: 1.2em;
    line-height: 1.1;
    margin-top: 10px;
}
h5 {
  font-size: 1.5em;
 font-weight: 500;
  margin-top: -20px;
}

h6 {
    font-size: 0.8em;
    font-weight: 200;
    line-height: 1.1;
}
p {
  font-size: 0.85em;
  margin: 15px auto;
}

.photo{
    width: 400px;
    height: 300px;
    padding: 10px;
    margin:10px;
    border:#000 solid 0px;
    float: left;    
}

img.eg, img.ko {
  width: 100%;
  height: auto;
}

.clearfix::after {
  content: " ";
  display: block;
  clear: both;
}
.fadein {
  opacity : 0;
  transform: translateY(30px);
  transition: all 1s;
}


ul{
    list-style-type: disc;
}

span{
    background: linear-gradient(to right,#F4B6D1,#F1CEE2,#D6EBFA);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size:100% 50%;
}

span2{
    background: linear-gradient(transparent 50%, #fff 20%);
}

header{
    display: flex;
    justify-content:space-between;
    flex-wrap: nowrap;
    background-color: #f3eff2;

}
/*ナビゲーション*/

.nav_box{
    font-size: 0.8em;
    width:20%;
    text-align: center;
    height: 35px;
    line-height: 30px;
    border-right: #fff solid 1px;
}
.nav_box a{
    text-decoration: none;
    color:#000;
}
.nav_box:hover{
    opacity: 30%;
}

.inside_box{
display:flex;
justify-content: center;
flex-wrap: wrap;
width:100%;
}

.youtube{
    width:100%;
    aspect-ratio: 16/9;
}

.youtube_2{
    width:100%;
}

.youtube iframe{
    width:100%;
    height:100%;
}
    
.button{
    text-align: center;
    vertical-align: middle;
    font-size: 1.5em;
    color: black;
    padding:20px;
    margin-right: 15px;
    margin-left: 15px;
    margin-bottom: 20px;
    width:200px;
    height:40px;
    background:linear-gradient(lightgreen,lightblue);
    border-radius: 5%;
    box-shadow: 5px 5px 5px gray;
}

.button_2{
    text-align: center;
    vertical-align: middle;
    font-size: 1.5em;
    color: white;
    padding:20px;
    margin-right: 15px;
    margin-left: 15px;
    width:200px;
    height:40px;
    background:linear-gradient(orange,lightpink);
    border-radius: 5%;
    box-shadow: 5px 5px 5px gray;
}

.banner:hover{
    opacity: 70%;
}

.snsbox{
    text-align: center;
    width:350px;
    height: 350px;
    border: solid 1px gray;
    background-color: white;
    padding: 15px;
    margin:10px;
    border-radius: 5%;
}

.snsbox2{
    text-align: center;
    font-size: 0.9em;
    vertical-align: bottom;
    background-color: white;
    width:350px;
    height: 270px;
    padding: 15px;
    margin:10px;
    border-radius: 3%;
}

.snsicon{
    width: 150px;
    padding-top: 50px;
    padding-left: 50px;
    height: 120px;
    margin-right: 30px;
}

/*ボタンにマウスオーバーで背景色が変わるよ*/
.button:hover{
    opacity: 70%;
}
.button_2:hover{
    opacity: 70%;
}

.syusyoku{
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 0;
}

/*トップ動画-------------------*/

#videotop{
    position: relative;
    height:inherit;
}

#video-area{
    position: fixed;
    z-index: -1;
    top:0;
    right:0;
    left:0;
    bottom:0;
    overflow:hidden;
}

#video{
    position: absolute;
    z-index: -1;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width: 177.777777778vh;
    height: 56.25vw;
    min-height: 100%;
    min-width: 100%;
    
}


/*ページトップボタン-------------------*/
#page_top{
  width: 50px;
  height: 50px;
  position: fixed;
  right: 25px;
  bottom: 50px;
  background: #5eb96f;
  opacity: 0.8;
  border-radius: 50%;

}
#page_top a{
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
  text-align: center;
}
#page_top a::before{
  font-family: "Font Awesome 5 Free";
  content: '\f106';
  font-weight: 900;
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: 0px;
  bottom: 10px;
  right: 0;
  left: 0;
  margin: auto;
}

#page_top:hover{
    opacity:30%;
}

/*テーブル-------------------*/
table{
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8em;
    table-layout: fixed;
}

table tr{
    border-bottom: solid 2px #eee;
}

table tr:last-child{
    border-bottom: none;
}



table th{
    position: relative;
    background-color: orange;
    border-right: solid 2px #eee;
    color:white;
    text-align: center;
    padding: 10px;
}

table td{
    border-right: solid 2px  #eee;
    background-color:white;
    text-align: left;
    padding: 10px 5px;
}

/*style(mobile ~480px)-------------------*/

.wrapper {
  width: 100%;
  height: auto;
  margin: 0 auto;
}
header {
  width: 100%;
  height: auto;
  padding-bottom: 0px;
}
header p {
  width: 90%;
  color: #333;
}
.tp_ht {
  display: none;
}
#header-image {
  width: 100%;
  height: auto;
}
.p_header,.t_header {
  display: none;
}
section.main {
  width: 100%;
  height: auto;
  background-color: #fff;
}
.contents {
  width: 100%;
  height: auto;
}
.contents img {
  display: block;
  width: 90%;
  height: auto;
  margin: 0 auto;
}
.a_box,.b_box {
  width: 90%;
  height: auto;
}

.c_box,.d_box {
  width: 90%;
  height: auto;
  margin: 0 auto;
}

.a2_box {
  width: 90%;
  height: auto;
  margin: 0 auto;
  padding: 0;
}

.e_box {
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 0;
}

.f_box {
  display:flex;
  justify-content: center;
  flex-wrap: wrap;
  width: auto;
  height: auto;
  margin: 0 auto;
  padding: 0;
}

.youtube{
    width:90%;
}

.g_box {
  display:flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: auto;
  height: auto;
  margin: 0 auto;
  padding: 0;
}

.h_box {
  display:flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding: 0;
}

.h_tm {
display:flex;
justify-content: center;
  padding: 30px 0;
}

.s_tm {
display:flex;
justify-content: center;
  padding: 20px 0;
}

.tm {
    display:flex;
justify-content: center;
  color: #333;
  padding: 30px 0;
  background: linear-gradient(to right,#F4B6D1,#F1CEE2,#D6EBFA);
}
.mgn {
  margin-left: 10%;
}
footer {
  width: 100%;
  height: auto;
  padding: 25px 0;
}
footer p {
  color: #000;
  text-align: center;
  font-size: 0.7em;
  margin: 0 auto;
  padding: 20px 0;
}

/*style(tablet 481px~640px)-------------------*/

@media only screen and (min-width: 481px) {

  header p {
    width: 82%;
  }
  .contents img {
    width: 80%;
  }

}

/*style(tablet/PC 641px~1280px)-------------------*/

@media only screen and (min-width: 641px) {

  p {
    font-size: 0.9em;
  }
  header p {
    width: 80%;
    padding-left: 5%;
  }
  .s_ht {
    display: none;
  }
  .tp_ht {
    display: block;
  }
  .s_header {
    display: none;
  }
  .t_header {
    display: block;
  }
  .a_box,.b_box {
    width: 80%;
    max-width: 900px;
    margin: 0 auto;
  }
  .a_box img {
    float: left;
    width: 40%;
  }
  .b_box img {
    float: right;
    width: 40%;
  }
  .e_box img {
    width: 100%;
  }
  .c_box {
    float: left;
    width: 50%;
    margin-left: 10%;
  }
  .d_box {
    float: left;
    width: 50%;
    margin-right: 10%;
  }
  .c_box h1,.d_box h1 {
    margin-top: 0;
  }

  .h_box img{
        width: 100%;
    }

}

/*style(PC 801px~)-------------------*/

@media only screen and (min-width: 801px) {

  h1 {
    font-size: 1.6em;
  }
  p {
    font-size: 1.2em;
  }
  #header-image {
    max-width: 1600px;
    margin: 0 auto;
  }

}

/*style(PC 960px~)-------------------*/

@media only screen and (min-width: 960px) {

  header p {
    padding-left: 20%;
  }
  .t_header {
    display: none;
  }
  .p_header {
    display: block;
  }

}
