@charset "UTF-8";

:root { /* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
    --base-color: #000;
    --link-color: #666;
    --linkhover-color: #999;
    --back-color: #f7f7f7;
    --border-color: #ccc;
    --white-color: #fff;
}

img{
	max-width:100%;
	height: auto;/*高さ自動*/
}
a{
    display:block;
    color: var(--link-color);
    text-decoration-line: none;
}
a:hover { 
    color: var(--linkhover-color);
}

/*ヘッダー
-------------------------------------*/
.header{
	display: flex;
    flex-direction: row;
    padding: 2rem 0 0 0;
}
.header-box{
	margin-left: auto;
	margin-top: 8px;
}
.contact-button{
	padding: 1rem;
	border: 2px solid var(--base-color);
}
nav ul{
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin: 1rem 0 0 0;
}
nav li {
	flex: 1 0 auto;
}
nav li a{
    text-decoration: none;
    text-align: center;
    width: 100%;
}
nav a:hover {
    background-color: var(--back-color);   
}
nav a{
    padding: 0.5rem;
}

@media screen and (min-width: 769px){
/* PC時はMENUボタンを非表示 */
#open,#close{
    display: none !important;
}

#navi{
    display: block !important;
}
}

@media screen and (max-width: 768px){
.header{
	flex-direction: column;
    margin-bottom: 10px;
}
.header #open,#close{
    position: absolute;
    top: 20px;
    right: 12px;
}
nav ul {
	flex-direction: column;
}
.header li{
	padding-top: 0;
}
/* スマホ時はMENUボタンを表示 */
#open{
    display: block;
    background: url(../img/button.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
#close{
    display: block;
    background: url(../img/button2.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi{
    display: none;
}
}
    
/*メイン画像
-------------------------------------*/
.mainimg img{
	width: 98%;
	max-width: 900px;
}
@media (max-width: 674px) {
.mainimg img{
	width: 98%;
      }
}


/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.sp { display: none !important; }
 
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 750px) {
    .pc { display: none !important; }
    .sp { display: block !important; }
}



画像のサイズの指定
-------------------------------------*/

.size65ver img{
	width: 65%;
	max-width: 950px;
}
@media (max-width: 674px) {
.size65ver img{
	width: 92%;
      }
}




.size70ver img{
	width: 70%;
	max-width: 850px;
}
@media (max-width: 674px) {
.size70ver img{
	width: 80%;
      }
}




.size50ver img{
	width: 50%;
	max-width: 850px;
}
@media (max-width: 674px) {
.size50ver img{
	width: 80%;
      }
}




.per78 img{
	width: 78%;
	max-width: 882px;
}
@media (max-width: 674px) {
.per78 img{
	width: 86%;
      }
}



.per55 img{
	width: 60%;
	max-width: 870px;
}
@media (max-width: 674px) {
.per55 img{
	width: 88%;
      }
}





.per50 img{
	width: 50%;
	max-width: 700px;
}
@media (max-width: 674px) {
.per50 img{
	width: 85%;
      }
}



.per40 img{
	width: 40%;
	max-width: 300px;
}
@media (max-width: 674px) {
.per40 img{
	width: 36%;
      }
}






.animation{
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-duration: 1.2s;
  width: 222px;
  padding: 1px 0px 1px 0;
}

.keyframe1{
  animation-name: anim_v;
}

@keyframes anim_v {
  0% {
    transform: translate(0, 0px);
  }
  100% {
    transform: translate(0, 0.3rem);
  }
}


.animation2{
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-duration: 1.2s;
  width: 540px;
  padding: 1px 0px 1px 0;
}



.animation3{
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-duration: 1.2s;
  width: 50%;
  max-width: 850px;
  padding: 1px 0px 1px 0;
}
@media (max-width: 674px) {
.animation3{
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-duration: 1.2s;
  width: 90%;
      }
}




枠のサイズの指定
-------------------------------------*/


.box0001{
  max-width: 300px;
  max-height: 200px;
  background-color: #222222; /* 背景色を指定しています。 */
 }



.bx0001{
  max-width: 1200px;
  height : 367px;
  background-color: #222222;
}



.max-width {
  width: 96%;/*親要素小さめ*/
  background:white;
}
.max-width .nomin {/*最大幅なし*/
  background: white;
  width: 80%
}
.max-width .min {/*最大幅あり*/
  background:white;
  width: 99%;
  max-width: 900px
}


.max-width2 {
  width: 100%;/*親要素小さめ*/
  background:white;
}
.max-width2 .nomin {/*最大幅なし*/
  background: white;
  width: 100%
}
.max-width2 .min2 {/*最大幅あり*/
  background:white;
  width: 100%;
  max-width: 1160px
}



.max-width3 {
  width: 90%;/*親要素小さめ*/
  background:white;
}
.max-width3 .nomin {/*最大幅なし*/
  background: white;
  width: 80%
}
.max-width3 .min3 {/*最大幅あり*/
  background:white;
  width: 80%;
  max-width: 500px
}



.max-width4 {
  width: 90%;/*親要素小さめ*/
  background:white;
}
.max-width4 .nomin {/*最大幅なし*/
  background: white;
  width: 80%
}
.max-width4 .min4 {/*最大幅あり*/
  background:white;
  width: 94;
  max-width: 600px
}





文字のサイズの指定
-------------------------------------*/

.mojisize0001{
  font-size: 15px;
  font-size: clamp(18px,8vw,25px);
  font-family: 'AR Pゴシック体S';
}
@media (max-width: 867px) {
.mojisize0001{
  font-size: 11px;
  font-size: clamp(11px,4vw,15px);
  font-family: 'AR Pゴシック体S';
      }
}




.mojisize0002{
  font-size: 15px;
  font-size: clamp(18px,8vw,25px);
  font-family: 'AR Pゴシック体S';
}
@media (max-width: 867px) {
.mojisize0002{
  font-size: 11px;
  font-size: clamp(11px,4vw,15px);
  font-family: 'AR Pゴシック体S';
      }
}


.mojisize0003{
  font-size: 14px;
  font-size: clamp(15px,7vw,20px);
  font-family: 'メイリオ';
}
@media (max-width: 867px) {
.mojisize0003{
  font-size: 11px;
  font-size: clamp(15px,5.2vw,21px);
  font-family: 'メイリオ';
      }
}



.mojisize0004{
  font-size: 16px;
  font-size: clamp(18px,8vw,25px);
  font-family: 'メイリオ';
}
@media (max-width: 867px) {
.mojisize0004{
  font-size: 12px;
  font-size: clamp(17px,5.8vw,24px);
  font-family: 'メイリオ';
      }
}



.mojisize0005{
  font-size: 18px;
  font-size: clamp(20px,8vw,28px);
  font-family: 'ＤＨＰ平成ゴシックW5';
}
@media (max-width: 867px) {
.mojisize0005{
  font-size: 13px;
  font-size: clamp(17px,5.8vw,24px);
  font-family: 'ＤＨＰ平成ゴシックW5';
      }
}




.mojisize0006{
  font-size: 18px;
  font-size: clamp(32px,12vw,41px);
  font-family: 'ＤＨＰ平成ゴシックW5';
}
@media (max-width: 867px) {
.mojisize0006{
  font-size: 17px;
  font-size: clamp(28px,9vw,34px);
  font-family: 'ＤＨＰ平成ゴシックW5';
      }
}



.mojisize0007{
  font-size: 12px;
  font-size: clamp(10px,4vw,13px);
  font-family: 'メイリオ';
}
@media (max-width: 867px) {
.mojisize0007{
  font-size: 9px;
  font-size: clamp(9px,4vw,12px);
  font-family: 'メイリオ';
      }
}



.mojisize0008{
  font-size: 18px;
  font-size: clamp(20px,11vw,32px);
  font-family: 'ＤＨＰ平成ゴシックW5';
}
@media (max-width: 867px) {
.mojisize0008{
  font-size: 14px;
  font-size: clamp(17px,6vw,27px);
  font-family: 'ＤＨＰ平成ゴシックW5';
      }
}




/*見出しの指定
-------------------------------------*/

h2a{
  padding: 1rem 2rem;
  background: #FFFFFF;
  max-width: 900px;
  margin: 30% 30%;
}


h2{
  padding: 1rem 2rem;
  border-top: 6px double #FFFFFF;
  border-bottom: 6px double #FFFFFF;
}



h3 {
  color: #010079;
  text-shadow: 0 0 5px white;
  padding: 0.8em;/*文字周りの余白*/
  border-left: solid 7px #010079;
  background: -webkit-repeating-linear-gradient(-45deg, #cce7ff, #cce7ff 3px,#e9f4ff 3px, #e9f4ff 7px);
  background: repeating-linear-gradient(-45deg, #cce7ff, #cce7ff 3px,#e9f4ff 3px, #e9f4ff 7px);
  max-width: 1160px;
}



h4 {
  position: relative;
  padding: 0.9em 0.2em;
  border-top: solid 2px black;
  border-bottom: solid 2px black;
  max-width: 1160px;
  margin: 0 auto;
}
h4:before, h4:after {
  content: '';
  position: absolute;
  top: -7px;
  width: 2px;
  height: -webkit-calc(100% + 14px);
  height: calc(100% + 14px);
  background-color: black;
}
h4:before {
  left: 7px;
}
h4:after {
  right: 7px;
}




h5 {
  position: relative;
  border-top: solid 2px #80c8d1;
  border-bottom: solid 2px #80c8d1;
  background: #f4f4f4;
  line-height: 1.4;
  padding: 1em 1em;
  margin: 2em 0 0.5em;
  max-width: 1160px;
}

h5:after {
  /*タブ*/
  position: absolute;
  font-family: "Font Awesome 5 Free",'Quicksand','Avenir','Arial',sans-serif;
  font-weight: 900;
  content: '\f0a7\ POINT';
  background: #80c8d1;
  color: #fff;
  left: 0px;
  bottom: 100%;
  border-radius: 5px 5px 0 0;
  padding: 5px 7px 3px;
  font-size: 0.7em;
  line-height: 1;
  letter-spacing: 0.05em;
}




/*表の指定
-------------------------------------*/

th,td{
    border: solid 1px;          /* 枠線指定 */
    padding: 2px;      /* 余白指定 */
}

table{
    border-collapse:  collapse; /* セルの線を重ねる */
    max-width: 980px;               /* 幅指定 */
}
@media (max-width: 680px) {
table{
    border-collapse:  collapse; /* セルの線を重ねる */
    max-width: 99%;               /* 幅指定 */
      }
}

th{
    width:  4%;              /* 幅指定 */
    color:  #262626;               /* 文字色指定 */
    text-align: center;           /* 文字の揃え位置指定 */
}

td{
    width:  300px;             /* 幅指定 */
    color:  #262626;               /* 文字色指定 */
    text-align:  center;        /* 文字の揃え位置指定 */
}


/*--------------------
 吹き出しを作る
--------------------*/
.balloon {
margin-bottom: 2em;
position: relative;
}
.balloon:before,.balloon:after {
clear: both;
content: "";
display: block;
}
.balloon figure {
width: 60px;
height: 60px;
}
.balloon-image-left {
float: left;
margin-right: 20px;
}
.balloon-image-right {
float: right;
margin-left: 20px;
}
.balloon figure img {
width: 100%;
height: 100%;
border: 1px solid #aaa;
border-radius: 50%;
margin: 0;
}
.balloon-image-description {
padding: 5px 0 0;
font-size: 10px;
text-align: center;
}
.balloon-text-right,.balloon-text-left {
position: relative;
padding: 10px;
border: 1px solid;
border-radius: 10px;
max-width: -webkit-calc(100% - 120px);
max-width: calc(100% - 120px);
display: inline-block;
}
.balloon-text-right {
border-color: #aaa;
}
.balloon-text-left {
border-color: #aaa;
}
.balloon-text-right {
float: left;
}
.balloon-text-left {
float: right;
}
.balloon p {
margin: 0 0 20px;
}
.balloon p:last-child {
margin-bottom: 0;
}
/* 三角部分 */
.balloon-text-right:before {
position: absolute;
content: '';
border: 10px solid transparent;
border-right: 10px solid #aaa;
top: 15px;
left: -20px;
}
.balloon-text-right:after {
position: absolute;
content: '';
border: 10px solid transparent;
border-right: 10px solid #fff;
top: 15px;
left: -19px;
}
.balloon-text-left:before {
position: absolute;
content: '';
border: 10px solid transparent;
border-left: 10px solid #aaa;
top: 15px;
right: -20px;
}
.balloon-text-left:after {
position: absolute;
content: '';
border: 10px solid transparent;
border-left: 10px solid #fff;
top: 15px;
right: -19px;
}



吹き出し②

/*吹き出し*/
.balloon_l,
.balloon_r{
  margin: 30px 0;
  display:flex;
  justify-content: flex-start;
  align-items: flex-start; /*縦位置を上揃え*/
/*   align-items: center; */ /*縦位置を真ん中揃え*/
}
.balloon_r{
  justify-content:flex-end;
}
.faceicon img{
  width: 80px; /*任意のサイズ*/
  height: auto;
}
.balloon_r .faceicon{
  margin-left:25px;
}
.balloon_l .faceicon{
  margin-right:25px;
}
.balloon_r .faceicon{
  order:2 !important;
}
.says {
  max-width:500px; /*最大幅は任意*/
  display: flex;
  flex-wrap: wrap;
  position: relative;
  padding: 17px 13px 15px 18px;
  border-radius: 12px;
  background: #99dddd;/*色は任意*/
  box-sizing:border-box;
  margin:0 !important;
  line-height:1.5;
/*   align-items: center; */
}
.says p{
  margin:8px 0 0 !important; 
}
.says p:first-child{
  margin-top:0 !important;
}
.says:after {
  content: "";
  position: absolute;
  border: 10px solid transparent;
/*   margin-top:-3px;  */
}
.balloon_l .says:after {
  left: -26px;
  border-right: 22px solid #99dddd;
}
.balloon_r .says:after {
  right: -26px;
  border-left: 22px solid #99dddd;
}





ボックス
-------------------------------------*/

.box14{
    padding: 0.2em 0.5em;
    margin: 2em 0;
    background: #d6ebff;
    box-shadow: 0px 0px 0px 10px #d6ebff;
    border: dashed 2px white;
}
.box14 p {
    margin: 0; 
    padding: 0;
}







.box13 {
    max-width: 780px;              /* 幅指定 */
    padding: 20px 48px 10px 48px;
    border: 2px solid #5e5e5e;
    border-radius: 8px;
    margin: 0 auto;
    background: #f5f5f5;
}
@media (max-width: 674px) {
.box13 {
    max-width: 99%;              /* 幅指定 */
    padding: 27px 21px 0px 21px;
    border: 2px solid #5e5e5e;
    border-radius: 6px;
    background: #f5f5f5;
      }
}









/*メインコンテンツ
-------------------------------------*/
main{
    margin: 5rem 0 0 0;
}
section{
	margin: 5rem 0;
	padding: 3rem 0;
}
.gray-back {
	background-color: var(--back-color);
}

/*キャッチコピー
-------------------------------------*/
.catch{
    text-align: center;
}
.catch h2{
    padding-bottom: 1rem;
}
.under{
    padding: 1rem;
}
.center{
	text-align: center;
	margin-bottom: 4rem;
}

/*申し込みの流れ
-------------------------------------*/
.flow.row{
	margin-bottom: 3rem;
}

/*フッター
-------------------------------------*/
footer{
    background-color: var(--back-color); 
    padding: 5rem 0;
}
footer h4 {
    border-bottom: 3px solid var(--border-color);
}

/*お問い合わせ
-------------------------------------*/
.contact-box{
	border: 1px solid var(--border-color);
	text-align: center;
	padding: 2rem 0;
}
.table{
	margin: 4rem 0;
}
.table th{
	width: 250px;
}

/*コピーライト
-------------------------------------*/
.copyright{
    text-align: center;
    padding: 1rem 0;
    background-color: var(--base-color);
}
.copyright a{
    color: var(--white-color);
    text-decoration: none;
	display: inline;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop{
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a{
    display: block;
    background-color: var(--base-color);
    color: var(--white-color);
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background-color: var(--link-color);
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){
	
/*ヘッダー
-------------------------------------*/
.header-box{
	display: none;
}	
/*お問い合わせ
-------------------------------------*/
.table th{
	width: 100%;
	display: block;
}	
.table td{
	display: block;
}
}