/* good-nakao */
:root,
.editor-styles-wrapper{
/* Corporate tone: a bit tighter */
--tecrita-container-pad: 16px;
--ark-color--border--table: transparent !important;

/* good-nakao */
--wp--preset--font-family--sans:
"Noto Sans JP", system-ui, -apple-system,
"Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
--fz-hero: clamp(28px, 4vw, 44px);
--fz-lead: clamp(14px, 1.6vw, 18px);
--fz-h2: clamp(20px, 1.8vw, 24px);
--fz-title: clamp(18px, 1.5vw, 20px);
--fz-14-16: clamp(14px, 1.2vw, 16px);
--fz-16-20: clamp(16px, 1.5vw, 20px);
--fz-18-24: clamp(18px, 1.8vw, 24px);
--fz-18-28: clamp(18px, 2vw, 28px);
--fz-18-32: clamp(18px, 3vw, 32px);
--fz-20-36: clamp(20px, 4vw, 36px);
--fz-20-38: clamp(20px, 9vw, 38px);
--fz-26-40: clamp(26px, 6vw, 40px);
--fz-30-48: clamp(30px, 7vw, 48px);
--fz-22-48: clamp(30px, 7vw, 48px);
--fz-30-80: clamp(30px, 10vw, 80px);
--fz-80-200: clamp(30px, 18vw, 200px);

--c-grad: linear-gradient(to left, #3bab9d, #64c76b);
--c-green: #3BAB9D;
--c-linktext: #4267b2;
--c-red: #DC143C;
--c-text: #333333;
--c-l-green: #ccf3ee;
--c-bg-green: #74c7bd2e;
--c-l-red: #e6cbd0;
--c-muted: #6f6f6f;
--c-border: #e9e9e9;
--c-bg: #ffffff;
--c-header-bg: rgba(255, 255, 255, .30);
--c-header-border: rgba(0, 0, 0, .06);
--c-soft: #ececec;
--c-ghost: #f6f6f6;
--c-ghost-border: rgba(255, 255, 255, .7);

--shadow1: 0 3px 7px rgba(0, 0, 0, 0.14);
}

/* --- カラーパレット：テキスト色用 (.has-slug-color) --- */

/* --- テキスト色用 (.has-custom-slug-color) --- */

.has-custom-main-color       { color: var(--c-red) !important; }
.has-custom-text-color       { color: var(--c-text) !important; }
.has-custom-link-color       { color: var(--c-green) !important; }
.has-custom-bg-color         { color: var(--c-bg) !important; }
.has-custom-light-gray-color { color: #f7f7f7 !important; }
.has-custom-pink-color       { color: #ff00ff !important; }
.has-custom-red-color        { color: #ed5170 !important; }

/* --- 背景色用 (.has-custom-slug-background-color) --- */

.has-custom-main-background-color       { background-color: var(--c-red) !important; }
.has-custom-text-background-color       { background-color: var(--c-text) !important; }
.has-custom-link-background-color       { background-color: var(--c-green) !important; }
.has-custom-bg-background-color         { background-color: var(--c-bg) !important; }
.has-custom-light-gray-background-color { background-color: #f7f7f7 !important; }
.has-custom-pink-background-color       { background-color: #ff00ff !important; }
.has-custom-red-background-color        { background-color: #ed5170 !important; }


.editor-styles-wrapper p:not(.news_title):not(.has-text-color):not([style*="color"]),
.editor-styles-wrapper p:not(.news_date):not(.has-text-color):not([style*="color"]) {
    color: var(--c-text);
}



/* div.editor-styles-wrapper .news_right {
    max-height: 300px;
    overflow-y: scroll;
} */


/* common */
a {
    text-decoration: none;
    color: var(--c-linktext);
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link {
    background-color: var(--c-green);
}

h1,h2,h3 {
    word-break: keep-all;
    overflow-wrap: anywhere;
}

h2 {
font-size: var(--fz-20-36);
font-weight: bold;
color: #fff;
margin-bottom: 1.5em;
background: -webkit-gradient(linear, right top, left top, from(#3bab9d), to(#64c76b));
background: linear-gradient(to left, #3bab9d, #64c76b);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.h2_border,
.h2_border_left {
position: relative;
padding-bottom: 1em;
margin-bottom: 1.5em !important;
}

.h2_border_left {
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: initial; 
    color: var(--c-text);
    padding-bottom: 0.5em;
    font-size: var(--fz-18-28);
}

.h2_border::after,
.h2_border_left:after {
content: "";
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 0;
width: 120px;
height: 6px;
background: var(--c-grad);
border-radius: 3px;
}

.h2_border_left:after {
    left: 0;
    transform: none;
    width: 40%;
    height: 2px;
}

h3 {
font-size: var(--fz-16-20);
font-weight: bold;
}

.width1000 {
    max-width: 1000px;
    margin-right: auto;
    margin-left: auto;
}

.line-height24 {
    line-height: 2.4;
}

.font-mincho {
    font-family: "Noto Serif JP", "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}



/* navi */
/* ヘッダーの横幅制限を解除してフルワイドにする */
.l-container {
    max-width: none;
    padding-left: var(--ark-padding--container);
    padding-right: var(--ark-padding--container);
}

/* ナビゲーション自体の幅を調整 */
.c-gnav {
    width: 100%;
}

.c-gnav__li>.c-gnav__a {
    font-weight: 700;
}

.l-header__body {
    justify-content: space-between; /* ロゴとナビを両端に配置 */
    width: 100%;
}

[data-btns="r-l"] .l-header__body {
    grid-template-areas: "search left center right menu" !important;
    grid-template-columns: var(--ark-searchW) calc(0% - var(--ark-searchW)) 74% calc(25% - var(--ark-drawerW)) var(--ark-drawerW) !important;
}

.c-gnav .sub-menu {
    background-color: var(--c-green);
}

.c-gnav__li.-current, .c-gnav__li.focus, .c-gnav__li:hover {
    color:var(--c-green);
}

.c-gnav>li:last-child {
    --ark-menulist_border: none;
    background-color: var(--c-green);
    padding: 0.2em 0.5em;
    height: 40px;
    border-radius: 3px;
    color: var(--c-bg);
}

.c-gnav__depth1:before {
    background-color: var(--c-green);
}

/* スマホナビ */
.p-drawer {
    background-color: var(--c-green);
}

@media not all and (min-width: 1000px) {
    .has-image>.c-headLogo {
        height: 50px;
    }
}

/* 下層ヘッダー */
.p-topArea {
    min-height: 20vh;
}

.p-topArea.-noimg {
    background: #555;
    background: url(../images/bg_h1.jpg) center center no-repeat;
    background-size: cover;
}

.p-topArea.c-filterLayer::before {
    background-color: unset;
}

.c-filterLayer.-filter-dot:after {
    background-color: unset;
    background-image: none;
}

.p-topArea__title.c-pageTitle {
    color: var(--c-text);
}

.c-pageTitle__main {
    font-weight: normal;
}

/* 下層パンくず */
.p-breadcrumb {
    padding-left: var(--ark-padding--container);
    padding-right: var(--ark-padding--container);
}

.p-breadcrumb__list.l-container {
    max-width: var(--ark-width--container);
    padding: 0;
}

.p-breadcrumb__text {
    font-size: 14px;
}

/* フッターCTA */
/* PCでは非表示 */
.p-mobile-nav {
    display: none;
}

/* スマホ表示の設定 */
@media screen and (max-width: 767px) {
    .p-mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50px;
        z-index: 9999;
        background: #fff;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }

    .p-mobile-nav__item {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        font-weight: bold;
        font-size: 14px;
    }

    /* 電話ボタンの色 */
    .p-mobile-nav__item.-tel {
        background-color: var(--c-bg);
        color: var(--c-text);
        font-size: var(--fz-20-36);
        font-family: "Times New Roman", "Noto Serif JP", "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", "MS PMincho", serif;
    }

    /* お問い合わせボタンの色 */
    .p-mobile-nav__item.-mail {
        background-color: var(--c-green);
        color: #fff;
    }

    .p-mobile-nav__item .fa-phone {
        font-size: var(--fz-16-20);
    }

    .l-footer {
        margin-bottom: 80px;
    }
}

/* =========================================================
  index.html
========================================================= */

/* mv */
div.b-hero :is(.wp-block-details,.wp-block-quote,.wp-block-column,.wp-block-media-text__content,.wp-block-cover__inner-container,.wp-block-group__inner-container:where(:not(.is-layout-grid)))>:not(:first-child) {
    margin-bottom: 0;
    margin-top: 0.5em;
}

.b-hero>div {
    max-width: 1600px !important;
}

div.b-hero__inner {
    line-height: 1.5;
    padding-inline: 30px !important;
    padding-block: 50px;
    box-shadow: var(--shadow1);
}

div.b-hero__inner .fa-file-alt {
color: var(--tecrita-color-link);
}

div.b-hero__inner.mv-right-bg {
    margin-top: 10vh;
    margin-left: auto;
    max-width: 720px;
}

.b-hero__title {
    color: var(--c-text);
    font-size: var(--fz-14-16);
    font-weight: normal;
}

div.b-hero__inner figure {
    text-align: left;
}

.b-hero__sub {
color: var(--c-text);
margin: 0.5em;
font-size: var(--fz-14-16);
}

.b-hero__sub.tel a {
font-size: 30px;
color: var(--c-text);
font-family: "Times New Roman", "Noto Serif JP", "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}

.b-hero__sub.tel.address {
margin: 0;
}

.b-hero__sub.address {
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.b-hero__cta a {
    color: var(--tecrita-color-on-primary);
    background-color: var(--c-green);
}

.news_right{
    padding: 0;
    max-height: 200px;      /* 必要に応じて調整 */
    overflow-y: auto;
    padding-right: 10px;    /* スクロールバー分 */
  }

.b-hero__inner h2 {
    font-size: var(--fz-16-20);
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: initial;
    color: var(--c-text);
    border-bottom: 1px solid var(--c-border);
    margin-bottom: 0.5em;
}

.b-hero__inner .fa-file-lines {
    color: var(--c-green);
}

.news_grp {
    background: var(--c-bg-green);
    padding: 0.8em;
    margin-top: 10px;
}

.news_grp>div p {
    margin-top: 0.5em !important;
    margin-bottom: 0;
}

/* .news_grp .news_date {
    font-size: 0.8em;
    font-weight: bold;
} */

/* 管理画面・フロント共通：個別のテキスト色指定がない時だけピンク */
.news_grp .news_title:not(.has-text-color):not([style*="color"]),
.editor-styles-wrapper .news_grp .news_title:not(.has-text-color):not([style*="color"]) {
    color: #ff00ff;
    font-weight: bold;
}

.news_grp .news_date:not(.has-text-color):not([style*="color"]),
.editor-styles-wrapper .news_grp .news_date:not(.has-text-color):not([style*="color"]) {
    font-size: 0.8em;
    font-weight: bold;
}

@media screen and (max-width: 640px) {
    h2 {
        text-align: left;
    }


    div.b-hero__inner {
        padding-inline: 15px !important;
    }
}


.wp-block-buttons .wp-block-button__link {
border-radius: 3px;
}


.timetable_01 table {
margin-bottom: 15px;
min-width: unset;
font-family: "Noto Sans JP", "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", Osaka, "ＭＳ Ｐ"
}

@media screen and (max-width: 1000px) {
.timetable_01 table {
    margin-bottom: 5px;
}
}

.timetable_01 table tr {
border-bottom: 1px solid #ccc;
}

.timetable_01 table tr:first-child td {
color: var(--c-green);
font-weight: bold;
}

.timetable_01 table tr:last-child {
border-bottom: 0;
}

.timetable_01 table td {
border: none;
padding: 0.75em 0 !important;
font-size: 0.85714rem;
text-align: center;
border-right: 1px solid #ccc;
}

@media screen and (max-width: 640px) {
.timetable_01 table td {
    font-size: 11px;
}
}

.timetable_01 table td:first-child {
width: 25%;
}

.timetable_01 table td:last-child {
border-right: none;
}

.timetable_01 table td:nth-child(n + 2) {
color: var(--c-green);
}

@media screen and (max-width: 834px) {
    div.b-hero__inner.mv-right-bg {
        margin: 30vh 0 5vh;
    }

    .b-hero__slides .wp-block-image img {
        height: 40%;
    }

    div.wp-block-cover.b-hero .wp-block-cover__image-background {
        height: 50%;
    }
}

/* home01 */
@media screen and (max-width: 781px) {
.home01_inner {
    flex-direction: column-reverse;
}
}

/* CTA */
.home_02 {
    margin: 0;
    padding: 0;
    padding-right: 20px;
    padding-left: 20px;
    padding: 80px 20px;
    background: url(../images/bg_home01.jpg);
    background-size: cover;
}

.home_02_innner {
    max-width: 1200px;
    margin: 0 auto;
}

.home_02_innner figure {
    text-align: left;
}
.home_02_left {
    flex-basis: 38% !important;
    border-right: 1px solid var(--c-border);
    padding-right: 30px;
}

.home_02_left figure::after {
    content: "";
    display: block;
    width: 100%;
    height: 10px;
    margin: 10px auto 0;
    background: var(--c-grad);
    opacity: 0.3;
}

.home_02_left i {
    color: var(--c-green);
}

i.fa-location-dot {
    color: var(--c-bg);
}

.home_02_right,
.home_03_text {
    align-content: center;
}

.home_02_innner>div p {
    margin-top: 0.5em !important;
    margin-bottom: 0;
}

@media screen and (max-width: 1000px) {
    .home_02_innner {
        flex-direction: column;
    }

    .home_02_left {
        flex-basis: unset !important;
    }

    .wp-block-columns .wp-block-column.home_02_left {
        max-width: 600px;
        margin: 0 auto !important;
        border-right: none;
        padding-right: 0;
        word-break: keep-all;
        overflow-wrap: anywhere;
    }

    .wp-block-columns .wp-block-column.home_02_right {
        flex-basis: unset !important;
        max-width: 600px;
        margin: 0 auto !important;
    }
}

.home_03 .wp-block-image img {
    width: 100%;
}

.home_04_bg {
    background: var(--c-grad);
    padding: 4em var(--ark-padding--container);
}

.home_04:before {
    content: "";
    width: 100%;
    height: 40%;
    background: #fff;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.home_04 h3 {
    font-size: 24px;
}

@media (max-width: 781px) {
    .home_04:before {
        content: none;
    }
}

.home_04_cont {
    padding: 4em 1.2em;
    box-shadow: var(--shadow1);
}

.wp-block-group__inner-container div.home_04_cont p {
    margin-top: 0.8em;
}

/* 親要素（カラム）に基準位置を設定 */
.home_04_cont {
    position: relative !important;
    transition: all 0.4s ease;
    z-index: 2;
}

/* カラム内のリンクを全域に広げる */
.home_04_cont a:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

/* ホバー時の演出（お好みで） */
.home_04_cont:hover {
    opacity: 0.8;
    cursor: pointer;
}


/* =========================================================
  greeting
========================================================= */

.greeting_02_bg {
    background: #d4e9e72e;
    padding: 2em 1.5em;
    box-shadow: var(--shadow1);
    margin-top: var(--wp-column-gap) !important;
}

.h2_greeting {
    font-size: var(--fz-16-20);

    /* 背景グラデーションを解除 */
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;

    /* 文字色の設定：透明化を解除して指定の色を入れる */
    -webkit-text-fill-color: initial; 
    color: var(--c-text);

    margin-bottom: 0em;
    margin-top: 1.8em !important;
}

.h2_greeting:first-of-type {
    margin-top: 0 !important;
}

/* =========================================================
  table_style
========================================================= */

.table_01 table {
margin-bottom: 15px;
min-width: unset;
font-family: "Noto Sans JP", "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", Osaka, "ＭＳ Ｐ"
}

.table_01 tbody {
    border: 1px solid #ccc;
}

@media screen and (max-width: 1000px) {
.table_01 table {
    margin-bottom: 5px;
}
}

.table_01 table tr {
border-bottom: 1px solid #ccc;
}

.table_01 table tr:first-child td {
    background-color: var(--c-bg-green);
color: var(--c-text);
font-weight: bold;
}

.table_01 table tr:last-child {
border-bottom: 0;
}

.table_01 table td {
border: none;
padding: 0.75em 0 !important;
font-size: 0.85714rem;
text-align: center;
border-right: 1px solid #ccc;
}

@media screen and (max-width: 640px) {
.table_01 table td {
    font-size: 11px;
}
}

.table_01 table td:first-child {
width: 25%;
}

.table_01 table td:last-child {
border-right: none;
}

/* =========================================================
  table_style
========================================================= */

.congressional_img_bg {
    gap: 1.5em;
}

.congressional_img_bg figure {
    box-shadow: var(--shadow1);
}

/* =========================================================
  guide
========================================================= */

/* 親コンテナをFlexboxにする */
.guide_01_wrap > .wp-block-group__inner-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px 2%;
}

/* 各ボックスの幅調整 */
.guide_01_cont {
    width: 49%;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
}

/* ボックス内のインナーコンテナも高さを100%に */
.guide_01_cont > .wp-block-group__inner-container {
    flex-grow: 1;
    height: 100%;
}

/* スマホ表示（1カラムに戻す） */
@media (max-width: 767px) {
    .guide_01_wrap > .wp-block-group__inner-container {
        flex-direction: column;
    }
    .guide_01_cont {
        width: 100%;
    }
}

.h3_guide {
    background-color: var(--c-bg);
    padding: 0.5em;
    border-bottom: 1px solid var(--c-green);
}

.guide_about_inner {
    gap: 5px !important;
}

.guide_about_inner>div {
    padding: 0.5em 1em;
}

.guide_about_inner:not(:first-child) {
    margin-top: 5px;
}

.guide_about_left {
    background-color: var(--c-bg-green);
}

.guide_about_right {
    background-color: var(--c-ghost);
}

