@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap');

/*-----------------------
 全体共通 
-----------------------*/
* {
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    font-style: normal;
    box-sizing: border-box;
}
html {
    font-size: 17px;
    letter-spacing: 0.1rem;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: "Noto Sans JP", sans-serif;
    color: #333;
    background-color: #fff;
    word-break: break-word;
    overflow-x: hidden;
}
p {
    line-height: 1.7;
}
p:not(:last-of-type) {
    margin-bottom: 1rem;
}
a {
    color: #333;
    transition: 0.4s;
    text-underline-offset: 5px;
}
a:hover {
    opacity: 0.7;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}
.main_sec {
    padding-block: 120px;
}
body:not(#top, #works, #thanks, .error404) .main_sec:first-of-type {
    padding-top: 20px;
}
body:not(#top, #thanks, .error404) .main_sec:last-of-type {
    padding-bottom: 20px;
}
.green_bg {
    background-color: #edf1e3;
}
.beige_bg {
    background-color: #F7F6EE;
}
.sub_sec:not(:last-of-type) {
    padding-bottom: 80px;
}
.container {
    max-width: 1280px;
    margin-inline: auto;
}
.flex {
    display: flex;
}
.half_area {
    width: 50%;
}
@media screen and (max-width: 1340px) {
    .container {
        margin-inline: 20px;
    }
}
@media screen and (max-width: 1280px) {
    body {
        width: 1280px;
        overflow-x: auto;
    } 
}
@media screen and (min-width: 481px) {
    a[href*="tel:"] {
        pointer-events: none;
        cursor: default;
    }
    .sp {
        display: none !important;
    }
}
@media screen and (max-width: 480px) {
    body {
        width: 100%;
        overflow-x: hidden;
    }   
    .pc {
        display: none !important;
    }
    .main_sec {
        padding-block: 100px;
    }
    .flex {
        flex-direction: column;
    }
    .half_area {
        width: 100%;
    }
}


/* 見出し */
.headingL {
    position: relative;
    width: fit-content;
    margin-bottom: 100px;
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
}
.headingL span {
    font-size: 4rem;
    color: #d0dbb2;
    letter-spacing: 0.3rem
}
.headingL h2 {
    width: max-content;
    position: absolute;
    bottom: -5px;
    left: 1rem;
    color: #5E6C0F;
    font-size: 1.5rem;
}
.headingM {
    position: relative;
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 1.7rem;
    text-align: center;
    margin-bottom: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    color: #62501a;
}
.headingM::before, .headingM::after {
    display: inline-block;
    content: '';
    flex-grow: 1;
    height: 1px;
    background-color: #62501a;
}
.headingS {
    position: relative;
    font-size: 1.3rem;
    font-weight: 700;
    padding-left: 40px;
    margin-bottom: 30px;
}
.headingS::before, .headingS::after {
    display: inline-block;
    content: '';
    position: absolute;
}
.headingS::before {
    top: 2px;
    left: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #5E6C0F;
}
.headingS::after {
    top: 10.5px;
    left: 6px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}
#page_header {
    position: relative;
    width: 100%;
    height: 300px;
    margin-top: 100px;
    background: url(img/mainvisual.jpg) no-repeat center / cover;
}
#page_header::after {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.2);
}
.page_ttl {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.2rem;
    z-index: 2;
    text-align: center;
    padding-inline: 10px;
}
@media screen and (max-width: 960px) {
    #page_header {
        margin-top: 70px;
    }
}
@media screen and (max-width: 480px) {
    .headingL {
        margin-bottom: 70px;
    }
    .headingL span {
        font-size: 2.5rem;
        letter-spacing: 0.2rem;
        line-height: 1;
    }
    .headingL h2 {
        bottom: -15px;
        font-size: 1.2rem;
        width: max-content;
    }
    .headingM {
        font-size: 1.3rem;
        gap: 10px;
        margin-bottom: 50px;
    }
    .headingS {
        font-size: 1.1rem;
        padding-left: 35px;
    }
    .headingS::before {
        top: 1px;
        width: 25px;
        height: 25px;
    }
    .headingS::after {
        top: 9px;
        left: 5.5px;
        width: 8px;
        height: 8px;
    }
    #page_header {
        height: 250px;
        margin-top: 50px;
    }
    .page_ttl {
        font-size: 1.5rem;
    }
}
@media screen and (max-width: 360px) {
    .headingL span {
        font-size: 2.3rem;
        letter-spacing: 0.1rem;
    }
}

/* 表・リスト */
.common_dl > div {
    display: flex;
    border-bottom: 1px solid #ccc;
}
.common_dl > div:first-of-type {
    border-top: 1px solid #ccc;
}
.common_dl > div > dt, .common_dl > div > dt > p {
    width: 200px;
    padding: 20px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
    font-weight: 500;
    color: #5E6C0F;
}
.common_dl > div > dd, .common_dl > div > dd > p {
    display: flex;
    align-items: center;
    padding: 20px 20px 20px 40px;
    flex: 1;
}
#contact .common_dl > div:nth-of-type(6) > dd > p {
    display: block;
}
#contact .common_dl > div > dt > p, #contact .common_dl > div > dd > p {
    padding: 0;
}
.simple_dl > div {
    display: flex;
}
.simple_dl > div:not(:last-of-type) {
    margin-bottom: 15px;
}
.simple_dl > div > dt {
    width: 130px;
    font-weight: 500;
    display: flex;
    align-items: center;
}
.simple_dl > div > dd {
    flex: 1;
}
.point_dl > div {
    display: flex;
    border-radius: 10px;
    border: 1px solid #5E6C0F;
    overflow: hidden;
}
.point_dl > div:not(:last-of-type) {
    margin-bottom: 15px;
}
.point_dl > div > dt {
    width: 200px;
    background-color: #5E6C0F;
    color: #fff;
    font-weight: 500;
    padding: 15px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.point_dl > div > dd {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    flex: 1;
    background-color: #fff;
    padding: 15px 15px 15px 30px;
}
.common_ul {
    list-style-type: none;
}
.common_ul li {
    position: relative;
    padding-left: 20px;
}
.common_ul li::before {
    display: inline-block;
    content: '';
    position: absolute;
    top: 9px;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: #b2c73a;
    transform: rotate(45deg);
}
.common_ul li:not(:last-of-type) {
    margin-bottom: 10px;
}
.common_ol {
    margin-left: 1rem;
}
.common_ol li {
    padding-left: 5px;
}
.common_ol li:not(:last-of-type) {
    margin-bottom: 10px;
}
.common_ol li::marker {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    color: #5E6C0F;
}
.row {
    display: flex;
    gap: 0 30px;
}
.row li:not(:last-of-type) {
    margin-bottom: 0;
}
.asterisk_list {
    list-style-type: none;
}
.asterisk_list li {
    position: relative;
    padding-left: 25px;
}
.asterisk_list li::before {
    display: inline-block;
    content: '※';
    position: absolute;
    top: 0;
    left: 0;
}
.asterisk_list li:not(:last-of-type) {
    margin-bottom: 10px;
}
.nomark_ol {
    list-style-type: none;
}
.nomark_ol li:not(:last-of-type) {
    margin-bottom: 10px;
}
.fee_tbl {
    width: 100%;
    border: 1px solid #5E6C0F;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
}
.fee_tbl caption {
    text-align: left;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: right;
}
.fee_tbl th, .fee_tbl td {
    border-right: 1px solid #5E6C0F;
    padding: 10px;
    background-color: #fff;
}
.fee_tbl tr:not(:last-of-type) th, .fee_tbl tr:not(:last-of-type) td {
    border-bottom: 1px solid #5E6C0F;
}
.fee_tbl th[scope="col"] {
    background-color: #5E6C0F;
    color: #fff;
    text-align: center;
    font-weight: 500;
}
.fee_tbl th[scope="col"]:not(:last-of-type) {
    border-right: 1px solid #fff;
}
.fee_tbl tbody th {
    font-weight: normal;
    text-align: left;
}
.col-title {
  width: 40px;
}
.col-auto {
    width: calc((100% - 40px) / var(--cols));
}
.amount {
    text-align: right;
}
.table_wrapper {
    overflow-x: auto !important;
    overflow-y: hidden !important;
}
.table_wrapper .scroll-hint-icon{
    top: 10% !important;
}

@media screen and (max-width: 480px) {
    .common_dl > div {
        flex-direction: column;
    }
    .common_dl > div > dt, .common_dl > div > dt > p {
        width: 100%;
        padding: 20px 10px 0;
    }
    .common_dl > div > dd, .common_dl > div > dd > p  {
        padding: 20px 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .simple_dl > div {
        flex-direction: column;
        gap: 5px;
    }
    .simple_dl > div > dt {
        width: 100%;
    }
    .point_dl > div {
        flex-direction: column;
    }
    .point_dl > div > dt {
        width: 100%;
        padding: 10px;
    }
    .point_dl > div > dd {
        padding: 15px 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .common_ul li:not(:last-of-type) {
        margin-bottom: 10px;
    }
    .row {
        display: initial;
    }
    .fee_tbl {
        width: 500px;
    }
}

/* パンくずリスト */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
    font-size: 0.7rem;
    list-style-type: none;
}
.breadcrumb:first-of-type {
    padding-bottom: 50px;
}
.breadcrumb:last-of-type {
    padding-top: 50px;
}
.breadcrumb li {
    position: relative;
}
.breadcrumb li:not(:last-of-type)::after {
    display: inline-block;
    content: '';
    position: absolute;
    top: 8px;
    right: -16px;
    width: 5px;
    height: 5px;
    border-top: 1px solid #333;
    border-right: 1px solid #333;
    transform: rotate(45deg);
}


/* ボタン類 */
.more_btn {
    position: relative;
    display: block;
    width: 300px;
    padding: 20px;
    margin: 50px auto 0;
    border-radius: 50px;
    border: 1px solid #62501a;
    background-color: #62501a;
    text-decoration: none;
    text-align: center;
    color: #fff;
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
}
.more_btn::before, .more_btn::after {
    display: inline-block;
    content: '';
    position: absolute;
    transition: 0.4s;
    background-color: #fff;
    border-radius: 50px;
    height: 1px;
}
.more_btn::before {
    top: 56%;
    right: 22px;
    transform: translateY(-56%);
    width: 20px;
}
.more_btn::after {
    top: 50%;
    right: 20px;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
}
.more_btn:hover {
    opacity: 1;
    background-color: #fff;
    color: #62501a;
}
.more_btn:hover::before, .more_btn:hover::after {
    background-color: #62501a;
}
.more_btn:hover::before {
    transform: translateY(-56%) translateX(5px);
}
.more_btn:hover::after {
    transform: translateY(-50%) translateX(5px) rotate(45deg);
}
.contact_btn {
    display: block;
    position: relative;
    padding: 5px 20px;
    background-color: #b2c73a;
    border-radius: 50px;
    color: #fff;
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
}
.contact_btn::before {
    display: inline-block;
    content: '';
    margin-right: 10px;
    vertical-align: -5px;
    width: 25px;
    height: 25px;
    background: url(img/mail.png) no-repeat center / contain;
}
@media screen and (max-width: 960px) {
    .gnav .contact_btn {
        margin: 50px auto 0;
        width: 300px !important;
    }
}
@media screen and (max-width: 480px) {
    .more_btn {
        width: 100%;
        padding: 15px;
    }
    .contact_btn {
        width: 100% !important
    }
}

/* テキスト関連 */
.bold_txt {
    font-weight: bold;
}
.red_txt {
    color: #d80051;
}
.res_txt {
    text-align: center;
}
@media screen and (max-width: 480px) {
    .res_txt {
        text-align: left;
    }
}


/* 余白調整 */
.gap50 {
    gap: 50px;
}
.gap10 {
    gap: 10px;
}
.mtop70 {
    margin-top: 70px;
}
.mtop50 {
    margin-top: 50px;
}
.mtop30 {
    margin-top: 30px;
}

/*-----------------------
 ヘッダー 
-----------------------*/
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: #fff;
    padding: 10px 50px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    z-index: 20;
}
header h1.logo {
    line-height: 0;
}
header .logo img {
    width: 250px;
    min-width: 250px;
    object-fit: contain;
}
.catchcopy {
    font-size: 0.42rem;
    margin-bottom: 5px;
}
.tel {
    position: relative;
    display: block;
    width: fit-content;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
    font-family: 'Noto Serif JP', serif;
    margin: 0 0 5px auto;
    padding-left: 45px;
}
.tel::before {
    display: inline-block;
    content: '';
    width: 35px;
    height: 35px;
    background: #b2c73a url(img/tel.png) no-repeat center / 25px 25px;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
}
@media screen and (max-width: 1280px) {
    header {
        padding: 10px;
    }    
}
@media screen and (max-width: 960px) {
    header {
        height: 70px;
    }    
    .catchcopy {
        margin-bottom: 2px;
    }
    .gnav .tel {
        margin: 0 auto 50px;
    }
}
@media screen and (max-width: 480px) {
    header {
        height: 50px;
    }    
    header .logo img {
        width: 150px;
        min-width: 150px;
    }
    .catchcopy {
        font-size: 0.3rem;
    }
}


/* グローバルナビ */
.gnav ul {
    list-style-type: none;
}
.gnav > ul {
    display: flex;
    gap: 10px 30px;
    align-items: center;
}
.gnav a {
    position: relative;
    font-family: 'Noto serif JP', serif;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.gnav li:not(:last-of-type) a:hover {
    opacity: 1;
}
.gnav li:not(:last-of-type) a::after {
    position: absolute; 
    bottom: -15px; 
    left: 50%;
    height: 2px; 
    opacity: 0; 
    transition: all .4s; 
    width: 100%;
    content: ''; 
    background-color: #b2c73a;
    width: 8px;
    height: 8px;
    transform: translateX(-50%) rotate(45deg);
}
.gnav li:not(:last-of-type) a:hover::after {
  bottom: -10px; 
  opacity: 1; 
}
.has_child {
    position: relative;
}
.child_menu {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    display: flex;
    visibility: hidden;
	opacity: 0;
    transition: all 0.3s;
    padding: 10px;
    background-color: #5E6C0F;
    list-style-type: none;
}
.child_menu li {
    padding: 20px 50px;
}
.child_menu li:not(:last-of-type) {
    border-right: 1px solid #fff;
}
.child_menu a {
    display: block;
    color: #fff;
}
.has_child:hover > ul,
.has_child ul li:hover > ul,
.has_child:active > ul,
.has_child ul li:active > ul {
    visibility: visible;
    opacity: 1;
}
@media screen and (max-width: 960px) {
    .gnav {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        height: 100%;
        opacity: 0;
        visibility: hidden;
        transform: translateX(100%);
        transition: 0.4s;
        overflow: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        overscroll-behavior: contain;
        padding: 100px 20px 50px;
        background-color: #F7F6EE;
        flex-direction: column;
        gap: 50px;
    }
    .gnav.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
    .gnav::-webkit-scrollbar {
        display: none;
    }
    .gnav > ul {
        flex-direction: column;
    }
    .gnav > ul > li {
        width: 100%;
    }
    .gnav > ul > li > a {
        display: block;
        width: 100%;
        padding: 20px;
    }
    .gnav > ul > li:not(:last-of-type) > a {
        border-bottom: 1px solid #5E6C0F;
    }
    .gnav > ul > li:first-of-type > a {
        border-top: 1px solid #5E6C0F;
    }
    .child_menu {
        position: static;
        width: 100%;
        visibility: visible;
        opacity: 1;
        display: none;
        transform: none;
        transition: none;
        background: transparent;
        padding: 15px 15px 15px 2rem;
    }
    .child_menu li {
        padding: 0;
    }
    .child_menu li:not(:last-of-type) {
        border-right: none;
    }
    .child_menu a {
        padding-block: 10px;
        color: #333;
    }
    .gnav a::after, .child_menu a::after {
        display: none;
    }
    .more_arrow {
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background-color: #b2c73a;
        display: inline-block;
    }
    .more_arrow::before,
    .more_arrow::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 15px;
        height: 1px;
        background-color: #fff;
        transition: 0.4s ease;
        transform: translate(-50%, -50%);
    }
    .more_arrow::after {
        transform: translate(-50%, -50%) rotate(90deg);
    }
    .more_arrow.open::after {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}
@media screen and (max-width: 480px) {
    .gnav {
        width: 100%;
    }
}

/* ハンバーガーメニュー */
.hamburger {
    position: absolute;
    top: 0;
    right: 0;
    width: 70px;
    height: 70px;
    background-color: #b2c73a;
    cursor: pointer;
    z-index: 30;
    flex-shrink: 0;
}
.line {
    display: inline-block;
    position: absolute;
    top: 33px;
    right: 16px;
    width: 35px;
    height: 1px;
    background-color: #fff;
    transition: 0.4s;
}
.line::before, .line::after {
    display: block;
    content: '';
    position: absolute;
    left: 0;
    width: 35px;
    height: 1px;
    background-color: #fff;
    transition: 0.4s;
}
.line::before {
    top: -12px;
}
.line::after {
    bottom: -12px;
}
.hamburger.active .line {
    background: transparent;
    transform: translateX(20px);
}
.hamburger.active .line::before, .hamburger.active .line::after {
    left: 0;
    width: 100%;
}
.hamburger.active .line::before {
    top: -5px;
    transform: translate(-20px,5px) rotate(-45deg) !important;
}
.hamburger.active .line::after {
    top: 5px;
    transform: translate(-20px,-5px) rotate(45deg) !important;
}
@media screen and (min-width: 961px), print {
    .hamburger, header .more_arrow {
        display: none;
    }
}
@media screen and (max-width: 480px) {
    .hamburger {
        width: 50px;
        height: 50px;
    }
    .line {
        top: 24px;
        right: 13px;
        width: 25px;
    }
    .line::before, .line::after {
        width: 25px;
    }
    .line::before {
        top: -8px;
    }
    .line::after {
        bottom: -8px;
    }
}


/*-----------------------
 メインヴィジュアル 
-----------------------*/
#mainvisual {
    position: relative;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
}
#mainvisual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(img/mainvisual.jpg) no-repeat center / cover;
    opacity: 0;
    animation: mvFade 2s ease forwards;
}
@keyframes mvFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
        transform: scale(1.1);
    }
}
@media screen and (max-width: 480px) {
    #mainvisual {
        height: 100vw;
    }
}

/*-----------------------
 バナー 
-----------------------*/
#bnr {
    text-align: center;
}


/*-----------------------
 お知らせ
-----------------------*/
body#top #info {
    background-color: #edf1e3;
}
.info_list {
    list-style-type: none;
}
.info_list li:not(:last-of-type) {
    border-bottom: 1px solid #ccc;
}
.info_list a {
    display: flex;
    gap: 50px;
    text-decoration: none;
    padding: 20px;
}
.info_list li:first-of-type a {
    padding-top: 0;
}
.info_list li:last-of-type a {
    padding-bottom: 0;
}
.article_header {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0 1rem 10px;
    margin-bottom: 50px;
    border-bottom: 2px solid #d0dbb2;
}
.article_header::before {
    position: absolute;
    content: '';
    width: 20%;
    left: 0;
    bottom: -2px;
    border-bottom: 2px solid #5E6C0F;
}
.article_ttl {
    font-weight: 500;
    font-size: 1.2rem;
}
@media screen and (max-width: 480px) {
    .info_list a {
        flex-direction: column;
        gap: 5px;
        padding: 20px 10px;
    }
}

/* ページネーション */
.nav-links .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 100px;
}
.nav-links .page-numbers li {
    list-style-type: none;
}
.nav-links a.page-numbers,
.nav-links .current,
.nav-links a.prev,
.nav-links a.next {
    position: relative;
    display: block;
    content: '';
    width: 50px;
    height: 50px;
    background-color: #5E6C0F;
    border: 1px solid #5E6C0F;
    border-radius: 50%;
    color: #fff;
    text-align: center;
    line-height: 50px;
    margin-top: 0;
    text-decoration: none;
}
.nav-links a.page-numbers:hover {
    opacity: 1;
    background-color: #fff;
    color: #5E6C0F;
}
.nav-links .current {
    background-color: #ccc;
    border-color: #ccc;
    color: #6e6e6e;
}
.nav-links a.prev {
    margin-right: 5px;
}
.nav-links a.next {
    margin-left: 5px;
}
.nav-links .dots {
    margin: 0;
    line-height: 50px;
}
.prev_arrow, .next_arrow {
    position: absolute;
    top: 19px;
    display: block;
    content: '';
    width: 10px;
    height: 10px;
}
.prev_arrow {
    left: 20px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: rotate(-45deg);
}
.next_arrow {
    right: 20px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}
.nav-links a.page-numbers:hover .prev_arrow,
.nav-links a.page-numbers:hover .next_arrow {
    border-color: #5E6C0F;
}
.current .prev_arrow, .current .next_arrow {
    border-color: #6e6e6e;
}
@media screen and (max-width: 480px) {
    .nav-links a.page-numbers,
    .nav-links .current,
    .nav-links a.prev,
    .nav-links a.next {
        width: 40px;
        height: 40px;
        line-height: 40px;
    }
    .prev_arrow, .next_arrow {
        top: 15px;
    }
    .prev_arrow {
        left: 15px;
    }
    .next_arrow {
        right: 15px;
    }
}


/* 個別ページネーション */
.article_pagenation {
    display: flex;
    justify-content: space-between;
    gap: 15px 30px;
    margin-inline: auto;
    width: 80%;
    margin-top: 80px;
}
.nav-prev-link, .nav-next-link {
    position: relative;
    width: auto;
    min-width: 50%;
    display: flex;
    gap: 10px;
    border-radius: 5px;
    padding: 15px;
    text-decoration: none;
    background-color: #F7F6EE;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}
.article_pagenation:has(.nav-next-link):not(:has(.nav-prev-link)) {
    justify-content: flex-start; 
}
.article_pagenation:has(.nav-prev-link):not(:has(.nav-next-link)) {
    justify-content: flex-end; 
}
.nav-prev-link:hover, .nav-next-link:hover {
    opacity: 1;
}
.nav-prev-link {
    text-align: right;
    flex-direction: row-reverse;
}
.nav-prev-title, .nav-next-title {
    font-size: 15px;
    margin: 0;
}
.nav-next-title {
    padding-left: 30px;
}
.nav-prev-title {
    padding-right: 30px;
}
.nav-prev-arrow, .nav-next-arrow {
    position: absolute;
    top: 24.5px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #5E6C0F;
    transition: 0.3s;
}
.nav-prev-arrow {
    right: 25px;
    border-right: 2px solid #5E6C0F;
    transform: rotate(45deg);
}
.nav-prev-link:hover .nav-prev-arrow {
    transform: rotate(45deg) translate(3px, -3px);
}
.nav-next-arrow {
    left: 25px;
    border-left: 2px solid #5E6C0F;
    transform: rotate(-45deg);
}
.nav-next-link:hover .nav-next-arrow {
    transform: rotate(-45deg) translate(-3px, -3px);
}
@media screen and (max-width: 480px) {
    .article_pagenation {
        flex-direction: column;
        width: 100%;
    }
    .nav-prev-link, .nav-next-link {
        width: 100%;
    }    
}


/*-----------------------
 業務内容
-----------------------*/
#works .main_sec:nth-of-type(even) {
    background-color: #F7F6EE;
}
.works_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    list-style-type: none;
}
.works_list a {
    display: flex;
    gap: 20px;
    align-items: center;
    text-decoration: none;
    background-color: #5E6C0F;
    border-radius: 10px;
    padding: 15px 20px;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    font-family: 'Noto Serif JP', serif;
    flex: 1
}
.works_list div {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    padding: 5px;
    background-color: #fff;
}
.works_list img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
}
.page_link {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    list-style-type: none;
}
.page_link a {
    position: relative;
    display: block;
    padding: 15px;
    background-color: #b2c73a;
    border: 1px solid #fff;
    outline: 5px solid #b2c73a;
    color: #fff;
    text-align: center;
    text-decoration: none;
}
.page_link a::after {
    display: inline-block;
    content: '';
    position: absolute;
    top: 50%;
    right: 30px;
    width: 8px;
    height: 8px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: translateY(-50%) rotate(135deg);
}
.caption {
    position: relative;
    width: fit-content;
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.2rem;
    text-align: center;
    padding: 10px 1.5em;
    margin: 0 auto 3rem !important;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
}
.caption::before, .caption::after {
    display: block;
    content: '';
    position: absolute;
    width: 20px;
    height: 30px;
}
.caption::before {
    top: 0;
    left: 0;
    border-left: 2px solid #b2c73a;
    border-top: 2px solid #b2c73a;
}
.caption::after {
    bottom: 0;
    right: 0;
    border-right: 2px solid #b2c73a;
    border-bottom: 2px solid #b2c73a;
}
.box {
    padding: 50px;
    border-radius: 20px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}
.box p {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 2.5rem !important;
    color: #5E6C0F;
}
.faq_list div {
    border-bottom: 1px solid #ccc;
}
.faq_list div:first-of-type {
    border-top: 1px solid #ccc;
}
.faq_list div:nth-of-type(even) {
    background-color: #f9f9f9;
}
.faq_list dt, .faq_list dd {
    display: flex;
    gap: 10px;
    align-items: baseline;
}
.faq_list dt {
    position: relative;
    cursor: pointer;
    padding: 30px 20px;
}
.faq_ttl {
    width: 90%;
}
.faq_list dd {
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 0 20px;
}
.faq_list dt::before, .faq_list dd::before {
    display: inline-block;
    font-weight: 700;
    flex-shrink: 0;
}
.faq_list dt::before {
    color: #3e62a0;
    content: 'Q.';
}
.faq_list dd::before {
    color: #d80051;
    content: 'A.';
}
.faq_list dd.open {
    opacity: 1;
    visibility: visible;
    padding-top: 10px;
    padding-bottom: 30px;
}
.faq_arrow, .faq_arrow::after {
    position: absolute;
    width: 15px;
    height: 2px;
    border-radius: 5px;
    background-color: #b2c73a;
}
.faq_arrow {
    top: 50%;
    transform: translateY(-50%);
    right: 30px;
    transition: opacity 0.4s ease-in-out;
}
.faq_arrow::after {
    display: block;
    content: '';
    top: 0;
    right: 0;
    transform: rotate(90deg); 
    transition: transform 0.4s ease-in-out;
}
.faq_arrow.open::before {
    opacity: 0;
}
.faq_arrow.open::after {
    transform: rotate(180deg);
}
@media screen and (max-width: 480px) {
    .works_list {
        grid-template-columns: repeat(1, 1fr);
    }
    .works_list a {
        gap: 10px;
        padding: 10px;
        font-size: 0.9rem;
    }
    .works_list div {
        width: 70px;
        height: 70px;
    }
    .page_link {
        grid-template-columns: repeat(1, 1fr);
    }
    .page_link a {
        padding: 10px;
        font-size: 0.9rem;
    }
    .page_link a::after {
        right: 20px;
    }
    .caption {
        font-size: 1.2rem;
    }
    .caption::before, .caption::after {
        display: block;
        content: '';
        position: absolute;
        width: 20px;
        height: 30px;
    }
    .caption::before {
        top: 0;
        left: 0;
        border-left: 2px solid #b2c73a;
        border-top: 2px solid #b2c73a;
    }
    .caption::after {
        bottom: 0;
        right: 0;
        border-right: 2px solid #b2c73a;
        border-bottom: 2px solid #b2c73a;
    }
    .box {
        padding: 50px 15px;
    }
    .box p {
        font-size: 1.2rem;
    }
    .faq_list dt {
        padding: 30px 10px;
    }
    .faq_list dd {
        padding: 0 10px;
    }
    .faq_arrow {
        right: 15px;
    }
    .faq_ttl {
        width: 85%;
    }
}

/*-----------------------
 当法人について
-----------------------*/
body#top #about {
    background-color: #F7F6EE;
}
.about_list {
    display: flex;
    gap: 50px;
    justify-content: center;
    list-style-type: none;
}
.about_list li {
    width: 40%;
}
.about_list a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.about_list a:hover {
    opacity: 1;
}
.about_list img {
    aspect-ratio: 2 / 1;
    object-fit: cover;
    transition: 0.4s;
}
.about_list a:hover img {
    transform: scale(1.1);
}
.about_list span {
    position: relative;
    z-index: 1;
    display: block;
    text-align: center;
    font-weight: 700;
    font-size: 1.3rem;
    font-family: 'Noto Serif JP', serif;
    padding: 20px 10px;
    background-color: #fff;
}
.link_list {
    display: flex;
    gap: 40px;
    justify-content: center;
    list-style-type: none;
}
.link_list a {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #fff;
    padding: 20px 30px;
    font-weight: 700;
    font-family: 'Noto Serif JP', serif;
    border: 1px solid #fff;
}
.btn_bg01 {
    background-color: #254066;
    outline: 5px solid #254066;
}
.btn_bg02 {
    background-color: #62501a;
    outline: 5px solid #62501a;
}
.btn_bg03 {
    background-color: #5E6C0F;
    outline: 5px solid #5E6C0F;
}
@media screen and (max-width: 480px) {
    .about_list {
        flex-direction: column;
        gap: 20px;
    }
    .about_list li {
        width: 90%;
        margin-inline: auto;
    }
    .about_list span {
        font-size: 1rem;
        padding: 10px;
    }
    .link_list {
        flex-direction: column;
        gap: 20px;
    }
    .link_list a {
        padding: 15px;
    }
}

/* プロフィール */
.prof_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    list-style-type: none;
}
.prof_list li {
    display: flex;
    border: 1px solid #5E6C0F;
    border-radius: 20px;
    background-color: #F7F6EE;
    overflow: hidden;
}
.prof_list img {
    width: 40%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    flex-shrink: 0;
} 
.prof_list .txt_area {
    flex: 1;
    padding: 30px;
    color: #5E6C0F;
    font-weight: 500;
}
.prof_list .name {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.3rem;
    margin-bottom: 1rem;
}
.prof_list .position {
    margin-bottom: 1rem;
}
@media screen and (max-width: 480px) {
    .prof_list {
        grid-template-columns: repeat(1, 1fr);
    }
    .prof_list li {
        flex-direction: column;
    }
    .prof_list img {
        width: 100%;
        aspect-ratio: 1.5 / 1;
    } 
    .prof_list .txt_area {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }
}

/* 会社概要 */
#company .main_sec:nth-of-type(even) {
    background-color: #edf1e3;
}
#access p {
    margin-bottom: 2rem;
}

/*-----------------------
 SNS
-----------------------*/
#sns p {
    text-align: center;
    margin-bottom: 4rem;
}
.sns_list {
    display: flex;
    gap: 50px;
    justify-content: center;
    list-style-type: none;
}
.sns_list a {
    position: relative;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #fff;
    padding: 15px 30px;
    font-weight: 700;
    font-size: 1.3rem;
    border-radius: 20px;
}
.sns_list a:hover {
    opacity: 1;
}
.insta::before, .fb::before {
    display: inline-block;
    content: '';
    width: 50px;
    height: 50px;
    margin-right: 10px;
    transition: 0.4s;
}
.insta {
    background-color: #d80051;
    border: 2px solid #d80051;
}
.insta:hover {
    background-color: #fff;
    color: #d80051;
}
.insta::before {
    background: url(img/insta-white.svg) no-repeat center / contain;
}
.insta:hover::before {
    background: url(img/insta.svg) no-repeat center / contain;
}
.fb {
    background-color: #3e62a0;
    border: 2px solid #3e62a0;
}
.fb:hover {
    background-color: #fff;
    color: #3e62a0;
}
.fb::before {
    background: url(img/fb-white.png) no-repeat center / contain;
}
.fb:hover::before {
    background: url(img/fb.png) no-repeat center / contain;
}
@media screen and (max-width: 480px) {
    #sns p {
        text-align: left;
        margin-bottom: 2rem;
    }
    .sns_list {
        flex-direction: column;
        gap: 20px;
    }
    .sns_list a {
        gap: 10px;
        padding: 15px;
        font-size: 1rem;
    }
    .insta::before, .fb::before {
        width: 30px;
        height: 30px;
    }
}

/*-----------------------
 お問い合わせ
-----------------------*/
body#top #contact {
    background-color: #edf1e3;
}
body#top #contact .flex {
    justify-content: center;
    align-items: center;
    gap: 100px;
}
body#top #contact .contact_btn {
    padding-block: 20px;
    font-size: 1.2rem;
}
body#top #contact .contact_btn::before {
    width: 30px;
    height: 30px;
    vertical-align: -6px;
}
body#top #contact .tel {
    font-size: 2.5em;
    padding-left: 75px;
}
body#top #contact .tel::before {
    width: 60px;
    height: 60px;
    background: #b2c73a url(img/tel.png) no-repeat center / 40px 40px;
}
.contact_area {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}
@media screen and (max-width: 480px) {
    body#top #contact .flex {
        align-items: flex-start;
        gap: 0;
    }
    body#top #contact .contact_btn {
        padding: 15px;
        font-size: 1rem;
    }
    body#top #contact .contact_btn::before {
        width: 25px;
        height: 25px;
    }
    body#top #contact .tel {
        font-size: 1.8em;
        padding-left: 50px;
    }
    body#top #contact .tel::before {
        top: 3px;
        width: 40px;
        height: 40px;
        background: #b2c73a url(img/tel.png) no-repeat center / 25px 25px;
    }
    .contact_area {
        margin-inline: auto;
    }
}
/* 個別ページ */
.required {
    display: inline-block;
    color: #fff;
    padding: 2px 5px;
    font-size: 0.7rem;
    font-weight: normal;
    border-radius: 5px;
    text-align: center;
    background-color: #dd2e2e;
}
input[type="text"], input[type="email"], input[type="tel"], textarea {
    padding: 5px 10px;
    border: 1px solid #5E6C0F;
    border-radius: 3px;
    font-size: 0.9rem;
    background-color: #F7F6EE;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, textarea:focus {
    outline: 2px solid #62501a;
    border: none;
}
input[type="text"], input[type="email"], input[type="tel"] {
    height: 40px;
}
input[type="text"], input[type="tel"] {
    width: 200px;
}
textarea {
    display: block;
    width: 100%;
    height: 250px;
    font-family: 'Noto Sans JP', sans-serif;
}
.input_wrapper p {
    display: flex;
    gap: 10px;
}
#privacy-policy {
    flex-direction: column;
    border-radius: 3px;
}
#privacy-policy dt {
    padding-bottom: 0;
}
#privacy-policy dd {
    flex-direction: column;
    padding-left: 20px;
}
#privacy-policy p {
    margin: 0;
}
#privacy-policy dt, #privacy-policy dd {
    width: 100%;
}
.privacy-policy {
    border: 1px solid #5E6C0F;
    border-radius: 3px;
    height: 200px;
    overflow: auto;
    margin-bottom: 20px;
    padding: 30px;
    background-color: #edf1e3;
}
.privacy_check {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}
.privacy_check input{
    width: 18px !important;
    height: 18px !important;
}
.privacy_check label {
    cursor: pointer;
}
.form_btn p {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}
.form_btn input {
    width: 200px;
    padding: 15px;
    border-radius: 50px;
    text-align: center;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.4s;
}
.form_btn input:hover {
    opacity: 0.7;
}
.form_btn input[type="submit"] {
    background-color: #5E6C0F;
    color: #fff;
}
.form_btn input[type="reset"] {
    border: 1px solid #5E6C0F;
    color: #5E6C0F;
    background-color: #fff;
}
@media screen and (max-width: 480px) {
    input[type="text"], input[type="tel"], input[type="email"] {
        width: 100%;
    }
    .input_wrapper p {
        flex-direction: column;
    }
    #privacy-policy dd {
        padding: 20px 10px;
    }
    .privacy-policy {
        padding: 20px 15px;
        font-size: 0.9rem;
    }
    .form_btn p {
        flex-direction: column;
    }
    .form_btn input {
        width: 100%;
    }
}

/* contact form */
#contact .wpcf7-list-item label {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.contact_form p {
    margin: 0;
}
.wpcf7 form .wpcf7-response-output {
    border-color: transparent !important;
    color: #dc3232;
    text-align: center;
}
.wpcf7-not-valid-tip {
    font-size: 15px !important;
}
.wpcf7 form.sent .wpcf7-response-output{
    display: none;
}  
.wpcf7-list-item {
    margin-left: 0 !important;
}
#radio .wpcf7-form-control {
    display: flex;
    gap: 10px 20px;
    flex-wrap: wrap;
}

/* reCAPTCHA */
#contact .grecaptcha-badge {
    width: 70px !important;
    visibility: visible;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    left: 4px !important;
  }
 #contact .grecaptcha-badge:hover {
    width: 256px !important;
    visibility: visible;
  }
.grecaptcha-badge {
    visibility: hidden;
}
.grecaptcha-badge:hover {
    visibility: hidden;
}



/*-----------------------
 フッター
-----------------------*/
footer {
    background-color: #dbd3b2;
    padding-top: 50px;
    font-size: 0.9rem;
    margin-top: auto;
}
footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}
footer .flex {
    gap: 50px;
}
.office_name {
    font-weight: 700;
    margin-bottom: 10px !important;
}
.footer_menu {
    display: flex;
    justify-content: center;
    gap: 50px;
    list-style-type: none;
}
.footer_menu > li > a, .footer_menu span {
    position: relative;
    padding-left: 1.1rem;
}
.footer_menu > li > a::before, .footer_menu span::before {
    display: inline-block;
    content: '';
    position: absolute;
    top: 8px;
    left: 0;
    background-color: #b2c73a;
    width: 8px;
    height: 8px;
    transform: rotate(45deg);
}
.footer_menu a {
    text-decoration: none;
}
.footer_child {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 10px;
    list-style-type: none;
}
.footer_child a {
    font-size: 0.8rem;
    padding-left: 1.1rem;
}
.privacy {
    background-color: #62501a;
    color: #fff;
    padding: 20px;
    margin-top: 100px;
    text-align: center;
    font-size: 0.7rem;
}
@media screen and (max-width: 480px) {
    .footer_menu {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 40px;
    }
    .privacy {
        padding: 15px 50px;
        margin-top: 70px;
    }
}
@media screen and (max-width: 375px) {
    .footer_menu {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* ページトップボタン */
.page_top {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 70px;
    height: 70px;
    background-color: #b2c73a;
    z-index: 10;
}
.page_top:hover {
    opacity: 1;
}
.arrow {
    display: block;
    content: '';
    position: absolute;
    top: 33px;
    left: 20px;
    width: 30px;
    height: 30px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(315deg);
}
@media screen and (max-width: 480px) {
    .page_top {
        width: 50px;
        height: 50px;
    }
    .arrow {
        top: 25px;
        left: 15px;
        width: 20px;
        height: 20px;
    }
}


/*-----------------------
 費用一覧
-----------------------*/
#price .main_sec:nth-of-type(even) {
    background-color: #F7F6EE;
}


/*-----------------------
 全国法務局登記完了予定
-----------------------*/
.cnt_list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: stretch;
    list-style-type: none;
}
.cnt_list a {
    display: flex;
    text-decoration: none;
    height: 100%;
}
.cnt_num {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: #ABBF3D;
    color: #fff;
    text-align: center;
    font-weight: 700;
    width: 70px;
}
.cnt_place {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 10px;
    color: #ABBF3D;
    font-weight: 700;
    border: 2px solid #ABBF3D;
    flex: 1;
}
@media screen and (max-width: 480px) {
    .cnt_list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .cnt_num {
        padding: 10px 5px;
        width: 50px;
    }
    .cnt_place {
        padding: 10px 5px;
        flex: 1;
    }
}