/* ==============================================
common
============================================== */

:root {
    /* ------ color ------ */
    --color-primary: #25c3b4;
    --color-secondary: #f4fdfc;
    --color-text: #333333;
    --color-background: #f8f8f8;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-gray: #818181;
    --color-gray-line: #dddddd;
    /* ------ typography ------ */
    --font-ja: "Noto Sans JP", sans-serif;
    --font-en: "Inter", sans-serif;
    --fs-body: 16px;
    --fs-heading: 24px;
    --fs-heading-sp: 20px;
    --lh-default: 1.5;
    /* ------ border, shadow, etc. ------ */
    --border-default: 1px solid var(--color-gray-line);
    /* ------ animation & transition ------ */
    --transition-default: all 0.3s ease;
    /* ------ layout ------ */
    --section-margin-pc: 80px;
    --section-margin-sp: 50px;
    --section-padding-pc: 0 6%;
    --section-padding-sp: 0 6%;
    --section-bg-padding-pc: 80px 0;
    --section-bg-padding-sp: 50px 0;
}

body {
    font-family: var(--font-ja);
    font-weight: 500;
    font-size: var(--fs-body);
    line-height: var(--lh-default);
    background: var(--color-white);
    color: var(--color-text);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-ja);
    line-height: var(--lh-default);
    font-weight: bold;
}

a {
    text-decoration: none;
    transition: var(--transition-default);
    color: var(--color-primary);
}

img {
    width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

address {
    font-style: normal;
}

@media screen and (min-width: 1024px) {
    .br-sp {
        display: none;
    }
}
/* ------ layout ------ */
.section {
    width: 100%;
    margin-top: var(--section-margin-pc);
    padding: var(--section-padding-pc);
    overflow: hidden;
}

.wrap {
    max-width: 1150px;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .section {
        margin-top: var(--section-margin-sp);
    }
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
    margin-top: 74px;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
}

body.is-grayout::before {
    opacity: 1;
    pointer-events: auto;
}

@media screen and (max-width: 768px) {
    body::before {
        margin-top: 70px;
    }
}

/* ------ search-modal ------ */
.searchmodal {
    display: block;
    position: fixed;
    z-index: 150;
    left: 0;
    top: 74px;
    width: 100%;
    height: calc(100vh -74px);
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.searchmodal.is-show {
    opacity: 1;
    visibility: visible;
}

.searchmodal__content {
    background-color: var(--color-white);
    margin: 100px auto;
    padding: 50px 40px;
    border: var(--border-default);
    width: 80%;
    max-width: 700px;
    border-radius: 30px;
    position: relative;
}

.close-button {
    color: var(--color-text);
    float: right;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    transition: 0.4s;
}

.close-button:hover,
.close-button:focus {
    color: var(--color-primary);
    text-decoration: none;
}

.searchmodal__content .searchmodal__title {
    font-size: 15px;
    border-bottom: none;
    padding-bottom: 0px!important;
    margin-bottom: 0px!important;
}

.searchmodal .p-search {
    max-width: 100%;
}

/* tag-but */
.searchmodal__tags {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.searchmodal__tags--inline {
    border: 1px solid rgb(226 226 226 / 70%);
    color: var(--color-text);
    padding: 6px 16px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 13px;
    transition: 0.2s;
}

.searchmodal__tags--inline:hover {
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

@media screen and (max-width: 768px) {
    .searchmodal__content {
        width: 90%;
        padding: 26px;
        margin: 50px auto;
    }

    .searchmodal__tags {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .searchmodal__tags--inline {
        padding: 6px 16px;
        font-size: 12px;
    }
}

body.modal-open {
    overflow: hidden;
}

/* ------ button ------ */
.df-but {
    width: 100%;
    max-width: 260px;
}

.df-but__link {
    position: relative;
    text-decoration: none;
    display: block;
    width: 100%;
    padding: 16px 24px;
    background-color: var(--color-primary);
    border-radius: 100px;
    color: var(--color-white);
    font-size: 15px;
    text-align: center;
    font-weight: bold;
}

.df-but__link:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
}



/* ------ heading ------ */
.heading-l {
    font-size: var(--fs-heading);
}

@media screen and (max-width: 768px) {
    .heading-l {
        font-size: var(--fs-heading-sp);
    }
}

/* ------ article-list ------ */
.article-area {
    margin-top: 20px;
}

.article-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0 30px;
}

.article-item__link {
    position: relative;
}

.article-item__f-arrow {
    font-size: 0.95em;
    color: var(--color-primary);
}

.article-item__n-arrow {
    font-size: 0.8em;
    color: var(--color-primary);
}

.article-item__contents {
    display: flex;
    gap: 0.8em;
    align-items: center;
}

.article-item {
    display: flex;
    text-align: left;
    border-bottom: var(--border-default);
    width: calc((100% - 30px) / 2);
}

.article-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-decoration: none;
    color: var(--color-text);
    transition: 0.4s;
    gap: 1em;
    padding: 20px 12px;
}

.article-item a:hover {
    color: var(--color-primary);
    background-color: var(--color-secondary);
}

@media (max-width: 768px) {
    .article-area {
        margin-top: 10px;
    }

    .article-list {
        flex-direction: column;
        gap: 0px;
    }

    .article-item {
        width: 100%;
    }

    .article-item a {
        padding: 20px 8px;
    }

    .article-item__f-arrow {
        font-size: 0.8em;
    }

    .article-item__n-arrow {
        font-size: 0.7em;
    }
}

/* ========================================
header
   ======================================== */

.header {
    width: 100%;
    position: relative;
    z-index: 200;
    border-bottom: 1px solid var(--color-gray-line);
}

.header__inner {
    max-width: 1150px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 74px;
    padding: 0 24px;
}

.header-t__link {
    display: flex;
    color: var(--color-text);
    align-items: center;
}

.header__title {
    font-size: 18px;
}

.header__logo {
    width: 50px;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header__nav .header__list {
    font-weight: bold;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.header__list a {
    color: var(--color-text);
}

.header__list a:hover {
    color: var(--color-primary);
}

.header__nav .header__list a{
    font-weight: bold;
    font-size: 15px;
}

.header__search {
    height: 44px;
    width: 44px;
    background-color: var(--color-background);
    border-radius: 50%;
    cursor: pointer;
    line-height: 44px;
    text-align: center;
    color: var(--color-primary);
    transition: 0.3s;
}

.header__search:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* ------ category-dropdown ------ */
#menu-menu-1 .menu-item {
    position: relative;
    cursor: pointer;
}

.header__dli-chevron-down {
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--color-text);
    line-height: 1;
    width: 0.5em;
    height: 0.5em;
    border: 0.1em solid currentColor;
    border-left: 0;
    border-bottom: 0;
    box-sizing: border-box;
    transform: translateY(-25%) rotate(135deg);
}

.header__dropdown {
    position: relative;
    display: inline-block;
}

#menu-menu-1 .menu-item .sub-menu {
    display: flex;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-white);
    min-width: 420px;
    z-index: 100;
    border-radius: 30px;
    padding: 36px;
    flex-wrap: wrap;
    gap: 12px 20px;
    border: var(--border-default);
    margin-top: 0;
}

#menu-menu-1 .menu-item .sub-menu.is-down {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

#menu-menu-1 .menu-item .sub-menu li{
    padding-left: 0;
    margin-bottom: 0;
    line-height: normal;
    width: calc((100% - 20px) / 2);
}

.header__dropdown-content a {
    color: var(--color-text);
    text-decoration: none;
}

.header__dropdown-inline {
    display: flex;
    text-align: left;
    width: calc((100% - 20px) / 2);
}

/* ------ humburger ------ */

.humburgernav {
    position: fixed;
    top: 70px; /* ヘッダーの高さ分下に配置 */
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    z-index: 98;
    transition: 0.3s;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    border-top: var(--border-default);
}

.humburgernav__inner {
    height: 100%;
    overflow-y: auto;
    padding: 0px 6%;
    transition: 0.3s;
}

.header.is-drawer-open .humburgernav {
    opacity: 1;
    max-height: 5000px;
}

.header.is-drawer-open .humburgernav__inner {
    padding: 40px 6%;
    height: calc(100vh - 70px);
}

.header__border {
    height: 50px;
    border-left: 1px solid var(--color-gray-line);
}

.header__responsive {
    display: none;
}

.header__humburger {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 30px;
    margin: 0 1em 0 0;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.header__humburger--line {
    background: var(--color-text);
    border-radius: 5px;
    width: 100%;
    height: 3px;
    margin: 6px 0;
}

.header__humburger--line:first-of-type {
    margin-top: 3px;
}

.humburgernav {
    display: none;
}

.humburgernav__list {
    display: flex;
    flex-direction: column;
    font-weight: bold;
    margin-top: 40px;
}

.humburgernav__list a {
    color: var(--color-text);
}

.humburgernav__category--title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.humburgernav__category--title i {
    font-size: 0.8em;
    color: var(--color-text);
    transition: 0.3s ease;
}

/*変更部分*/
#menu-menu-2 .menu-item.is-open i {
    transform: rotate(180deg);
}

/*変更部分*/
#menu-menu-2 .menu-item {
    width: 100%;
    padding: 20px 0px;
    border-top: var(--border-default);
    text-align: left;
    line-height: normal;
    margin-bottom: 0px;
    font-size: 16px;
}

/*変更部分*/
#menu-menu-2 .menu-item li{
    font-size: 15px;
}

/*変更部分*/
#menu-menu-2 .menu-item:last-of-type {
    border-bottom: var(--border-default);
}


/*変更部分*/
#menu-menu-2 .sub-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    display: flex;
    flex-direction: column;
    font-size: 15px;
    margin-left: 20px;
    transition: 0.3s;
    margin-top: 0px;
}
/*変更部分*/
#menu-menu-2 .sub-menu.is-open {
    max-height: 100%;
    opacity: 1;
}

/*変更部分*/
#menu-menu-2 .menu-item .sub-menu .menu-item{
    border: none;
    padding-top: 20px;
    padding-bottom: 0px;
}




.humburgernav__support {
    margin-top: 40px;
}

.humburgernav__support .humburgernav__support--title {
    color: var(--color-gray);
    font-weight: bold;
    font-size: 15px;
}

.hm__but-area {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.hum-but a {
    font-weight: bold;
    display: block;
    background-color: var(--color-primary);
    border-radius: 100px;
    padding: 20px;
    color: var(--color-white);
    text-align: center;
    border: 1px solid var(--color-primary);
    text-decoration: none;
}

.hum-but.hum-but--w a {
    background-color: var(--color-white);
    color: var(--color-primary);
}

/* ハンバーガーアイコンの「×」への変化 */
.header.is-drawer-open .header__humburger--line {
    transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
}

.header.is-drawer-open .header__humburger--line:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
    position: absolute;
}

.header.is-drawer-open .header__humburger--line:nth-child(2) {
    opacity: 0;
}

.header.is-drawer-open .header__humburger--line:nth-child(3) {
    transform: rotate(-45deg);
    top: 7px;
    position: absolute;
}

@media (max-width: 768px) {
    .humburgernav {
        display: block;
    }
}

body.no-scroll {
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .header__responsive {
        display: flex;
        align-items: center;
    }

    .header__title--outer {
        display: flex;
        align-items: center;
    }

    .header__title {
        padding-left: 0.5em;
    }

    .header__nav .header__list {
        display: none;
    }

    .header__inner {
        height: 70px;
        padding: 0 20px;
    }

    .header__title {
        font-size: 16px;
    }

    .header__logo {
        width: 40px;
    }

    .humburgernav .humburgernav__list {
    margin-top: 40px;
    }


}

/* ========================================
Footer
   ======================================== */
.footer {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 0 6%;
    background-color: var(--color-background);
    margin-top: 80px;
    overflow: hidden;
}

.footer__inner {
    width: 100%;
    max-width: 1150px;
}

.footer-logo {
    display: flex;
    justify-content: center;
    padding: 80px 0;
}

.footer-logo__link {
    display: flex;
    color: var(--color-text);
    align-items: center;
    font-size: 20px;
    gap: 6px;
}

.footer-logo__img {
    width: 58px;
}

.footer__nav-area {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    border-bottom: var(--border-default);
    border-top: var(--border-default);
    padding: 40px 0;
}

.footer__list {
    font-weight: bold;
    font-size: 14px;
    display: flex;
    gap: 42px;
    align-items: center;
    justify-content: center;
}

.footer__nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__nav-icon--image {
    width: 0.9em;
    height: 0.9em;
    margin-left: 0.5em;
}

.footer__copyright {
    display: block;
    font-weight: normal;
    font-size: 11px;
    padding: 24px 0px;
    color: var(--color-text);
}

.footer__link {
    color: var(--color-text);
}

@media screen and (max-width: 768px) {
    .footer-logo {
        padding: 80px 0;
    }

    .footer__list {
        flex-direction: column;
        gap: 14px;
    }

    .footer {
        margin-top: 50px;
    }
}

/* ========================================
page-ttl
   ======================================== */

.section.pg-ttl-container {
    margin-top: 0;
    padding: 0;
}

.breadcrumbs {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    padding: 6px 24px;
    border-bottom: var(--border-default);
    overflow: hidden;
}

.breadcrumbs-list {
    list-style: none;
    display: flex;
    gap: 0.5em;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
}

.breadcrumbs-list i {
    margin-right: 0.5em;
    font-size: 0.8em;
    color: #818181;
}

.breadcrumbs-item a {
    color: var(--color-text);
    display: flex;
    align-items: center;
}

.breadcrumbs-item a:hover {
    color: var(--color-primary);
}

.pg-ttl-contents {
    background: var(--color-background);
    padding: 76px 6%;
}

.pg-ttl-container__ttl {
    font-size: 34px;
}

@media screen and (max-width: 768px) {
    .breadcrumbs {
        padding: 4px 16px;
    }

    .breadcrumbs-list {
        font-size: 11px;
    }

    .pg-ttl-container__ttl {
        font-size: 26px;
    }
}

/* ========================================
p-search
   ======================================== */

.heading-l.search-title{
    text-align: center;
}

.p-search-container__inner {
    padding: 50px 0 0 0;
    border-top: var(--border-default);
}

.p-search {
    margin-top: 24px;
    width: 100%;
    max-width: 600px;
    display: flex;
    border: 1px solid #c4e8e5;
    border-radius: 100px;
    padding: 10px 10px 10px 20px;
    align-items: center;
    justify-content: space-between;
    gap: 0.8em;
    flex-wrap: wrap;
}

.p-search__contents > i {
    color: var(--color-primary);
    font-size: 1.2em;
}

.p-search__contents > p {
    color: var(--color-gray);
}

.p-search__contents {
    display: flex;
    gap: 0.8em;
    align-items: center;
    flex-grow: 2;
}

.p-search__icon {
    display: block;
    width: 3.5em;
    height: 3.5em;
    line-height: 3.5em;
    background: var(--color-primary);
    border-radius: 50%;
    color: var(--color-white);
    font-size: 0.7em;
    flex-shrink: 0;
    flex-basis: 3.5em;
}

.p-search__icon::before {
    height: 3.5em;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 検索フォームのinputスタイル */
.p-search__input {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
}

.p-search__input::placeholder {
  /* プレースホルダーのスタイル */
    color: #818181; 
}

/* 検索ボタンのスタイルリセット */
.p-search__submit {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: inherit; /* アイコンの色を親要素から継承 */
}


@media screen and (max-width: 767px) {
    .p-search-container__inner {
        padding: 30px 0 0 0;
    }

    .p-search {
        margin-top: 18px;
        padding: 8px 8px 8px 16px;
        gap: 0.5em;
        flex-wrap: nowrap;
    }

    .p-search__contents {
        gap: 0.5em;
    }

    .p-search__contents > p {
        font-size: 15px;
    }


}

/* ========================================
p-search top(トップページ)
   ======================================== */

    .p-search.top{
        width: 100%;
        max-width: none;
        background-color: var(--color-white);
    }

    .search-container__innner--box.wrap{
        max-width: 800px;
    }

    .searchmodal__tags--inline.top{
        background-color: var(--color-white);
    }


    @media screen and (max-width: 767px) {
    .search-container__inner.wrap {
        width: 90%;
        padding: 20px;
        margin: 50px auto;
    }

    .p-search.top{
        width: 100%;
        max-width: none;
        margin-top: 18px;
        padding: 8px 8px 8px 16px;
        gap: 0.5em;
    }

    .p-search__contents {
        gap: 0.5em;
    }

    .p-search__contents > p {
        font-size: 15px;
    }
}

/* ========================================
up-return
   ======================================== */
.section.up-return-container {
    margin-top: 50px;
}

.up-return-container__link {
    display: block;
    width: 100%;
    color: var(--color-text);
    padding: 50px 0;
    border-top: var(--border-default);
    border-bottom: var(--border-default);
    display: flex;
    align-items: center;
    gap: 1em;
}

.up-return-container__link > i {
    color: var(--color-primary);
}

.up-return-container__link:hover {
    background-color: var(--color-background);
}

@media screen and (max-width: 767px) {
    .section.up-return-container {
        margin-top: 30px;
    }

    .up-return-container__link {
        padding: 30px 0;
        gap: 0.5em;
    }
}

/* ========================================
archive page
   ======================================== */
.archive .article-area {
    margin-top: 0;
}

.archive .article-item {
    width: 100%;
}

/* ------ pagination ------ */

.pagination {
    margin-top: 50px;
}

.pagination__list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 6px;
    list-style-type: none;
    padding: 0;
    font-family: var(--font-en);
    font-size: 15px;
}

.pagination__list a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.4em;
    height: 2.8em;
    border-radius: 5px;
    background-color: #f2f2f2;
    color: var(--color-primary);
}

.pagination__list i {
    font-size: 0.7em;
}

.pagination__list a:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.pagination__list a:not(:hover) {
    text-decoration: none;
}

.pagination__list .current a {
    background-color: var(--color-primary);
    color: #fff;
    pointer-events: none;
}

/*
   wordpress化変更用ページネーション start
*/
.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 6px;
    list-style-type: none;
    padding: 0;
    font-family: var(--font-en);
    font-size: 15px;
}

.page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.4em;
    height: 2.8em;
    border-radius: 5px;
    background-color: #f2f2f2;
    color: var(--color-primary);
}

.page-numbers.current {
    background-color: var(--color-primary);
    color: #fff;
}

.page-numbers i {
    font-size: 0.7em;
}

.page-numbers:hover {
    background-color: var(--color-primary);
    color: #fff;
}

/*end*/


@media screen and (max-width: 768px) {
    .pagination {
        margin-top: 40px;
    }

    .pagination__list {
        gap: 0 4px;
        font-size: 13px;
    }
}

/* ========================================
search page
   ======================================== */

.search-article-container__inner.wrap {
    max-width: 1000px;
}

.search-article-area {
    margin-top: 40px;
}

.search-article-list {
    display: flex;
    flex-direction: column;
}

.search-article-item {
    display: flex;
    text-align: left;
    border-bottom: 1px dashed var(--color-gray-line);
}

.search-article-item__link {
    width: 100%;
    text-decoration: none;
    color: var(--color-text);
    transition: 0.4s;
    padding: 20px 0;
}

.search-article-item__link:hover {
    opacity: 0.8;
}

.search-article-item__ttl {
    font-size: 18px;
    color: var(--color-primary);
}

.search-article-item__contents p {
    font-size: 14px;
    margin-top: 0.8em;
}

@media screen and (max-width: 768px) {
    .search-article-area {
        margin-top: 10px;
    }
}

/* ========================================
top page
   ======================================== */

/* ------ search-section ------ */
.search-container__inner {
    background-color: var(--color-background);
    border-radius: 30px;
    padding: 80px;
}

/* ------ topic-section ------ */
.topic-container__inner {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    gap: 30px;
}

.topiccard__link {
    text-decoration: none;
    color: var(--color-text);
    display: block;
    width: 100%;
}

.topiccard {
    height: 100%;
    justify-content: flex-start;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 34px;
    border-radius: 30px;
    border: var(--border-default);
    transition: 0.4s;
    gap: 16px;
}

.topiccard:hover {
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.topiccard__image {
    width: 80px;
    height: 80px;
}

.topiccard__supplement {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.topiccard__supplement--title {
    font-size: 20px;
    font-weight: bold;
}

.topiccard__supplement--explanation {
    font-size: 14px;
}

@media (max-width: 768px) {
    .topic-container__inner {
        flex-direction: row;
        gap: 12px;
        justify-content: center;
    }

    .topiccard .topiccard__supplement--title {
        font-size: 15px;
        line-height: normal;
    }

    .topiccard__supplement--explanation {
        font-size: 12px;
        text-align: left;
    }

    .topiccard {
        padding: 24px;
        gap: 8px;
    }

    .topiccard__supplement {
        gap: 4px;
    }

    .hm-topic .topiccard__supplement--explanation{
        font-size: 12px;
        line-height: normal;
    }
}

/* ------ pickup-section ------ */

.pickup__list {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    align-items: stretch;
}

.pickup__card {
    flex: 1;
}

.pickup__link {
    text-decoration: none;
    color: var(--color-text);
    display: block;
    height: 100%;
}

.pickup__outer {
    background-color: var(--color-white);
    border: var(--border-default);
    border-radius: 20px;
    overflow: hidden;
    font-weight: bold;
    color: var(--color-text);
    transition: 0.4s;
    height: 100%;
}

.pickup__outer:hover {
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.pickup__thumb img {
    aspect-ratio: 16/9;
    object-fit: cover;
}

.pickup__content {
    text-align: left;
    padding: 24px;
}

.pickup__content--tag {
    display: inline-block;
    color: var(--color-primary);
    font-size: 12px;
    padding: 5px 8px;
    border-radius: 1000px;
    border: var(--border-default);
    line-height: 1;
}

.pickup__content--title {
    font-size: 16px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .pickup__list {
        margin-top: 30px;
    }

    .pickup__list {
        flex-direction: column;
        gap: 20px;
    }

    .pickup__content {
        padding: 22px;
    }
}

/* ------ support-section ------ */

.support-container__inner {
    border-radius: 30px;
    background-color: #454545;
    color: var(--color-white);
    padding: 80px 6%;
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.support-heading {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 12px;
}

.support__icon {
    width: 36px;
}

.support__contents {
    text-align: center;
    font-weight: 500;
}

.support__contact {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-grow: auto;
    margin-top: 16px;
}

.sp_br {
    display: none;
}

@media screen and (max-width: 768px) {
    .sp_br {
        display: block;
    }

    .support-container__inner {
        padding: 50px 6%;
        gap: 16px;
    }

    .support__contents {
        text-align: left;
    }

    .support__contact {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* ========================================
topic-post page
   ======================================== */
/* ------ topic-post-layout ------ */
.post-container__inner {
    display: flex;
    gap: 5%;
}

.post-main {
    width: calc(100% - 300px);
}

.post-aside {
    width: 300px;
}

@media screen and (max-width: 1024px) {
    .post-container__inner {
        flex-direction: column;
    }

    .post-main {
        width: 100%;
    }

    .post-aside {
        width: 10%;
    }
}

/* ------ post-aside ------ */
.p-aside-ttl {
    font-size: 16px;
    background-color: var(--color-background);
    padding: 12px;
}

.post-aside .article-list {
    gap: 0;
    flex-direction: column;
}

.post-aside .article-item {
    width: 100%;
}

.post-aside .article-item a {
    padding: 20px 0;
}

.post-aside .article-area {
    margin-top: 10px;
}

@media screen and (max-width: 1024px) {
    .post-aside {
        display: none;
    }
}

/* ------ post-contents ------ */
.post-contents {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.post-contents p {
    line-height: 1.8;
}

.post-contents p > a {
    border-bottom: 1px dashed var(--color-primary);
}

.post-contents h3 {
    font-size: 24px;
    border-bottom: 1px solid var(--color-primary);
    padding-bottom: 0.5em;
}

.post-contents h4 {
    font-size: 20px;
    background-color: var(--color-background);
    padding: 0.5em;
}

.post-contents h5 {
    font-size: 18px;
}

.post-contents > a {
    border: 1px solid var(--color-primary);
    border-radius: 3px;
    padding: 20px 12px 20px 40px;
    color: var(--color-text);
    position: relative;
}

.post-contents > a::before {
    font: var(--fa-font-solid);
    content: "\f0da";
    position: absolute;
    color: var(--color-primary);
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    font-size: 0.9em;
}

.post-contents > a:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.post-contents > a:hover::before {
    color: var(--color-white);
}

.youtube-container {
    position: relative;
    width: 100%; /* 記事の最大幅（100%）に設定 */
    height: 0;
    /* 16:9の比率を維持するためのパディング */
    padding-bottom: 56.25%; 
    margin: 0 0 20px 0; /* 必要に応じて上下の余白調整 */
}

/* 埋め込み動画本体 - 親要素の領域にぴったり合わせる */
.youtube-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* 親要素の幅100% */
    height: 100%; /* 親要素の高さ100% */
}

a.beginner-but {
    padding: 0.8em 1em;
    border: 1px solid var(--color-primary) !important;
    display: block;
    border-radius: 5px;
    transition: 0.3s;
}

.beginner-but:hover {
    color: #fff;
    background: var(--color-primary);
}

.single-post .post-contents img {
    border: 1px solid #f4f4f4 !important;
    border-radius: 5px !important;
}

.beginner-list {
    list-style-type: disc;
    padding-left: 1.5em;
}

.beginner-list li {
    padding: 0.3em 0.3em 0.3em 0;
}

.beginner-list li::marker {
    color: var(--color-primary);
    font-size: 1.1em;
}

.ig-img{
max-width:375px;
}


@media screen and (max-width: 1024px) {
    .post-contents {
        gap: 24px;
    }

    .post-contents h3 {
        font-size: 22px;
    }

    .post-contents h4 {
        font-size: 18px;
        background-color: var(--color-background);
        padding: 0.5em;
    }

    .post-contents h5 {
        font-size: 17px;
    }

    .post-contents > a {
        padding: 18px 12px 18px 28px;
    }

    .post-contents > a::before {
        left: 12px;
    }
}

/* ------ post-relatives ------ */
.post-relatives {
    margin-top: var(--section-margin-pc);
    padding-top: 50px;
    border-top: var(--border-default);
}

.post-relatives .article-list {
    flex-direction: column;
}

.post-relatives .article-item {
    width: 100%;
}

@media screen and (max-width: 1024px) {
    .post-relatives {
        margin-top: var(--section-margin-sp);
        padding-top: 40px;
    }
}

/* ------ post-search ------ */
.post-search {
    margin-top: 50px;
}

.post-search .p-search {
    max-width: 100%;
}

@media screen and (max-width: 1024px) {
    .post-search {
        margin-top: 40px;
    }
}

/* ------ post-up-return ------ */
.post-up-return {
    margin-top: 50px;
}

@media screen and (max-width: 1024px) {
    .post-up-return {
        margin-top: 40px;
    }
}

/* ========================================
contact page
   ======================================== */
.contact-container__inner.wrap {
    max-width: 1000px;
}

.contact-attention {
    line-height: 1.8;
}

.contact-form {
    margin-top: 60px;
}

@media screen and (max-width: 768px) {
    .contact-form {
        margin-top: 40px;
    }
}

/* ========================================
privacy-policy page
   ======================================== */
.pp-container__inner.wrap {
    max-width: 1000px;
}

.privacy-policy p,
.privacy-policy li {
    line-height: 1.8;
    font-size: 0.9em;
}

.privacy-policy h3 {
    font-size: 18px;
    border-bottom: var(--border-default);
    padding-bottom: 0.5em;
    margin-bottom: 1em;
}

.privacy-policy h4 {
    font-size: 16px;
    margin-top: 1em;
}

.privacy-policy ul {
    margin-top: 0.8em;
}

.privacy-policy li {
    padding-left: 1.2em;
    position: relative;
    margin-bottom: 0.2em;
}

.privacy-policy li::before {
    content: "";
    height: 4px;
    width: 4px;
    position: absolute;
    top: 0.8em;
    left: 0;
    background-color: var(--color-text);
    border-radius: 50%;
}

.pp-box {
    margin-top: 1.5em;
}

.pp-box:first-of-type {
    margin-top: 0;
}

.header__nav .header__list li::before{
    display: none;
}

.breadcrumbs-list li::before{
    display: none;
}

.humburgernav__list li::before{
    display: none;
}

.footer__list li::before{
    display: none;
}

/* ========================================
contact-form page
   ======================================== */

.forminator-button{
    position: relative!important;
    text-decoration: none!important;
    display: block!important;
    max-width: 300px!important;
    width: 100%!important;
    padding: 16px 24px!important;
    background-color: var(--color-primary);
    border-radius: 100px!important;
    color: var(--color-white);
    font-size: 15px!important;
    text-align: center!important;
    font-weight: bold!important;
    background-color: var(--color-primary);
    color: var(--color-white);
}

.forminator-button:hover{
    background-color: var(--color-white);
    color: var(--color-primary);
}

.contact-container__inner.wrap{
    max-width: 800px;
}

.forminator-row.forminator-row-last .forminator-col .forminator-field{
    display: flex;
    justify-content: center;
}