@charset "UTF-8";
img.img-header.pc {
    display: block;
}
img.img-header.sp {
    display: none;
}

.box-wrap {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    align-items: center;
    gap: 1em;
}

.box-wrap.img-right {
    flex-direction: row-reverse;
}

.box-img {
    width: 100%;
    height: 100%;
    max-width: 250px;
    max-height: 250px;
    display: inline-flex;
}


/*アニメーション*/
.scroll-animate-text span {
    color: #aaa;
    transition: color 0.4s;
}

.scroll-animate-text span.active {
    color: #666;
}

.underline_blue {
    color: #1f2d3d;
    font-weight: bold;
    padding: 0 0 4px 0;
    line-height: 1.8;
    display: inline;
    background-image: linear-gradient(to right, #BDE0EC 0%, #BDE0EC 100%);
    background-repeat: no-repeat;
    background-size: 0% 0.2em; /* 初期状態：下線なし */
    background-position: 0 100%;
    transition: background-size 0.6s cubic-bezier(.77, 0, .18, 1);
}

.animate-underline.active {
    background-size: 100% 0.2em; /* アクティブ時：下線を100%表示 */
}

.bold-orange {
    font-weight: 600;
    color: #ac4a1e;
}

/* セロテープ風ボックス */
.cstm-box-tape {
  position: relative; /* タイトル配置の基準 */
  margin: 2em auto; /* 外側余白 */
  background-color: #F7FBFC; /* ボックス背景色 */
  max-width: 800px; /* 最大幅 */
}

/* タイトル（セロテープ風） */
.cstm-box-tape .box-title {
  background-color: rgb(255 255 255 / .1); /* 透過背景色 */
  border-left: 2px dotted rgb(0 0 0 / .1); /* 左端のギザギザ */
  border-right: 2px dotted rgb(0 0 0 / .1); /* 右端のギザギザ */
  box-shadow: 0 0 5px rgb(0 0 0 / .12); /* 影 */
  transform: rotate(-2deg); /* 傾き */
  color: #666; /* 文字色 */
  padding: 10px 20px; /* 内側余白 */
  line-height: 1; /* 行の高さ */
  position: absolute; /* 親の左上に固定 */
  top: -1em; /* 上位置 */
  left: 1em; /* 左位置 */
  display: inline-block; /* 内容幅に合わせる */
  font-size: 0.9em; /* フォントサイズ */
  width: auto; /* 幅自動調整 */
  max-width: calc(100% - 2em); /* 最大幅調整 */
  white-space: nowrap; /* 折り返さない */
  overflow: hidden; /* はみ出し非表示 */
  text-overflow: ellipsis; /* 省略記号表示 */
}

/* コンテンツの余白 */
.cstm-box-tape .box-content {
  padding: 2.5em 2em 2em; /* 内側余白 */
}

/* 段落の余白リセット */
.cstm-box-tape p {
  margin: 0;
}



#contents {
    max-width: unset;
    background: #efefef;
    padding: 0;
    margin: 0;
    width: 100%;
}

[class="txt-body"] {
    max-width: var(--width-entry);
    margin: auto;
}

#header {
    background-color: transparent;
    color: #403D58;
}

#headerimg {
    padding: 8px;
    margin: 0;
    gap: 0;
    padding-top: 0;
}

.menu_head-icon img {
    width: 120px;
    height: 120px;
    margin: auto;
    display: block;
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}

.menu_head-icon img:hover {
    opacity: 0.6;
    transition: opacity 0.2s ease-in-out;
}

#menu {
    position: static;
    width: 100%;
    height: auto;
}

[data-column="col2"] #contents .inner {
    background: #efefef;
    z-index: 0;
}

#siteNavi {
    background-color: transparent;
    padding: 0;
}

#siteNavi ul {
    padding: 0 0 2em;
    margin: 0;
    font-size: 1.2rem;
}

#footer {
    background-color: #efefef;
    color: #333;
}

#footer-menu {
    margin-top: 2em;
}

/*見出し*/
h1.headerimg-title {
    display: block;
    height: fit-content;
    position: relative;
}

h1.headerimg-title::before {
    content: "";
    background-color: #b3b3b3;
    border-radius: 50%;
    display: inline-block;
    width: 8px;
    height: 8px;
    top: .5em;
    position: absolute;
}

h1.headerimg-title span {
    margin-left: 1em;
}

h2:not([class*="topic"]) {
    margin: 0;
    background-color: #ffff00;
    border-radius: 0;
    color: #ddd;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 1em 2em;
}

h2:not([class*="topic"])::first-letter {
    color: #666;
}


h3:not([class*="topic"]) {
    margin-top: 1.5rem;
    overflow: unset;
    position: relative;
    font-size: 2.8rem;
    padding: 0;
    border-bottom: 4px dotted #f98a57;
}

h3 {
    padding: 1rem 0;
    margin-bottom: 0.2rem;
    border-bottom: 3px dotted #BDE0EC;
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 2.4rem;
}

.head-deco h3:not([class*="topic"]) {
    margin-top: 0;
    border-bottom: 0;
}

.head-deco span {
    display: flex;
    align-items: center;
    color: #b3b3b3;
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: 600;
}

.head-deco span::after {
    content: '';
    display: inline-block;
    margin-left: 1rem;
    width: 3rem;
    height: 1px;
    background-color: #b3b3b3;
}

h4:not([class*="type-01"]),
h4:not([class*="type-02"]) {
    position: relative;
    padding: .5em 1.5em;
    color: #333;
    display: inline-block;
    font-size: 2rem;
    background: #f5f5f5;
}

h4:not([class*="type-01"])::before,
h4:not([class*="type-01"])::after,
h4:not([class*="type-02"])::before,
h4:not([class*="type-02"])::after {
    display: inline-block;
    position: absolute;
    width: 100%;
    height: 100%;
    content: '';
}

h4:not([class*="type-01"])::before,
h4:not([class*="type-02"])::before {
    top: 0;
    left: 0;
    border-left: 4px solid #00B0EC;
}

h4:not([class*="type-01"])::after,
h4:not([class*="type-02"])::after {
    bottom: 0;
    right: 0;
}

h4.type-01 {
    position: relative;
    padding: 0.2em 1em;
    color: #333;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    background-color: #fff;
}

h4.type-01::before, h4.type-01::after {
    position: absolute;
    width: 10px;
    height: 100%;
    content: '';
    border-top: solid 4px #dbdbdb;
    border-bottom: solid 4px #dbdbdb;
    color: #dbdbdb;
}

h4.type-01::before {
    border-left: solid 4px;
    left: 0;
}

h4.type-01::after {
    border-right: solid 4px #dbdbdb;
    right: 0;
}

h4.type-02 {
    margin-bottom: 0.2rem;
    font-weight: bold;
    font-size: 2rem;
    text-align: center;
    background: #fff;
    padding: 0;
}

h4.type-02 span {
    border-radius: 80% 50% 60% 5%/80% 75% 15% 75%;
    background: linear-gradient(transparent 60%, #BDE0EC 60%);
}

h4.type-02::before {
    border-left: none;
}


h5 {
    color: #333;
    font-size: 1.8rem;
    padding-left: 16px;
    display: block;
    position: relative;
    overflow: unset;
    z-index: 1;
    margin: 2rem 0;
}

h5:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 2%;
    transform: translate(-50%, -50%);
    width: 2em;
    height: 2em;
    background-color: #F1F7FD;
    border-radius: 50%;
    z-index: -1;
}

.cbox-caption h5 {
    margin: 0 0.8rem;
}

.cbox-caption h5:before {
    left: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0;
    top: 45%;
    background-color: #ffff00;
}

.cbox-hd9 {
    padding: 0 0 0 .4em !important;
}

.cbox-body {
    line-height: 1.7;
}

#contents div[class*="box"] > h5:first-child {
    margin-top: -4px;
}

[class*="hint"] {
    background: #F1F7FD;
}

.thint:not(.noimage)::before,
[class*="cbox-hint"] .cbox-caption span::before {
    background-color: #569EE5;
}

.alert,
.accept,
.attention,
.thint {
    line-height: 1.7;
}

.sitemenu.info a::after {
    contents: none;
}

/*文字装飾*/
.strong {
    font-weight: 600;
}

.deco-update {
    font-size: 1rem;
    margin-top: .4em;
    color: var(--clr-siteNavi-txt, var(--clr-body-txt, rgba(51, 51, 51, 0.5)));
}

ul.box-bg_gray, ul.box-bg_blue {
    width: fit-content;
    line-height: 1.7;
    padding: 2rem;
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 4.5rem;
    unicode-bidi: isolate;
}

ul.box-bg_gray {
    background: #F8F8F8;
}

ul.box-bg_blue {
    background: #F1F7FD;
}

ul.box-bg_gray li:not(:first-child),
ul.box-bg_blue li:not(:first-child) {
    margin-top: .4em;
}

.table-clBL.table th, .table-clBL.table td {
    border-color: #BDE0EC;
}

.table-02 tbody tr > * {
    border-bottom: 2px solid #e6f7fd !important;
}

.txt-attention {
    color: #666;
    font-size: .85em;
    background: #fff;
    text-align: right;
}

/*ボタン*/
.link-btn a {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: fit-content;
    padding: 8px 24px;
    color: #344b66;
    transition: 0.3s ease-in-out;
    font-weight: 600;
    background: #eee;
    text-decoration: none;
    font-size: 1.15em;
}

.link-btn a:hover {
    background: #ffff00;
    color: #1f2d3d;
}

.link-btn a:before,
.link-btn a:after {
    box-sizing: inherit;
    content: "";
    position: absolute;
    border: 2px solid transparent;
    width: 0;
    height: 0;
}

.link-btn a:before {
    top: 0;
    left: 0;
    transition: width 0.15s ease-out, height 0.15s ease-out 0.15s;
}

.link-btn a:after {
    bottom: 0;
    right: 0;
    transition: width 0.15s ease-out, height 0.15s ease-out 0.15s;
}

.link-btn a:hover:before,
.link-btn a:hover:after {
    width: 100%;
    height: 100%;
    transition: width 0.15s ease-out, height 0.15s ease-out 0.15s;
}

.link-btn a:hover:before {
    border-top-color: #344b66;
    border-right-color: #344b66;
    transition: width 0.15s ease-out, height 0.15s ease-out 0.15s;
}

.link-btn a:hover:after {
    border-bottom-color: #344b66;
    border-left-color: #344b66;
    transition: border-color 0s ease-out 0.2s, width 0.15s ease-out 0.2s, height 0.15s ease-out 0.3s;
}

.link-btn_wrap {
    text-align: center;
}

.link-btn_wrap span {
    font-weight: bold;
}




.headerimg-img img {
    border-radius: 0;
    height: 400px;
    width: -webkit-fill-available;
}

[data-headerimg-desc="true"] .headerimg-title {
    border-bottom: 0;
    padding-bottom: 0;
    font-size: 1.8rem;
    font-weight: 400;
}

.headerimg-txt {
    background: #fff;
    border-radius: 0;
    padding: 24px 32px;
}

#main {
    width: 100%;
    padding: 0 8px;
}

#main>* {
    margin-top: 0;
}

#main>.mainbox {
    text-align: right;
    background-color: #fff;
    border-radius: 8px;
    margin-top: 8px;
    padding-right: 8px;
}

section#text1-section,
section#text2-section,
section#text3-section {
    background: #fff;
    margin-top: 8px;
    border-radius: 0;
    padding: 72px 32px;
}

div.main-desc {
    padding: 2em 3em;
    background-color: #fff;
    border-radius: 0;
}

div.main-desc div.main-desc-inner {
    max-width: var(--width-overall);
    font-size: 1.4rem;
    color: #666;
}

section#text1-section .menubox > .title::after,
section#text1-section .sitemenu a::after {
    border: unset;
}

section#text1-section .sitemenu a {
    padding: 0 0 1.2em;
    display: inline-block;
}

.sitemenu li:first-of-type a {
    padding-top: .4em;
}

section#text1-section .menubox>.title {
    margin-bottom: 1.4em;
}

section#text1-section .sitemenu > li:first-of-type a {
    margin-top: .6em;
}
#spmenu .sitemenu li:first-of-type a {
    padding-top: .4em;
}

#spmenu .sitemenu a {
    padding: 1em 0 0;
    left: 1em;
}

#spmenu .menubox,
section#text1-section .menubox {
    width: calc(100% / 3 - 1em);
    margin-right: 1em;
    margin-bottom: 1em;
    margin-top: 0;
}

#spmenu .menubox {
    background: #fff;
    padding: 2.4em 0 1.6em 2.4em;
    border-radius: 8px;
}

#spmenu .sitemenu a,
section#text1-section .sitemenu a {
    left: 1em;
}
#spmenu nav.menuboxlist,
section#text1-section nav.menuboxlist {
    display: flex;
    flex-flow: wrap;
    width: 100%;
}
#spmenu .menuboxlist .menubox:not(:first-child),
section#text1-section .menuboxlist .menubox:not(:first-child) {
    margin-top: 0;
}
#spmenu .menubox > .title::after,
#spmenu .sitemenu a::after,
section#text1-section .menubox > .title::after,
section#text1-section .sitemenu a::after {
    border: unset;
}
#spmenu .menubox > .title,
section#text1-section .menubox > .title {
    margin: .4em 0 1em;
}

#spmenu .menubox {
    margin: auto;
}

@media (min-width: 1025px) {
    body {
        font-size: 1.6rem;
        line-height: 2.1;
    }
    #menu {
        position: fixed;
        left: 0;
        top: 0;
        width: var(--width-menu);
        height: 100vh;
    }

    #menu .menulist {
        display: none;
        padding-left: 1em;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.6s ease-in-out;
    }

    #menu .menulist .menubox {
        width: 100%;
    }

    #menu .title {
        display: block;
        width: 100%;
        background: #eee;
        border: none;
        padding: 0;
        text-align: center;
        cursor: pointer;
        font-weight: bold;
    }

    #menu .title span {
        background-color: #fff;
        padding: 8px 0;
        border-radius: 8px;
        width: -webkit-fill-available;
        display: inline-block;
        font-size: 1.6rem;
        font-weight: 500;
        border: solid 1px #1f2d3d;
    }

    #menu>* {
        margin: 0 2em 1.6em;
    }

    #menu .title.active+.menulist {
        display: block;
        max-height: 500px;
        opacity: 1;
        transition: max-height 0.6s ease-in-out;
    }

    .menubox>.title {
        margin: 0;
    }

    #menu .title.active span {
        background-color: #ffff00;
    }

    #menu .title span:hover {
        background-color: #ffff00;
        transition: background-color 0.2s ease-in-out;
    }

    .menuboxlist .menubox:not(:first-child) {
        margin-top: 1em;
    }

    #menu ul.sitemenu {
        margin-top: .6em;
    }

    #menu .sitemenu a {
        color: var(--clr-menu-txt, inherit);
        text-decoration: none;
        display: flex;
        align-items: center;
        position: relative;
        padding: 1em 0 0 0;
    }

    [data-column="col2"] #contents .inner {
        position: relative;
        padding-left: var(--width-menu);
        display: grid;
        grid-template-areas:
            "main-header"
            "main"
            "main-footer";
        gap: 0;
        grid-template-columns: 1fr auto;
        width: fit-content;
    }

    [data-column="col2"] #menu,
    [data-column="col3"] #menu {
        z-index: 1;
        width: var(--width-menu);
        padding-top: 2em;
    }

    #footer .inner {
        margin: 0 0 0 var(--width-menu);
    }
}

@media (max-width: 1024px) {
    #menu {
        display: none;
    }

    html[data-spmenu="true"] #menu {
        display: block;
    }

    .menu_head-icon {
        display: none;
    }

    [data-spmenu="true"] #spmenu {
        background-color: #eee;
        padding-bottom: 10vh;
    }

    #logo-wrap {
        position: absolute;
        right: 0;
        padding: 0;
        background: #efefef;
        padding: 3vw;
        z-index: 100;
        border-radius: 0 8px;
    }

    [data-spmenu="true"] #logo-wrap {
        background: transparent;
    }

    [data-headerimg-desc="true"] .headerimg-title {
        font-size: 1.6rem;
    }

    .footer-menu_ul {
        align-items: center;
    }
}

@media (max-width: 900px) {
    #spmenu .menubox,
    section#text1-section .menubox {
        padding: 1.6em 0 1.6em 1.6em;
        max-width: 500px;
        width: 100%;
        margin-bottom: 2vw;
    }
    #spmenu .sitemenu a,
    section#text1-section .sitemenu a {
        left: 0;
    }
}

@media (max-width: 767px) {
    img.img-header.pc {
        display: none;
    }
    img.img-header.sp {
        display: block;
    }
    div.main-desc {
        padding: 1.5em 2em;
    }
    table.table-blue-style {
        width: 100%;
    }
    table.table-blue-style tr {
        font-size: 0.9em;
    }

    table.table-blue-style th,
    table.table-blue-style td {
        padding: 0.8rem 1.6rem;
    }

    table.table-blue-style th {
        background: #aed1f3;
        padding-right: 1.6rem;
        width: 40%;
    }

    table.table-blue-style td {
        position: relative;
        background: #F1F7FD;
        padding-left: 1.6rem;
    }

    table.table-blue-style td:before {
        left: -1rem;
        width: 2rem;
    }
    
    #spmenu .menubox,
    section#text1-section .menubox{
        width: calc(100% / 2 - 1em);
    }
    section#text1-section,
    section#text2-section,
    section#text3-section {
        padding: 48px 32px;
    }
    .txt-attention {
    text-align: left;
}
}

@media (max-width: 428px) {
    #logo-wrap {
        padding: 5vw;
    }
    h4.type-01 {
        font-size: 1.4rem;
        padding: 0.4em 1em;
        text-align: left;
    }

    .link-btn a {
        font-size: .95em;
    }

    table.table-blue-style tr {
        font-size: 0.85em;
    }

    table.table-blue-style th,
    table.table-blue-style td {
        padding: 0.4rem 0.6rem;
    }

    table.table-blue-style th {
        padding-right: 1rem;
    }

    table.table-blue-style td {
        padding-left: 1rem;
    }
    
    table.table-blue-style th span,
    table.table-blue-style td span {
        display: block;
    }

    table.table-blue-style td:before {
        left: -0.6rem;
        width: 1.2rem;
    }

    h3:not([class*="topic"]) {
        font-size: 2rem;
    }

    nav.menuboxlist {
        padding-bottom: 2vw;
    }

    #spmenu .menubox,
    section#text1-section .menubox {
        width: 100%;
    }
    
    section#text1-section .menubox {
        margin-bottom: 0;
        padding: 0;
    }

    section#text1-section .menuboxlist .menubox:not(:first-child) {
        margin-top: 1.6rem;
    }
    
.box-wrap {
    flex-direction: column;
}

.box-wrap.img-right {
    flex-direction: column;
}

.box-img {
    max-width: 150px;
    max-height: 150px;
}
}