/*reset*/
html, body {
  height: 100%;
  margin: 0;
}

picture {
  display: block;
}

.overlayArea img {
  display: block;
  width: 100%; /* 親要素いっぱいに広げる場合 */
  height: auto;
}

.overlayArea a {
  display: block;
  line-height: 0;
}

.overlayArea {
  line-height: 0;
  font-size: 0;
}

.overlayArea a,
.overlayArea img,
.overlayArea picture {
  display: block;
}


/* さらに、その中にあるaタグも隙間を作らないようにする */
.mainContainer a,
.overlayArea a {
  display: block;
  line-height: 0;
}

/*Base*/

img {
  display: block;
  vertical-align: bottom;
  margin-top: -1px;
}


.mainContainer, .footer {
  max-width: 750px;
  width: 100%;
  background: #fff;
  margin: 0 auto;
  overflow: hidden;
}
.mainContainer input, .footer input {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  border: 1px solid transparent;
  transition: border 0.2s ease-out;
}
.mainContainer input::-webkit-search-decoration, .footer input::-webkit-search-decoration {
  display: none;
}
.mainContainer input:focus, .footer input:focus  {
  outline-offset: -2px;
}
.mainContainer input[type=image], .footer input[type=image] {
  -webkit-appearance: none;
}
.mainContainer img, .footer img {
  display: block;
  width: 100%;
  height: auto;
}

.overlayArea {
  position: relative;
}
.overlayItem {
  position: absolute;
}

.contact_btn {
  width: 38%;
  top: 0.65%;
  left: 56%;
  margin: 0 auto;
  opacity: 1;
  transition: 0.3s all;
}
.contact_btn:hover {
  opacity: 0.8;
}
.cta_btn_01 {
  width: 93%;
  bottom: -3%;
  left: 4.3%;
  opacity: 1;
  transition: 0.3s all;
}
.cta_btn_02 {
  width: 47.7%;
  top: 32%;
  right: 7.3%;
  opacity: 1;
  transition: 0.3s all;
}
.cta_btn_01:hover, .cta_btn_02:hover {
  opacity: 0.8;
}

.floating {
  position: relative;
}
.floating-btn {
  position: fixed;
  background: white;
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
  background-color: rgba(255, 255, 255, 0.5);
  transition: 0.3s all;
  z-index: 9999;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0.5s;
  /* 初期状態は透明 */
    opacity: 0;
    visibility: hidden;
}
.floating-btn img {
  width: 90%;
  display: block;
  margin: 1% auto;
}
/* クラスがついた時に表示する */
.floating-btn.js-floating {
    opacity: 1;
    visibility: visible;
    pointer-events: auto; /* ここでクリックを有効にする！ */
}

.footer {
	padding-top: 10%;
	padding-bottom: 10%;
	font-size: 0.8em;
}
.footer a {
	display: block;
	text-decoration: none;
	color: #999999;
	text-align: center;
  margin-top: 7%;
}
.accordionContainer {
  width: 100%;
  margin: 0 auto;
  padding-bottom: 5.2%;
  overflow: hidden;
}
.accordion__item {
  position: relative;
  width: 87.2%;
  margin: 0 auto;
  z-index: 1;
  margin-bottom: 4.5%;
  overflow: hidden;
}
.accordion__btn {
  position: relative;
  cursor: pointer;
  user-select: none;
}
.accordion__content {
  overflow: hidden;
  transition-duration: 0.3s;
  background: #FFF;
}
.accordion__content.js-close {
  height: 0;
  opacity: 0;
}
.accordion__content.js-open {
  opacity: 1;
}
.accordion__state {
  position: absolute;
  width: 38px;
  height: 38px;
  top: 47.5%;
  right: 5.6%;
  margin-top: -15px;
  border-radius: 50%;
  border: solid 2px #140862;
}
@media screen and (max-width: 750px) {
  .accordion__state {
    width: 5.0666666667vw;
    height: 5.0666666667vw;
    margin-top: -2vw;
    border: solid 0.2666666667vw #140862;
  }
}
.accordion__state::before, .accordion__state::after {
  position: absolute;
  content: "";
  display: block;
  width: 70%;
  height: 2px;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  background: #140862;
}
@media screen and (max-width: 750px) {
  .accordion__state::before, .accordion__state::after {
    height: 0.2666666667vw;
  }
}
.accordion__state::after {
  transform: rotate(90deg);
  transition: 0.2s all ease-in-out;
}
.js-active .accordion__state::after {
  transform: rotate(0);
}

.map_ttl {
	text-align: center;
	font-weight: bold;
	background: #E17523;
	color: white;
	padding: 3%;
	margin-top: 10%;
}
.map {
  width: 100%;
  position: relative;
  padding-top: 56.25%;
}

.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*フォーム*/
.Form-ttl{
	text-align: center;
	font-weight: bold;
	margin-top: 10%;
	font-size: 1.4em;
	background: #E17523;
	color:white;
	padding: 4%;
}
.Form {
  margin-left: auto;
  margin-right: auto;
  max-width: 750px;
	width: 100%;
}
.Form-Item {
  border-bottom: 1px solid #ddd;
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
  align-items: center;
}
@media screen and (max-width: 480px) {
  .Form-Item {
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
  }
}
.Form-Item-Label {
  width: 100%;
  max-width: 248px;
  letter-spacing: 0.05em;
  font-weight: bold;
  font-size: 18px;
}
@media screen and (max-width: 480px) {
  .Form-Item-Label {
    max-width: inherit;
    display: flex;
    align-items: center;
    font-size: 15px;
  }
}
.Form-Item-Label.isMsg {
  margin-top: 8px;
  margin-bottom: auto;
}
@media screen and (max-width: 480px) {
  .Form-Item-Label.isMsg {
    margin-top: 0;
  }
}
.Form-Item-Label-Required {
  border-radius: 6px;
  margin-right: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
  width: 48px;
  display: inline-block;
  text-align: center;
  background: #5bc8ac;
  color: #fff;
  font-size: 14px;
}
@media screen and (max-width: 480px) {
  .Form-Item-Label-Required {
    border-radius: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 32px;
    font-size: 10px;
  }
}
.Form-Item-radio {
	margin-left: 3%;
	width: 400px;
}
.Form-Item-radio input {
	margin-left: 4%;
}
@media screen and (max-width: 480px) {
  .Form-Item-radio {
    margin-left: 0%;
	margin-top:  5%;
  }
}
.Form-Item-Input {
  border: 1px solid #ddd;
  border-radius: 6px!important;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 48px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #eaedf2;
  font-size: 18px;
}
@media screen and (max-width: 480px) {
  .Form-Item-Input {
    margin-left: 0;
    margin-top: 18px;
    height: 40px;
    flex: inherit;
    font-size: 15px;
  }
}
.Form-Item-Textarea {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
	padding-top: 1em;
  height: 200px;
  flex: 1;
  width: 100%;
  max-width: 375px;
  background: #eaedf2;
  font-size: 18px;
border: 0;
}
@media screen and (max-width: 480px) {
  .Form-Item-Textarea {
    margin-top: 18px;
    margin-left: 0;
    height: 180px;
    flex: inherit;
    font-size: 15px;
  }
}
.Form-Btn {
  border-radius: 6px;
  margin-top: 32px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  width: 280px;
  display: block;
  letter-spacing: 0.05em;
  background: #5bc8ac;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
}
@media screen and (max-width: 480px) {
  .Form-Btn {
    margin-top: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 160px;
    font-size: 16px;
  }
}
.Form-Item-Label span {
	color: red;
}

.lineContainer {
	background: #FDFFD8;
	padding: 5%;
	margin-top: 10%;
}
.line {
	width: 30%;
	margin: 7% auto;
}
@media screen and (max-width: 480px) {
	.line {
		width: 50%;
	}



/* PC用の設定：画面が769px以上の時 */
@media screen and (min-width: 769px) {
    .sp-only {
        display: none !important;
    }
    .pc-only {
        display: block !important;
    }
}

/* スマホ用の設定：画面が768px以下の時 */
@media screen and (max-width: 768px) {
    .pc-only {
        display: none !important; 
    }
    .sp-only {
        display: block !important; 
    }
}

/* 共通：最初は隠しておく（JSで .js-floating がついたら表示される想定） */
.floating-btn {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    position: fixed;
    right: 20px;
}

.floating-btn.js-floating {
    opacity: 1;
    visibility: visible;
}
