/*
Theme Name: Base
Theme URI: https://example.com/base
Author: Your Name
Author URI: https://example.com
Description: オリジナルWordPressテーマ
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: base
*/

/* ==========================================================================
   ベーススタイル
   ========================================================================== */

html, body, div, span, a, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, address, em, img, dl, dt, dd, ol, ul, li, form, label, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figcaption, figure, footer, header, menu, nav, section, time, video, button, input, textarea, select, option, optgroup, fieldset, legend, strong, b, small, code, mark, sub, sup, audio, canvas, svg, main, details, summary, progress, meter {
    margin: 0px;
    padding: 0px;
    border: none;
    outline: none;
    box-sizing: border-box;
    font: inherit;
    vertical-align: baseline;
}

body {
    margin: 0;
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

p {
    line-height: 2;
}

.mincho {
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "Meiryo Mincho", serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 991.98px) {
    .container {
        width: 100%;
        padding: 0 10px;
    }
}

.btn-link {
    display: inline-block;
    position: relative;
    gap: 0.5em;
    padding: 1em 4em;
    border-radius: 2em;
    background-color: #03C143;
    color: #fff;
    font-size: 0.9em;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-link:hover {
    opacity: 0.8;
    text-decoration: none;
}
.btn-link::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    right: 2em;
    transform: translateY(-50%);
    width: 0.8em;
    height: 0.8em;
    background-image: url(./img/common/icon_right.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.mt30 {
    margin-top: 30px;
}

.mt60 {
    margin-top: 60px;
}

h2 {
    font-size: 2.8em;
}

.center {
    text-align: center;
}

.header {
    padding: 40px 0px 20px;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-title {
    max-width: 300px;
    width: 100%;
}

@media (max-width: 1099.98px) {
    .header-title {
        max-width: 240px;
    }
}

@media (max-width: 991.98px) {
    .header-navi {
        display: none;
    }
}

.header-navi nav ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
    gap: 3em;
}
.header-navi nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: all 0.3s ease;
}

@media (max-width: 991.98px) {
    .header-cta {
        display: none;
    }
}

.header-cta a {
    display: flex;
    align-items: center;
    gap: 0.5em;
    background-color: #03C143;
    color: #fff;
    padding: 1em 4em;
    border-radius: 2em;
    text-decoration: none;
    transition: all 0.3s ease;
}
.header-cta a:hover {
    background-color: #029133;
}

@media (max-width: 1199.98px) {
    .header-cta a {
        padding: 1em 2em;
    }
}

.header-cta a img {
    width: 1em;
    height: auto;
}

/* ハンバーガーボタン（991.98px以下で表示） */
.header-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
    transition: all 0.3s ease;
}

@media (min-width: 992px) {
    .header-hamburger {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .header-hamburger {
        display: flex;
    }
}

.header-hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
}

.header.is-menu-open .header-hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.header.is-menu-open .header-hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* モバイルメニュー（991.98px以下で表示） */
.header-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    padding: 100px 20px 40px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

@media (min-width: 992px) {
    .header-mobile-menu {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    .header-mobile-menu {
        display: block;
    }

    .header-mobile-menu.is-open {
        opacity: 1;
        visibility: visible;
    }
}

.header-mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-mobile-menu-list li {
    border-bottom: 1px solid #e0e0e0;
}

.header-mobile-menu-list li a {
    display: block;
    padding: 1em 0;
    color: #333;
    font-weight: bold;
    font-size: 1.1em;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.header-mobile-menu-list li a:hover {
    background-color: rgba(3, 193, 67, 0.1);
    text-decoration: none;
}

.header-mobile-menu-cta {
    margin-top: 2em;
}

.header-mobile-menu-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    background-color: #03C143;
    color: #fff;
    padding: 1em 2em;
    border-radius: 2em;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.header-mobile-menu-cta a:hover {
    background-color: #029133;
    text-decoration: none;
}

.header-mobile-menu-cta a img {
    width: 1em;
    height: auto;
}

body.is-menu-open {
    overflow: hidden;
}

.top-main {
    padding: 80px 10px;
    background: linear-gradient(to bottom, transparent 0%, transparent 60%, #fff 100%), url(./img/top/main_bg.jpg);
    background-size: cover;
    background-position: bottom -12vw center;
    background-repeat: no-repeat;
    overflow-y: hidden;
}

.top-main-content {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 991.98px) {
    .top-main-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

.top-main-content-text {
    width: 60%;
}

@media (max-width: 991.98px) {
    .top-main-content-text {
        max-width: 600px;
        width: 100%;
        text-align: center;
    }
}

.top-main-content-text h1 {
    font-size: 3.4em;
}
@media (max-width: 767.98px) {
    .top-main-content-text h1 {
        font-size: 2em;
    }
}

.top-main-content-text p {
    margin-top: 30px;
    font-size: 1.2em;
}

.top-main-content-image {
    width: 40%;
}

.top-main-content-image img {
    width: 100%;
    height: auto;
}

.top-news {
    padding: 60px 10px 200px;
    background-image: url(./img/top/news_bg.png);
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.top-news-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
}
@media (max-width: 767.98px) {
    .top-news-content {
        flex-wrap: wrap;
    }
}

.top-news-content-text {
    width: 30%;
    text-align: center;
}
@media (max-width: 767.98px) {
    .top-news-content-text {
        width: 100%;
    }
}

.top-news-content-text p {
    color: #03C143;
    font-size: 1.2em;
}

.top-news-content-list {
    width: 70%;
}
@media (max-width: 767.98px) {
    .top-news-content-list {
        width: 100%;
    }
}

.top-news-content-list-item {
    padding: 2em 0;
    border-bottom: 1px solid #ccc;
}

.top-news-content-list-item a {
    display: flex;
    align-items: center;
    gap: 3em;
    font-weight: bold;
    text-decoration: none;
}

.top-news-content-list-item a:hover span {
    text-decoration: underline;
}.top-news-content-list-item a .date {
    color: #03C143;
}
.top-news-content-list-item a:hover .date {
    text-decoration: none;
}

.top-technical-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2em;
    margin-left: 200px;
}
@media (max-width: 767.98px) {
    .top-technical-title {
        justify-content: center;
        padding: 0px 10px;
        margin-left: 0px;
    }
}

.top-technical-title h2 + p {
    margin: 0px 1em 0px 0px;
    color: #03C143;
    font-size: 1.2em;
}
.top-technical-title h2 + p + p {
    font-weight: bold;
}

.top-technical-content {
    margin-left: 100px;
}
@media (max-width: 767.98px) {
    .top-technical-content {
        margin-left: 10px;
    }
}

.top-technical-content-list {
    position: relative;
    padding: 0px 0px 0px 100px;
    margin-top: 40px;
    overflow: hidden;
}
@media (max-width: 767.98px) {
    .top-technical-content-list {
        padding: 0px 0px 0px 60px;
    }
}

.top-technical-content-list-arrow {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.top-technical-content-list-wrapper {
    overflow-x: hidden;
}

.top-technical-content-list ul {
    display: flex;
    align-items: stretch;
    gap: 30px;
    list-style: none;
    transition: transform 0.3s ease;
}

.top-technical-content-list ul li {
    min-height: 100%;
    flex-shrink: 0;
}

.top-technical-content-list-item-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #F7F7F7;
    border-radius: 20px;
    width: 250px;
    aspect-ratio: 240/307;
}

.top-technical-content-list-item-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    max-height: 240px;
}

.top-technical-content-list ul li a p {
    margin-top: 1em;
    font-weight: bold;
    text-align: center;
}

.top-about {
    margin-top: 90px;
}

.top-about-title {
    text-align: center;
}

.top-about-title p {
    color: #03C143;
    font-size: 1.2em;
}

.top-about-content {
    margin-top: 60px;
}
@media (min-width: 992px) {
    .top-about-content {
        display: flex;
        align-items: center;
        gap: 30px;
    }
}

@media (min-width: 992px) {
    .top-about-content-image {
        width: 50%;
    }
}

.top-about-content-image img {
    width: 100%;
    height: auto;
}

.top-about-content-text {
    padding: 0px 10px;
}

@media (min-width: 992px) {
    .top-about-content-text {
        width: 50%;
        max-width: 500px;
    }
}

.top-about-content-text p {
    margin-top: 20px;
    font-size: 1.1em;
    font-weight: bold;
}

.top-about-content-text-title {
    font-size: 1.2em;
    font-weight: bold;
}

.top-about-content-text-title h3 {
    position: relative;
    color: #03C143;
    font-size: 2.6em;
    font-weight: normal;
}
.top-about-content-text-title h3::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 4.5em;
    width: calc(100% - 4.5em);
    height: 1px;
    background-color: #03C143;
    transform: translateY(-50%);
}

.top-jigyou {
    background-image: url(./img/top/bg_about.png);
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    margin-top: 90px;
    padding: 90px 10px;
}

.top-jigyou-content {
    background-color: #fff;
    padding: 40px;
}
@media (min-width: 992px) {
    .top-jigyou-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 30px;
    }
}

@media (min-width: 992px) {
    .top-jigyou-content-text {
        width: 30%;
    }
}

.top-jigyou-content-text-title {
    text-align: center;
}

.top-jigyou-content-text-title h2 {
    position: relative;
    padding-bottom: 0.5em;
    color: #03C143;
}
.top-jigyou-content-text-title h2::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2em;
    height: 1px;
    background-color: #03C143;
}

.top-jigyou-content-text-title p {
    color: #03C143;
    font-size: 1.2em;
}

@media (max-width: 991.98px) {
    .top-jigyou-content-list {
        margin-top: 30px;
    }
}
@media (min-width: 992px) {
    .top-jigyou-content-list {
        width: 70%;
    }
}

.list-circle-num {
    padding: 0px;
    margin: 0px;
    list-style: none;
    counter-reset: list_circle_num_counter;
}

.list-circle-num > li {
    position: relative;
    padding: 0px 0px 0px 2.5em;
    font-size: 1.1em;
    font-weight: bold;
    counter-increment: list_circle_num_counter;
}
.list-circle-num > li::before {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 0px;
    transform: translateY(-50%);
    width: calc(1.5em);
    height: calc(1.5em);
    background-color: #03C143;
    color: #fff;
    font-weight: bold;
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "Meiryo Mincho", serif;
    border-radius: 50%;
    text-align: center;
    line-height: 1;
    content: counter(list_circle_num_counter);
}

.list-circle-num > li + li {
    margin: 1em 0px 0px;
}

.top-history {
    margin-top: 60px;
}

.top-history-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
}

.top-history-content-text-title h2 {
    position: relative;
    padding-bottom: 0.5em;
    color: #03C143;
    text-align: center;
}
.top-history-content-text-title h2::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2em;
    height: 1px;
    background-color: #03C143;
}

.top-history-content-list {
    margin-top: 60px;
}

.top-history-content-list dl {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0px;
    padding: 0px;
    font-size: 1.1em;
    font-weight: bold;
}

.top-history-content-list dl dt,
.top-history-content-list dl dd {
    padding: 1em 0;
    border-bottom: 1px solid #ccc;
}

.top-history-content-list dl dt {
    width: 20%;
}

.top-history-content-list dl dd {
    width: 80%;
}

.footer {
    border-top: 1px solid #c1c1c1;
    border-bottom: 1px solid #c1c1c1;
    background-color: #FCFCFC;
    padding: 40px 0;
    margin-top: 60px;
}

@media (min-width: 992px) {
    .footer-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 30px;
    }
}

@media (max-width: 991.98px) {
    .footer-content-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}
@media (min-width: 992px) {
    .footer-content-info {
        width: 50%;
    }
}

.footer-content-info a img {
    max-width: 300px;
}

.footer-content-info p {
    margin-top: 20px;
}

.footer-content-menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
}
@media (max-width: 991.98px) {
    .footer-content-menu {
        margin-top: 30px;
    }
}
@media (min-width: 992px) {
    .footer-content-menu {
        width: 25%;
    }
}

.footer-content-menu ul {
    list-style: none;
}

.footer-content-menu ul li + li {
    margin-top: 2em;
}

@media (max-width: 991.98px) {
    .footer-content-map img {
        display: block;
        max-width: 300px;
        margin: 30px auto 0;
    }
}
@media (min-width: 992px) {
    .footer-content-map {
        width: 25%;
    }
}

.footer-copyright {
    padding: 20px 0;
    font-size: 0.8em;
}
@media (max-width: 991.98px) {
    .footer-copyright {
        text-align: center;
    }
}

@media (min-width: 992px) {
    .footer-copyright .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 30px;
    }
}

.page-header {
    position: relative;
}

.page-header-content {
    position: absolute;
    top: 25%;
    left: 0px;
    width: 100%;
    color: #fff;
    text-align: center;
}

.page-header-content h1 {
    font-size: 2.4em;
}

.page-header-content p {
    font-size: 1.2em;
    font-weight: bold;
}

.bg-gray {
    background-color: #F7F7F7;
    padding: 60px 0;
}

.title-underline h2 {
    position: relative;
    padding-bottom: 0.5em;
}
.title-underline h2::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2em;
    height: 1px;
    background-color: #03C143;
}

.document-list {
    margin-top: 60px;
}

.document-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
}

.document-list ul li {
    width: calc(33.3% - 20px);
}
@media (max-width: 991.98px) {
    .document-list ul li {
        width: calc(50% - 20px);
    }
}
@media (max-width: 767.98px) {
    .document-list ul li {
        width: 100%;
    }
}

.document-list ul li a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    height: 4em;
    padding: 0px 2.5em 0px 6em;
    background-color: #03C143;
    border-radius: 2em;
    color: #fff;
    font-size: 1.25em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}
.document-list ul li a:hover {
    opacity: 0.8;
}
.document-list ul li a::before {
    content: '→';
    position: absolute;
    top: 50%;
    left: 2em;
    transform: translateY(-50%);
    background-image: url(./img/common/icon_pdf.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 1.5em;
    height: 1.5em;
}
.document-list ul li a::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    right: 2em;
    transform: translateY(-50%);
    width: 0.5em;
    height: 0.5em;
    background-image: url(./img/common/icon_right.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.document-list ul li a span {
    display: block;
    font-size: 0.75em;
}

.link-main-list {
    max-width: 800px;
    margin: 60px auto 0;
}

.link-main-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    list-style: none;
}

.link-main-list ul li {
    width: calc(50% - 20px);
}
@media (max-width: 991.98px) {
    .link-main-list ul li {
        width: 100%;
    }
}

.link-main-list ul li a img {
    display: block;
    width: auto;
    margin: 0 auto;
}

.title-bggray h3 {
    padding: 0.5em 1em;
    background-color: #F7F7F7;
    font-size: 2em;
}

.link-member-list {
    margin-top: 20px;
}

.link-member-list ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}

.link-member-list ul li {
    width: 33.3%;
    padding: 40px;
    text-align: center;
    border-bottom: 1px solid #ccc;
}
@media (max-width: 991.98px) {
    .link-member-list ul li {
        width: 50%;
    }
}
@media (max-width: 767.98px) {
    .link-member-list ul li {
        width: 100%;
    }
}

.link-member-list ul li a {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    gap: 1em;
    text-decoration: none;
    transition: all 0.3s ease;
}
.link-member-list ul li a:hover {
    opacity: 0.8;
}

.link-member-list ul li a img {
    display: block;
    max-height: 80px;
    width: auto;
    margin: 0 auto;
}

.link-member-list ul li a p {
    margin-top: auto;
    font-size: 1.2em;
    font-weight: bold;
}

.link-support-list {

}

.link-support-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
}

.link-support-list ul li {
    width: calc(50% - 20px);
    padding: 40px;
    text-align: center;
    border-bottom: 1px solid #ccc;
}
@media (max-width: 991.98px) {
    .link-support-list ul li {
        width: 100%;
    }
}

.link-support-list ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.link-support-list ul li a img {
    display: block;
    max-height: 40px;
    width: auto;
}

.contact-tel {
    background-image: url(./img/common/tel_bg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0px;
    text-align: center;
}

.contact-tel h3 {
    font-size: 2em;
    font-weight: normal;
}

@media (min-width: 992px) {
    .contact-tel-content {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 2em;
    }
}

.contact-tel-content {
    margin-top: 30px;
}

@media (max-width: 991.98px) {
    .contact-tel {
        padding: 40px 0px;
    }
}

.contact-tel-content p {
    font-size: 2em;
    font-weight: normal;
}

.contact-form-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-form-item {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1em;
}

.contact-form-item dt {
    width: 30%;
    font-weight: bold;
}

.contact-form-item dt span {
    background-color: #C00;
    color: #fff;
    padding: 4px 1em;
    margin-right: 1em;
    border-radius: 4px;
}

.contact-form-item dd {
    width: calc(70% - 1em);
}

.contact-form-item input,
.contact-form-item textarea {
    width: 100%;
    border: 1px solid #ccc;
    padding: 0.5em;
    border-radius: 0.5em;
}

.contact-form-item input + input {
    margin-top: 10px;
}

.contact-form-submit {
    margin-top: 30px;
    text-align: center;
}

.contact-form-submit button {
    position: relative;
    padding: 1em 6em;
    background-color: #03C143;
    color: #fff;
    border-radius: 2em;
    text-decoration: none;
    transition: all 0.3s ease;
}
.contact-form-submit button:hover {
    opacity: 0.8;
}
.contact-form-submit button::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    right: 2em;
    transform: translateY(-50%);
    width: 0.5em;
    height: 0.5em;
    background-image: url(./img/common/icon_right.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.news-list-item {
    padding: 2em 0;
    border-bottom: 1px solid #ccc;
}

.news-list-item a {
    display: flex;
    align-items: center;
    gap: 3em;
    font-weight: bold;
    text-decoration: none;
}

.news-list-item a:hover span {
    text-decoration: underline;
}.news-list-item a .date {
    color: #03C143;
}
.news-list-item a:hover .date {
    text-decoration: none;
}