/*
Theme Name: LIQUID Child
Theme URI: 
Description: LIQUID 子テーマ
Author: 
Author URI:
Template: liquid
Version: 1.0
*/



/* ------------------------------------------------------------

 Memo 

  基本文字色：color:#282828;


------------------------------------------------------------ */


*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
img{ vertical-align: bottom; }

div{
	margin-left:auto;
	margin-right:auto;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}




table {
	border-collapse: collapse;
	border-spacing: 0;
}


/* 基本フォントサイズ（何も指定していないときのフォントサイズ） */

body{ font-size: 20px; }

@media only screen and (max-width:768px){
 
  body{
    font-size: 14px;
  }
  
}

.post_body p,
.content p,
.entry-content p,
.entry-content li,
.entry-content th,
.entry-content td{
  line-height: 2.0;
  letter-spacing: 15%;
}






.post_body{
  padding-top: 0; /* 頂点揃える*/
}

:root {
  --wp--preset--font-size--small: 1.2rem;  /* フォントサイズ S  */
  --wp--preset--font-size--medium: 1.8rem; /* フォントサイズ M  */
  --wp--preset--font-size--large: 2.2rem;  /* フォントサイズ L  */
  --wp--preset--font-size--x-large: 3.2rem;/* フォントサイズ XL */
  --wp--preset--font-size--xx-large: 5vw;  /* フォントサイズ XXL */
}


body{
  font-family: "Zen Maru Gothic", sans-serif;
	font-optical-sizing: auto;
	font-weight:500;
	font-style: normal;
	color:#282828;
  position: relative;
	
}


a{
  color:#282828;
  text-decoration: underline;
}

/*　基本レイアウト　*/
.container{
  width: 100% ;/* full size */
  max-width: 100%;
  padding: 0;
}
.inner{
  width: 100%; /* full size */
}

section{ 
	padding:3% 0;
}

/*　タイトル　*/
/*h2{
  font-size: 3.3rem;
  margin-bottom: 1em;
	text-align: center;
  line-height: 1.4em;
}*/

.detail.page{
  padding-top: 0;
}






/* 流れる文字*/
/*.animation_txt{
	position:relative;
	height:20vw;
}

.animation_txt p{
	font-size: 15vw;
	color:rgba(255,255,255, 0.2);
	font-weight:600;
	letter-spacing: 0.02em;
	line-height: 1.2em;
	position: absolute;
  white-space: nowrap;
  animation: scrollText 100s linear infinite;
}

.animation_txt.animation_txt-company p{
	color:rgba(37,168,201, 0.1);
}

@keyframes scrollText {
  0% {
    transform: translateX(30%);
  }
  100% {
    transform: translateX(-100%);
  }
}
*/




/* ヘッダー全体 */
.header {}
.header-inner {}


/* ロゴ */
.header .logo{
  width: 350px;
  height: 50vh;
  display:flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  padding: 2% 2%;
  margin: auto;
  line-height: 1em;
  text-align: center;
}

.header .logo img {
  /*width: 100% !important;
  height: auto  !important;*/
  max-width: 100% !important;
  height: 40%;  
  width: auto;
  vertical-align: bottom;
  margin-bottom: 10px;
}


@media only screen and (max-width:768px){
 
  .header .logo{
    width: 40%;
    min-width: 150px;
  }
  .header .logo img{
  }
  

}

@media only screen and (max-width:375px){ }


/* 
 固定ヘッダーHOMEボタン（スクロール後に表示　）
*/
.header-btn-home{
  position: fixed;
	top: 5%;
	right: 3%;	
  z-index: 300;
  opacity: 0;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;  
}
.header-btn-home img{ 
  max-width:180px;
  transition: transform 0.5s ease;
}
.header-btn-home:hover img{
  transform: scale(0.95);
}

.header-btn-home.is-show {

  transform: translateY(0);
  opacity: 1;
	
}

@media only screen and (max-width:768px){
  
  .header-btn-home{
    top: 2%;
    right: 2%;	
  }
  .header-btn-home img{ 
    max-width:100px;
    width: 100px;  }
  
}




/* ------------------------------------------------------------

 グローバルナビ（下部に固定）navi

------------------------------------------------------------ */

/* グローバルNavi */

.navi_erea{
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 100;
  padding: 1em;
  width: 100%;
  background:#FFF;
}

.header-nav {}

.header-nav ul{
  display: flex;
  justify-content:space-around;
  list-style: none;
  margin: auto;
  padding: 0;
  width: 90%;
}
.header-nav ul li {
  position: relative;
  width: 100%;
}

.header-nav ul li a {
  text-decoration: none;
  font-size: 30px;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
  transition: 0.3s;
  display: block;
  padding: 0.8em 0 ;
  color:#282828;
  position: relative;
  
}

.header-nav ul li a:hover{
  cursor: pointer;
}


.header-nav ul li a::after {
  content: "";
  position: absolute;
  left: 15%;
  bottom: 10px;
  width: 0;
  height: 1px;
  background: #000;
  transition: width 0.3s ease;
}

.header-nav ul li a:hover::after {
  width: 70%;
}

.header-nav .nav-links li a span {
  display: block;
  font-size: 11px;
  color: #999;
}

.header-nav .nav-links li a:hover {
  color: #00a4c6;
}


@media only screen and (max-width:1100px){
  
 .header-nav ul li a {
    font-size: 2.6vw;
  }
  
}
@media only screen and (max-width:768px){
  

  .navi_erea{
    padding: 1em 1em 0 1em;
  }

  
  .header-nav ul{
    justify-content:center;
  }
 .header-nav ul li a{
   font-size: 3.8vw;
  }  
    
 .header-nav ul li.sp_none{
   display: none;
  }

}


/*　MENU, 無料体験ボタン */
.btn-menu,
.btn-trial{
  position: fixed;
  bottom: 90px;
  z-index: 100;
}

.btn-menu{ left: 1%;}
.btn-trial{ right: 1%;}

.btn-menu{
  background: #fff;
  border-radius: 40px 40px 0 0;
  box-shadow: 
    0 -15px 20px rgba(0, 0, 0, 0.15);
  padding: 15px 30px 5px 30px;
}
.btn-menu img{
  width:170px;
  transition: transform 0.3s ease;
}
.btn-menu:hover img{
  transform: scale(1.12);
}

.btn-trial img{
  width:100px;
}
.btn-menu a:hover{
  cursor: pointer;
}

@media only screen and (max-width:1100px){
  
  .btn-menu{
    bottom: 8vw;
  }
  
  .btn-menu img{
    width:90px;
  }
  
}


/* SP用の無料体験 ＆ お問い合わせボタン　→ PCでも表示*/
/*.sp-btn-contact{
  display: none;
}*/

.sp-btn-contact{
  display: block;
  position: fixed;
  left: 10px;
  bottom: 80px;
  z-index: 100;
  list-style-type: none;
}
.sp-btn-contact li{
  width: 60px;
  margin-bottom: 15px;
}
.sp-btn-contact li img{ width: 100%; }
.sp-btn-contact li a:hover{ cursor: pointer; }

@media only screen and (max-width:768px){
  
  /* .btn-trial{ 
    display: none;
  }*/

  .sp-btn-contact{
    bottom: 30px;
  }
  .sp-btn-contact li{
    width: 35px;
  }  

}


.btn {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.btn.contact {
  background-color: #00c2a9;
}

.btn.download {
  background-color: #00c2a9;
}

.btn:hover {
  opacity: 0.85;
}






/* ------------------------------------------------------------

 フッター

------------------------------------------------------------ */											

/* フッター画像 */
.img_fotter{
  position: relative;
  overflow: hidden;
  /*height: 600px;*/
  height: 30vw;
}
.img_fotter img{
  width: 100%;
  height: 100%;
  min-width: 1200px;
  object-fit: cover;
  object-position: center center;
  display: block;
  position: relative;
  left: 50%;
  transform: translateX(-50%) scale(1.0);

}

@media only screen and (max-width:768px){
  
  .img_fotter img{
    min-width: auto;
  }
  
}


/*　フッター　*/

footer{}
footer.site-footer{
  background: #FFF;
  border: 0;
  padding: 3vw 0 6vw 0;
}
footer.site-footer p{
  font-size: 14px;  
}

.footer-main {
  text-align: center;
}

.footer-logo{
  width: 100%;
  max-width: 340px;
  margin-top: 2vw;
  margin-bottom: 5vw;
}
.footer-logo a{
  display: flex;
  justify-content:space-between; 
}
.footer-logo a img {
  width: 46%;
  height: auto;
  margin-bottom: 10px;
}

@media only screen and (max-width:768px){

  .footer-logo{
    width: 60%;
    margin-top: 6vw;
    margin-bottom: 10vw;
  }
  .footer-logo a img {
    
  }
}






/* コピーライト */
.footer-copy {
  text-align: center;
  border-top: 1px solid #ccc;
  padding: 1em;

}
.footer-copy p{
  font-size: 14px;
  color: #282828;
}

@media screen and (max-width: 768px) {



    .footer-main { }

    .footer-left {
      flex: none; 
      width: 100%;
      display: flex;
      flex-wrap: wrap;
      align-items: flex-start;
    }

    .footer-left .footer-logo{
      order: 1;
      width: 50%;
      text-align: left;
    }
    .footer-left address {
      order: 3;
      width: 100%;
    }
    .footer-left .privacy-mark{
      order:2;
      width: 50%;
      text-align: right;
    }

   .flex_pmark_area{ margin-bottom: 1em; }
  
    .footer-nav {
      justify-content: center;
      margin-top: 30px;
    }

    .footer-nav > ul {
      gap: 0;
      flex-wrap: wrap;
    }
    
    .footer-nav ul li.nav-parent{
      width: 100%;
      margin:1%;
    }

    .footer-left {
      margin-bottom: 20px;
    }

    .footer-banners {
      gap: 0;
      justify-content: start;

    }
    .footer-banners .banner-item{
      width: 48%;
      margin: 1%;
    }
    .footer-banners .banner-item img { width: 100%; }




}



/* 汎用 */

.flex{
	display: flex;
	justify-content: center;
	align-content: flex-start;
}
.center{ text-align: center ;}



/* ------------------------------------------------------------

 TOP MV　部分

------------------------------------------------------------ */

.mv_list {
  display: flex;
}

.mv_list li {
  /*height: 50vw;*/
  height: 50vh;
  /*min-height: 500px;*/
  overflow: hidden;
}

.mv_list img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* ---------------------------------------------------------------------------

		
		サブページ


------------------------------------------------------------------------------*/



/*　タイトル類（デフォルト）　*/

/*　ページタイトル　*/
h1.ttl_h1 {
	position: relative;
	text-align: left;
	font-size: 2.9em; 
	font-weight: 700;
	color:#063352;
	letter-spacing: 0.05em;
	line-height: 1.4;
	padding: 0.4em 5%;
	margin: 0 0 0.2em 0;
}
h1.ttl_h1_img{ padding: 0; }


/* パンナビ */
.breadcrumb{
	background: none;
	padding: 1% 3%;  
}
.breadcrumb a{
  font-size: 12px;
  color:#555;
}

.page h2{
	font-size: 2.8rem;
	border: 0;
  color: #282828;
  letter-spacing: 0.08em;
	padding-top: 0.1em ;
	margin-bottom:1em;
  text-align: left;
}


.page h3{
	font-size: 2.8rem;
  margin-bottom: 1em;
  margin-left: 0 !important;
}
.page h4{
	font-size: 2.0rem;
  margin-bottom: em;
}

.page h5{
	font-size: 1.8rem;
  margin-bottom: em;
}
/*  ブロック調整 */
.wp-block-columns{ 
  margin-bottom: 3vw;
}
.wp-block-list{
  margin-left: 1.5em;
  margin: 1em 1em 1em 1.5em;
}
.wp-block-list li{ margin-bottom:0.5em; }


/* 打ち消し */
.post_body h1 span,
.post_body h2 span {
    border-bottom:0;
    padding:0;
    margin-bottom: 0;
}





.page-catch {
  text-align: center;
  /*padding:  4vw 0;*/
  padding: 1.5vw 0 1.0vw 0;
}

.page-catch h2 {
  font-size: 3.2rem;
  font-weight: 700;
  color: #00a4c7;
  position: relative;
  margin-bottom: 0em;
	padding: 1em 1em 1.5em 1em;
  
  background: url("./assets/images/line-2.png") no-repeat center bottom;
	background-size:  500px auto;

}
.page-catch p{
	font-size:2.0rem;
	font-weight:700;
}


.lead-text{
  padding:4em;
  background: linear-gradient(90deg, #e6f8f9, #f8ffff);
}



@media screen and (max-width: 768px) {

  
  /*　タイトル　*/
  h1.ttl_h1 {
    font-size: 7vw; 
  } 
  h2{
    font-size: 6.5vw;
  }
  .page h2{
    font-size: 7vw;
  }

  .page-catch h2 {
    font-size: 5vw;

  }

  
  .lead-text{
    padding:1.8em;
  }




}



/* ------------------------------------------------------------

 基本レイアウト - 枠

------------------------------------------------------------ */


.container{
  /*width:98%;*/
  /*margin:0 2% 0 0; */
  max-width: 100%;
  padding: 0;
}
.inner{
  width: 100%; /* full size */
}

section{ 
	padding:3% 0;
}

.detail.page{
  padding-top: 0;
}



@media (max-width: 768px){
  .container{
    width:100%;
    margin:0;
  }
}

.home section{
  margin-bottom: 5vw;
}
.home section .inner.flex{
  display: flex;
  align-content: flex-start;
}


/* カラム調整　*/
.inner.flex{
  overflow: visible;
}
.page_contact  .content{
  margin-right: -2%;
  width: 96%;
}

/*   左タイトル h2（h1） */
.home section .inner.flex h2,
.page_form .page_trial .inner.flex h1,
.page_form .page_contact .inner.flex h2
{
 /* width:5%;*/
  flex-basis: 8% ;
  min-width: 50px;
  max-width: 100px;
}

/* その他ページ系は、ずれが出るので、幅を調整 */
.page .inner.flex h1,
.page_calendar .inner.flex h1,
.page_faq .inner.flex h1{
  flex-basis: 14% ;
  min-width: 50px;
  max-width: 100px;
}


.home section .inner.flex h2 img,
.page .inner.flex h1 img,
/*.page_calendar .inner.flex h1 img,
.page_faq .inner.flex h1 img,*/
.page_form .page_trial .inner.flex h1 img,
.page_form .page_contact .inner.flex h2 img,
.single .inner.flex h2.single-title img
{
  width: 100%;
}

 /* クラスページ（構造違うので微調整）　*/
.class-section.wp-block-columns > .wp-block-column:first-child{  flex-basis: 5%;}
.class-section.wp-block-columns > .wp-block-column:first-child img{ width: 100%; }



@media only screen and (max-width:768px){

  .home section .inner.flex h2,
  .page_form .page_trial .inner.flex h1,
  .page_form .page_contact .inner.flex h2,
  .page .inner.flex h1,
  .single .inner.flex h2.single-title
  {
    flex-basis: 5% ;
    min-width: 50px;
  }
  

  /* クラスページ　*/
  .class-section.wp-block-columns > .wp-block-column:first-child {
    flex: 0 0 10% !important;
    max-width: 10% !important;
    min-width: 50px !important;
  }
  
}






.home section .inner.flex h2 img{ width:100%; }
.home section .page-thumbnail{
  margin-bottom:  3vw;
}


/*　h2 固定（追従・追尾） */
.wrapper {
    overflow: visible; /*親テーマでhiddenを解除*/
}
.home section .inner.flex,
.page .inner.flex,
.single .inner.flex
{
  display: flex;
  align-items: flex-start;
  overflow: visible;
  position: relative;
}


.home section .inner.flex h2:not(.not_sticky),
.page .inner.flex h1:not(.not_sticky),
.single .inner.flex h2.single-title:not(.not_sticky){
  position: sticky;
  top: 0px;
  z-index: 10;
  align-self: flex-start;
  height: fit-content;
  display: block;
}


.class-section > .wp-block-column:first-child .wp-block-image{
  position: sticky;
  top: 0px;
  z-index: 10;
  align-self: flex-start;
  height: fit-content;
  display: block;
}







/* ------------------------------------------------------------

 トップページ（HOME)

------------------------------------------------------------ */



/*  HOME >> お問い合わせ*/
.page_contact .content_inner{
  width:80%;
  max-width:700px;
  margin: auto;
}

.page_contact .wp-block-columns{
  margin-bottom:10px;
  padding-bottom:0;
}

.page_contact .wp-block-column figure{
  margin-bottom:0;
}
.page_contact .wp-block-column figure img{
  width:250px;
}

.page_contact  .content{
  margin-right: -2%;
  width: 96%;
  
}
.top-contact-box{}

@media only screen and (max-width:768px){
  
  .home section.page_contact .content_inner{
  }
  
  .page_contact .wp-block-columns{
    gap: 10px 0;
  }
  .page_contact .wp-block-column figure img{
    height: 35px;
    width: auto;
  }

  .page_contact .wp-block-columns p.has-text-align-right{
    text-align: left;
    padding-left:0.2em;
  }


  
}


/*  最近の作品 ギャラリー */
.home section .content{
  width:100%;
  overflow:hidden;
}
.slide-wrap{ width:112%; }/* 別途 #gallery .content_inner でも指定 */

#gallery .content_inner{
  overflow: hidden;
  width: 100%;
  margin-right: -2%;
  margin-left:2%;
  }

#gallery .content_inner.content_inner2{
  width:102%;
  margin-left:0;
  margin-right: -2%;
}
.slide-wrap { }

figure.wp-block-gallery-is-layout-flex{
  display: flex;
}

figure.wp-block-image.size-large{
  flex: 0 0 auto;
  width: 450px !important;
  margin-right: 1% !important;
}

figure.wp-block-image.size-large img {
  display: block;
  width: 100%  !important;
}
  
    
/*  リセット系 / ギャラリー固有の設定をリセット（重要）　*/
.slide-wrap .wp-block-gallery-is-layout-flex {
  flex-wrap: nowrap !important;
}

.slide-wrap .wp-block-image.size-large {
  margin: 0 !important;
  padding: 0 !important;
}

.slide-wrap .wp-block-image.size-large + .wp-block-image.size-large {
  margin-left: 2% !important;
}



/* NEWS */

.news-list{
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  max-width: 100%;
}

.news-list-item{
  display: flex;
  gap: 0 32px ;
  align-items: flex-start;
  padding: 0 0 0 0px;
  margin-bottom:1.5em;
}
.news-list-item a{
  text-decoration:none;
}
.news-list-item a:hover img { transition: 0.8s; }
.news-list-item a:hover img {
  opacity: 0.7;
}
.news-thumb{
  width: 50%;
  max-width: 760px;
  aspect-ratio: 17 / 4;
  overflow: hidden;
  flex-shrink: 0;
}

.news-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-body{
  flex: 1;
  padding-top: 18px;
}

.news-date{
  margin: 0 0 0.5em 0;
  /*font-size: 14px;*/
  letter-spacing: 0.12em;
  line-height: 1;
}

.news-title{
  margin: 0 0 0.2em 0;
  /*font-size: 24px;*/
  line-height: 1.4;
  font-weight: 700;
}

.news-content{
  line-height:1.8;
}

.news-content p{
  margin: 0;
  font-weight: 400;
}

@media only screen and (max-width:768px){
  
  
  .news-list-item{
    flex-wrap: wrap;
    gap: 0;
  }

  .news-thumb{
    width: 100%;
  }
  .news-thumb img{}
  .news-body{
    min-width: 100%;
    padding-top:5px;
  }
  
}

/* アクセス　*/
#access{}

.page_access .wp-block-columns{
  overflow: hidden;
  padding-bottom: 0;
}

.page_access .wp-block-column{}
.page_access .wp-block-column h3.wp-block-heading{
  font-size: 1.1rem;
  line-height: 1.8em;
  padding:5vw 0;
  font-weight: 400;
}

.page_access .wp-block-column p{
  font-size: 1.1rem;
  line-height: 1.8em;
}
.page_access .wp-block-column .wp-block-spacer{
  border-bottom:1px solid #555;
}
.page_access iframe{
  margin-top:100px;
}
.page_access .wp-block-column.access-pic{
  
}
.page_access figure.vertical-cover {
   position: relative;
}
.page_access figure.vertical-cover img {
  position: absolute;
  height: 100vw;
  min-width: 100%;
}

@media only screen and (max-width:1024px){
  .page_access .wp-block-column h3.wp-block-heading{
    padding:2vw 0;
  }
}


@media only screen and (max-width:768px){
  
  .page_access .wp-block-column h3.wp-block-heading{
  padding:30px 0;
  }
  .page_access .wp-block-column .wp-block-spacer.spacer-3vw{
  /*max-height: 1vw;*/
  min-height: 6vw;
  }
  .page_access iframe{
  margin-top: 2vw;
  }
  .page_access figure.vertical-cover img {
  height: 70vw;
  }  

  .page_access .wp-block-columns{
    gap:0;
  }
  
  .page_access .content > .wp-block-columns > .wp-block-column:nth-child(1){
    order: 2;
  }
  .page_access .content  > .wp-block-columns >  .wp-block-column:nth-child(2){
    order: 1;
  }

  .page_access figure.vertical-cover {
    height:70vh;
    width: 100%;
  }

  .page_access figure.vertical-cover img {
    position: absolute;
    width: 100%;
    height:70vh;
    inset: 0;
    object-fit: cover;
  }
  
}



@media only screen and (max-width:768px){

  /*.content{
    margin-top: -10px;
  }*/
  .content .content_inner{
    width: 100%;
    margin: 0;
  }
  .content .content_inner .wp-block-columns{
    gap:0;
  }
  .content .content_inner figure img{ max-width: 120px; }
  
}


/* ------------------------------------------------------------

 アイキャッチ

------------------------------------------------------------ */

.eyecatch{
  position: relative;
  overflow: hidden;
  height: 400px;
}

.page_form .eyecatch,
.page_calendar .eyecatch,
.single .eyecatch{

 height: 30vh;
}

.eyecatch img{
  width: 100%;
  height: 100%;
  min-width: 1200px;
  object-fit: cover;
  object-position: center bottom;
  display: block;
  position: relative;
  left: 50%;
  transform: translateX(-50%) scale(1.2);
}


  

/* ------------------------------------------------------------

 single ページ（記事ページ）

------------------------------------------------------------ */

.single{}
.single .mainarea{
  margin-top: 20px;
}
.single h1{
  font-size: 24px;
  line-height: 1.6;
  margin-bottom: 0.5em;
}
.single .content{
  width: 100%;
}
.single .post_meta{
  margin-bottom: 1em;
}

@media (max-width: 768px){
  
  .single h1{
    font-size: 20px;
  }
  
}
/* ------------------------------------------------------------

 page クラス

------------------------------------------------------------ */


/* クラスNavi */

.class_navi{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  list-style-type: none;
  margin: 2%;
  margin-top: -2em;
}
.class_navi li{
  width: 46%;
  margin-left: 1%;
  margin-right: 2%;
}
.class_navi li a{
  display:block;
  color: #282828;
  padding: 2em 0;
  border-bottom: 1px solid #282828;
}

.class_navi li a{
  text-decoration: none;
  background-repeat:no-repeat;
  background-size:auto 4vw; 
  background-position: calc(100% - 0px) center; /* 右・中央*/
  
  transition: 0.3s ;
}
.class_navi li:nth-child(1) a{ background-image:url("assets/images/icon/icon-class-1.png"); }
.class_navi li:nth-child(2) a{ background-image:url("assets/images/icon/icon-class-2.png"); }
.class_navi li:nth-child(3) a{ background-image:url("assets/images/icon/icon-class-3.png");  background-size:auto 48%;  }
.class_navi li:nth-child(4) a{ background-image:url("assets/images/icon/icon-class-4.png"); }
.class_navi li:nth-child(5) a{ background-image:url("assets/images/icon/icon-class-5.png"); }
.class_navi li:nth-child(6) a{ background-image:url("assets/images/icon/icon-class-6.png"); }

.class_navi li a:hover{
  text-decoration: none;
  background-position: calc(100% - 10px) center; 
}

@media only screen and (max-width:768px){
  
  .class_navi{
     margin-top: -3em;
  }
  .class_navi li{
    width: 100%;
  }
  .class_navi li a{
    padding: 1.7em 0;
  }
  
}

/* クラス詳細ページ - タイトル＆アイキャッチ　*/

/* タイトル並び　 */
.page-template-page-class-child .post_body{}
.page-template-page-class-child .post_body > .wp-block-columns > .wp-block-column:nth-child(1){ flex-basis: 5%;  min-width: 80px; }
.page-template-page-class-child .post_body > .wp-block-columns > .wp-block-column:nth-child(2){ flex-basis: 95%; }


/* スマホで1列にならないように制御　*/
@media only screen and (max-width:1024px){
  

  .page-template-page-class-child .post_body > .wp-block-columns{
    flex-direction: row;
    flex-wrap: nowrap !important;
    gap:10px;
  }
  
  .page-template-page-class-child .post_body > .wp-block-columns > .wp-block-column:nth-child(1){
    flex: 0 0 70px !important;
  }

  .page-template-page-class-child .post_body > .wp-block-columns > .wp-block-column:nth-child(2){
     flex: 1 1 0 !important;
  }  
  
}

.class-title{
  position:relative;
  /*height: 60vw;*/
  height: 60vh;
  overflow: hidden;
}

.class-title .class-thumbnail img {
/*  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;*/
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 10;
  
}
 /* ダークフィルター*/
.class-thumbnail::after{
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 11;  
}

.class-title .float_title{
  position:absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width:  80px;
  z-index: 15;  
}
.float_title .float_title mg{
  max-height:500px;
}

.class-thumbnail .attachment-post-thumbnail.size-post-thumbnail.wp-post-image{
  margin-bottom:0;
}


/*  */
.class-section{
  display: flex;

  justify-content: flex-start;
}
@media only screen and (max-width:768px){
 
  .class-section{
    display: flex;
    justify-content: flex-start;
  }

  .class-title .float_title{
    max-width:  40px;
  }

  .class-section.wp-block-columns ,
  .class-section.wp-block-columns .wp-block-columns{
    gap: 0 !important;
    align-items: flex-start;
  }



  .class-section.wp-block-columns > .wp-block-column:last-child {
    
  }

  
  /* カラムの下部余白調整 */
  .class-section.wp-block-columns,  
  .class-section.wp-block-columns .wp-block-columns{
    margin-bottom: 0;
  }
  

  .class-schedule,
  .class-price{
    padding: 1% 0;
  }
  .wp-block-column.class-schedule p,
  .wp-block-column.class-price p{
    margin-bottom: 0.5em;
  }
  
}

/* 写真を全幅にする　*/
.class-section > .wp-block-column img{ width:100%; }
.class-section .wp-block-column .wp-block-column{}


/*　ギャラリー（クラス用）　他ページでもギャラリーを使用するなら、親クラス付与する　*/
.class-section .wp-block-gallery.has-nested-images.columns-4{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  
  /*横幅は指定しない（後で指定あり+40pxする必要あり）*/
  /*  width: 100%;
  max-width: 100%;*/
  box-sizing: border-box;
}
.class-section .wp-block-gallery.has-nested-images.columns-4 .wp-block-image{
  min-width: 0;
  margin: 0;
}
.class-section .wp-block-gallery.has-nested-images.columns-4 img{
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}


/*.class-section .wp-block-gallery.has-nested-images.columns-4 {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 20px !important;
}

.class-section .wp-block-gallery.has-nested-images.columns-4 > figure.wp-block-image.size-large {
  width: calc((100% - 60px) / 4) !important;
  flex: 0 0 calc((100% - 60px) / 4) !important;
  max-width: calc((100% - 60px) / 4) !important;
  margin: 0 !important;
}

.class-section .wp-block-gallery.has-nested-images.columns-4 > figure.wp-block-image.size-large img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block;
}
*/
/* スマホ */
@media only screen and (max-width: 767px) {

  .class-section .wp-block-gallery.has-nested-images.columns-4 {
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  .class-section .wp-block-gallery.has-nested-images.columns-4 > figure.wp-block-image.size-large {
    width: calc((100% - 10px) / 2) !important;
    flex: 0 0 calc((100% - 10px) / 2) !important;
    max-width: calc((100% - 10px) / 2) !important;
  }
  
  /* 美術系高校受験クラスのAboutだけ若干下げる　*/
  .page_examination .title-about img{
    padding-top: 5px;
  }
  
}

@media only screen and (max-width: 1024px) {
  .class-section .wp-block-gallery.has-nested-images.columns-4 {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  .class-section .wp-block-gallery.has-nested-images.columns-4 > figure.wp-block-image {
    flex: 0 0 calc(50% - 5px) !important;
    width: calc(50% - 5px) !important;
    max-width: calc(50% - 5px) !important;
    margin: 0 !important;
  }

  .class-section .wp-block-gallery.has-nested-images.columns-4 > figure.wp-block-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
}

/* 表現方法のリスト */
.work-list-sub{
  align-content: center;
  
}
.work-list-sub p{
  margin:auto;
}
.work-list-sub .wp-block-column:nth-child(1){}
.work-list-sub .wp-block-column:nth-child(2){}

.work-list-sub > .wp-block-column{
  margin-bottom:1.5vw;
}

.work-list-sub .wp-block-column ul{
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding-left: 1em;
  align-content: center;
  align-items: center;
}

.work-list-sub .wp-block-column ul li{
  width: 50%;
}
.work-list-sub .wp-block-column ul li::before {
  content: "•";
  font-size: 16px;
  margin-right: 8px;
}
.work-list-sub .wp-block-column p,
.work-list-sub .wp-block-column ul li{
 /* font-size: 20px;*/
  line-height: 1.4em;
}

.work-list-sub .wp-block-column p,
.work-list-sub .wp-block-column ul{ margin:auto;}

.work-list-sub .wp-block-column img{ 
  max-width: 220px;
  height: auto;
}

.work-list-sub  .wp-block-column .wp-block-list{
  margin-bottom: 1.5em;
}
.work-list-sub  .wp-block-column .wp-block-list li{
  line-height: 2em;
}

/* 
スマホ時は、下記のレイアウトになるように
[画像]  油彩
静物画  風景画
*/
@media only screen and (max-width: 768px){

  /* 外側は縦並びにする */
  .work-list-sub{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* 外側の1列目・2列目を横幅100%にする */
  .work-list-sub > .wp-block-column{
    flex: 0 0 100%;
    width: 100%;
  }

  /* 1行目の「画像＋油彩」は横並びのまま */
  .work-list-sub > .wp-block-column:first-child > .wp-block-columns{
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
  }

  /* 画像側 */
  .work-list-sub > .wp-block-column:first-child > .wp-block-columns > .wp-block-column:first-child{
    flex: 0 0 1;
  }

  /* テキスト側 */
  .work-list-sub > .wp-block-column:first-child > .wp-block-columns > .wp-block-column:nth-child(2){
    flex: 1 1 auto;
  }

  /* 2行目のリストは横2つ並び */
  .work-list-sub .wp-block-column ul{
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin: 0;
  }

  .work-list-sub .wp-block-column ul li{
    width: 50%;
  }

  /* 画像サイズをスマホ用に少し抑える */
  .work-list-sub .wp-block-column img{
    max-width: 140px;
    height: auto;
  }

  .work-list-sub .wp-block-column p,
  .work-list-sub .wp-block-column ul li{
    font-size: 16px;
    line-height: 1.4;
  }

  .work-list-sub  .wp-block-column .wp-block-list{
    margin-bottom: 0.5em;
  }

  
}

.wrapper_inner{
 /* overflow: hidden; */
   overflow: visible; /* はみ出し防止※追従が解除されるので、visibleを使用　*/
}

/* 可変型の写真 */
.variable-pic {
  /*width: 102.5%; *//* 画像を右にぴったりにする ※余白調整部分で対応　*/
  height: 300px;
  overflow: hidden;
  position: relative;
}
.variable-pic-vw20 {
  height: 20vh;
}
.variable-pic-vw50 {
   height: 50vh;
}

.variable-pic img {
/*  width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);*/
}
.variable-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


@media only screen and (max-width:768px){
  
  /* 可変型の写真 */
  .variable-pic {
    /*width: 100%;*/
    height: 70vw;
  }

  
}

.class-schedule,
.class-price{
  padding: 3% 0;
}
.class-schedule p{
  margin-bottom: 1.5em;
}
.class-price p{
  font-size: 20px;
}



/* 枠付きタイトル　*/
.wp-block-heading.box-ttl,
.page_calendar h2,
.page_faq h2,
.page_privacy-policy h2{
  display: inline-block;
  padding: 0.5em 0.7em;
  border: 1px solid #282828;
  letter-spacing: 0.2em;
  font-weight: 500;
  text-align: center;
}

.wp-block-heading.box-ttl{
  font-size: 1.1rem;
  font-weight: 400;
   padding: 0.5em 0.7em 0.6em 0.7em;
}


/* 矢印付きボタン　*/

.wp-block-columns.navi-type-1{
  gap:80px;
}
.navi-type-1 p{
  border-bottom:  1px solid #515151;
}
.navi-type-1 a{
  display: block;
  color: #282828;
  padding: 1em 0;
  transition: transform 0.5s ease;
}

.navi-type-1 a:hover{
   transform: translateX(10px);
  text-decoration: none;
}

/* クラスのギャラリー */

/* ------------------------------------------------------------

 page カレンダー

------------------------------------------------------------ */

.page_calendar{}
.page_calendar h2{}　/*　枠付きタイトルは、.box-ttl とセットで設定 */



/* ------------------------------------------------------------

 page 群青展

------------------------------------------------------------ */


.page_gunjoten{}
.page_gunjoten .content{
  width: 100%;
}
.page_gunjoten .post_body{
  padding-bottom:20px;
}
.page_gunjoten h2{
  font-size: 28px;
  margin-bottom: 0.5em;
}

.poster_section,
.gallery_section{
  margin-right:-2.2%;
}

  
.gunjo-gallery-item img{ width: 100%; }
  
.poster_section{
  display: flex;
  gap: 2%;
  align-items: stretch;
  margin-bottom: 2vw;
  
}

.poster_section .gunjo-poster{
  width: 45%;
}

.poster_section .gunjo-pic-1{
  width: 55%;
}

/* figureの余白を消す */
.poster_section figure{
  margin: 0;
}

/* 左：クロップせず全体表示 */
.poster_section .gunjo-poster img{
  display: block;
  width: 100%;
  height: auto;
}

/* 右：左の高さに合わせてクロップ */
.poster_section .gunjo-pic-1{
  position: relative;
  overflow: clip;
}

.poster_section .gunjo-pic-1 img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.gallery_section{}
.gallery_section .gunjo-gallery-item{
  margin-bottom: 2vw;
}  
@media (max-width: 768px){

  .page_gunjoten .inner.flex .content {
    padding:0 ;
  }
  .category-gunjoten.detail .inner.flex .content {
    padding:0 ;
  }  

  .poster_section{ }

  
}




/* ------------------------------------------------------------


　その他
 

------------------------------------------------------------ */







/* ------------------------------------------------------------

 page 無料体験 & お問い合わせフォーム trial & contact

------------------------------------------------------------ */



  
.box_form{
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 3vw;
}

.box_form .flex{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 0 -17px;
  
}

.box_form .flex .sub{
  width: 50%;
  padding: 0 17px;
  margin: 0;
  margin-bottom: 34px;
  box-sizing: border-box;
}


.box_form .flex .sub.w-full{
  width: 100%;
}

.box_form .flex.flex_a_end{
  align-content: flex-end;
  margin-bottom: 2vw;
}
.box_form .flex.flex_a_end .sub{ margin-bottom: 1em; margin-top: auto; }

/* タイトル */
.box_form .label-ttl{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 1em;
  font-weight: 700;
  line-height: 1.4;
}
.box_form .ttl-sub{
  font-size: 14px;
  margin-bottom: 0;
}


.box_form .ttl-text{
  display: inline-block;
}

/* 必須・任意 */
.box_form .icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-sizing: border-box;
}

.box_form .icon.hissu{
  background: #ff5a3c;
  color: #fff;
}

.box_form .icon.nini{
  background: #e9e9e9;
  color: #666;
}

/* エラー */
.box_form .err_txt{
  margin: 0 0 10px;
  color: #d33;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* フォーム共通 */
.box_form input[type="text"],
.box_form input[type="email"],
.box_form input[type="tel"],
.box_form select,
.box_form textarea{
  width: 100%;
  border: 1px solid #8c8c8c;
  background: #fff;
  color: #111;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.6;
  appearance: none;
  -webkit-appearance: none;
}

/* input / select */
.box_form input[type="text"],
.box_form input[type="email"],
.box_form input[type="tel"],
.box_form select{
  height: 62px;
  padding: 0 18px;
}
.box_form input[type="text"].sizeSS{ width: 30%; }
.box_form input[type="text"].sizeM{ width:49%; }
.box_form select.sizeM{ width:49%; }


/* selectの矢印 */
.box_form select{
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' fill='none' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 14px 9px;
  padding-right: 48px;
}

/* textarea */
.box_form textarea{
  min-height: 230px;
  padding: 18px;
  resize: vertical;
}

/* placeholder */
.box_form input::placeholder,
.box_form textarea::placeholder{
  color: #c8c8c8;
}

/* 備考 */
.box_form .bikou{
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

/* プライバシーポリシーリンク */
.box_form .privacy-link{
  margin-top: 8px;
  margin-bottom: 20px;
}

.box_form .privacy-link a{
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 13px;
  background: url("./assets/images/icon/icon-new_tab.png") no-repeat right center;
  padding-right: 30px;
  background-size: auto 90%;
    
}

/* チェックボックス */
.box_form .privacy-check{
  margin-bottom: 30px;
}

.box_form .check-wrap{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1.6;
  color: #111;
}

.box_form .check-wrap input[type="checkbox"]{
  width: 22px;
  height: 22px;
  margin: 0;
  border: 1px solid #8c8c8c;
  border-radius: 2px;
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
  position: relative;
  flex-shrink: 0;
}

.box_form .check-wrap input[type="checkbox"]:checked::after{
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 12px;
  border-right: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(45deg);
}

/* 送信ボタン */
.box_form .submit-wrap{
  margin-bottom: 0;
}

.box_form .btn_submit{
  display: block;
  width: 100%;
  min-height: 72px;
  border: none;
  border-radius: 4px;
  background: #1d1d1f;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.box_form .btn_submit:hover{
  opacity: 0.85;
}

.radio-group{}
.radio-group.radio-group-1row{}
.radio-group.radio-group-1row label{
  display:block;
}

/* スマホ */
@media only screen and (max-width: 767px){
  .box_form .flex{
    margin: 0;
  }

  .box_form .flex .sub{
    width: 100%;
    padding: 0;
    margin-bottom: 24px;
  }

  .box_form .ttl{
    gap: 10px;
    margin-bottom: 10px;
  }

  .box_form input[type="text"],
  .box_form input[type="email"],
  .box_form input[type="tel"],
  .box_form select{
    height: 56px;
    padding: 0 14px;
  }

  .box_form textarea{
    min-height: 180px;
    padding: 14px;
  }

  .box_form .btn_submit{
    min-height: 62px;
    font-size: 1rem;
  }
}



@media (min-width: 769px) {
  .trial-text{
    width: 100%;
  }
  .trial-text p{
     text-align: center !important;
  }
  
}
@media (max-width: 768px){
  
  .link_schedule{
    text-align: left;
  } 
  
}


/* ------------------------------------------------------------

 Navi モーダル

------------------------------------------------------------ */

/* モーダルAB共通*/
.modal-menu{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #FFF;
  z-index: 9999;
  overflow-y: auto;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s;
  
  display: flex;
  flex-wrap: wrap;
  align-content: stretch;
}

.modal-menu.is-open{
  opacity: 1;
  visibility: visible;
}

/* .menuだけ遅れて表示 */
.modal-menu .menu{
  margin: 10% 10% ;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3em 2em;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

/* モーダルが開いたら、少し遅れて表示 */
.modal-menu.is-open .menu{
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}
.modal-menu .menu{
  margin: 10% 10%;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3em 2em  ;
}
.modal-menu .menu li{
  list-style: none;
  text-align: center;
}



/*　モーダルA（グローバルナビ用） */
.modal-menu-1 .menu{
  gap: 1em 0;
}

.modal-menu-1{
  width: 100%;
}

/* 下段4つの配置調整 → 一旦未調整 */
/*.modal-menu-1 .menu li:nth-child(7){  grid-column: 2;}
.modal-menu-1 .menu li:nth-child(8){  grid-column: 3;}
.modal-menu-1 .menu li:nth-child(9){  grid-column: 4;}
.modal-menu-1 .menu li:nth-child(10){  grid-column: 5;}*/

/* リンク全体を縦並び */
.modal-menu-1 .menu li a{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #222;
  cursor: pointer;
}
.modal-menu-1 .menu li a:hover{
 cursor: pointer;   
}

.modal-menu-1 .menu li a img{
  width: 100%;
}
.modal-menu-1 .menu li.btn-close a img{
  width: 40%;
  height: auto;
 
}

/* 下のテキスト */
.modal-menu-1 .menu li a span{
  display: block;
  margin-top: 5px;
  line-height: 1.4;
  
}
.modal-menu-1 .menu li a:hover{
  opacity: 0.7;
}

.modal-menu-1 .menu-illust img{  width: 100%; }
.modal-menu-1 .menu-illust-btm{ display: flex; align-items: flex-end; }


@media only screen and (max-width:1024px){

  .modal-menu-1 .menu{
    grid-template-columns: repeat(2, 1fr);
    margin: 10%  11%  10% 8%;
    gap:10px 20px;
    width: 100%;    
  }
  .modal-menu-1 .menu span{
    margin-top: 0;
  }
  

  .modal-menu-1 .menu li:nth-child(7),
  .modal-menu-1 .menu li:nth-child(8),
  .modal-menu-1 .menu li:nth-child(9),
  .modal-menu-1 .menu li:nth-child(10){
    grid-column: auto;
  }  


}

@media only screen and (max-width:768px){
  

  .modal-menu-1 .menu li.btn-close{
    /*　最後の1列にする場合コメント解除*/
 /*   grid-column: 1 / -1;
    justify-self: center;
    width: 60%;*/
  }
  .modal-menu-1 .menu li.btn-close a img{
    width: 35%;
    height: auto;
  }




}

  
/* モーダルメニューB（クラス用） */

/* 表示 */
.modal-menu-2{
  background: none;
}
.modal-menu-2.is-open{
  opacity: 1;
  visibility: visible;
}

/* black layer */
.modal-menu-2 .modal-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}
.modal-menu-2 .modal-inner{
  background: #FFF;
  position: relative;
  width: 30%;
  margin: 0 ;
  z-index: 30;
  display: flex;
  align-items: center;
  height: 100%;
}


.modal-menu-2 .menu{
  display: block;
  margin: auto;
}

.modal-menu-2 .menu li{
  margin-bottom: 1.5em;
}
.modal-menu-2 .menu li img{
  width: auto;
  max-width: 90%;
  max-height:44px;
}
.modal-menu-2 .menu li.btn-close img{
  max-height:100px;
}

@media only screen and (max-width:768px){
  
  .modal-menu-2 .modal-inner{
    width: 100%;
  }
  
}








/* SP基本項目 */

@media screen and (max-width: 768px) {

  img{
    max-width: 100%;
  }

  .inner{ width: 100%; }


}


/* フォント指定（指示有り変更不可）　*/


/* (1)*/
.top-contact-box p,
.class_navi li a
{ font-size: 24px; }

/* (2)*/
.modal-menu-1 .menu li a span,
.wp-block-heading.box-ttl,
.page_calendar h2,
.page_faq h2,
.page_privacy-policy h2,
.work-list-sub .wp-block-column p,
.work-list-sub .wp-block-column ul li,
.class-schedule p,
.news-title

{
  font-size: 20px;
}

/* (3)*/
.test{ font-size: 18px; }
/* (4)*/
.test{ font-size: 16px; }


@media only screen and (max-width:768px){

  /* (1) */
  .news-date,
  .news-title
/*  .news-content p,
  .page_access .wp-block-column p*/
  {
    font-size: 14px;
  }
  .sp-size-1
  {
    font-size: 14px!important  ;
  }  
 
  
  /* (2) */
  .page_access .wp-block-column h3.wp-block-heading,
  .page_about p
  { font-size: 15px; }
  
  
  /* (3) */
  
  .a{ font-size: 16px; }
  
  /* (4) */
  .a{ font-size: 18px; }
    
  /* (5) */
  .a{ font-size: 20px; }
  

  
}







/* CTA */
/*
.contact-section {
  background: linear-gradient(90deg, #7fd1c8 0%, #28b8de 100%);
  text-align: center;
  padding: 60px 20px;
  color: #fff;
}

.contact-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2% 3%;
  border-radus:5vw;
  background:rgba(255,255,255, 0.1);
}


.contact-section h2{
  display: inline-block;
  background: #fff;
  color: #28b8de;
  border-radius: 50vw;
  padding: 0.5em 3em;
  font-weight: bold;
  margin-bottom: 0.8em;
  font-size: 2.2rem;
}

.contact-sub-title{
  font-size: 2.7rem;
  margin-bottom: 1em;
}

.contact-box{
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 25px;
}

.contact-box .item{
  background: #fff;
  color: #28b8de;
  border-radius: 15px;
  padding: 25px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-wrap: wrap;  
  align-items: center;
  width: 100%;
  text-align: center;
}

.contact-box .item:hover {
  transform: translateY(-4px);
}
.contact-box .item a {
  display: block;
  width: 100%;
  text-decoration: none;
  color: #25a8c9;
  font-weight: bold;
  padding: 1em;
}

.contact-box .item a span{
  display: inline-block;
  width: 100%;
}

.contact-box .item .sub-text{
  font-size: 1.7rem;
  margin-bottom: 8px;
}
.contact-box .item .contact-label{
  font-size: 2.4rem;
  font-weight: 700;
}
.contact-box .item .contact-label.phone-number{
  font-size: 2.8rem;
}

.contact-box .item img.icon{
  height: 22px;
  margin-right: 0.1em;
  margin-top: -1px;
  vertical-align: middle;
}
.contact-box .item img.icon.icon-tel{
  height: 25px;
   margin-top: -2px;
}

.contact-section .contact-note {
  color: #FFF;
  padding: 1em;
  font-size: 1.8rem;
   font-weight: 700;
}


@media screen and (max-width: 768px) {


  .contact-sub-title{
    font-size:4vw;
  }

  .contact-box{
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 0;
  }
  .contact-box .item{
    margin-bottom: 1em;
  }
  .contact-inner {
    padding-top:5vw;
  }



}
*/


/*　目次（カスタム）　*/
.toc{
    margin:0 0 2em 0;
    padding:1em;
    background:#FAFAFA;
}
.toc ul{
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: auto auto;
    gap: .8em 3em;
    justify-content: start;
}
.toc li{
    margin: 0;
}

.toc li a{
    display: inline-block;
    position: relative;
    text-decoration: none;
    color: inherit;
    padding-bottom: .2em;
}

/* 下線 */
.toc li a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transition: width .25s ease;
}

/* ホバーで下線を短く */
.toc li a:hover::after{
    width: 0;
}
@media (max-width: 768px){

  .toc ul{
      grid-template-columns: 1fr;
      gap:1em;
  }
  
  
}






/* ------------------------------------------------------------

 余白調整（オフセット調整）まとめ

------------------------------------------------------------ */

.container{
  /*overflow: hidden;*/ /* 追尾が効かなくなるのでNG　*/
   overflow-x: clip;
    overflow-y: visible; 
}

/*　一旦全体に余白　*/
.inner.flex .content,
.post_body > .wp-block-columns .wp-block-column:nth-child(2){
  padding-left:20px;
  padding-right:20px;
}
/* 対象外のものをリセット */
.post_body .wp-block-columns.navi-type-1 .wp-block-column:nth-child(2),
.post_body > .wp-block-columns .wp-block-column .class-price{
  padding-left:0;
  padding-right:0;
}


.wp-block-gallery.wp-block-gallery-is-layout-flex{
  margin-right:-2.2%;
  padding:0;
}



/* 画像関連に余白　*/
.variable-pic,
.news-thumb,
.wp-block-gallery,
.access-pic .wp-block-image
{
  margin-right:-20px;
  margin-left:-20px;
}

.page_access .wp-block-column.access-pic{ margin-right:-20px; }

/*　幅再調整　*/
.page_access .wp-block-columns{
   width: calc(100% + 20px); 
}

.variable-pic,
.wp-block-gallery{ width: calc(100% + 40px); }
  
#gallery .content_inner.content_inner-slide-a{ margin-right:-20px; margin-left:0px;}


@media (max-width: 768px){
  
 .news-thumb{ width: calc(100% + 40px); }
 
}





/* ------------------------------------------------------------

 「汎用」アイキャッチ部分タイトル（フロート）
　クラスページタイトルと同じ仕様（.class-title）

------------------------------------------------------------ */


.eyecatch-title{
  position:relative;
  height: 60vh;
  overflow: hidden;
}

.eyecatch-title .eyecatch-thumbnail img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 10;
}
 /* ダークフィルター*/
.eyecatch-title .eyecatch-thumbnail::after{
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 11;  
}

.eyecatch-title .float_title{
  position:absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width:  80px;
  z-index: 15;  
}
.eyecatch-title .float_title img{
  max-height:500px;
}



/*　入れ子部分で、不具合出るので、下記ブロック種類単位での調整はNG　*/
/*
.class-text{
  padding-left:20px;
  padding-right:20px;
}*/


