
/* 子テーマ用CSSはここから */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Noto+Sans+JP:wght@100..900&display=swap');

/*英語用*/



.lato-light{
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.lato-bold {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
}

body#kubio {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
}

body.home #primary section{
 padding : 0;
}

#primary main section:nth-of-type(2n) {
  background: white;
  border: 0;
}

:root :where(.is-layout-flow)>* {
  margin-block-start: 0;
}

@media (min-width: 768px) {
  .pc {
     display: block!important;
   }
 .sp {
    display: none!important;
  }
}

@media (max-width: 767px) {
  .pc {
     display: none!important;
   }
  .sp {
    display: block!important;
    }
}


/* --------------------- */
/*ヘッダー*/
/* --------------------- */

.header {
  height: 88px;

  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  -webkit-justify-content: center;
  justify-content: center;


  width: 100%;
  background: white;
  z-index: 999;
}


 /* .header .h-svg-icon 内のSVG（例: #bars）を黒色にする */
 .header .h-svg-icon svg#bars path {
  fill: #1A1C1F!important;
}
.header .h-svg-icon svg#bars {
  color: #1A1C1F!important;
  fill: #1A1C1F!important;
}



@media (max-width: 767px) {
  .header {
    height: 56px;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
  }
  .header .h-navigation {
    padding: 0!important;
  }
  .header .wp-block-kubio-logo__image{
    max-height: 40px!important;
  }
  .header .h-svg-icon{
    min-width: 32px!important;
    min-height: 32px!important;
    width: 32px!important;
    height: 32px!important;
  }
  .wp-block-kubio-menu-offscreen__offscreen{
    background: white!important;
    width: 340px !important;
  }
  
 
  .wp-block-kubio-menu-offscreen__offscreen ul li a{
    color : #1A1C1F!important;
    font-weight: normal!important;
    padding-left : 20px!important;
  }
  .wp-block-kubio-menu-offscreen__offscreen ul li{
    border-top : #D9DFE6 solid 1px;
  }
  .wp-block-kubio-menu-offscreen__offscreen ul li ul li{
    border: 0;
  }
  body{
    padding-top : 56px;
  }
}





.header.fixed {
  position: fixed;
  left: 0;
  top: 0;

  background: transparent;
  /* Note: currently only Safari supports backdrop-filter */
  backdrop-filter: blur(50px);
  --webkit-backdrop-filter: blur(50px);
  background-color: rgba(255, 255, 255, 0.5);
  /* (plus shape's fill blended on top as a separate layer with 80.19% opacity) */

}
.header a{
  color : #1A1C1F!important;
  font-size: 16px;
  font-weight: normal!important;

}
.header a:hover{
  color :   #1A60AE!important;
}
.header ul {
  gap: 24px;
}
.header ul li::after{
  background-color: #003371!important;
}
.header ul ul a:hover{
  background: #1A60AE!important;
  color: white!important;
}
.header ul li:last-child a{
  background: #F2E65D!important;
  color: #01317F!important;
  padding: 8px 12px!important;
  border-radius: 4px!important;
  position: relative!important;
}


.header ul li:last-child a:after{
  content: "";
  background: url(/wp-content/themes/kubio-primal/img/common/icon_link_right.svg) no-repeat center center;
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: 8px;
}
.header ul li ul li:last-child a{
  background: white!important;
  color: #1A1C1F!important;
  border-radius: 0!important;
  padding: 10px 20px!important;

}

.header ul li ul li:last-child a:hover{
  background: #1A60AE !important;
    color: white !important;
}

.header ul li ul li.current_page_item:last-child a,
.header ul li ul li.current-menu-item:last-child a {
  background-color: #2f7cff!important;
}


.header ul li ul li:last-child a:after{
 display: none;
}

/* スライドバー(スクロールバー)をおしゃれなデザインに */
.kubio-dropdown-menu .kubio-menu > ul > li > ul::-webkit-scrollbar {
  width: 10px;
  background: #f4f4f4;
  border-radius: 8px;
}

.kubio-dropdown-menu .kubio-menu > ul > li > ul::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #01317F 40%, #1A60AE 100%);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(1, 49, 127, 0.15);
}

.kubio-dropdown-menu .kubio-menu > ul > li > ul::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #1A60AE 60%, #01317F 100%);
}

/* Firefox */
.kubio-dropdown-menu .kubio-menu > ul > li > ul {
  scrollbar-color: #1A60AE #f4f4f4;
  scrollbar-width: thin;
}


@media (max-width: 767px) {
div#page-top {
  margin-top: 56px;
}
}


.kubio-dropdown-menu .kubio-menu > ul > li > ul{
  overflow: auto;
  max-height: 80vh;
  margin-top: 0!important;
}


/* 見出し周り */

/*英語大 64px */
.eng-title {
  display: block;
  font-size: min(64px, 5vw);
  @media (max-width: 767px) {
    font-size: 32px!important;
  }
  line-height: 1;
  font-weight: bold;
  color: #01317F;
  margin-bottom: 5px;
  
}

.eng-title.no_space:not(:last-of-type) {
  margin-bottom: 0 !important;
}

/*英語 白*/
.f_white {
  color: white !important;
}


/*　日本語 40px*/
.main-title {
  font-size: min(40px, 3.7vw);
  @media (max-width: 767px) {
    font-size: 24px!important;
  }
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 48px;
  color: #1A1C1F;
}

/*　日本語 20px 青*/
.sub-title {
  font-weight: bold;
  font-size: 20px !important;
  line-height: 30px;
  color: #01317f;
  margin-top: 0;
  @media (max-width: 767px) {
    font-size: 16px;
  }
}

/*　日本語 36px 青*/
.main-title {
  font-size: min(40px, 3.2vw);
  font-weight: bold;
  line-height: 1.5 margin-bottom: 50px;
  color: #1A1C1F;
}








/*下層共通*/

/*パンクズリスト*/
.aioseo-breadcrumbs{
  padding :10px 30px;
  max-width: 100%;
  margin: 0 auto;
  color: #42454A;
  font-size: 14px;
}
.aioseo-breadcrumbs a{
  color: #42454A;
  text-decoration: underline;
}
.aioseo-breadcrumbs span{
  margin-right: 10px;
}

.kv-zone {
  position: relative;
  width: 100%;
  height: 240px;
  background: url(/wp-content/themes/kubio-primal/img/common/kv_common_img.png) no-repeat right center #1A1C1F;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  z-index: 1;
  padding-left: 40px;
}

.kv-zone .kv-title {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 2.2rem;
  font-weight: bold;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25);
  margin: 0;
  padding: 0 1em;
}

@media (max-width: 767px) {
  .kv-zone {
    height: 130px;
    background-position: calc(100% + 50px) center;
    background-size: auto 130px;
    padding-left: 20px;
  }
  .kv-zone .kv-title {
    font-size: 18px;
    padding: 0 10px;
  }
}

.kv-zone .kv-title {
  padding-right : 35%;
}

.wp-block-kubio-post-comments{
  display: none!important;
}





/* プラグイン */

#padSection {
    border: 0;
  }
  
  #padSection .entryList {
  
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
  }
  
  #padSection .entryList li a {
    padding: 10px 0 20px 0;
    min-height: auto;
  
  }
  


/*モーダルCSS*/

.pum-container {
    max-width: 976px !important;
  }
  
  .popmake-content {
    padding: 60px;
  }
  
  .popmake-content h3 {
    font-weight: bold;
    font-size: 36px;
    line-height: 1.2;
    text-align: left;
    color: #1a1c1f;
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 10px;
  }
  
  .popmake-content h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #01317f;
  }
  
  .popmake-content h4 {
    font-weight: bold;
    font-size: 24px;
    line-height: 1.5;
    text-align: left;
    color: #1a1c1f;
    padding: 12px;
    margin : 40x 0 24px;
  }
  
  .popmake-content h5 {
    font-weight: bold;
    font-size: 20px;
    color : #1A60AE;
    margin : 32px 0 20px;
  }

  .popmake-content p {
    margin-bottom: 32px;
  }
  .popmake-content .wp-block-list.tag {
    padding: 0;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-items: center;
    align-items: center;
    margin-bottom: 40px;

  }
  .popmake-content .wp-block-list.tag li{
    color : #1A60AE;
    list-style-type: none;
    padding: 2px 4px;
    display: inline-block;
    margin-right: 8px;
    background: #F2F4F7;
    font-size: 14px;
    /* 薄い黄色の下線風マーカー */
  }
  .popmake-content ul,
  .popmake-content ol{
    padding-left: 1em;
  }
  .popmake-content ul.wp-block-list li{
    list-style-type: disc!important;
  }

  .popmake-content ol.wp-block-list li{
    list-style-type: decimal!important;
  }
  
  .popmake-content img{
  display: block;
  margin: 0 auto;
  }



  .popmake-content .bottom_btn{

    background: white;
    border: solid 1px #000;
    border-radius: 30px;
    padding: 10px 40px;
    margin: 20px auto;
    display: block;
  }

  @media (max-width: 599px) {
    .popmake-content {
      padding: 60px 24px;
    }
  
    .pum-container.pum-responsive {
      width: calc(100% - 16px);
    }
  
    .popmake-content h3 {
      font-size: 28px !important;
    }
  
    .popmake-content h4 {
      font-size: 20px !important;
    }

    .popmake-content h5 {
      font-size: 20px !important;
      margin : 24px 0 20px;
    }


  }
  




/*footer*/


/* ベーススタイル */
.site-footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 20px;
    font-family: sans-serif;
    margin-top: 80px;
  }
  
  .footer-container {
    width: 1176px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: stretch;
    align-items: stretch;
  }

.footer-info{
  width: 330px;
  @media (max-width: 767px) {
    width: 100%;
  }
}

.bottom-menu-container{
  width: calc(100% - 360px);
  @media (max-width: 767px) {
    width: 100%;
  }
}



  .footer-logo {
    margin-bottom: 16px;
  }
  .footer-logo img{
    margin-bottom: 8px;
  }
.map-link{
  color:white;
  margin-top: 3px;
  text-decoration: underline;
}
.sns-icons{
  padding-top: 36px;
}


.footer-sns-share {
  margin-top: 20px;
}

.sns-list {
  display: flex;
  gap: 0; /* アイコン同士の隙間 */
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.sns-item a {
  display: block;
  width: 40px; /* デザインに合わせてサイズ調整 */
  height: auto;
  transition: opacity 0.3s;
}

.sns-item a:hover {
  opacity: 0.7;
}

.sns-item img {
  width: 100%;
  height: auto;
  display: block;
}







  /* メニュー共通 */

  .site-footer .bottom-menu-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
}


.site-footer .bottom-menu-list{
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
	-webkit-align-items: stretch;
	align-items: stretch;
}

  

.site-footer .bottom-menu-list .menu-item {
    width: 30%;
    position: relative;
    font-size: 16px;
    margin: 0 1.5%;
    @media (max-width: 820px) {
      width: 100%;
      border-bottom: 1px solid #CACFD6;
    }
  }
  .site-footer .bottom-menu-list .menu-item a{
    border-bottom: 1px solid #CACFD6;
    @media (max-width: 820px) {
      border: 0;
    }

  }
  .site-footer .bottom-menu-list .menu-item .sub-menu{
    padding: 10px 0 16px;
  }
  .site-footer .bottom-menu-list .menu-item .sub-menu .menu-item{
    width: 100%;
    border: 0;
    font-size: 14px;
  }
  .site-footer .bottom-menu-list .menu-item .sub-menu .menu-item a{
    padding-top: 8px;
    border: 0;
  }
  .site-footer .bottom-menu-list .menu-item:nth-child(2) {
    width: 63%;
    @media (max-width: 820px) {
      width: 100%;
    }
  }
  .site-footer .bottom-menu-list .menu-item:nth-child(2) .sub-menu{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: flex-start;
    gap: 0 2%; /* Optional: Adjust horizontal gap between columns */


  }
  .site-footer .bottom-menu-list .menu-item:nth-child(2) .sub-menu .menu-item{
    width: 49%;
    @media (max-width: 820px) {
      width: 100%;
    }
    display: inline-block;
    margin: 0;

    vertical-align: top;
  }
  
  .site-footer .menu-item a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 15px 0;
    font-weight: bold;
  }
  
  /* アコーディオンボタン（＋アイコン） */
  .site-footer .acc-btn {
    position: absolute;
    right: 2px;
    top: 18px;
    width: 15px;
    height: 15px;
    cursor: pointer;
    background: #1A1C1F;
    border: 0;
  }
  
  .site-footer .acc-btn::before,
  .site-footer .acc-btn::after {
    content: '';
    position: absolute;
    background: #fff;
    transition: transform 0.3s;
  }
  
  /* ＋の横棒 */
  .site-footer .acc-btn::before {
    width: 100%;
    height:1px;
    top: 7px;
    left: 0;
  }
  /* ＋の縦棒 */
  .site-footer .acc-btn::after {
    width: 1px;
    height: 100%;
    top: 0;
    left: 7px;
  }
  
  /* 開いた時の状態（縦棒を消してマイナスにする） */
  .site-footer .menu-item.is-open > .acc-btn::after {
    transform: rotate(90deg);
    opacity: 0;
  }
  
  /* サブメニュー（初期は非表示） */
  .site-footer .sub-menu {
    display: none;
    padding-bottom: 15px;
  }
  
  .site-footer .sub-menu li a {
    padding: 5px 0;
    font-weight: normal;
    font-size: 0.9em;
  }
  
  /* PC用スタイル (768px以上) */
  @media (min-width: 768px) {
    .site-footer .footer-container {
      justify-content: space-between;
    }
  
    .site-footer .footer-nav .menu {
      display: grid;
      grid-template-columns: repeat(3, 1fr); /* 3列表示 */
      gap: 0 40px;
    }
/*   
    /* PCではサブメニューを常に表示、ボタンを隠す */
    /* .sub-menu {
      display: block !important;
    }
    .acc-btn {
      display: none;
    } */ */
    
    /* PCのデザインに合わせてグリッド調整が必要な場合はここを調整 */
  }
  .copyright{
    text-align: center;
    padding : 16px 0;
    border-top : #AFAFAF solid 1px;
    margin-top : 80px;
    color:#F2F4F7;
    font-size: 12px;
  }