/*────────────────────────────────────────────────────────────────────────
**  固定ページ layout用   page-layout.php用
────────────────────────────────────────────────────────────────────────*/

/* パンクズ用 */
.breadcrumbs .current-item {
  font-weight: 700;
}


.breadcrumbs+* {
  margin-top: 90px;
}

.page-template-page-layout main {
  margin-bottom: 120px;
}
.page-template-page-layout section.wrapper+section.wrapper {
  margin: 120px auto 0;
}

@media only screen and (max-width:768px) {
	.page-template-page-layout section.wrapper+section.wrapper {
  margin: 60px auto 0;
}
.page-template-page-layout main {
  margin-bottom: 60px;
}
}

/* テキスト全般 */
.page-template-page-layout .txt-wrap {
  text-align: justify;
}
.page-template-page-layout .txt-wrap p+p {
  margin-top: 1em;
}

/* block-title-1
大見出し・文章・画像
*/
.page-template-page-layout .block-title-1 .txt-wrap {
  margin: 50px auto;
  max-width: 900px;
}
.page-template-page-layout .block-title-1 .img-wrap {
  margin: 80px auto;
}


/* block-title-2
中小見出し（赤ライン）・文章
*/
.page-template-page-layout .block-title-2 .title{
  font-weight: 700;
  padding-bottom: .3em;
  border-bottom: 3px solid #E83633;
  width: -moz-fit-content;
  width: fit-content;
  margin: 100px auto 1.5em;
  text-align: center;
}

.page-template-page-layout .block-title-2.size_m .title_cta{
  font-weight: 700;
  padding-bottom: .3em;
  border-bottom: 3px solid #E83633;
  width: -moz-fit-content;
  width: fit-content;
  margin: 40px auto 1.5em;
  text-align: center;
}
.page-template-page-layout .block-title-2.size_m .title,
.page-template-page-layout .block-title-2.size_m .title_cta {
  font-size: 24px;
}
@media only screen and (max-width:768px) {
.page-template-page-layout .block-title-2.size_m .title {
  font-size: 20px;
}
.page-template-page-layout .block-title-2.size_m .title_cta{
  font-size: 16px;
  margin: 30px auto 1.5em;
}
.page-template-page-layout .block-title-2 .title {
    margin: 30px auto 1.5em;
}
}

.page-template-page-layout .block-title-2.size_s .title {
  font-size: 18px;
}
.page-template-page-layout .block-title-2 .txt-wrap {
  max-width: 600px;
  margin: 0 auto;
}




/* block-1
（右カラム）見出しと文章・（左カラム）画像
（左カラム）見出しと文章・（右カラム）画像
*/
.page-template-page-layout .block-1 article {
  display: flex;
  justify-content: space-between;
  gap: 100px 60px;
  flex-flow: row;
}
.page-template-page-layout .block-1 article+article {
  margin-top: 50px;
}
.page-template-page-layout .block-1 .txt-wrap,
.page-template-page-layout .block-1 .img-wrap {
  flex: 1;
}
/* 動画 */
.img-wrap .movie {
  position: relative;
  width: 100%;
  height: auto;
  padding-top: 56.25%;
}
.img-wrap .movie iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
.page-template-page-layout .block-1 .title {
  font-weight: 700;
  line-height: 1.5;
  padding-bottom: .5em;
}

/* タイトルパターン1　通常 */
.page-template-page-layout .block-1-1 .title {
  font-size: 24px;
  margin-bottom: 1em;
}

/* タイトルパターン2　やや小　赤ライン */
.page-template-page-layout .block-1-2 .title {
  font-size: 18px;
  border-bottom: 3px solid #E83633;
  width: -moz-fit-content;
  width: fit-content;
  margin-bottom: 2em;
}

/* タイトルパターン3　吹き出し　ナンバリング */
.page-template-page-layout .block-1-3 .title {
  font-size: 24px;
  margin-bottom: 1em;
}
.page-template-page-layout .block-1-3 .bubble {
  position: relative;
  display: block;
  background: #DCDDDD;
  border-radius: 10px;
  width: -moz-fit-content;
  width: fit-content;
  padding: 6px 40px;
  margin-bottom: 30px;
}
.page-template-page-layout .block-1-3 .bubble:after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 30px;
  width: 0px;
  height: 0px;
  margin: auto;
  border-style: solid;
  border-color: #DCDDDD transparent transparent transparent;
  border-width: 12px 5px 0 5px;
}

.page-template-page-layout .block-1 .fill {
  margin: 20px 0;
  background-color: #F8F2E9;
  padding: 20px;
}

@media only screen and (min-width:1000px) {
  .page-template-page-layout .block-1 article:nth-child(even) {
    flex-flow: row-reverse;
  }

  .page-template-page-layout .block-1.imageL .txt-wrap {
    order: 2;
  }
  .page-template-page-layout .block-1.imageL .img-wrap {
    order: 1;
  }
}
@media only screen and (max-width:999px) {
  .page-template-page-layout .block-1 article {
    gap: 20px;
    flex-flow: column;
  }

  .page-template-page-layout .block-1 .title {
    margin-bottom: 1em;
  }
  .page-template-page-layout .block-1-1 .txt-wrap,
  .page-template-page-layout .block-1-2 .txt-wrap {
    order: 2;
  }
  .page-template-page-layout .block-1-1 .img-wrap,
  .page-template-page-layout .block-1-2 .img-wrap {
    order: 1;
  }
}




/* block-2
（4カラム用）見出し・文章・画像
*/
.page-template-page-layout .block-2 {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
    margin-top: 40px;
}
.page-template-page-layout .block-2 article {
  width: calc(25% - 20px);
  background-color: #F8F2E9;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

}
.page-template-page-layout .block-2 .title {
  font-weight: 700;
  margin: 0 0 .5em;
}
.page-template-page-layout .block-2 .txt {
  margin: 10px 0;
}
.page-template-page-layout .block-2 .img-wrap {
  margin: 10px 0 0;
}


@media (max-width:999px) {
  .page-template-page-layout .block-2 article {
    width: calc(50% - 20px);
  }
}
@media (max-width: 767px) {
  .page-template-page-layout .block-2 article {
    width: 100%;
  }
}


/* block-3
（2カラム用）見出し・文章・画像
*/
.page-template-page-layout .block-3 {
  display: flex;
  justify-content: space-between;
  flex-flow: row;
  flex-wrap: wrap;
}

.page-template-page-layout .block-3 .title {
  font-weight: 700;
  font-size: 1.2em;
  margin: 0 0 .5em;
}

.page-template-page-layout .block-3 .txt {
  margin: 10px 0;
}
.page-template-page-layout .block-3 .img-wrap {
  margin: 10px 0 0;
}

@media only screen and (min-width:1000px) {
  .page-template-page-layout .block-3 {
    margin-top: 60px;
    gap: 60px 40px;
  }
  .page-template-page-layout .block-3 article {
    width: calc(50% - 20px);
  }
}
@media only screen and (max-width:999px) {
  .page-template-page-layout .block-3 {
    flex-direction: column;
    margin-top: 40px;
    gap: 40px;
  }
}

/* block-contact
 電話番号の部分
*/
.page-template-page-layout .block-contact {
  border: 10px solid #E83633;
  padding: 40px 20px;
}
.page-template-page-layout .block-contact .title {
  font-weight: 700;
  text-align: center;
  font-size: 24px;
  margin: 0 auto 30px;
  line-height: 1.4;
}
.page-template-page-layout .contact-btn-2 {
  display: flex;
  justify-content: center;
  gap: 50px;
  align-items: center;
}

@media only screen and (max-width:768px) {
  .page-template-page-layout .block-contact {
    padding: 20px 10px;
  }
.page-template-page-layout .contact-btn-2{
  gap:20px;
}

}

.page-template-page-layout .contact-btn-2 .contact-tel {
  background: #FFF;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
.page-template-page-layout .contact-btn-2 .contact-tel .phone {
  font-size: 30px;
  color: #E83633;
  margin: 10px auto 5px;
  display: inline-block;
}
.page-template-page-layout .contact-btn-2 .contact-tel .phone i {
  content: "";
  display: inline-block;
  background: url(../../img/common/icon_header-phone.svg) 25px 24px;
  height: 24px;
  width: 25px;
  margin: 0 8px 0px 0;
}

@media only screen and (max-width:768px) {
  .page-template-page-layout .contact-btn-2 .contact-tel .phone {
  font-size: 24px;
}
}

.page-template-page-layout .contact-btn-2 .contact-mail {
  background-color: #E83633;
  color: #FFF;
}
.page-template-page-layout .contact-btn-2 .contact-mail a {
  display: block;
  padding: 20px 40px;
  font-size: 14px;
}

@media only screen and (max-width:768px) {
  .page-template-page-layout .contact-btn-2 .contact-mail a {
    padding: 15px 5px;
}

}
.page-template-page-layout .contact-btn-2 .contact-mail a:hover {
  color: #FFF;
}
.page-template-page-layout .contact-btn-2 .contact-mail i {
  content: "";
  display: inline-block;
  background: url(../../img/common/icon_footer-mail-w.svg) 26px 21px;
  height: 21px;
  width: 26px;
  margin: 0 5px -4px 0;
}
@media (max-width: 767px) {
  .page-template-page-layout .contact-btn-2 {
    flex-direction: column;
  }
  .page-template-page-layout .block-contact .title {
    font-size: 3.5vw;
  }
}



/* block-banner3
3カラムのバナー部分
*/
/* .page-template-page-layout .block-banner3 {
  margin-top: 90px;
  padding: 0 21px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0px, 1fr));
  gap: 18px;
}
@media only screen and (max-width: 768px) {
  .page-template-page-layout .block-banner3 {
    padding: 0;
    grid-template-columns: repeat(1, minmax(0px, 1fr));
  }
}
.page-template-page-layout .block-banner3 a {
  display: block;
  position: relative;
}
.page-template-page-layout .block-banner3 a ._txt {
  position: absolute;
  text-align: center;
  left: 0;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-weight: 700;
}
.page-template-page-layout .block-banner3 a ._txt .en {
  font-size: 18px;
  line-height: 25px;
}
.page-template-page-layout .block-banner3 a ._txt h2 {
  font-size: 20px;
  line-height: 33px;
  margin-top: 5px;
}
.page-template-page-layout .block-banner3 a .img-wrap img {
  height: 220px;
  position: relative;
	display: inline-block;
}
.page-template-page-layout .block-banner3 a .img-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  mix-blend-mode: multiply;
  z-index: 1;
}

._txt {
  position: relative;
  z-index: 2;
}

@media only screen and (max-width: 768px) {
  .page-template-page-layout .block-banner3 a ._txt h2 {
    font-size: 18px;
    line-height: 25px;
  }
} */


/* ショートコード用 */
.txt-bold{
  display:inline-block;
  font-weight:700;
}

.btn-red{
  min-width: 240px;
  height: 55px;
  background: #E83633;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  color: #FFFFFF;
  border: 1px solid #E83633;
  transition: all 0.5s;
}
.btn-red:hover {
  background: #fff;
  color: #E83633;
}
/*ボックスバナー4つ*/
.boxwrapper{
    position: relative;
    width: 100%;
    max-width: 1136px;
    padding: 0 18px;
    margin-left: auto;
    margin-right: auto;
}

.boxbnlayout{
    margin-top: 90px;
    padding: 0 21px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0px, 1fr));
    gap: 18px;
}

.boxbnlayout a {
    display: block;
    position: relative;
}
.boxbnlayout a ._txt{
    position: absolute;
    text-align: center;
    left: 0;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-weight: 700;
    }
.boxbnlayout a ._txt .en {
    font-size: 18px;
    line-height: 25px;
}
.boxbnlayout a ._txt h2 {
    font-size: 24px;
    line-height: 33px;
    margin-top: 5px;
}
@media only screen and (max-width: 768px){
  .boxwrapper{
    padding: 0;
    max-width: calc(100% - 36px);
  }
	.boxbnlayout{
	padding: 0;
   grid-template-columns: repeat(1, minmax(0px, 1fr));
	}
.boxbnlayout a ._txt h2 {
    font-size: 18px;
    line-height: 25px;
}
}
