@charset "UTF-8";

/* ------ 共通　ここから ------ */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
    box-sizing: border-box;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
    min-width: unset !important;
    height: 100%;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* =Basic HTML
-------------------------------------------------------------- */
html {
    font-size: 62.5%;
    overflow-y: scroll;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-size: 1.6rem;
    line-height: 1.6;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif", Arial, 'BIZ UDPGothic', Meiryo, メイリオ, 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Osaka, sans-serif;
    color: #5C5C5C;
    background-color: #F8F5F0;
    position: relative;
}

img {
    width: 100%;
    image-rendering: -webkit-optimize-contrast;
}

/* ------ 共通　ここまで ------ */



/* ------ ヘッダー　ここから ------ */
#header {
    background: none;
}

#header .header-base {
    width: 96%;
    margin: 0 auto;
    margin-top: 6rem;
    margin-bottom: 5rem;
    padding: 10px 250px 10px 40px;
    background-color: #fff;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    border-radius: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ヘッダーロゴ */
#header .logo {
    width: 450px;
    height: auto;
}

#header .logo:has(a:hover) {
    opacity: 0.8;
}

/* ヘッダーナビゲーションメニュー */
#header .nav ul {
    display: flex;
    gap: 10px 40px;
}

#header .nav ul li a {
    color: #5C5C5C;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: bold;
}

#header .nav ul li a:hover {
    text-decoration: underline;
}

/* ハンバーガーメニュー */
.checkbox {
    position: fixed;
    display: block;
    width: 142px;
    height: 116px;
    margin: 0;
    top: 40px;
    right: 80px;
    z-index: 99999;
    opacity: 0;
    cursor: pointer;
}

.hamburger-lines {
    width: 142px;
    height: 116px;
    background-image: url(/img/kosodate-portal/hm-bg.png), url(/img/kosodate-portal/hm-item.png);
    background-repeat: no-repeat, no-repeat;
    background-size: 142px 106px, 140px 38px;
    background-position: bottom center, top 50px center;
    position: fixed;
    top: 40px;
    right: 80px;
    z-index: 9999;
    padding: 28px 40px 22px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

.checkbox:hover+.hamburger-lines {
    background-position: bottom center, top 0px center;
}

.hamburger-lines .line {
    display: block;
    width: 60px;
    height: 4px;
    border-radius: 10px;
    background: #fff;
    transform-origin: center;
}

.hamburger-lines .line1 {
    transform-origin: 0px 6px;
    transition: transform 0.4s ease-in-out;
}

.hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
}

.hamburger-lines .line3 {
    transform-origin: 8px -2px;
    transition: transform 0.4s ease-in-out;
}

.hamburger-lines .menu-close {
    display: inline-block;
    font-size: 2rem;
    color: #fff;
    background-color: #5c5c5c;
    line-height: 1.6rem;
}

.menu-items {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    padding-bottom: 6rem;
    transform: translate(150%);
    background-image: url(/img/kosodate-portal/hm-content-bg.png);
    background-repeat: no-repeat;
    background-size: 768px 1381px;
    background-position: top -100px left -50px;
    background-color: #F8F5F0;
    transition: transform 0.5s ease-in-out;
    z-index: 999;
    overflow-y: auto;
}

input[type="checkbox"]:checked~.menu-items {
    transform: translateX(0);
}

input[type="checkbox"]:checked~.hamburger-lines .line1 {
    transform: rotate(30deg);
}

input[type="checkbox"]:checked~.hamburger-lines .line2 {
    transform: scaleY(0);
}

input[type="checkbox"]:checked~.hamburger-lines .line3 {
    transform: rotate(-30deg);
}

.menu-items #header .header-base {
    margin-bottom: 0;
}

.menu-items .gs {
    margin-top: 40px;
    margin-bottom: 60px;
}

.hm-menu-area {
    display: flex;
    justify-content: space-between;
    width: 98%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
}

.hm-menu-content {
    width: calc(90% / 4);
    flex-grow: 1;
    position: relative;
}

.hm-menu-ttl p {
    width: 90%;
    padding: 10px;
    border-radius: 10px;
    background-color: #EE9AA2;
    text-align: center;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    cursor: pointer;
    display: block;
}

.hm-menu-content-n .hm-menu-ttl p {
    background-color: #F49D7A;
}

.hm-menu-content-k .hm-menu-ttl p {
    background-color: #93C7CC;
}

.hm-menu-content-s .hm-menu-ttl p {
    background-color: #87C694;
}

.hm-menu-ttl p {
    font-size: 2rem;
    color: #f8f5f0;
    text-shadow: 1px 1px 0 #5c5c5c, -1px -1px 0 #5c5c5c, -1px 1px 0 #5c5c5c, 1px -1px 0 #5c5c5c, 0px 1px 0 #5c5c5c, 0 -1px 0 #5c5c5c, -1px 0 0 #5c5c5c, 1px 0 0 #5c5c5c;
}

.hm-menu-content .acc_title+input {
    display: none;
}

.hm-menu-content .acc_title+input[id*="acc_ttl_label"]:checked+* {
    display: none;
}

.hm-menu-content ul {
    padding: 2rem;
    padding-top: 3rem;
    height: 100%;
    border: 5px solid #EE9AA2;
    border-radius: 20px;
    background-color: #F8F5F0;
}

.hm-menu-content.hm-menu-content-n ul {
    border: 5px solid #F49D7A;
}

.hm-menu-content.hm-menu-content-k ul {
    border: 5px solid #93C7CC;
}

.hm-menu-content.hm-menu-content-s ul {
    border: 5px solid #87C694;
}

.hm-menu-content ul li {
    padding: 1.8rem 1rem 1.8rem 2rem;
    border-bottom: 1px dashed #5c5c5c;
    position: relative;
}

.hm-menu-content ul li::before {
    content: "";
    display: block;
    width: 16px;
    height: 13px;
    background-image: url(/img/kosodate-portal/hm-list.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
}

.hm-menu-content ul li:has(a:hover)::before {
    opacity: 1;
}

.hm-menu-content ul li a {
    display: block;
    font-size: 1.6rem;
    font-weight: bold;
    color: #5c5c5c;
}

/* サイドナビゲーション */
.side-nav-checkbox {
    position: fixed;
    display: block;
    width: 60px;
    height: 60px;
    margin: 0;
    top: 140px;
    right: 0;
    z-index: 99;
    opacity: 0;
    cursor: pointer;
}

.side-nav-lines {
    width: 80px;
    height: 60px;
    background-color: #5c5c5c;
    border-radius: 30px 0 0 30px;
    position: fixed;
    top: 140px;
    right: 0;
    z-index: 98;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    transition: all 0.3s ease-in-out;
    transform: translateX(10px);
}

.side-nav-checkbox:hover+.side-nav-lines {
    transform: translateX(0);
}

.side-nav-lines .line {
    display: block;
    width: 40px;
    height: 4px;
    border-radius: 10px;
    background: #fff;
    transform-origin: center;
}

.side-nav-lines .line1 {
    transform-origin: 36px 12px;
    transform: rotate(-45deg);
    transition: transform 0.4s ease-in-out;
}

.side-nav-lines .line2 {
    transform-origin: 37px -8px;
    transform: rotate(45deg);
    transition: transform 0.4s ease-in-out;
}

#header .side-nav {
    position: fixed;
    top: 210px;
    right: 0;
    z-index: 99;
}

#header .side-nav ul li {
    transform: translateX(30px);
    margin-bottom: 12px;
    transition: all 0.3s ease-in-out;
}

#header .side-nav ul li:has(a:hover) {
    transform: translateX(10px);
}

#header .side-nav ul li a {
    display: flex;
    flex-direction: column;
    padding: 16px 60px 16px 86px;
    background-color: #fff;
    border-radius: 70px 0 0 70px;
    border: 3px solid #5c5c5c;
    color: #5c5c5c;
    font-size: 1.6rem;
    font-weight: bold;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    position: relative;
}

#header .side-nav ul li a span {
    display: inline-block;
}

#header .side-nav ul li a span:nth-of-type(1) {
    font-size: 2.6rem;
}

#header .side-nav ul li a::before {
    content: "";
    display: block;
    width: 46px;
    height: 46px;
    background-image: url(/img/kosodate-portal/side-nav1.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

#header .side-nav ul li:nth-of-type(2) a::before {
    background-image: url(/img/kosodate-portal/side-nav2.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

input[type="checkbox"]:checked~ul li.sub-nav-item {
    transform: translateX(150%) !important;
}

input[type="checkbox"]:checked~.side-nav-lines .line1 {
    transform-origin: 21px 12px;
    width: 20px;
    transform: rotate(-40deg);
}

input[type="checkbox"]:checked~.side-nav-lines .line2 {
    transform-origin: 21px -8px;
    width: 20px;
    transform: rotate(40deg);
}

/* ------ ヘッダー　ここまで ------ */



/* ------ スライド　ここから ------ */
.slider.slide-area {
    width: 63%;
    max-width: 1200px;
    height: auto;
    position: relative;
    margin-bottom: 110px;
}

.slider.slide-area .slick-list {
    border-radius: 20px;
}

.slider.slide-area .slick-slide {
    height: auto;
    margin: 0;
}

.slider.slide-area .slick-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

ul.slick-dots {
    position: absolute;
    bottom: 0 !important;
    right: -60px;
}

ul.slick-dots li:not(:last-of-type) {
    margin-bottom: 20px;
}

ul.slick-dots li button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    padding: 0;
    border: none;
    color: #000;
    text-indent: -9999em;
    width: 6px;
    height: 40px;
    background-color: #AEA78D;
}

ul.slick-dots li.slick-active button {
    background-color: #EE9AA2;
}

ul.slick-dots li button::before {
    content: none !important;
}

/* ------ スライド　ここまで ------ */



/* ------ さがす　ここから ------ */
section#kosodate-portal-search {
    width: 98%;
    max-width: 1300px;
    margin: 0 auto;
    margin-bottom: 120px;
}

section#kosodate-portal-search .ttl h2 {
    display: block;
    width: 210px;
    height: 133px;
    color: #000;
    text-indent: -9999em;
    background-image: url(/img/kosodate-portal/ttl-search.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin-bottom: 40px;
}

/* タブ全体を囲むコンテナの設定 */
.tab-switch {
    display: flex;
    /* タブを横並びに */
    flex-wrap: wrap;
    /* 幅に応じて折り返し */
    width: 100%;
    margin: auto;
    /* コンテナの中央寄せ */
    justify-content: center;
    /* タブの中央寄せ */
}

/* 各タブボタンの設定 */
.tab-switch>label {
    width: calc(86% / 4);
    order: -1;
    /* 上部に表示する */
    position: relative;
    /* 絶対位置指定用の基準 */
    padding: 2rem 1rem 1.5rem 1rem;
    /* 上下左右の内側余白 */
    font-size: 2.4rem;
    font-weight: bold;
    background-color: #F8F5F0;
    /* 背景色 */
    color: #5c5c5c;
    /* 文字色 */
    border: 5px solid #EE9AA2;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    text-align: center;
    /* 文字を中央揃え */
    cursor: pointer;
    /* ポインターを指アイコンに変更 */
}

.tab-switch>label.tab-switch-n {
    border-color: #F49D7A;
}

.tab-switch>label.tab-switch-k {
    border-color: #93C7CC;
}

.tab-switch>label.tab-switch-s {
    border-color: #87C694;
}

/* タブボタンのホバーおよび選択状態のスタイル */
.tab-switch>label:hover,
.tab-switch label:has(:checked) {
    background-color: #EE9AA2;
    /* ホバー/選択時の背景色 */
    color: #F8F5F0;
    /* ホバー/選択時の文字色 */
    text-shadow: 1px 1px 0 #5c5c5c, -1px -1px 0 #5c5c5c,
        -1px 1px 0 #5c5c5c, 1px -1px 0 #5c5c5c,
        0px 1px 0 #5c5c5c, 0-1px 0 #5c5c5c,
        -1px 0 0 #5c5c5c, 1px 0 0 #5c5c5c;
    /* フチ取り */
}

.tab-switch>label.tab-switch-n:hover,
.tab-switch label.tab-switch-n:has(:checked) {
    background-color: #F49D7A;
}

.tab-switch>label.tab-switch-k:hover,
.tab-switch label.tab-switch-k:has(:checked) {
    background-color: #93C7CC;
}

.tab-switch>label.tab-switch-s:hover,
.tab-switch label.tab-switch-s:has(:checked) {
    background-color: #87C694;
}

/* ラジオボタン自体は非表示 */
.tab-switch input.tab-switch-input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* タブコンテンツのスタイル */
.tab-switch>div {
    display: none;
    /* 初期状態では非表示 */
    width: 100%;
    /* コンテンツ幅を全体に */
    padding: 5rem 10rem 6rem 10rem;
    /* 内側余白 */
    border: 5px solid #EE9AA2;
    border-radius: 40px;
}

.tab-switch>div.tab-content-n {
    border-color: #F49D7A;
}

.tab-switch>div.tab-content-k {
    border-color: #93C7CC;
}

.tab-switch>div.tab-content-s {
    border-color: #87C694;
}

/* 選択されたタブのコンテンツを表示 */
.tab-switch label:has(:checked)+div {
    display: block;
    /* 選択されたタブに対応するコンテンツを表示 */
}

.tab-content .tab-ttl h3 {
    text-align: center;
    font-size: 3rem;
    padding-bottom: 1rem;
    border-bottom: 2.5px dashed #EE9AA2;
    margin-bottom: 6rem;
}

.tab-content.tab-content-n .tab-ttl h3 {
    border-color: #F49D7A;
}

.tab-content.tab-content-k .tab-ttl h3 {
    border-color: #93C7CC;
}

.tab-content.tab-content-s .tab-ttl h3 {
    border-color: #87C694;
}

.tab-list ul {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    gap: 3rem;
}

.tab-list ul li {
    width: calc(86% / 5);
    display: flex;
    flex-direction: column;
}

.tab-list ul li a {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12.5rem 2rem 2rem 2rem;
    background-color: #fff;
    border-radius: 10px;
    color: #5c5c5c;
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, .16);
}

.tab-content-m ul li a:before {
    content: "";
    display: block;
    width: 100px;
    height: 100px;
    background-image: url(/img/kosodate-portal/search-m01.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.tab-content-m ul li:nth-of-type(2) a:before {
    background-image: url(/img/kosodate-portal/search-m02.png);
}

.tab-content-m ul li:nth-of-type(3) a:before {
    background-image: url(/img/kosodate-portal/search-m03.png);
}

.tab-content-m ul li:nth-of-type(4) a:before {
    background-image: url(/img/kosodate-portal/search-m04.png);
}

.tab-content-m ul li:nth-of-type(5) a:before {
    background-image: url(/img/kosodate-portal/search-m05.png);
}

.tab-content-m ul li:nth-of-type(6) a:before {
    background-image: url(/img/kosodate-portal/search-m06.png);
}

.tab-content-m ul li:nth-of-type(7) a:before {
    background-image: url(/img/kosodate-portal/search-m07.png);
}

.tab-content-m ul li:nth-of-type(8) a:before {
    background-image: url(/img/kosodate-portal/search-m08.png);
}

.tab-content-m ul li:nth-of-type(9) a:before {
    background-image: url(/img/kosodate-portal/search-m09.png);
}

.tab-content-m ul li:nth-of-type(10) a:before {
    background-image: url(/img/kosodate-portal/search-m10.png);
}

.tab-content-n ul li a:before {
    content: "";
    display: block;
    width: 100px;
    height: 100px;
    background-image: url(/img/kosodate-portal/search-n01.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.tab-content-n ul li:nth-of-type(2) a:before {
    background-image: url(/img/kosodate-portal/search-n02.png);
}

.tab-content-n ul li:nth-of-type(3) a:before {
    background-image: url(/img/kosodate-portal/search-n03.png);
}

.tab-content-n ul li:nth-of-type(4) a:before {
    background-image: url(/img/kosodate-portal/search-n04.png);
}

.tab-content-n ul li:nth-of-type(5) a:before {
    background-image: url(/img/kosodate-portal/search-n05.png);
}

.tab-content-s ul li a:before {
    content: "";
    display: block;
    width: 100px;
    height: 100px;
    background-image: url(/img/kosodate-portal/search-s01.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.tab-content-s ul li:nth-of-type(2) a:before {
    background-image: url(/img/kosodate-portal/search-s02.png);
}

.tab-content-s ul li:nth-of-type(3) a:before {
    background-image: url(/img/kosodate-portal/search-s03.png);
}

.tab-content-s ul li:nth-of-type(4) a:before {
    background-image: url(/img/kosodate-portal/search-s04.png);
}

.tab-content-s ul li:nth-of-type(5) a:before {
    background-image: url(/img/kosodate-portal/search-s05.png);
}

.tab-content-k ul li {
    width: auto;
}

.tab-content-k ul li a {
    display: inline-block;
    padding: 2rem !important;
}

.tab-list ul li a:hover:before {
    animation: shake 1s ease;
}

@keyframes shake {
    0% {
        transform: translateX(-50%) translateY(0%) rotate(0);
    }

    16% {
        transform: translateX(-50%) translateY(-10%) rotate(12deg);
    }

    32% {
        transform: translateX(-50%) translateY(-10%) rotate(-10deg);
    }

    48% {
        transform: translateX(-50%) translateY(-10%) rotate(8deg);
    }

    64% {
        transform: translateX(-50%) translateY(-10%) rotate(-6deg);
    }

    80% {
        transform: translateX(-50%) translateY(-10%) rotate(4deg);
    }

    96% {
        transform: translateX(-50%) translateY(-10%) rotate(-2deg);
    }

    100% {
        transform: translateX(-50%) translateY(-10%) rotate(0deg);
    }
}

/* Google検索 */
.gs {
    width: 60%;
    margin: 0 auto;
    margin-top: 60px;
}

body .gs form.cse-search-box {
    width: 100%;
    display: flex;
}

body .gs form.cse-search-box input.submit,
#search_btn {
    padding: 17px 30px 17px 70px !important;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.23);
    position: relative;
    border: none !important;
    background-image: url(/img/kosodate-portal/icon-search.png);
    background-repeat: no-repeat;
    background-size: 30px 30px;
    background-position: center left 30px;
    background-color: #fff;
    font-size: 2rem;
    font-weight: bold;
    color: #5C5C5C;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif", Arial, 'BIZ UDPGothic', Meiryo, メイリオ, 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Osaka, sans-serif;
    height: 60px !important;
}

body .gs input.tmp_query {
    border-radius: 10px;
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.32);
    border: none !important;
    margin-right: 10px;
    height: 60px !important;
    width: calc(100% - 150px) !important;
}

/* ------ さがす　ここまで ------ */



/* ------ おしらせ　ここから ------ */
#kosodate-portal-news {
    background-image: url(/img/kosodate-portal/news-bg.png);
    background-repeat: repeat;
    background-size: 240px 240px;
    background-position: top left;
    padding-top: 12rem;
    padding-bottom: 8rem;
}

.news-area {
    width: 98%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
}

section#kosodate-portal-news .ttl {
    background-image: url(/img/kosodate-portal/news-item.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;
    padding: 0px 80px 100px 80px;
}

section#kosodate-portal-news .ttl h2 {
    display: block;
    width: 280px;
    height: 133px;
    color: #000;
    text-indent: -9999em;
    background-image: url(/img/kosodate-portal/ttl-news.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.news-content {
    width: 100%;
}

.news-content ul li {
    position: relative;
    margin-bottom: 5rem;
    transition: all 0.3s ease-in-out;
}

.news-content ul li .span_a {
    font-weight: bold;
    position: absolute;
    top: -1.2rem;
    left: 4rem;
}

.news-content ul li a {
    display: inline-block;
    width: 100%;
    padding: 2.4rem 4rem 2rem 4rem;
    border-radius: 4rem;
    background-color: #fff;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.16);
    font-size: 1.8rem;
    font-weight: bold;
    color: #5c5c5c;
}

.news-content ul li:has(a:hover) {
    scale: 1.05;
}

.btn-more {
    text-align: center;
}

.btn-more a {
    color: #5C5C5C;
    font-size: 2rem;
    font-weight: bold;
    padding-right: 8rem;
    position: relative;
}

.btn-more a::after {
    content: "";
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: url(/img/kosodate-portal/btn-more.png);
    background-repeat: no-repeat;
    background-size: 22px 6px;
    background-position: center;
    background-color: #93C7CC;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.16);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.btn-more a::before {
    content: "";
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background-color: #deeef0;
    position: absolute;
    right: -9px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.btn-more a:hover::before {
    opacity: 1;
}

/* ------ おしらせ　ここまで ------ */



/* ------ バナー1　ここから ------ */
#kosodate-portal-bnr1 ul {
    display: flex;
}

#kosodate-portal-bnr1 ul li.kosodate-portal-bnr1-item {
    width: calc(100% / 3);
    background-image: url(/img/kosodate-portal/bnr1-bg1.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    transition: all 0.3s ease-in-out;
}

#kosodate-portal-bnr1 ul li.kosodate-portal-bnr1-2 {
    background-image: url(/img/kosodate-portal/bnr1-bg2.jpg);
}

#kosodate-portal-bnr1 ul li.kosodate-portal-bnr1-3 {
    background-image: url(/img/kosodate-portal/bnr1-bg3.jpg);
}

#kosodate-portal-bnr1 ul li a {
    aspect-ratio: 10 / 3.6;
    height: auto;
    display: flex;
    align-items: flex-end;
}

#kosodate-portal-bnr1 ul li span.external_link_text {
    display: none;
}

#kosodate-portal-bnr1 ul li:has(a:hover) {
    background-size: 110%;
}

#kosodate-portal-bnr1 ul.slick-dots {
    left: 50%;
    transform: translateX(-50%);
}

/* ------ バナー1　ここまで ------ */



/* ------ 子育て関連スポット　ここから ------ */
#kosodate-portal-spot {
    padding-top: 10rem;
    position: relative;
}

#kosodate-portal-spot::before {
    content: "";
    width: 40%;
    height: 40%;
    background-image: url(/img/kosodate-portal/spot-bg1.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
}

#kosodate-portal-spot::after {
    content: "";
    width: 20%;
    height: 40%;
    background-image: url(/img/kosodate-portal/spot-bg2.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    right: 1%;
    bottom: 0;
    z-index: -1;
}

.spot-area {
    padding-top: 15rem;
    padding-bottom: 20rem;
    background-image: url(/img/kosodate-portal/spot-bg.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top center;
}

section#kosodate-portal-spot .ttl h2 {
    display: block;
    width: 630px;
    height: 133px;
    margin: 0 auto;
    margin-bottom: 10rem;
    color: #000;
    text-indent: -9999em;
    background-image: url(/img/kosodate-portal/ttl-spot.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.spot-content {
    width: 98%;
    max-width: 1300px;
    margin: 0 auto;
}

.spot-content ul {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.spot-content ul li {
    display: flex;
    flex-basis: 30%;
    margin-bottom: 20px;
}

.spot-img {
    margin-bottom: 20px;
    overflow: hidden;
}

.spot-img img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
}

.spot-content ul li:nth-of-type(1) .spot-img,
.spot-content ul li:nth-of-type(3) .spot-img {
    mask-image: url(/img/kosodate-portal/spot-item1.svg);
    mask-position: center;
    mask-size: cover;
}

.spot-content ul li:nth-of-type(2) .spot-img {
    mask-image: url(/img/kosodate-portal/spot-item2.svg);
    mask-position: center;
    mask-size: cover;
}

.spot-text {
    width: 90%;
    min-width: 180px;
}

.spot-content ul li a {
    color: #5c5c5c;
    font-size: 1.8rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.spot-content ul li a:hover img {
    transform: scale(1.1);
}

.spot-text h3 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
}

/* ------ 子育て関連スポット　ここまで ------ */



/* ------ 関連リンク　ここから ------ */
section#kosodate-portal-bnr2 {
    margin-bottom: 6rem;
}

.bnr-slide.bnr2-area.slick-initialized.slick-slider.slick-dotted {
    width: 98%;
    max-width: 1260px;
    margin: 0 auto;
    padding-bottom: 10rem;
}

section#kosodate-portal-bnr2 .slick-slider .slick-track,
section#kosodate-portal-bnr2 .slick-slider .slick-list {
    padding-top: 10px;
    padding-bottom: 10px;
}

section#kosodate-portal-bnr2 .slick-slide {
    margin: 0 10px;
}

section#kosodate-portal-bnr2 .ttl h2 {
    display: block;
    width: 250px;
    height: 66px;
    margin: 0 auto;
    margin-bottom: 5rem;
    color: #000;
    text-indent: -9999em;
    background-image: url(/img/kosodate-portal/ttl-bnr2.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

#kosodate-portal-bnr2 .free_box2 a img {
    border-radius: 10px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    transition: all 0.3s ease-in-out;
}

#kosodate-portal-bnr2 .free_box2 a:hover img {
    scale: 1.05;
}

#kosodate-portal-bnr2 .free_box2 span {
    display: none;
}

#kosodate-portal-bnr2 .slide-arrow {
    width: 38px;
    height: 11px;
    cursor: pointer;
    padding: 34px 52px 38px 38px;
    background-color: #fff;
    box-shadow: 6px 3px 6px rgba(0, 0, 0, 0.16);
    box-sizing: unset;
    z-index: 9;
    top: unset;
    bottom: -0;
    right: 0;
}

#kosodate-portal-bnr2 .slide-arrow:hover {
    background-color: #EE9AA2;
}

#kosodate-portal-bnr2 .prev-arrow {
    border-radius: 6rem 0 0 6rem;
    left: unset;
    right: 128px;
    background-image: url(/img/kosodate-portal/dashed.png);
    background-repeat: no-repeat;
    background-size: 2px 60px;
    background-position: right top 14px;
}

#kosodate-portal-bnr2 .next-arrow {
    border-radius: 0 6rem 6rem 0;
    padding: 34px 38px 38px 52px;
}

#kosodate-portal-bnr2 ul.slick-dots {
    width: 340px;
    height: auto;
    left: unset;
    bottom: 3rem !important;
    right: 50%;
    transform: translateX(50%);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

#kosodate-portal-bnr2 ul.slick-dots li {
    margin: 0;
}

#kosodate-portal-bnr2 ul.slick-dots li button {
    width: 40px;
    height: 6px;
}

/* ------ 関連リンク　ここまで ------ */



/* ------ フッター　ここから ------ */
footer {
    padding-top: 20rem;
    padding-bottom: 3rem;
    background-image: url(/img/kosodate-portal/footer-bg.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: top center;
    background-color: #fff;
    position: relative;
}

footer::before {
    content: "";
    display: block;
    width: 396px;
    height: 325px;
    background-image: url(/img/kosodate-portal/footer-bg1.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    top: 20px;
    left: 0;
}

footer::after {
    content: "";
    display: block;
    width: 419px;
    height: 322px;
    background-image: url(/img/kosodate-portal/footer-bg2.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    bottom: 0;
    right: 0;
}

.footer-btn {
    text-align: center;
    margin-bottom: 11rem;
}

.footer-btn a {
    display: inline-block;
    color: #5C5C5C;
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
    padding: 24px 30px 18px 30px;
    border-radius: 4rem;
    background-color: #F3E8E0;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    transition: all 1s ease-in-out;
    position: relative;
}

.footer-btn span.external_link_text {
    display: none;
}

.footer-btn .footer-btn-ue {
    margin-bottom: 7rem;
    padding-top: 2rem;
}

.footer-btn .footer-btn-ue a {
    font-size: 2.7rem;
    border: 2px dashed #5c5c5c;
    border-radius: 5rem;
}

.footer-btn .footer-btn-ue a::before {
    content: "";
    display: block;
    width: 54px;
    height: 36px;
    background-image: url(/img/kosodate-portal/icon-mail.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.footer-btn-shita {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 5rem;
}

.footer-btn a:before {
    content: "";
    display: block;
    width: 42px;
    height: 40px;
    background-image: url(/img/kosodate-portal/icon-okuma.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.footer-btn a:nth-of-type(2)::before {
    background-image: url(/img/kosodate-portal/icon-yumenomori.png);
}

.footer-btn a:hover:before {
    animation: turn 1s ease;
}

@keyframes turn {
    0% {
        transform: translateX(-50%) rotateY(0);
    }

    100% {
        transform: translateX(-50%) rotateY(360deg);
    }
}

.footer-content-flex {
    width: 98%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 11rem;
}

.footer-logo {
    width: 442px;
    height: 139px;
    margin-right: 40px;
}

.footer-logo:has(a:hover) {
    opacity: 0.8;
}

.footer-address p {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1.4rem;
}

.footer-address p:last-of-type {
    margin: 0;
}

.copyright {
    text-align: center;
    font-size: 1.4rem;
    font-weight: bold;
}

/* ------ フッター　ここまで ------ */



/* ------ トップへ戻る　ここから ------ */
#page_top {
    display: inline-block;
    position: fixed;
    z-index: 99;
    right: 40px;
    bottom: 40px;
}

#page_top a {
    text-decoration: none;
    transition: all 0.3s;
}

#page_top.btn-more a::after {
    background-color: #ee9aa2;
    transform: translateY(-50%) rotate(-90deg);
}

#page_top.btn-more a::before {
    background-color: #f2d7d6;
}

#page_top.upmove {
    animation: UpAnime 0.3s forwards;
}

@keyframes UpAnime {
    from {
        opacity: 0;
        transform: translateY(150px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#page_top.downmove {
    animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 1;
        transform: translateY(150px);
    }
}

/* ------ トップへ戻る　ここまで ------ */



/* ------ パンくず　ここから ------ */
#pankuzu_wrap {
    margin-bottom: 30px;
}

.pankuzu {
    font-size: 1.6rem;
    padding: 10px 0px 10px 0;
    margin: 0 !important;
    position: relative;
}

.icon_current {
    margin-right: 16px;
    font-size: 1.6rem;
    font-weight: bold;
    color: #fff;
    padding: 10px 18px;
    background-color: #5c5c5c;
    border-radius: 4px;
}

/* ------ パンくず　ここまで ------ */



/* ------ 見出し　ここから ------ */
.kosodate-portal-kaso-content #main_header h1 {
    border: none;
    padding: 3.5rem 6rem;
    font-size: 3.6rem;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif", Arial, 'BIZ UDPGothic', Meiryo, メイリオ, 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Osaka, sans-serif;
    margin-bottom: 4rem;
    background-image: url(/img/kosodate-portal/item-h1.png);
    background-repeat: no-repeat;
    background-size: 230px 108px;
    background-position: right 20px bottom;
    background-color: #EE9AA2;
    border-radius: 15px;
}

.kosodate-portal-kaso-content #main_body h2 {
    margin: 30px 0;
    padding: 27px 40px 27px 50px;
    font-size: 3rem;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif", Arial, 'BIZ UDPGothic', Meiryo, メイリオ, 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Osaka, sans-serif;
    background: #F49D7A;
    border: none;
    box-shadow: none;
    border-radius: 15px;
    position: relative;
}

.kosodate-portal-kaso-content #main_body h2:after {
    border: none;
    border-radius: unset;
    width: 6px;
    height: 80%;
    background-image: url(/img/kosodate-portal/item-h2.png);
    background-repeat: repeat-y;
    background-size: contain;
    background-position: center;
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
}

.kosodate-portal-kaso-content #main_body h3 {
    margin: 20px 0;
    padding: 27px 40px 15px 50px;
    font-size: 2.6rem;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif", Arial, 'BIZ UDPGothic', Meiryo, メイリオ, 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Osaka, sans-serif;
    border: none;
    border-bottom: 4px solid #93C7CC;
    background-image: url(/img/kosodate-portal/item-h3.png);
    background-repeat: no-repeat;
    background-size: 22px 54px;
    background-position: left bottom -4px;
}

.kosodate-portal-kaso-content #main_body h4 {
    margin: 20px 0;
    padding: 18px 40px 14px 50px;
    font-size: 2.2rem;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif", Arial, 'BIZ UDPGothic', Meiryo, メイリオ, 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Osaka, sans-serif;
    border-radius: 15px;
    background: #F3EAD9;
    position: relative;
}

.kosodate-portal-kaso-content #main_body h4::before {
    content: "";
    display: block;
    width: 42px;
    height: 66px;
    background-image: url(/img/kosodate-portal/item-h4.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    top: -3px;
    left: -12px;
}

.kosodate-portal-kaso-content #main_body h5 {
    margin: 20px 0;
    padding: 10px 40px 6px 50px;
    font-size: 2rem;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif", Arial, 'BIZ UDPGothic', Meiryo, メイリオ, 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Osaka, sans-serif;
    background: unset;
    border-bottom: 6px solid #EE9AA2;
}

.kosodate-portal-kaso-content .detail_free ul,
.kosodate-portal-kaso-content .detail_free ol,
.kosodate-portal-kaso-content .detail_free table,
.kosodate-portal-kaso-content .detail_free p {
    margin: 1em 0;
}

.kosodate-portal-kaso-content #main_body ul {
    padding-left: 20px;
}

.kosodate-portal-kaso-content #main_body ul li {
    position: relative;
}

.kosodate-portal-kaso-content #main_body ul li::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    background: #A18F6F;
    border-radius: 50%;
    position: absolute;
    left: -15px;
    top: 10.5px;
}

.kosodate-portal-kaso-content #main_body ol {
    list-style: decimal;
    padding-left: 20px;
}

.kosodate-portal-kaso-content #main_body ol li {
    padding-left: 4px;
}

.kosodate-portal-kaso-content #main_body table {
    border-color: #87C694;
    border-collapse: collapse;
    border-style: solid;
    border-width: 2px;
    margin: 0 0 10px;
}

.kosodate-portal-kaso-content #main_body th {
    border-color: #87C694;
    border-collapse: collapse;
    background: #DDEEE1;
    border-style: solid;
    border-width: 2px;
    padding: 0.2rem 0.8rem 0.2rem 0.8rem;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif", Arial, 'BIZ UDPGothic', Meiryo, メイリオ, 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Osaka, sans-serif;
}

.kosodate-portal-kaso-content #main_body td {
    border-color: #87C694;
    border-collapse: collapse;
    background: #fff;
    border-style: solid;
    border-width: 2px;
    padding: 0.2rem 0.8rem 0.2rem 0.8rem;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif", Arial, 'BIZ UDPGothic', Meiryo, メイリオ, 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Osaka, sans-serif;
}

.kosodate-portal-kaso #main_body a {
    word-break: break-all;
}

/* ------ 見出し　ここまで ------ */



/* ------ このページに関するお問い合わせ先　ここから ------ */
#section_footer .sectionF {
    border-radius: 14px;
    border: 5px solid #F3EAD9;
    box-sizing: border-box;
    font-size: 1.8rem;
    color: #323232;
    background-image: url(/img/kosodate-portal/news-bg.png);
    background-repeat: repeat;
    background-size: 240px 240px;
    background-position: top left;
    margin-top: 60px;
    position: relative;
}

#section_footer .sectionF::after {
    content: "";
    display: block;
    width: 156px;
    height: 211px;
    background-image: url(/img/kosodate-portal/item-contact.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    top: -40px;
    right: -60px;
}

#section_footer #section_footer_title h2 {
    margin: 0;
    border-radius: 10px 10px 0 0;
    background-color: #F8F5F0;
    border-bottom: 5px solid #F3EAD9;
    padding: 24px 22px 20px 42px;
    font-size: 2rem;
    color: #323232;
}

#section_footer #section_footer_name {
    padding: 26px 42px 10px 42px;
}

#section_footer #section_footer_info {
    padding: 0 42px 22px 42px;
}

/* ------ このページに関するお問い合わせ先　ここまで ------ */



/* ------ 大メニューページ　ここから ------ */
.kosodate-portal-kaso #main_body .list_ccc ul li .article_title a {
    font-weight: bold;
    color: #323232;
}

/* ------ 大メニューページ　ここまで ------ */



/* ------ 小メニューページ　ここから ------ */
.kosodate-portal-kaso {
    width: 98%;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 55px;
    color: #323232;
}

.kosodate-portal-kaso #main_body {
    padding: 56px 70px;
    background: #fff;
    border-radius: 15px;
}

.kosodate-portal-kaso #main_body .list_ccc ul li {
    margin: 0 !important;
    margin-bottom: 16px !important;
    border: none;
    font-size: 1.6rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.kosodate-portal-kaso #main_body .list_ccc ul li:has(a:hover) {
    background-color: #F1B3B9;
}

.kosodate-portal-kaso #main_body .list_ccc ul li:before {
    content: "";
    display: block;
    width: 13px;
    height: 22px;
    background-image: url(/img/kosodate-portal/item-list-arrow.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-color: unset;
    position: absolute;
    left: unset;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.kosodate-portal-kaso #main_body .list_ccc li:after {
    content: "";
    width: 100%;
    height: 2px;
    background-image: linear-gradient(to right, #5c5c5c, #5c5c5c 4px, transparent 4px, transparent 8px);
    background-size: 8px 2px;
    background-repeat: repeat-x;
    background-position: center;
    border-radius: 2px;
    position: absolute;
    bottom: -8px;
    left: 0;
}

.kosodate-portal-kaso #main_body .list_ccc ul li .span_a {
    width: unset;
    display: block;
    padding: 0;
    background-image: none;
    position: absolute;
    left: 28px;
    top: 14px;
    pointer-events: none;
}

.kosodate-portal-kaso #main_body .list_ccc ul li .span_b {
    display: block;
    padding: 0;
    background-image: none;
}

.kosodate-portal-kaso #main_body .list_ccc ul li .span_b a {
    display: block;
    font-weight: bold;
    color: #323232;
    padding: 44px 60px 18px 28px;
}

/* ------ 小メニューページ　ここまで ------ */



/* ------ レスポンシブ　ここから ------ */
@media screen and (max-width: 1500px) {
    #header .header-base {
        padding: 10px 170px 10px 40px;
    }

    #header .logo {
        width: 360px;
    }

    .checkbox {
        width: 113.6px;
        height: 92.8px;
        top: 50px;
        right: 60px;
    }

    .hamburger-lines {
        width: 113.6px;
        height: 92.8px;
        background-size: 113.6px 92.8px, 112px 30.4px;
        background-position: bottom center, top 30px center;
        padding: 22px 30px 16px 30px;
        top: 50px;
        right: 60px;
    }

    .hamburger-lines .line {
        width: 50px;
        height: 3px;
    }
}

@media screen and (max-width: 1300px) {
    #header .nav.sp-none ul {
        display: none;
    }

    #header .header-base.sp-header-base {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    #header .nav ul {
        flex-wrap: wrap;
        gap: 10px;
    }

    .slider.slide-area {
        width: 96%;
        max-width: unset;
    }

    ul.slick-dots {
        display: flex;
        right: unset;
        left: 0;
        bottom: -40px !important;
    }

    ul.slick-dots li:not(:last-of-type) {
        margin-bottom: 0;
        margin-right: 20px;
    }

    ul.slick-dots li button {
        width: 40px;
        height: 6px;
    }
}

@media screen and (max-width: 1100px) {

    .gs,
    .menu-items .gs {
        width: 80%;
    }

    .hm-menu-area {
        flex-wrap: wrap;
        gap: 8rem 3rem;
    }

    .hm-menu-content {
        width: calc(90% / 2);
    }

    section#kosodate-portal-search {
        width: 100%;
    }

    .hm-menu-ttl p {
        padding-right: 40px;
        background-image: url(/img/kosodate-portal/hm_list_open.png);
        background-repeat: no-repeat;
        background-size: 20px;
        background-position: center right 10px;
    }

    .hm-menu-ttl.acc_open label[for*="acc_ttl_label"] p {
        background-image: url(/img/kosodate-portal/hm_list_close.png);
        background-repeat: no-repeat;
        background-size: 20px;
        background-position: center right 10px;
    }

    .hm-menu-ttl.acc_title+input[id*="acc_ttl_label"]+* {
        display: none;
    }

    .hm-menu-ttl.acc_title+input[id*="acc_ttl_label"]:checked+* {
        display: block;
    }

    section#kosodate-portal-search .ttl h2 {
        margin-left: 10px;
        width: 168px;
        height: 106px;
        margin-bottom: 30px;
    }

    .tab-switch>div {
        padding: 4rem;
        border-radius: 30px;
    }

    .tab-switch>label {
        width: calc(92% / 4);
        font-size: 2rem;
        padding: 1.5rem 1rem 1.5rem 1rem;
    }

    .tab-content .tab-ttl h3 {
        font-size: 2.4rem;
        margin-bottom: 4rem;
    }

    .tab-list ul {
        gap: 2rem;
    }

    .tab-list ul li {
        min-width: 150px;
    }

    .tab-list ul li a {
        font-size: 1.6rem;
        padding: 10.5rem 1rem 1rem 1rem;
    }

    .tab-content ul li a:before {
        width: 80px;
        height: 80px;
    }

    .news-area {
        flex-direction: column;
    }

    #kosodate-portal-news {
        padding-top: 0;
        padding-bottom: 6rem;
    }

    section#kosodate-portal-news .ttl {
        background-size: 350px 80px;
        background-position: bottom;
        padding: 80px 0 0 0;
        margin-top: -30px;
        margin-bottom: 30px;
    }

    section#kosodate-portal-news .ttl h2 {
        width: 224px;
        height: 106px;
    }

    .spot-area {
        background-size: cover;
    }

    section#kosodate-portal-spot .ttl h2 {
        width: 504px;
        height: 106px;
        margin-bottom: 8rem;
    }

    .spot-content ul {
        flex-direction: column;
    }

    .spot-content ul li {
        padding: 20px 0;
        margin: 0 10px;
        background-size: 10px 1px;
        background-image: linear-gradient(to right, #5c5c5c 4px, transparent 4px);
        background-repeat: repeat-x;
        background-position: left bottom;
    }

    .spot-content ul li a {
        flex-direction: row;
    }

    .spot-img {
        margin: 0;
        margin-right: 30px;
    }

    .spot-text h3 {
        text-align: left;
        margin-bottom: 6px;
    }

    #kosodate-portal-bnr2 ul.slick-dots {
        right: unset;
        transform: unset;
        left: 0;
    }

    footer::before {
        width: 317px;
        height: 260px;
    }

    footer::after {
        width: 335px;
        height: 258px;
    }

    .footer-btn a {
        font-size: 1.8rem;
    }

    .footer-btn .footer-btn-ue {
        margin-bottom: 5rem;
    }

    .footer-btn .footer-btn-ue a {
        font-size: 2.4rem;
    }

    .footer-btn .footer-btn-ue a::before {
        width: 43px;
        height: 29px;
        top: -16px;
    }

    .footer-btn a:before {
        width: 34px;
        height: 32px;
        top: -16px;
    }
}

@media screen and (max-width: 800px) {
    #header .header-base.header-base {
        padding: 4px 40px 4px 40px;
        margin-top: 20px;
        margin-bottom: 50px;
    }

    #header .header-base.header-base.sp-header-base {
        margin-top: 20px;
        background: none;
        box-shadow: none;
    }

    #header .header-base.header-base.sp-header-base ul li a {
        display: inline-block;
        background: #fff;
        padding: 10px 20px;
        border-radius: 40px;
        box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
        box-sizing: border-box;
    }

    #header .logo {
        width: 270px;
    }

    .checkbox {
        width: 71px;
        height: 58px;
        top: 15px;
        right: 40px;
    }

    .hamburger-lines {
        width: 71px;
        height: 58px;
        background-size: 71px 58px, 70px 19px;
        background-position: bottom center, top 20px center;
        padding: 10px 10px 6px 10px;
        top: 15px;
        right: 40px;
    }

    .hamburger-lines .line {
        width: 30px;
        height: 2px;
    }

    .hamburger-lines .menu-close {
        font-size: 1.6rem;
    }

    .hamburger-lines .line3 {
        transform-origin: 4px -2px;
    }

    .hm-menu-content {
        width: 100%;
    }

    .gs {
        width: 100%;
    }

    table.gsc-search-box td.gsc-input {
        padding-right: 8px !important;
    }

    .gsc-input-box {
        border-radius: 6px;
        box-shadow: inset 0px 0px 6px rgba(0, 0, 0, 0.32);
    }

    .gsib_a {
        padding: 8px 10px 8px 20px !important;
    }

    input.gsc-input {
        height: 21px !important;
        font-size: 1.6rem !important;
        background-size: 66px 13px !important;
    }

    .gsc-search-button .gsc-search-button.gsc-search-button-v2 {
        padding: 10px 60px 10px 10px;
        border-radius: 6px;
    }

    .gsc-search-button-v2 svg {
        width: 15px;
        height: 15px;
    }

    .gsc-search-button .gsc-search-button.gsc-search-button-v2:after {
        font-size: 1.6rem;
        right: 20px;
    }

    #header .side-nav {
        width: 100%;
        top: unset;
        right: unset;
        bottom: 0;
        left: 0;
    }

    .side-nav-checkbox {
        top: unset;
        right: unset;
        left: 0;
        bottom: 86px;
        height: 30px;
    }

    .side-nav-lines {
        transform: unset;
        top: unset;
        right: unset;
        left: 0;
        bottom: 86px;
        width: 60px;
        height: 30px;
        border-radius: 0px 6px 0px 0px;
    }

    .side-nav-lines .line {
        width: 15px;
        height: 3px;
    }

    .side-nav-lines .line1 {
        transform-origin: 16px 9px;
    }

    .side-nav-lines .line2 {
        transform-origin: 15px -5px;
    }

    #header .side-nav ul {
        display: flex;
    }

    #header .side-nav ul li {
        width: 50%;
        transform: unset;
        margin: 0;
    }

    #header .side-nav ul li a::before {
        width: 26px;
        height: 26px;
    }

    #header .side-nav ul li a {
        border-radius: unset;
        align-items: center;
        padding: 10px;
    }

    #header .side-nav ul li a::before {
        content: none;
    }

    #header .side-nav ul li a span br {
        display: none;
    }

    #header .side-nav ul li a span:nth-of-type(1) {
        font-size: 2.2rem;
        padding-left: 46px;
        position: relative;
    }

    #header .side-nav ul li a span:nth-of-type(1)::before {
        content: "";
        display: block;
        width: 26px;
        height: 26px;
        background-image: url(/img/kosodate-portal/side-nav1.png);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    #header .side-nav ul li:nth-of-type(2) a span:nth-of-type(1)::before {
        background-image: url(/img/kosodate-portal/side-nav2.png);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
    }

    .side-nav-checkbox:hover+.side-nav-lines {
        transform: translateX(0);
        opacity: 0.8;
    }

    #header .side-nav ul li:has(a:hover) {
        transform: none;
        opacity: 0.8;
    }

    input.side-nav-checkbox[type="checkbox"]:checked {
        bottom: 0;
    }

    input[type="checkbox"]:checked~.side-nav-lines {
        bottom: 0;
    }

    input[type="checkbox"]:checked~ul li.sub-nav-item {
        transform: translateY(150%) !important;
    }

    input[type="checkbox"]:checked~.side-nav-lines .line1 {
        transform-origin: 12px 16px;
        width: 12px;
        transform: rotate(-40deg);
    }

    input[type="checkbox"]:checked~.side-nav-lines .line2 {
        transform-origin: 18px -2px;
        width: 12px;
        transform: rotate(40deg);
    }

    #page_top {
        bottom: 110px;
        right: 20px;
    }

    #kosodate-portal-news {
        margin-bottom: 40px;
    }

    section#kosodate-portal-news .ttl {
        background-position: top;
    }

    section#kosodate-portal-bnr1 {
        margin-bottom: 60px;
    }

    .spot-area {
        background-size: cover;
        padding-top: 10rem;
        padding-bottom: 10rem;
        margin-bottom: 5rem;
    }

    section#kosodate-portal-bnr2 .ttl h2 {
        width: 200px;
        height: 53px;
        margin-bottom: 20px;
    }

    #section_footer .sectionF::after {
        width: 94px;
        height: 127px;
        top: -20px;
        right: -20px;
    }

    .pankuzu {
        font-size: 1.4rem;
        padding: 9px 0px 9px 80px;
    }

    .pankuzu::before {
        font-size: 1.4rem;
        padding: 8px 12px;
    }

    .kosodate-portal-kaso-content #main_header h1 {
        padding: 2.5rem 3rem;
        font-size: 2.7rem;
        background-size: 184px 86px;
        border-radius: 10px;
    }

    .kosodate-portal-kaso #main_body {
        padding: 30px 20px;
    }

    .kosodate-portal-kaso-content #main_body h2 {
        font-size: 2.4rem;
        padding: 20px 20px 20px 30px;
        border-radius: 10px;
    }

    .kosodate-portal-kaso-content #main_body h2:after {
        width: 4px;
        height: 60%;
        left: 16px;
    }

    .kosodate-portal-kaso-content #main_body h3 {
        font-size: 2.2rem;
        padding: 20px 20px 8px 30px;
        background-size: 18px 43px;
        background-position: left bottom -3px;
    }

    .kosodate-portal-kaso-content #main_body h4 {
        font-size: 2rem;
        padding: 10px 20px 9px 30px;
        border-radius: 10px;
    }

    .kosodate-portal-kaso-content #main_body h4::before {
        width: 34px;
        height: 53px;
        top: -2px;
        left: -6px;
    }

    .kosodate-portal-kaso-content #main_body h5 {
        font-size: 1.8rem;
        padding: 8px 20px 4px 30px;
        border-bottom: 4px solid #EE9AA2;
    }

    .kosodate-portal-kaso #main_body .list_ccc ul li:before {
        width: 10px;
        height: 18px;
        right: 0;
    }

    .kosodate-portal-kaso #main_body .list_ccc ul li:before {
        width: 8px;
        height: 14px;
        right: 12px;
    }

    .kosodate-portal-kaso #main_body .list_ccc ul li .span_b a {
        padding: 44px 30px 18px 18px;
    }

    .kosodate-portal-kaso #main_body .list_ccc ul li .span_a {
        left: 18px;
    }

    body .gs form.cse-search-box {
        margin: 0 !important;
    }

    body .gs input.tmp_query {
        width: calc(100% - 120px) !important;
        height: 50px !important;
        margin-left: 0 !important;
    }

    body .gs form.cse-search-box input.submit,
    #search_btn {
        padding: 17px 20px 17px 50px !important;
        font-size: 1.6rem;
        height: 50px !important;
        background-size: 20px 20px;
        background-position: center left 20px;
    }
}

@media screen and (max-width: 600px) {
    .slider.slide-area .slick-list {
        border-radius: 10px;
    }

    #header .header-base.header-base {
        padding: 4px 10px 4px 10px;
        margin-bottom: 30px;
    }

    .checkbox {
        right: 10px;
    }

    .hamburger-lines {
        right: 10px;
    }

    .slider.slide-area {
        margin-bottom: 6rem;
    }

    ul.slick-dots li button {
        width: 20px;
        height: 3px;
    }

    section#kosodate-portal-search {
        margin-bottom: 80px;
    }

    section#kosodate-portal-search .ttl h2 {
        width: 126px;
        height: 80px;
        margin-bottom: 20px;
    }

    .tab-switch>label {
        font-size: 1.6rem;
        padding: 1rem;
        width: calc(100% / 4);
        padding-bottom: 0.4rem;
    }

    .tab-switch>label.tab-switch-k {
        font-size: 1.4rem;
        padding: 1rem 0;
        padding-bottom: 0;
    }

    .tab-switch>div {
        padding: 4rem 1rem;
        border-radius: 0px 0px 20px 20px;
    }

    .tab-content .tab-ttl h3 {
        margin-bottom: 2rem;
    }

    .tab-list ul {
        gap: 1rem;
    }

    .tab-list ul li {
        width: calc(90% / 3);
        min-width: unset;
    }

    .tab-list ul li a {
        font-size: 1.4rem;
        padding: 9rem 1rem 1rem 1rem;
    }

    .tab-content ul li a:before {
        width: 60px;
        height: 60px;
    }

    #kosodate-portal-news {
        padding-bottom: 4rem;
    }

    section#kosodate-portal-news .ttl {
        background-size: 80% auto;
    }

    section#kosodate-portal-news .ttl h2 {
        width: 168px;
        height: 80px;
    }

    .news-content ul li .span_a {
        left: 2rem;
        font-size: 1.4rem;
    }

    .news-content ul li a {
        border-radius: 20px;
        padding: 2rem;
        font-size: 1.6rem;
    }

    .btn-more a {
        font-size: 1.8rem;
        padding-right: 6rem;
    }

    .btn-more a::before {
        width: 58px;
        height: 58px;
    }

    .btn-more a::after {
        width: 40px;
        height: 40px;
        background-size: 18px 5px;
    }

    #kosodate-portal-spot::before {
        width: 60%;
    }

    section#kosodate-portal-spot .ttl h2 {
        width: 80%;
        height: 60px;
        margin-bottom: 4rem;
    }

    #kosodate-portal-spot {
        padding: 0;
    }

    .spot-area {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .spot-content ul li a {
        font-size: 1.4rem;
    }

    .spot-img {
        margin-right: 20px;
    }

    .spot-text h3 {
        font-size: 1.6rem;
    }

    section#kosodate-portal-bnr2 .ttl h2 {
        width: 150px;
        height: 40px;
    }

    .bnr-slide.bnr2-area.slick-initialized.slick-slider.slick-dotted {
        padding-bottom: 6rem;
    }

    #kosodate-portal-bnr2 .free_box2 a img {
        border-radius: 6px;
    }

    #kosodate-portal-bnr2 ul.slick-dots {
        width: 140px;
        justify-content: flex-start;
        left: 20px;
        bottom: -2rem !important;
        row-gap: 1rem;
    }

    #kosodate-portal-bnr2 ul.slick-dots li button {
        width: 20px;
        height: 3px;
    }

    #kosodate-portal-bnr2 .slide-arrow {
        width: 18px;
        height: 5px;
        padding: 20px 18px 22px 24px;
    }

    #kosodate-portal-bnr2 .prev-arrow {
        padding: 20px 24px 22px 18px;
        right: 80px;
        background-size: 2px 30px;
        background-position: right top 9px;
    }

    #kosodate-portal-bnr2 .next-arrow {
        right: 20px;
    }

    .footer-content-flex {
        flex-direction: column;
    }

    .footer-btn {
        margin-bottom: 5rem;
    }

    .footer-logo {
        width: 215px;
        height: 69px;
        margin: 0;
        margin-bottom: 30px;
    }

    .footer-address p {
        font-size: 1.4rem;
    }

    #page_top a {
        font-size: 1.6rem;
    }

    footer {
        padding-top: 10rem;
    }

    footer::before {
        width: 238px;
        height: 195px;
    }

    footer::after {
        width: 251px;
        height: 193px;
    }

    .footer-btn a {
        font-size: 1.4rem;
        padding: 20px 20px 14px 20px;
    }

    .footer-btn .footer-btn-ue a {
        font-size: 1.6rem;
    }

    .footer-btn-shita {
        gap: 2rem;
    }

    .copyright {
        font-size: 1.2rem;
    }

    #section_footer .sectionF {
        font-size: 1.4rem;
    }

    #section_footer #section_footer_title h2 {
        padding: 18px 22px 14px 16px;
        font-size: 1.8rem;
    }

    #section_footer #section_footer_name {
        padding: 20px 20px 10px 20px;
    }

    #section_footer #section_footer_info {
        padding: 0 20px 18px 20px;
    }
}

@media screen and (max-width: 430px) {
    #header .logo {
        width: 80%;
        max-width: calc(100% - 72px);
    }
}

/* ------ レスポンシブ　ここまで ------ */

/* ------ アクセシビリティチェック　ここから ------ */
div.errrange,
div.errrange div {
    margin-top: 0;
    z-index: 100;
}

/* ------ アクセシビリティチェック　ここまで ------ */



/* ------ ページ内目次・表のサイズを切り替える　ここから ------ */
/* リニューアル時以下削除 */
#sp_page_index_link_wrap {
    display: none !important;
}

button.sw_large_table.sp_button {
    display: none !important;
}

/* ------ ページ内目次・表のサイズを切り替える　ここまで ------ */


div#pankuzu_wrap .pankuzu:not(:first-of-type) {
    display: none;
}


/* 20250407 タブ文字のコントラスト比対策 */

label[class*="tab-switch"] {
    background-repeat: no-repeat;
    background-position: center;
    height: 78px;
}

label.tab-switch-m {
    background-image: url(/img/kosodate-portal/tab-switch-m.svg);
    background-size: 46px;
}

label.tab-switch-n {
    background-image: url(/img/kosodate-portal/tab-switch-n.svg);
    background-size: 48px;
}

label.tab-switch-k {
    background-image: url(/img/kosodate-portal/tab-switch-k.svg);
    background-size: 116px;
}

label.tab-switch-s {
    background-image: url(/img/kosodate-portal/tab-switch-s.svg);
    background-size: 48px;
}

label[class*="tab-switch"] span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* アクティブ、ホバー時 */
.tab-switch>label:hover,
.tab-switch label:has(:checked) {
    color: #5c5c5c;
}

label.tab-switch-m:has(:checked),
label.tab-switch-m:hover {
    background-image: url(/img/kosodate-portal/tab-switch-m_checked.svg);
}

label.tab-switch-n:has(:checked),
label.tab-switch-n:hover {
    background-image: url(/img/kosodate-portal/tab-switch-n_checked.svg);
}

label.tab-switch-k:has(:checked),
label.tab-switch-k:hover {
    background-image: url(/img/kosodate-portal/tab-switch-k_checked.svg);
}

label.tab-switch-s:has(:checked),
label.tab-switch-s:hover {
    background-image: url(/img/kosodate-portal/tab-switch-s_checked.svg);
}

/* ハンバーガーメニュー */

.hm-menu-ttl p {
    height: 52px;
    display: flex;
    justify-content: center;
}

.hm-menu-content-m .hm-menu-ttl p img {
    width: 137px;
}

.hm-menu-content-n .hm-menu-ttl p img {
    width: 140px;
}

.hm-menu-content-k .hm-menu-ttl p img {
    width: 198px;
}

.hm-menu-content-s .hm-menu-ttl p img {
    width: 140px;
}

@media screen and (max-width: 1100px) {

    label[class*="tab-switch"] {
        background-repeat: no-repeat;
        background-position: center;
        height: 66px;
    }

    label.tab-switch-m {
        background-size: 38px;
    }

    label.tab-switch-n,
    label.tab-switch-s {
        background-size: 40px;
    }

    label.tab-switch-k {
        background-size: 96px;
    }

}

@media screen and (max-width: 600px) {

    label[class*="tab-switch"] {
        background-repeat: no-repeat;
        background-position: center;
        height: 44px;
    }

    label.tab-switch-m,
    label.tab-switch-n,
    label.tab-switch-s {
        background-size: 32px;
    }

    label.tab-switch-k {
        background-size: 68px;
    }

}


/* 追記2025年11月12日 */
.external_link_text {
    display: none;
}

/* ------ このページに関するお問い合わせ先　ここから ------ */

#section_footer {
    border-radius: 14px;
    border: 5px solid #F3EAD9;
    box-sizing: border-box;
    font-size: 1.8rem;
    color: #323232;
    background-image: url(/img/kosodate-portal/news-bg.png);
    background-repeat: repeat;
    background-size: 240px 240px;
    background-position: top left;
    margin-top: 60px;
    position: relative;
}

#section_footer::after {
    content: "";
    display: block;
    width: 156px;
    height: 211px;
    background-image: url(/img/kosodate-portal/item-contact.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    top: -40px;
    right: -60px;
}

#section_footer #section_footer_ttl h2 {
    margin: 0;
    border-radius: 10px 10px 0 0;
    background-color: #F8F5F0;
    border-bottom: 5px solid #F3EAD9;
    padding: 24px 22px 20px 42px;
    font-size: 2rem;
    color: #323232;
}

#section_footer #section_footer_ttl h2::after {
    background-image: none;
}


#section_footer_detail {
    padding: 22px 42px;
}

#section_footer #section_footer_name {
    padding: 26px 42px 10px 42px;
}

#section_footer #section_footer_info {
    padding: 0 42px 22px 42px;
}

.sf_name {
    margin: 0 1rem;
    font-weight: bold;
}

/* ------ このページに関するお問い合わせ先　ここまで ------ */

/* --- レスポンシブ --- */
@media screen and (max-width: 800px) {

    #section_footer::after {
        width: 94px;
        height: 127px;
        top: -20px;
        right: -20px;
    }

    #section_footer_detail {
        padding: 22px 20px;
    }
}

@media screen and (max-width: 600px) {

    #section_footer {
        font-size: 1.4rem;
    }

    #section_footer #section_footer_ttl h2 {
        padding: 18px 22px 14px 16px;
        font-size: 1.8rem;
    }

    #section_footer #section_footer_name {
        padding: 20px 20px 10px 20px;
    }

    #section_footer #section_footer_info {
        padding: 0 20px 18px 20px;
    }
}


/* 追記2025年11月13日 */

/* レスポンシブiframe (ytIrameResponsive) 用のCSS */

.iframe-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: calc((var(--iframe-height, 9) / var(--iframe-width, 16)) * 100%);
    max-width: var(--iframe-width-px);
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* 2026/03/12 アクセシビリティ対応 */

.tab-switch>label:hover,
.tab-switch label:has(:checked) {
    color: #333;
}