@charset "utf-8";
* {
   box-sizing: border-box;
}

body {
   margin: 0;
   padding: 0;
   font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", メイリオ, Meiryo, "ＭＳ Ｐゴシック", "Helvetica Neue", Helvetica, Arial, sans-serif;
   background-color: #f5f5dc;
}


/*headerここから*/

header {
   display: flex;
   justify-content: flex-end;
   position: absolute;
   top: 15px;
   width: 98%;
   z-index: 1;

}
.lng-btn {
   border-radius: 3px;
   background-color: #f5f5dc;
   padding: 5px 20px 5px 20px;
   text-decoration: none;
   color: #2a83a2;
   font-size: 15px;
   margin-left: 2%;
}

/* スマートフォンで見たとき */
@media only screen and (max-width: 640px) {
.lng-btn {
   border-radius: 3px;
   background-color: #f5f5dc;
   padding: 0px 5x 0px 5px;
   text-decoration: none;
   color: #2a83a2;
   font-size: 12px;
   margin-left: 2%;
}

}

/*headerここまで*/



/*mainここから*/

.main{
   position: relative;
   width: 100%;
   height: auto;
}


/* パソコンで見たとき */
.main-img-pc { 
   display: block ; 
   width: 100%;
}
.main-img-sp { 
   display: none ; 
}
.main-text {
   position: absolute;
   top: 45%;
   left: 50%;
   transform: translate(-50%,-50%);
   margin:0;
   padding:0;
   font-size: 16px;
   width: 600px;
   text-align: center;
}
.main-title {
   font-size: 35px;
   margin: 0;
   text-align: center;
   font-weight: bold;
}
.main-sub {
   position: relative;
   top: -20px;
}


/* スマートフォンで見たとき */
@media only screen and (max-width: 640px) {
.main-img-pc { 
    display: none ; 
}
.main-img-sp {
   display: block ; 
      width: 100%;
}
.main-text {
   position: absolute;
   top: 85%;
   left: 82%;
   margin:0px;
   padding:0;
   width: 130px;

}
.main-title {
   position: relative;
   top: 10px;
   font-size: 26px;
   margin: 0;
   padding: 0;
   text-align: right;

}
.main-sub {
   position: relative;
   top: 0px;
   font-size: 15px;
   text-align: right;
   line-height:18px;
}
}

/*mainここまで*/

/*headlineここから*/

/* パソコンで見たとき */
.headline {
   position: relative;
   top: 20px;
   left: 50%;
   transform: translateX(-50%);
   width: 640px;
   margin-top: 30px;
   margin-bottom: 40px;
   text-align: center;   
}
h2 {
   font-size: 20px;
}
.headline-com {
   font-size: 13px;
}
.online {
   position: relative;
   top: 0px;
   padding-top: 0px;
   font-size: 13px;
}
.contact {
   padding-top: 10px;
   font-size: 13px;
   padding: 20px 0px 0px 0px;
   margin: 0;
}
.yajirushi {
   font-size: 30px;
   margin: 0;
   padding: 5px 0px 0px 0px;
}
.btn {
  border-radius: 5px;
  background-color: #2a83a2;
  padding: 5px 20px 5px 20px;
  text-decoration: none;
  color: white;
  font-size: 15px;
  position: relative;
  top: 10px;
}
a { 
   text-decoration: none;
   color: #bdb76b;
}
.sns-box {
   position: relative;
   top: 10px;
   left: 50%;
   transform: translateX(-50%);
   width: 80px;
   display: flex;
   justify-content: space-between;
   margin-bottom: 20px;
}
.sns-img {
   width: 30px;
   height: 30px;
      margin: auto; 
}

/* スマホで見たとき */
@media only screen and (max-width: 640px) {
.headline {
   position: relative;
   top: 30px;
   left: 50%;
   transform: translateX(-50%);
   width: 90vw;
   margin-top: 20px;
   margin-bottom: 40px;
   text-align: center;  
}
h2 {
   font-size: 20px;
   margin-bottom: 0;
}
.headline-com {
   font-size: 13px;
}
.online {
   position: relative;
   top: 0px;
   padding-top: 5px;
   font-size: 13px;
}
.contact {
   position: relative;
   top: 10px;
   padding-top: 20px;
   font-size: 13px;
}
.yajirushi {
   font-size: 30px;
   margin: 0;
   padding: 15px 0 0 0;
}
.btn {
   position: relative;
   top: 10px;
  border-radius: 5px;
  background-color: #2a83a2;
  padding: 5px 20px 5px 20px;
  text-decoration: none;
  color: white;
  font-size: 15px;

}
a { 
   text-decoration: none;
   color: #bdb76b;
}
.sns-box {
   position: relative;
   top: 20px;
   left: 50%;
   transform: translateX(-50%);
   width: 80px;
   display: flex;
   justify-content: space-between;
   margin-bottom: 20px;
}
.sns-img {
   width: 30px;
   height: 30px;
      margin: auto; 
}

}

/*headlineここまで*/

/* contennts ここから*/

/* パソコンで見たとき */
.contents {
   display: flex;
}

.contents-box {
   width: 30vw;
   margin-left: 2vw;
   margin-top: 5vh;
   background: #FFCC00  ;
}
.contents-title {
   position: relative;
   text-align: center;
   width: 90%;
   margin: 0% 5% 0% 5%; 
}
h4 {
   font #333333;
   font-size: 16px ;
   margin: 0;
   padding-top: 5% ;
}
.contents-com{
   font-color #333333;
   font-size px ;
   margin: 0% ;
   padding-bottom: 5%;
   text-align: center;
}
.contents-img {
   position: relative;
   width: 92%;
   margin: 2% 4% 4% 4%;
}

/* スマホで見たとき */
@media only screen and (max-width: 640px) {
.contents {
   flex-direction: column;
   position: relative;
   top: 30px;
}
.contents-box {
   width: 90vw;
   margin-left: 5vw;
   margin-top: 5vh;
   background: #FFCC00 ;
}
.contents-title {
   position: relative;
   text-align: center;
   width: 90%;
   margin: 0% 5% 0% 5%; 
}

h4{
   font-color #333333;
   font-size: 13px ;
   margin: 0% ;
   padding-bottom: 5%;
   text-align: center;
}
.contents-img {
   position: relative;
   width: 92%;
   margin: 0% 4% 4% 4%;
}

}

/* contennts ここまで*/


/*footerここから*/

/* パソコンで見たとき */
.footer {
   background-color: #2a83a2;
   height: 230px;
   text-align: center;
   position: relative;
   top: 50px;
}
.profile {
   position: relative;
   height: 170px;
   width: 390px;
   left: 50%;
   transform: translate(-50%, 0);
}
.kao {
   position: absolute;
   top: 50%;
   transform: translate(0, -50%);
   left: 0px;
   width: 100px 
}
.name {
   font-weight: 600;
}
.profile-com {
   position: absolute;
   top: 50%;
   transform: translate(0, -50%);
   left: 110px;
   wieth: 400px;
   font-size: 60%;
   color: #f5f5dc;
   font-weight: 80;
}
.footer-copy {
   position: relative;
   top: 10px;
   color: #f5f5dc;
   font-size: 12px;
}


/* スマホで見たとき */
@media only screen and (max-width: 640px) {
.footer {
   background-color: #2a83a2;
   text-align: center;
   height: 250px;
   margin-top: 30px
}
.profile {
   position: relative;
   height: 170px;
   width: 390px;
   left: 50%;
   transform: translate(-50%, 0);  
}

.kao {
   position: absolute;
   top: 50%;
   transform: translate(0, -50%);
   left: 10px;
   width: 80px 
}
.name {
   font-weight: 600;
}
.profile-com {
   position: absolute;
   top: 50%;
   transform: translate(0, -50%);
   left: 80px;
   width: 300px;
   font-size: 60%;
   font-weight: 100;
}
.br-sp {
   display: inline; 
}
.footer-copy {
   position: absolute;
   left: 50%;
   transform: translate(-50%, 0);
   top: 200px;
   color: #f5f5dc;
   font-size: 12px;
}

}


}
/*footerここまで*/