@charset "utf-8";
/*---------------------------------------------------------------------------------------------------------------
	ヘッダ （ロゴ）
---------------------------------------------------------------------------------------------------------------*/
header {
	margin: 0 auto;
	padding: 0px;
	max-width: 980px;
	height: 60px;
	}

#logo-small {
    display: none;
	}

#logo-big {	
	width: 980px;
	margin: 0 auto;
	display: block;
	}

#logo-big h1 img {
    float: left;
    margin: 0px 0px 0px;
    height: 75px;
    width: 428px;
    background-size: contain;
	}

#logo-big h1 a:hover { opacity: 0.7; }
.tel {/* 電話マークの位置 */
	float: right;
	display: inline;
	margin: 0px;
	text-align: center;
}
.mail {/* メールマークの位置 */
	float: right;
	display: inline;
	margin: 0px 55px 0px 0px;
	text-align: center;
}

.accbox0 {
    display: none;
}
#top_text {
	text-align: center;
}
nav ul{
 height: 100%;
 overflow: auto;
 -webkit-overflow-scrolling: touch;
}

/*---------------------------------------------------------------------------------------------------------------
	ハンバーガーメニュー
---------------------------------------------------------------------------------------------------------------*/
/* :::::: toggle button :::::: */
  
#navTgl {
  display: none;
}
  
label.open,
label.close {
  cursor: pointer;
  position: fixed;
  top: 0;
  right: 0;
}

.open {
  z-index: 2;
  width: 55px;
  height: 55px;
  color: white;
  background-color: #ffd;
  border-radius: 10px 0px 0px 10px;
  font-size: 2em;
  line-height: 55px;
  text-align: center;
  -webkit-transition: background-color .6s, -webkit-transform .6s;
  transition: background-color .6s, transform .6s;
}
  
#navTgl:checked + .open {
  background-color: #ffd;
  -webkit-transform: translateX(-280px);
  transform: translateX(-280px);
}
  
.close {
  pointer-events: none;
  z-index: 1;
  width: 1500px;
  height: 100%;
  transition: background-color .6s;
}
  
#navTgl:checked ~ .close {
  pointer-events: auto;
  background-color: rgba(0,0,0,.7);
}

.open i, .close i {
  color: #000;
}
  
/* :::::: drawer menu :::::: */
  
.menu {
  z-index: 1;
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background-color: rgba(0,0,0,.6);
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  -webkit-transition: -webkit-transform .6s;
  transition: transform .6s;
}
  
#navTgl:checked ~ .menu {
  -webkit-transform: translateX(0);
  transform: translateX(0);
}
  
.menu li a {
  color: white;
}
  
.menu ul {
  padding: 0;
  list-style-type:none;
}
  
.menu li {
  border-bottom: 1px solid rgba(255,255,255,.6);
  font-size: 1.0em;
  line-height: 2em;
  width: 280px;

}
  
.menu li:first-child {
  border-top: 1px solid rgba(255,255,255,.6);
}

.menu li a {
  display: block;
  padding: 0.8em 2em;
  text-decoration: none;
  vertical-align: text-top;
  transition: background-color .6s;
}

.menu li a:hover {
  background: radial-gradient(circle, #dec810 0%, #000 100%)
}

/*アイコンフォントの設定*/
.menu li i {
	padding: 5px 10px 5px 3px;
	color: #fff;
}

/*---------------------------------------------------------------------------------------------------------------
	モーダルウィンドウ(共通)
---------------------------------------------------------------------------------------------------------------*/
li.ans1,li.ans2 {
	display: inline-block;
}
#contact ul li.ans1 a:hover {
  background: radial-gradient(circle, #fff 0%, #ccc 100%)
}
#contact ul li.ans2 label.no:hover {
  background: radial-gradient(circle, #fff 0%, #ccc 100%)
}


#contact ul li.ans1 a{
	display: block;
	margin: 20px 10px 10px 10px;
	height: 60px;
	line-height: 60px;
	width: 250px;
	background: #fff;
	color: #000;
	font-size: 1.4em;
	border: solid 2px #000;
	border-radius: 30px;
	text-decoration: none;
}

#contact ul li.ans2 label.no {
	display: block;
	margin: 20px 10px 10px 10px;
	height: 60px;
	line-height: 60px;
	width: 250px;
	background: #fff;
	color: #000;
	font-size: 1.4em;
	border: solid 2px #000;
	border-radius: 30px;
	text-decoration: none;
}

/*---------------------------------------------------------------------------------------------------------------
	モーダルウィンドウ(MAIL)
---------------------------------------------------------------------------------------------------------------*/
.popupModal10 > input { /* ラジオボックス非表示 */
    display: none;
}
.popupModal10 > input:nth-child(1) + label { 
    cursor: pointer;
}
.modalPopup20 { /* 初期設定 ポップアップ非表示 */
    display: none;
}

.popupModal10 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label + .modalPopup20 {/* ラジオ１ チェックでポップアップ表示 */
    display: block;
    z-index: 998;
    position: fixed;
    width: 90%;
    height: 80%;
    border-radius: 20px;
    left: 50%;
    top: 50%;
    margin-top: 30px;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    background: #fff;
    padding: 10px 20px;
    overflow: hidden;
}
@media (min-width: 768px) {/* PCのときはページの真ん中の600x600領域 */
.popupModal10 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label + .modalPopup20 {
         width: 600px;
         height: 600px;
         padding: 30px;

    }
.popupModal10 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label {
     left: 50% !important;
     top: 50% !important;
     margin-left: 270px !important;
     margin-top: -310px !important;
}
}

.popupModal10 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label + .modalPopup20 > div {/* */
    overflow:auto;
    -webkit-overflow-scrolling:touch;
    display: inline-block;
    width: 100%;
    height: 100%;
}
.popupModal10 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label + .modalPopup20 > div > iframe {
    width: 100%;
      height:100%;
      border:none;
      display:block;
}

.popupModal10 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label + .modalPopup20 > div > img {/* ポップアップの中の要素 */
max-width: 100%;
}
.popupModal10 > input:nth-child(1) + label ~ label {
    display: none;/* ラジオ１ 以外のラベルを初期は非表示 */

}
.popupModal10 > input:nth-child(1):checked + label + input:nth-child(3) + label {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.70);
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 997;
    text-indent: -999999px;
    overflow: hidden;
}
.popupModal10 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label {
    background: rgba(255, 255, 255, 0.5);
    display: inline-block;
    position: fixed;
    left: 10px;
    bottom: 20px;
    z-index: 999;
    width: 44pt;
    height: 44pt;
    font-size: 40px;
    border-radius: 50%;
    line-height: 44pt;
    text-align: center;
    box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.2);
}

.popupModal10 > input:nth-child(1) + label + input:nth-child(3):checked + label + input:nth-child(5) + label + .modalPopup20,
.popupModal10 > input:nth-child(1) + label + input:nth-child(3) + label + input:nth-child(5):checked + label + .modalPopup20 { /* ラジオ２と３ どっちかチェックでポップアップ非表示 */
    display: none;
}


.modalPopup20 {
    animation: fadeIn 1s ease 0s 1 normal;
    -webkit-animation: fadeIn 1s ease 0s 1 normal;
}

@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

.popupModal10 .modalTitle {
     padding-bottom: .5em;
     margin: .5em 0;
     border-bottom:
     1px solid #ccc;
     font-weight: bold;
}
.popupModal10 .modalMain {
     color:#222;
     text-align: center;
     font-size: 16px;
     line-height: 1.8em;
}

.popupModal10 .modalMain p {
	padding: 1em 0em 1em 0em;
}


/*---------------------------------------------------------------------------------------------------------------
	モーダルウィンドウ(TEL)
---------------------------------------------------------------------------------------------------------------*/
.popupModal1 > input { /* ラジオボックス非表示 */
    display: none;
}
.popupModal1 > input:nth-child(1) + label { 
    cursor: pointer;
}
.modalPopup2 { /* 初期設定 ポップアップ非表示 */
    display: none;
}

.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label + .modalPopup2 {/* ラジオ１ チェックでポップアップ表示 */
    display: block;
    z-index: 998;
    position: fixed;
    width: 90%;
    height: 80%;
    border-radius: 20px;
    left: 50%;
    top: 50%;
    margin-top: 30px;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    background: #fff;
    padding: 10px 20px;
    overflow: hidden;
}
@media (min-width: 768px) {/* PCのときはページの真ん中の600x600領域 */
.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label + .modalPopup2 {
         width: 600px;
         height: 600px;
         padding: 30px;

    }
.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label {
     left: 50% !important;
     top: 50% !important;
     margin-left: 270px !important;
     margin-top: -310px !important;
}
}

.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label + .modalPopup2 > div {/* */
    overflow:auto;
    -webkit-overflow-scrolling:touch;
    display: inline-block;
    width: 100%;
    height: 100%;
}
.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label + .modalPopup2 > div > iframe {
    width: 100%;
      height:100%;
      border:none;
      display:block;
}

.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label + .modalPopup2 > div > img {/* ポップアップの中の要素 */
max-width: 100%;
}
.popupModal1 > input:nth-child(1) + label ~ label {
    display: none;/* ラジオ１ 以外のラベルを初期は非表示 */

}
.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.70);
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 997;
    text-indent: -999999px;
    overflow: hidden;
}
.popupModal1 > input:nth-child(1):checked + label + input:nth-child(3) + label + input:nth-child(5) + label {
    background: rgba(255, 255, 255, 0.5);
    display: inline-block;
    position: fixed;
    left: 10px;
    bottom: 20px;
    z-index: 999;
    width: 44pt;
    height: 44pt;
    font-size: 40px;
    border-radius: 50%;
    line-height: 44pt;
    text-align: center;
    box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.2);
}

.popupModal1 > input:nth-child(1) + label + input:nth-child(3):checked + label + input:nth-child(5) + label + .modalPopup2,
.popupModal1 > input:nth-child(1) + label + input:nth-child(3) + label + input:nth-child(5):checked + label + .modalPopup2 { /* ラジオ２と３ どっちかチェックでポップアップ非表示 */
    display: none;
}


.modalPopup2 {
    animation: fadeIn 1s ease 0s 1 normal;
    -webkit-animation: fadeIn 1s ease 0s 1 normal;
}

@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

.popupModal1 .modalTitle {
     padding-bottom: .5em;
     margin: .5em 0;
     border-bottom:
     1px solid #ccc;
     font-weight: bold;
}
.popupModal1 .modalMain {
     color:#222;
     text-align: center;
     font-size: 16px;
     line-height: 1.8em;
}

.popupModal1 .modalMain p {
	padding: 1em 0em 1em 0em;
}

/*---------------------------------------------------------------------------------------------------------------
	＠Mediaルール
---------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width : 767px){

#logo-big {
    display: none;
	}

#logo-small {	
	display: block;
	}

#logo-small h1 img {
    float: left;
    margin: 0px 0px 0px;
    height: 60px;
    width: 197px;
    background-size: contain;
	}
#logo-small h1 a:hover { opacity: 0.7; }

#top_text {
	display: none;
	text-align: center;
}

}/* ＠Mediaルール END */

