/*
Theme Name:nano_child
Theme URI:
Description:WordPressテーマ「NANO」の自作子テーマです。
Template:nano_tcd065
Author:TCD
Author URI:https://tcd-theme.com/
Version:1.2.0
*/

.p-header-slider__item {
  height: 512px;
}
@media only screen and (max-width: 1199px) {
    .p-header-slider__item {
        height: 430px !important;
}
}


.l-contents {
  padding-top: 100px;
}

.p-cover {
  height: 0;
  margin-bottom: 100px;
}

.metaslider {
position: relative;
}

.metaslider-img {
  position: absolute;
  background-repeat: no-repeat;
  top: 9vw;
  right: 0;
  left: 23vw;
  margin: auto;
  z-index: 1;
}

.title_1 {
  position: absolute;
  background-repeat: no-repeat;
  top: 4vw;
  right: 0;
  left: 18vw;
  margin: auto;
  z-index: 1;
}
.title_2 {
  position: absolute;
  background-repeat: no-repeat;
  bottom: 4vw;
  right: 0;
  left: 24vw;
  margin: auto;
  z-index: 1;
}

.p-article06__content {
    border-left: unset !important;
    background: #f4f4f4;
    padding: 15px 28px;
}
.p-article06__title {
    border-bottom: solid 1px #000000;
    min-height: 0;
}

/* headerメニュー 色 */
ul#js-global-nav {
    background-color: #a40000;
}

/* footer ロゴ右 キャッチフレーズ枠 */
.p-info__logo {
    margin-right: 2em;
}
@media screen and (max-width: 991px) {
    .p-info__desc {
        display: none;
    }
}

/* TOP ヘッダー画像*/
.p-header-slider__item-img {
    position: relative;
    /*height: calc(100vh - 340px) !important;*/
}
.top-img1,.top-img2,.top-img3,.top-img4,.top-img5 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    margin: 0;
    background-size: cover;
    object-fit: cover;
} 
.top-img1:nth-child(1){   
    z-index: 1;
}
.top-img2:nth-child(2){
    z-index: 2;
    animation-delay: calc(var(--animate-delay) * 0.8);
}
.top-img3:nth-child(3){
    z-index: 3;
    animation-delay: calc(var(--animate-delay) * 1.0);
}
.top-img4:nth-child(4){
    z-index: 4;
    animation-delay: calc(var(--animate-delay) * 1.8);
}
.top-img5:nth-child(5){
    z-index: 5;
    animation-delay: calc(var(--animate-delay) * 2.0);
}
@media only screen and (min-width: 1200px) {
.top-img1 {
    background-image: url("/wp/wp-content/uploads/2025/07/header-pc_1.png");
}
.top-img2 {
    background-image: url("/wp/wp-content/uploads/2025/07/header-pc_4.png");  
}
.top-img3 {
    background-image: url("/wp/wp-content/uploads/2025/07/header-pc_5.png");
  
}
.top-img4 {
    background-image: url("/wp/wp-content/uploads/2025/07/header-pc_2.png"); 
}
.top-img5 {
    background-image: url("/wp/wp-content/uploads/2025/07/header-pc_3.png");    
}
}
@media only screen and (max-width: 1199px) {
.top-img1 {
    background: url("/wp/wp-content/uploads/2025/07/header_1199_01.png") no-repeat center center;
}
.top-img2 {
    background: url("/wp/wp-content/uploads/2025/07/header_1199_02.png") no-repeat center center;
}
.top-img3 {
    background: url("/wp/wp-content/uploads/2025/07/header_1199_03.png") no-repeat center center;  
}
.top-img4 {
    background: url("/wp/wp-content/uploads/2025/07/header_1199_04.png") no-repeat center center;
}
.top-img5 {
    background: url("/wp/wp-content/uploads/2025/07/header_1199_05.png") no-repeat center center;
}    
}
@media only screen and (max-width: 767px) {
.top-img1 {
    background: url("/wp/wp-content/uploads/2025/07/header_767_01.png") no-repeat center center;
}
 .top-img2 {
    background: none;
  }
  .top-img3 {
    background: none;
  }
.top-img4 {
    background: url("/wp/wp-content/uploads/2025/07/header_767_04.png") no-repeat center center;
}
.top-img5 {
    background: url("/wp/wp-content/uploads/2025/07/header_767_05.png") no-repeat center center;
}    
}
@media screen and (max-width: 767px) {
    .p-header-slider__item-img {
        height: 100% !important;
    }
}

/* 事業計画 ol */
ol.brackets,
ol.closing_brackets {
  list-style-type: none !important;
}
ol.brackets > li,
ol.closing_brackets > li {
  counter-increment: cnt;
  margin-bottom: 0.5em;
}
ol.brackets > li:before {
  content: "（"counter(cnt) "）";
}
ol.closing_brackets > li:before {
  content: counter(cnt) "）";
}

/* H2 見出し */
.catch {
    text-align: center;
}
.catch h2 {
    font-size: 28px !important;
}
@media screen and (max-width: 767px){
.catch h2 {
    font-size: 18px !important;
}  
}
.catch p {
    font-size: 18px !important;
}

section {
    margin-bottom: 3em;
    border-bottom: 2px dotted #dddddd;
}
section:last-child {
    border-bottom: unset;
}

.bt_red {
    background: #b12433;
    color: #fff;
}
.bt_red:hover, .bt_red:focus {
    background-color: #0a0a0a !important;
}

.s_table th {
    font-weight: 600;
    letter-spacing: 0.1em;
    background: #ffeaea;
}
@media screen and (max-width: 991px) {
.s_table th {
    letter-spacing: 0;
    line-height: 1.1 !important;
}
.p-entry__body td, .p-entry__body th {
    line-height: 1.2 !important;
}
}

/* 見出し 連番 */
.financial_r h2{
  counter-increment: counter-h2;
  counter-reset: counter-h3;
}

.financial_r h2:before{
  content: counter(counter-h2)".";
  margin-right: 0.6em;
}

.financial_r {
    border-bottom: none;
}

/* グリッド */
.container {
display: grid;  
}
.c_3-2 {
grid-template-columns: 1fr 1fr 1fr; 
grid-template-rows: 1fr 1fr; 
gap: 3em 3em;
list-style: none !important;
margin-bottom: 5em !important;
}
.c_2-1 {
grid-template-columns: 26% 66%;
grid-template-rows: 1fr;
grid-auto-columns: 1fr;
gap: 3em 3em;
grid-auto-flow: row;
list-style: none !important;
}

.container li img {
width: 70%;    
}
.container a {
    display: block;
    padding: 20px 0;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    min-width: unset !important;
    max-width: unset !important;
}

@media screen and (max-width: 991px) {
  .container {
    display: block;
  }
  .c_2-1 li:first-child {
    margin-bottom: 2em;
    text-align: center;
  }
  .c_3-2 li {
    margin-bottom: 1em;
  }
  .box2 {
    margin: 0 auto !important;
  }
}

.box2{
		/*width:200px;*/
		height:auto;
		margin:0;
		text-align:center;
	}

.bt_red {
    background: #b12433 !important;
}

.mt150 {
    margin-top: 150px !important;
}
@media screen and (max-width: 767px){
.mt150 {
    margin-top: 100px !important;
}  
}

.right {
    text-align: right;
}

.double {
    border-bottom:4px double #ddd; 
}

.sz_l {
    letter-spacing: 0.08em;
}

.q_button_wrap {
    margin: 2em auto 5em !important;
}

.center {
    text-align: center;
}

.mt-0 {
  padding-top: 0 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}
.mb-05 {
    margin-bottom: 0.5em !important;
}

.mb-3 {
    margin-bottom: 3em !important;
}
  
.f-x {
    font-size: 1.6em;
}

/* 改行 */
@media screen and (min-width: 992px){   
  .pc_br { display:inline; }
  .sp_br { display:none; }
}

@media screen and (max-width: 991px){   
  .pc_br { display:none; }
  .sp_br { display:inline; }
}

/* グローバルナビ */
#js-menu-btn .p-global-nav > li > a, .p-menu-btn {
    color: #b12433 !important;
}
@media only screen and (max-width: 1199px) {
    .p-global-nav {
        padding-top: 1em;
    }
}

/* 固定ページ ヘッダー下線 */
.l-contents--no-border .l-contents__inner {
    padding-top: 4em;
    border-top: double 4px #e3e3e3;
}

/* 問合せ［必須］ */
.req {
    font-size: .9em;
    padding: 5px;
    background: #f49797;
    color: #fff;
    border-radius: 3px;
    margin-left: 1em;
}

/* 固定ページ　バナー */
.page-btn {
    position: relative;
}

.page-btn_content {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 0 48px;
    position: absolute;
    top: 0;
    z-index: 1;
    color: #fff;
}

@media only screen and (max-width: 1199px) {
  .page-btn_sub {
    display: none;
  }
}

.page-btn_content:hover {
    background: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0) 50%) !important;
}

.page-btn_title {
    position: absolute;
    top: 12%;
    font-size: 36px !important;
    margin-bottom: 7px !important;
    transition: padding-left 0.2s ease;
    font-family: "Times New Roman",Times,"Yu Mincho","游明朝","游明朝体","Hiragino Mincho Pro",serif;
}

.page-btn_sub {
    position: absolute;
    bottom: 0%;
    font-size: 14px !important;
    font-weight: 700 !important;
    transition: padding-left 0.2s ease;
}

.page-btn a:hover .page-btn_title, .page-btn a:hover .page-btn_sub {
    padding-left: 14px;
}

@media screen and (max-width: 991px) {
  .page-btn_title {
    font-size: 28px !important;
  }
  }
  @media screen and (max-width: 767px) {
    .page-btn_title {
      font-size: 23px !important;
      line-height: 1 !important;
      margin-bottom: 0 !important;
      top: 23% !important;
    }
  }

/* OB/OG活動 
.p-archive-header {
    display: none;
}*/

.p-banner a:hover {
    opacity: 0.8;
}

@media screen and (max-width: 767px) {
    .p-header-slider {
        height: unset;
    }
}

.l-contents--no-border .l-contents__inner {
    margin-top: 150px;
}

.bgr-red {
    background: #ffeaea !important;
}
.bgr-gray{
    background: #efefef !important;
}

.t-left {
    text-align :left;
}
.t-center {
    text-align :center;
}
.t-right {
    text-align :right;
}

/* ウィジェット 見出し */
/*.p-widget__title {
    background: #000000 !important;
}*/

.p-widget__title {
  position: relative;
  color:#ffffff;
  background: #ffabab;
  border-radius: 10px;
  padding: 0 0 0 45px;
}
.p-widget__title:before,
.p-widget__title:after {
  position: absolute;
  content: '';
  left: 15px;
}
.p-widget__title:before{
  top: -2px;
  width: 20px;
  height: 23px;
  padding: 5px 0 0 0;
  background: #ffabab;
}
.p-widget__title:after{
  top: 16px;
  border: 10px solid;
  border-color: transparent #ffabab;
}

.textwidget h3 {
    color:  #b12433;
}

.p-cb__item {
    margin-bottom: 10vw !important;
}

/* TOP ブログ一覧 */
.p-index-content00 .p-btn a {
    color: #ffffff;
    background: #b12433;
}
.p-index-content00 .p-btn a:hover {
    color: #ffffff;
    background: #0a0000;
}

.p-index-content00 .p-cb__item-title {
    color: #000000;
    font-size: 40px;
}
@media screen and (max-width: 767px) {
    .p-index-content00 .p-cb__item-title {
        font-size: 28px; 
    }
    .p-article01__title {
        border-left: unset;
        border-right: unset;
        padding: 13px 0 7px;
    }
}
@media screen and (max-width: 991px) {
    .p-article01__title {
        font-size: 25px !important;
    }
}
.blog-img{
  width:100%;
  height:250px;
  object-fit:cover;
}

/* OBOG活動紹介 */
.p-archive-header {
    box-shadow: unset !important;
    padding: 30px 0 !important;
}

@media screen and (max-width: 767px) {
    .p-index-content00 .p-blog__list-item {
        width:25%;
    }    
    
}

/* top 理事・事務局 BLOG */
.p-index-content00 .p-blog__list-item {
    width: 25% !important;
}
@media screen and (max-width: 991px) {
    .p-index-content00 .p-blog__list-item {
        width:33.3% !important;
    }    
}
@media screen and (max-width: 767px) {
.p-index-content00 .p-blog__list-item {
    width: 100% !important;
}      
}

.p-works-list__item {
    width: calc(25% - 32px); 
}

/* OB・OG活動紹介 */
.work-img img {
    width:200px;
}
.work-txt table {
    width: 100%;
}
/*.p-index-content06 {
    display: none;
}*/

@media screen and (max-width: 991px) {
.work-img {
    text-align: center;
    margin-bottom: 2em;
}
}

li.date {
    margin-top: 1em;
}

.p-article01__date {
    font-size: 15px;
}
li.date {
    margin-top: 0em;
}

.p-article06__cat {
    background: #0a6d0e;
}
.p-article06__cat:hover {
    background: #555555 !important;
}

.p-article07__title {
    text-align: center;
    background: unset;
}

@media screen and (max-width: 767px) {
.p-article06__content {
    margin: auto;
}
}

@media screen and (max-width: 767px) {
.p-cover__inner h1{
    /*display: none;*/
    font-size: 30px;
}
}

/* 決算書 ボタン */
a.a_pdf:after {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-left: 1em;
  background: url("/wp/wp-content/uploads/2025/08/pdf_01.png") no-repeat;
  background-size: contain;
  vertical-align: middle;
}

/* ヘッダー 虫眼鏡ボタン */
@media screen and (max-width: 750px) {
    .l-header__search.with_lang_btn {
        right: 58px;
    }
}
