@charset "UTF-8";
/* CSS Document */

/*レイアウトCSS*/

/*背景・文字色UI　文字サイズ*/
:root {
  --pink-to-yellow: #ff82a5;
  --to-bgColor: white;
  --to-white: black;
}
html {
  font-size: 62.5%;
  transition: .2s;
}
body {
  font-size: 1.8rem;
  /*font-size: 18px;*/
  transition: .2s;
  line-height: 1.6em;
  font-family: Arial, "Noto Sans JP", sans-serif;
}
button:hover {
  cursor: pointer;
}

@media (max-width: 768px) {
    body {
        font-size: 1.5rem;
    }
}

a {
    color : inherit;
    text-decoration: none;
}
#container img {
    margin: 0;
    padding: 0;
    line-height: 0;
    display: block;
}

.content {
  padding: 20px
}
.btn_wrap {
  margin: 20px;
}
.btn_wrap button {
  font-size: 1.6rem;
  padding: 5px 10px;
  border: 1px solid #d9d9d9;
  background: transparent;
  color: var(--to-white);
}
.btn_wrap button.is_active,
/*↓に追加したクラスも同様に背景・文字色変化*/
.btn_ui{
  background: var(--pink-to-yellow);
  color: var(--to-bgColor);
}
/*背景・文字色UI　文字サイズここまで*/


/*========= ぼかしのためのCSS ===============*/

.mainblur{
	filter: blur(10px);
}
/*========= ナビゲーションのためのCSS ===============*/
#g-nav{
    /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
    position:fixed;
	z-index: -1;
	opacity: 0;/*はじめは透過0*/
    /*ナビの位置と形状*/
	top:0;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background:rgba(255,255,255,0.3);/*背景を少し透過させる*/
    /*動き*/
	transition: all 0.3s;
}

/*アクティブクラスがついたら透過なしにして最前面へ*/
#g-nav.panelactive{
	opacity: 1;
	z-index:999;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    display: none;/*はじめは非表示*/
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

#g-nav.panelactive ul {
    display: block;
}
/*リストのレイアウト設定*/

#g-nav li{
	list-style: none;
    text-align: center; 
}

#g-nav li a{
	color: #0068B4;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}

/*========= ボタンのためのCSS ===============*/
.openbtn{
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
	top: 0;
	right: 0;
	cursor: pointer;
    width: 105px;
    height:105px;
    background: #0068B4;
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 37%;
    height: 4px;
    border-radius: 2px;
	background-color: #FFF;
  	width: 30%;
  }

.openbtn span:nth-of-type(1) {
	top:35px;	
}
.openbtn span:nth-of-type(2) {
	top:47px;
}
.openbtn span:nth-of-type(3) {
	top:59px;
}

.openbtn.active span:nth-of-type(1) {
    top: 40px;
    left: 35%;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 52px;
    left: 35%;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

@media screen and (max-width: 580px) {
    .openbtn{
        width: 80px;
        height: 80px;
    }
    
    .openbtn span:nth-of-type(1) {
        top: 26px;
    }
    .openbtn span:nth-of-type(2) {
        top: 36px;
    }
    .openbtn span:nth-of-type(3) {
        top: 46px;
    }
    .openbtn.active span:nth-of-type(1) {
        top: 32px;
    }
    .openbtn.active span:nth-of-type(3){
        top: 44px;
    }
}
/*========= ボタンのためのCSS ===============*/


/*========================*//*田中追加分*/
header {
    padding: 10px 115px 10px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FFF;
}
header .tool {
    display: flex;
    align-items: center;
    line-height: 1.3em;
    text-align: center;
}
header .tool p {
    margin: 0 10px;
    font-weight: 500;
}
header .tool .h-tel:before {
    content: "";
    background: url("../img/ico_h-tel.svg") no-repeat center;
    background-size: contain;
    width: 50px;
    height: 50px;
    display: inline-block;
    margin-right: 10px;
}
header .tool .h-form {
    position: relative;
    padding-left: 60px;
}
header .tool .h-form:before {
    content: "";
    background: url("../img/ico_h-form.svg") no-repeat center;
    background-size: contain;
    width: 50px;
    height: 50px;
    display: inline-block;
    vertical-align: middle;
    /*以下親要素にpositionを付与する場合*/
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
header .tool .h-form:hover {
    color: #0068B4;
}

header .tool a {
    text-decoration: none;
    color: #333;
}

@media screen and (max-width: 1150px) {
    header .tool .h-form{
        display: none;
    }
}

@media screen and (max-width: 980px) {
    header .tool {
        display: none;
    }
}

/*========================*//*追加ここまで*/

/*パンくず*/
#pankuzu {
    display: flex;
    flex-wrap: wrap;
    padding: 1em 1.5em;
    background: #0068B4;
    margin-bottom: 3em;
}
#pankuzu li,
#pankuzu a {
    color: #FFF;
    text-decoration: none;
}
#pankuzu a:after {
    content: " > ";
    margin: 0 10px;
}

/*section*/
.section1150 {
	max-width: 1150px;
	margin: 0 auto 4em;
}
.section1100 {
	max-width: 1100px;
	margin: 0 auto 4em;
}
.section1000 {
	max-width: 1000px;
	margin: 0 auto 4em;
}

.section1150:last-child,
.section1100:last-child,
.section1000:last-child,
.section860:last-child{
    margin-bottom: 200px;
}

.section860 {
    max-width: 860px;
    margin: 0 auto 3em;
}

.innerB_3 {
	width: 100%;
	padding-bottom: 3em;
}

.innerB_5 {
	width: 100%;
	padding-bottom: 5em;
}

@media screen and (max-width: 1000px) {
    .section1150,
    .section1100,
    .section1000,
    .section860{
        padding: 1em;
    }
}



/*アコーディオン*/
.accordion {
}
.accordion dt {
}
.accordion dt.active {
	/*アコーディオン見出しクリック時に付与のスタイル*/
}
.accordion dd {
	display: none;
}



/*ページトップボタン*/
/*リンクを右下に固定*/
#page-top {
  position: fixed;
  right: 10px;
  bottom:10px;
  z-index: 2;
    /*はじめは非表示*/
  opacity: 0;
  transform: translateY(100px);
}

/*リンクの形状*/
#page-top a{
  display: flex;
  justify-content:center;
  align-items:center;
  background:#942D2F;
  border-radius: 5px;
  width: 60px;
  height: 60px;
  color: #fff;
  text-align: center;
  text-transform: uppercase; 
  text-decoration: none;
  font-size:0.6rem;
  transition:all 0.3s;
}

#page-top a:hover{
  background: #777;
}

/*　上に上がる動き　*/
/*#page-top.UpMove{
  animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }
  to {
    opacity: 1;
  transform: translateY(0);
  }
}*/

/*　下に下がる動き　*/

/*#page-top.DownMove{
  animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
    opacity: 1;
  transform: translateY(0);
  }
  to {
    opacity: 1;
  transform: translateY(100px);
  }
}*/


/*========= footer ===============*/
#f-contact {
    background: #0068B4;
    color:#FFF;
    max-width: 1100px;
    margin: 80px auto 2em;
    border-radius: 30px;
    padding: 4% 8%;
    text-align: center;
    position: relative;
}
#f-contact:before {
    content: "";
    background: #0068B4;
    width: 207px;
    height: 207px;
    border-radius: 50%;
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}
#f-contact:after {
    content: "";
    background: url("../img/ico_f-contact.svg");
    background-size: contain;
    width: 54px;
    height: 50px;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
#f-contact h2 {
    font-family: "Kiwi Maru", serif;
    font-weight: 600;
    font-size: 210%;
    margin-bottom: 1em;
}
#f-contact h3 {
    background: #FFF;
    color: #0068B4;
    padding: 5px;
    font-weight: 700;
    margin: 1.5em 0;
    border-radius: 30px;
}

.f-tel {
    display: flex;
    justify-content: space-around;
    text-align: left;
}
.f-tel span {
    font-family: Arial;
    font-weight: bold;
    font-size: 220%;
    letter-spacing: 0.03em;
    display: block;
    line-height: 1em;
}
.f-tel span:before {
    content: "";
    background: url("../img/ico_f-tel.svg") no-repeat center;
    background-size: contain;
    width: 32px;
    height:32px;
    display: inline-block;
    vertical-align: bottom;
    margin-right: 7px;
    margin-bottom: 5px;
}
.f-tel .kurayoshi,
.f-tel .tottori{
    padding-left: 85px;
    position: relative;
}
.f-tel .kurayoshi:before {
    content: "倉吉";
    background: #FFF;
    color: #0068B4;
    text-align: center;
    line-height: 70px;
    font-weight: 700;
    font-size: 110%;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
.f-tel .tottori:before {
    content: "鳥取";
    background: #FFF;
    color: #0068B4;
    text-align: center;
    line-height: 70px;
    font-weight: 700;
    font-size: 110%;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
.f-tel .kurayoshi:hover:before,
.f-tel .tottori:hover:before{
    content: "Call";
}

.f-btn-form {
    display: flex;
    justify-content: space-between;
    text-align: left;
    margin: 2em 1em 0;
}
.f-btn-form a {
    width: calc((100% - 5%) /2);
    display: block;
    border: 2px solid #FFF;
    padding: 1em 5% 1em calc(5% + 30px);
    position: relative;
    line-height: 1.3em;
    display: flex;
    align-items: center;
}
.f-btn-form a:hover {
    background: #FFF;
    color: #0068B4;
    font-weight: 700;
}
.btn_form:before {
    content: "";
    background: url("../img/ico_f-form.svg") no-repeat center;
    background-size: contain;
    width: 18px;
    height: 15px;
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}
.btn_data:before {
    content: "";
    background: url("../img/ico_f-data.svg") no-repeat center;
    background-size: contain;
    width: 16px;
    height: 21px;
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}
.btn_form:hover:before {
    background: url("../img/ico_f-form_on.svg") no-repeat center;
}
.btn_data:hover:before {
    background: url("../img/ico_f-data_on.svg") no-repeat center;
}

#f-bnr {
    display: flex;
    justify-content: space-between;
    padding: 2%;
    max-width: 1200px;
    margin: 0 auto;
}
#f-bnr li {
    width: calc((100% - 100px) / 5);
}

#f-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2%;
    border-top: 1px solid #707070;
}
#f-content a:hover {
    color: #0068B4;
}
.f-about {
    width: 40%;
    font-size: 90%;
    line-height: 1.4em;
    font-weight: 400;
    color: #555;
}
.f-sitemap {
    width: 57%;
    display: flex;
    justify-content: flex-end;
}
.f-sitemap ul {
    margin-right: 3em;
}

.f-link {
    display: flex;
    justify-content: center;
    margin-bottom: 1em;
}
.f-link li:after {
    content: "";
    border-right: 1px solid #555;
    margin: 0 1em;
}
.f-link li:last-child:after {
    content: none;
}
.f-link a:hover {
    color: #0068B4;
}

.f-sitemap a,
.f-link a{
    color: #333;
    text-decoration: none;
}

.copyright {
    background: #EB4800;
    text-align: center;
    color: #FFF;
    padding: 10px;
}


@media screen and (max-width: 580px) {
    #header h1 img {
        height: 60px;
    }
    #f-contact {
        border-radius: 0;
        padding: 4%;
        margin-bottom: 1em;
    }
    #f-contact:after {
        width: 38px;
        height: 36px;
    }
    .f-tel,
    #f-content{
        display: block;
    }
    .f-tel .kurayoshi,
    .f-tel .tottori{
        margin-bottom: 2em;
    }
    .f-btn-form {
        margin: 2em 0;
    } 
    
    #f-bnr {
        flex-wrap: wrap;
    }
    #f-bnr li {
        width: calc((100% - 15px) / 2);
        margin-bottom: 10px;
    }
    
    .f-about,
    .f-sitemap{
        width: 100%;
        margin-top: 1em;
    }
}
