@charset "UTF-8";

/** 共通　新パーツ **/

.title_main {
    font-size: 26px;
    padding: 0 13px 8px 0;
    margin-bottom: 20px;
    border-bottom: 3px solid #002060;
    line-height: 1;
    font-weight: bold;
}

.title_sub {
    position: relative;
    font-size: 22px;
    font-weight: bold;
    border-bottom: 3px solid #ffb810;
    padding: 0 0 8px 0;
    margin: 60px 0 20px 0;
    line-height: 1;
}
.title_sub::after{ 
    position: absolute;
    content: '';
    display: block;
    left: 0;
    bottom: -3px;
    height: 3px;
    background: #012060;
    width: 100px;
}

.title_3rd{
    font-size: 16px;
    background: #fce9b1;
    font-weight: bold;
    margin: 20px 0 15px 0;
    padding: 6px 13px 6px 13px;
}

.ui.contact{
    margin: 60px 0 20px 0;
    display: block;
    text-decoration: none;
    overflow: hidden;
}
.ui.contact *{
    text-decoration: none;
    flex-shrink: 0;
}
.ui.contact .contact_header{
    background: #002060;
    color: #fff;
    font-weight: bold;
    font-size: 22px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    padding: 6px 20px;
}
.ui.contact .contact_body{
    position: relative;
}
.ui.contact .contact_body::after{
    position: absolute;
    content: '';
    display: block;
    top:-35px;
    right: 10px;
    width: 150px;
    height: 222px;
    background: url(../img/img_contact_lady.png) right top no-repeat;
}
.ui.contact .contact_body .contact_body_top{
    padding: 15px 150px 15px 20px;
    text-align: center;
}
.ui.contact .contact_body .contact_body_top *{
    font-size: 18px;
}
.ui.contact .contact_body .contact_body_bottom{
    position: relative;
    background: #ff3c00;
    display: flex;             /* 横並びにする基本設定 */
    gap: 30px;                 /* 要素同士の間隔（margin計算が不要に） */
    justify-content: center;   /* 水平方向の配置（中央揃え、均等配置など） */
    align-items: center;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    padding: 4px 20px 6px;
    z-index: 1;
}
.ui.contact .contact_body .tel,
.ui.contact .contact_body .mail{
    text-align: center;
    flex: 1;           /* 均等に伸縮させる */
    min-width: 0;      /* 中身が長い単語や画像でも突き破らないお守り */
    
}

.ui.contact .contact_body .tel a,
.ui.contact .contact_body .mail a{
    display: block;
}
.ui.contact .contact_body .mail .free{
    vertical-align: sub;
}
.ui.contact .contact_body .contact_body_bottom dt{
    color: #fff;
    font-size: 20px;
    text-align: center;
    line-height: 1;
    padding-bottom: 4px;
}
.ui.contact .contact_body .contact_body_bottom dd{
    background: #fffff0;
    border-radius: 4px;
    padding: 4px;
}
.ui.contact .contact_body .tel dt{
    padding-top: 8px;
}

/*　用語集　*/
#glossary_content{

}
#glossary_content .wp-block-table th,
#glossary_content .wp-block-table td{
    font-size: 16px;
    padding: 8px;
    border-color: #edf1f5;
}

#glossary_content .wp-block-table th{
    background: #edf1f5;
    text-align: center;
}
#glossary_content .wp-block-table td{
    background: #fff;
}
#glossary_content >  [class^="wp-block-"] + [class^="wp-block-"]{
    margin-top: 20px;
}
#glossary_content.btn_desc

#glossary_content .wp-block-table.reset table,
#glossary_content .wp-block-flexible-table-block-table.reset table{
    width: auto;
}
#glossary_content .wp-block-table.reset table th,
#glossary_content .wp-block-table.reset table td,
#glossary_content .wp-block-flexible-table-block-table.reset table th,
#glossary_content .wp-block-flexible-table-block-table.reset table td{
    border: none !important;
    padding: 0;
}
#glossary_content .word_exp::first-letter {
  font-size: 26px;
  background-color: #ffc000;
  padding: 2px 8px;
  text-align: center;
  line-height: 26px;
  vertical-align: -0.2em;
  margin-right: 4px;
  font-weight: bold;
  border-radius: 3px;
}
#glossary_content .word_exp{
    line-height: 26px;
    margin-bottom: 1.2em;
}



main#josei{
    padding-bottom: 40px;
}

.block_ui > *{
    margin-top: 20px;
}
.block_ui ul li,
.block_ui ol li{
    list-style-position: inside;
    text-indent: -1.4em;
    padding-left: 1.4em;
}
.block_ui ul li{
    list-style-type: disc;
}
.block_ui ol li{
    list-style-type: decimal;
}
.block_ui ol[class^="type"],
.block_ui ul[class^="type"]{
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}
.block_ui ol[class^="type"] li,
.block_ui ul[class^="type"] li{
    list-style-type: none;
    text-indent: 0;
    padding-left: 0;
    padding: 10px;
    /* background: #efefef; */
    text-align: center;
    margin-bottom: 10px;
    width: calc(50% - 5px);
}
.block_ui ol[class^="type"] li:nth-child(odd),
.block_ui ul[class^="type"] li:nth-child(odd){
    margin-right: 5px;
}
.block_ui ol[class^="type"] li:nth-child(even),
.block_ui ul[class^="type"] li:nth-child(even){
    margin-left: 5px;
}
.block_ui ol.type1 li,
.block_ui ul.type1 li{
    background: #efefef;
}
.block_ui ol.type2 li,
.block_ui ul.type2 li{
    border:1px solid #ccc;
}
.block_ui ol.round li,
.block_ui ul.round li{
    border-radius: 4px;
}
.block_ui .panel{
    padding: 20px;
    background: #efefef;
    border-color: transparent;
}
.block_ui .panel.round{
    border-radius: 4px;
}

.block_ui .wp-block-details[class^="type"]{

}
.block_ui .wp-block-details[class^="type"] summary{
    background: #dff4e6;
    padding: 4px 15px;
    margin-bottom: 20px;
}
.block_ui .wp-block-details summary{
    background: #dff4e6;
    padding: 4px 15px;
    margin-bottom: 10px;
}
.block_ui .wp-block-details{
    
}

hr.wp-block-separator{
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-top: 1px solid #aaa;
    overflow: visible;
    margin: 20px 0;
    /* border-top: none;
    border: 1px solid #ccc; */
}
.wp-block-table thead{
    border-bottom: none;
}
h2.wp-block-heading{
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    background: #00a700;
    color: #fff;
    padding: 4px 20px 2px 30px;
    position: relative;
}
h2.wp-block-heading::after{
    content: '';
    background: #fff;
    position: absolute;
    left: 10px;
    top: 7px;
    bottom: 7px;
    margin: auto 0;
    width: 6px;
}
h3.wp-block-heading{
    font-weight: bold;
    margin-top: 1em;
    margin-bottom: 15px;
    color: #002060;
    font-size: 16px;
    border-bottom: 1px solid #ddd;
}
.wp-block-button{
    padding: 10px 0;
}
.wp-block-button__link{
    display: inline-block;
    background: #00a700;
    color: #fff;
    text-decoration: none;
    line-height: 1;
    padding: 1.2rem 2rem;
    min-width: 200px;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .3);
    -webkit-box-shadow: 0 2px 7px rgba(0, 0, 0, .3);
    border-radius: 0;
}
.wp-block-button__link:hover{
    color: #fff;
}

.wp-block-table table th,
.wp-block-table table td,
.wp-block-flexible-table-block-table >table th,
.wp-block-flexible-table-block-table >table td{
    border-collapse: collapse;
    border: 1px solid #ccc!important;
    font-size: 12px;
}
.wp-block-table table th,
.wp-block-table table td.th,
.wp-block-flexible-table-block-table table th{
    /* background: #dff4e6!important; */
    padding: 5px 10px;
}
.wp-block-table table tr th:first-of-type,
.wp-block-table table tr td.th:first-of-type,
.wp-block-flexible-table-block-table table th:first-of-type{
    text-align: left;
    border-left: none;
}
.wp-block-table table td,
.wp-block-flexible-table-block-table table td{
    padding: 5px 10px;
    border-collapse: collapse;
    border: 1px solid #00a700;
    font-size: 12px;
}

.wp-block-table.type1 table th,
.wp-block-table.type1 table td,
.wp-block-flexible-table-block-table.type1 >table th,
.wp-block-flexible-table-block-table.type1 >table td{
    border: 1px solid #00a700!important;
}
.wp-block-table.type1 table th,
.wp-block-table.type1 table td.th,
.wp-block-flexible-table-block-table.type1 table th{
    background: #dff4e6!important;
    padding: 5px 10px;
}

.wp-block-table figcaption,
.wp-block-flexible-table-block-table figcaption{
    padding-top: 4px;
}


/**
* 助成金
**/
#josei header.josei_head{
    /* background: linear-gradient(#009933,#ffffff,#ffffff,#ffffff,#ffffff,#ffffff,#ffffff); */
    background: url(../img/josei/cover_jyoseikin.png) no-repeat center center;
    background-size: cover;
    padding: 30px 30px 15px;
    letter-spacing: 0.15em;
}
#josei header.josei_head h1{
    font-size: 2.0rem;
    color: #fff;
    /* -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #333; */
    /* text-shadow: 1px 1px 0 #444, -1px -1px 0 #444, -1px 1px 0 #444, 1px -1px 0 #444, 0px 1px 0 #444, 0 -1px 0 #444, -1px 0 0 #444, 1px 0 0 #444; */
    font-weight: bold;
    line-height: 1.25;
    margin-top: 20px;
}
#josei header.josei_head .josei_cate{
    background: #f9f391;
    display: inline-block;
    line-height: 1;
    padding: 8px 20px 4px;
    font-size: 18px;
    border-radius: 20px;
    /* font-weight: normal; */
    /* vertical-align: middle; */
}
#josei header.josei_head .sub{
    color: #fff;
    display: inline-block;
    padding-left: .5em;
    font-weight: bold;
    font-size: 18px;
}
#josei header.josei_head .josei_divi{
    color: #fff;
    font-size: 18px;
    line-height: 1;
    padding: 20px 0;
    font-weight: normal;
    /* font-weight: bold; */
}
.josei_pdate{
    text-align: right;
    padding: 4px 0;
}
#josei header .sub_title{
    font-size: 1.3rem;
    display: inline-block;
    background: #ff0000;
    color: #fff;
    padding: 10px 10px 6px;
    line-height: 1;
    margin-bottom: 10px;
}
header.josei_head {
    /* background: linear-gradient(#009933, #ffffff, #ffffff, #ffffff, #ffffff, #ffffff, #ffffff); */
    background: url(../../img/josei/cover_jyoseikin.png) no-repeat center center;
    /* background: #0a832e4d; */
    background-size: cover;
    padding: 30px 30px 15px;
}
header.josei_head .josei_cate {
    background: #f9f391;
    display: inline-block;
    line-height: 1;
    padding: 8px 20px 4px;
    font-size: 18px;
    border-radius: 20px;
    font-weight: bold;
}
header.josei_head .josei_divi {
    color: #fff;
    font-size: 18px;
    line-height: 1;
    padding: 20px 0;
    font-weight: bold;
}
header.josei_head h1 {
    font-size: 2.0rem;
    color: #fff;
    /* -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #33333382; */
    text-shadow: 1px 1px 0 #33333382, -1px -1px 0 #33333382, -1px 1px 0 #33333382, 1px -1px 0 #33333382, 1px 0 0 #33333382, -1px 0 0 #33333382, 0 1px 0 #33333382, 0 -1px 0 #33333382;
    font-weight: bold;
    line-height: 1.25;
    margin-top: 20px;
}
.josei_pdate {
    text-align: right;
    padding: 4px 0;
}
.josei_period:not(:first-of-type){
    margin-top: 10px;
}
.josei_period{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    background-color:#eeeeee;
    border: 1px solid #00a700;
    border-radius: 4px;
}
.josei_period dt,
.josei_period dd{
    font-size: 18px;
    line-height: 1;
    padding: 8px 20px 6px;
}
.josei_period dt{
    width: 25%;
    
}
.josei_period dd{
    width: 75%;
    font-weight: bold;
    /* color: #00a700; */
    text-align: right;
}
.josei_periods{
    position: relative;
}
.josei_periods .period_closed{
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    display: grid;
    place-items: center;
    background: #ffffff7a;
    font-size: 1.5em;
    font-weight: bold;
    z-index: 2;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 4px, rgba(204, 204, 204, 0.54) 4px, rgba(204, 204, 204, 0.54) 8px )
}

/** 
 用語集
*/

body.is_glossary main p,
body.is_glossary main li, 
body.is_glossary main dt, 
body.is_glossary main dd, 
body.is_glossary main pre, 
body.is_glossary main form, 
body.is_glossary main fieldset{
    font-size: 16px;
}

table.initial_list{
    width: 100%;
    border-collapse: collapse;
}
table.initial_list td{
    border-collapse: collapse;          
    text-align: center;
    padding: 15px 5px;
    background-color: #edf1f5;
    border-bottom: 10px solid;
    border-color: #fff;
}
table.initial_list td a{
    display: inline-block;
    
    text-decoration: none;
    color: #002060;
    font-size: 26px;
    line-height: 1;
    font-weight: bold;
}
table.initial_list td a:hover{
    text-decoration: underline;
}
table.initial_list td:not(:last-of-type){
    border-right: 10px solid;
    border-color: #fff;
}
table.initial_list td.none{
    background-color:inherit;
}
table.initial_list td.number{
    
}
table.initial_list.kana tr:last-of-type td{
    border-bottom: 0;
}

table.initial_list.alphabet td{
    border-bottom: 0;
}

/*
table.initial_list{
    width: 100%;
}
table.initial_list th,
table.initial_list td{
    padding-bottom: 15px;
}
table.initial_list th{
    width: calc(100% / 6);
    color: #002060;
}
table.initial_list ul{
    display: flex;
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
}
table.initial_list ul li{
    flex: 1;            
  text-align: center;  
  padding-right: 1px;
}
table.initial_list ul li a{
    display: block;
    background-color: #e2ebf3;
    padding: 5px;
    text-decoration: none;
}
table.initial_list ul li a:hover{
    background-color: #d0dfeb;
}
table.initial_list ul li:first-of-type a{
    
}
table.initial_list ul li:last-of-type a{
    
}
*/


/* 一覧のレイアウト */
.initial_btn_list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* max-width: 680px; */
  width: 100%;
}

/* ボタン本体 */
.initial_btn_list .arrow_btn {
  display: flex;
  align-items: stretch; /* 左右の高さを揃える */
  gap: 16px;
  /* padding: 14px 44px 14px 20px; 右側は矢印の尖り分広めに余白を取る */
  background-color: #edf1f5; /* 濃い青 */
  color: #002060;            /* 白文字 */
  text-decoration: none;
  font-size: 16px;
  /* transition: background-color 0.2s ease, transform 0.15s ease; */

  /* 右端を矢印型に切り抜く */
  /* 左上(0 0) -> 右上の切り始め(calc(100% - 16px) 0) -> 矢印の頂点(100% 50%) -> 右下(calc(100% - 16px) 100%) -> 左下(0 100%) */
  /* clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%); */
}

/* ホバー時の挙動 */
.initial_btn_list .arrow_btn:hover{
    text-decoration: underline;
}

/* 見出し部分 */
.initial_btn_list .btn_title {
    position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 160px; /* 必要に応じて 140px〜200px 程度に調整 */
  padding: 14px 20px;
  font-weight: 700;
  /* color: #fff; */
  white-space: nowrap;
  font-size: 18px;
}
.initial_btn_list .btn_title::after{
    position: absolute;
    content: '';
    display: block;
    width: 1px;
    background: #000;
    height: 40px;
    top: auto;
    bottom: auto;
    right: 0;
}

/* 抜粋テキスト部分 */
.initial_btn_list .btn_desc {
    position: relative; /* 擬似要素の基準にする */
  flex-grow: 1;
  box-sizing: border-box;
  padding: 14px 16px;         /* 左右均等に余白を設ける */
  background-color: #edf1f5;  /* 薄いグレー背景 */
  background: #edf1f5 url(../img/icon_arrow_r.svg) right 10px center no-repeat;
  background-size: 10px;
  color: #334155;
  font-size: 14px;
  line-height: 1.5;

  padding-right: 40px;

  /* 2行制限の確実な指定 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  /* -webkit-line-clamp: 2; */
  /* line-clamp: 2; */
  overflow: hidden;
  /* max-height: calc(1.5em * 2 + 28px);  */
}
.initial_btn_list .btn_desc *{
    font-size: 14px!important;
}
.initial_btn_list .btn_desc >  [class^="wp-block-"] + [class^="wp-block-"]{
    margin-top: 10px;
}


/* スマホ表示対応（画面幅が狭い場合は縦積みに切り替え） */
@media (max-width: 600px) {
  .initial_btn_list .arrow_btn {
    flex-direction: column;
    gap: 0;
  }
  .initial_btn_list .btn_title {
    width: 100%;       /* 全幅に広げて余白を残さない */
    padding: 10px 16px;
    position: relative;
  }
  .initial_btn_list .btn_title::after{
    position: absolute;
    content: '';
    display: block;
    height:1px;
    bottom: 0;
    left: 15px;
    width: calc(100% - 30px);
  }
  .initial_btn_list .btn_desc {
    width: 100%;
    padding: 10px 16px;
    margin-right: 0;
    padding-right: 40px;
    /* max-height: calc(1.5em * 2 + 20px); */
  }

  table.initial_list td{
    width: 20%;
  }
  table.initial_list td.number{
        width: auto;
    }


    .title_sub {
        font-size: 1.8rem;
    }

    #glossary_content .wp-block-table thead{
        border-bottom: 0;
    }

    .ui.contact .contact_body .contact_body_bottom{
        display: block;
        padding: 4px 10px 6px;
    }
    .ui.contact .contact_body .tel dt{
        padding-top: 2px;
    }
    .ui.contact .contact_body .contact_body_bottom dt{
        padding-top: 2px;
    }

}

.card_main{

  background-color: #ffffff; /* 白い背景 */
  padding: 40px 40px 40px 60px; /* 左側にリボン用の余白を作る */
  border-radius: 8px; /* 角の丸み */
  box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* 柔らかい影 */
  position: relative; /* 子要素の絶対配置の基準にする */
  overflow: visible; /* リボンがはみ出すのを許可する */
}
.card_main .card_title{
    margin: 0;
  padding: 12px 25px; /* 上下左右の余白 */
  font-size: 18px;
  font-weight: bold;
  color: #ffffff; /* 白文字 */
  
  /* リボンの形状と色 */
  background: linear-gradient(135deg, #002060 0%, #001540 100%);
  border-radius: 0 4px 4px 0; /* 右側だけ丸くする */
  box-shadow: 2px 2px 5px rgba(0,0,0,0.2); /* リボンの影 */

  /* 配置の設定 */
  position: absolute; /* カードに対して絶対配置 */
  top: 30px; /* 上からの位置 */
  left: -15px; /* 左側にはみ出させる量 */
  z-index: 10; /* コンテンツより上に表示 */
}
.card_main .card_title::before{
    content: "";
  position: absolute;
  top: 100%; /* リボンの真下に配置 */
  left: 0;
  width: 0; /* はみ出させた量と同じ幅 */
  height: 0; /* はみ出させた量と同じ高さ */
  /* background-color: #801222; より暗い赤（裏側） */
  z-index: -1; /* リボンの下に隠す */
  border-style: solid;
  /* 上側と右側の境界線を使って直角三角形を作る */
  border-width: 15px 0 0 15px;
  border-color: #000c26 transparent transparent transparent; /* 暗い赤色 */
}
.card_main .card_title::after{
    display: none;
}
.card_main .card_content{
    margin-top: 80px;
}



.block_ui.arrow-label {
  position: relative;
  display: inline-block;
  padding: 4px 10px 4px 12px;
  background-color: #002060; /* ラベルの背景色 */
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  margin-right: 12px; /* 矢印の飛び出し分の余白 */
}

/* 右側の三角形 */
.block_ui.arrow-label::after {
  content: "";
  position: absolute;
  top: 0;
  right: -10px; /* 三角形の横幅分だけ外に出す */
  width: 0;
  height: 0;
  /* 上下は透明、左側のみ背景色と同色にして右向き三角を形成 */
  border-top: 13px solid transparent;   /* (全体の高さ 26px) ÷ 2 */
  border-bottom: 13px solid transparent;/* (全体の高さ 26px) ÷ 2 */
  border-left: 10px solid #002060;      /* 三角形の尖り幅 */
}



.grid-col-2 {
  display: grid;
  grid-template-columns: 1fr; /* スマホ：1カラム */
  gap: 24px;
}

.grid-col-2.gutter20 {
  gap: 20px;
}
.grid-col-2.gutter10 {
  gap: 10px;
}

/* 782px以上（PC・タブレット）：2カラム */
@media (min-width: 782px) {
  .grid-col-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}


.inquiry_quota{
    
}
.inquiry_quota .inquiry_quota_l{
}
.inquiry_quota .inquiry_quota_l p{
    color: #fff;
    background:#002060 url(../img/hojokin_bule.png) right center no-repeat;
    padding: 6px;
    background-size: contain;
}
.inquiry_quota .inquiry_quota_c{
    
}
.inquiry_quota .inquiry_quota_r{
    
}


/** VK Blocks **/
ul[class$="-mark"] li{
    text-indent: 0;
    padding-left: 0;
}
ul[class$="-mark"] li::before{
    /* left: 0!important; */
}


@media (max-width: 568px) {
    #josei header.josei_head{
        padding: 10px 10px 15px;
    }
    #josei header.josei_head .josei_cate{
        font-size: 1.2rem;
    }
    #josei header.josei_head .josei_divi{
        font-size: 1.2rem;
    }
    .josei_pdate{
        font-size: 1.2rem;
    }
    .josei_period{

    }
    .josei_period dt,
    .josei_period dd{
        padding: 8px 10px 6px;
        font-size: 1.2rem;
    }
    .josei_period dt{
        /* width: 100%; */
        color: #00a700;
    }
    .josei_period dd{
        /* width: 100%; */
    }
    .notice{
        font-size: 1.2rem;
    }

    .block_ui ol[class^="type"] li, .block_ui ul[class^="type"] li{
        margin-right: 0!important;
        margin-left: 0!important;
        width: 100%;
    }

}