/*
Theme Name: 和歌山県行政書士会のテーマ
Author: ITKワークス
Version: 1.0
*/
:root {
    --gothic: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
    --primary: #e50012;
    --primary-dark: #b8000e;
    --accent: #f7a300;
    --bg: #fffaf3;
    --warm: #fdf6f0;
    --text: #1a1a1a;
    --muted: #6b6b6b;
    --border: #e0ddd8;
    --container: 1200px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    margin: 0;
    font-family: 'Noto Sans JP', 'Outfit', sans-serif;
    line-height: 1.5;
    color: var(--text);
    -webkit-font-smoothing: antialiased
}

p {
    line-height: 1.7;
}

a {
    color: inherit;
    transition: all 0.2s;
}

a:hover {
    filter: brightness(0.9);
}

ul {
    padding-left: 1.5rem;
    margin: 0.6rem 0
}

li::marker {
    color: var(--primary);
    font-weight: 600;
}

table {
    border-collapse: collapse;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: auto
}

.fadeUp {
    animation-name: fadeUpAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    opacity: 0;
}

.fadeUpTrigger {
    opacity: 0;
}

@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blur {
    animation-name: blurAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

@keyframes blurAnime {
    from {
        filter: blur(20px);
        transform: scale(1.02);
        opacity: 0;
    }

    to {
        filter: blur(0);
        transform: scale(1);
        opacity: 1;
    }
}

.blurTrigger {
    opacity: 0;
}

.menu-toggle {
    position: fixed;
    opacity: 0;
    pointer-events: none
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    background: rgb(255 255 255 / 50%);
    backdrop-filter: blur(7px);
    border-bottom: 1px solid rgb(175 175 175 / 22%);
}

.site-header.fixed_header {
    background: #fff;
    transition: all 0.5s;
}

@keyframes DownAnime {
    0% {
        opacity: 0;
        transform: translateY(-80px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

.header-inner {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.site-logo {
    height: 40px;
    width: auto;
    vertical-align: middle;
    margin-left: -10px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2px
}

.desktop-nav ul {
    display: flex;
    align-items: center;
    list-style: none;
}

.desktop-nav a {
    padding: 7px 11px;
    color: #444;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    transition: .2s
}

nav a[target="_blank"] {
    position: relative;
}

nav a[target="_blank"]::after {
    position: relative;
    display: inline-block;
    right: 0;
    content: "";
    width: 14px;
    height: 14px;
    background: url(assets/image/external.svg) no-repeat;
    background-size: contain;
    background-position: bottom;
    margin: 0 5px;
}

.desktop-nav a:hover {
    filter: opacity(0.8);
}

.desktop-nav .member-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 8px;
    background: var(--primary);
    padding: 10px 18px;
    text-shadow: none;
    color: #fff;
    white-space: nowrap;
}

.desktop-nav .member-btn:hover {
    background: var(--primary-dark)
}

.menu-button {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer
}

.menu-button span {
    width: 24px;
    height: 2px;
    background: #444;
    transition: .25s
}

.mobile-nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 99;
    background: #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .12);
    transform: translateY(-130%);
    transition: .3s
}

.mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mobile-nav ul li{
    margin:0;
}
.mobile-nav a {
    display: block;
    padding: 14px 24px;
    border-bottom: 1px solid #f0ede8;
    text-decoration: none;
    font-size: 15px
}

.menu-toggle:checked~.mobile-nav {
    transform: translateY(0)
}

.menu-toggle:checked~.site-header .menu-button span:nth-child(1) {
    transform: translateY(7px) rotate(45deg)
}

.menu-toggle:checked~.site-header .menu-button span:nth-child(2) {
    opacity: 0
}

.menu-toggle:checked~.site-header .menu-button span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
}

.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* z-index: 1; */
    background: linear-gradient(120deg, rgb(90 141 161 / 23%), rgb(82 145 155 / 28%) 58% 58%, rgb(0 12 255 / 14%));
}

.hero-copy {
    width: min(1500px, 90%);
    position: absolute;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    top: 0;
    right: 0;
    width: fit-content;
    padding-right: 3%;
}

.hero-copy .cont {
    position: relative;
    padding: 3rem;
}

.hero-copy .cont::after {
    content: "";
    height: 105%;
    width: 110%;
    position: absolute;
    background-color: #2f2f2f79;
    top: 0;
    z-index: -1;
    left: 0;
    border-left: 6px solid var(--primary);
}

.hero h1 {
    font-family: var(--gothic);
    font-size: clamp(24px, 3.5vw, 48px);
    line-height: 1.45;
    margin: 0 0 22px;
    text-shadow: 0 4px 18px rgba(0, 0, 0, .25)
}

.hero-copy>p:last-child {
    max-width: 620px;
    font-size: 15px;
    line-height: 2;
    opacity: .92
}

.hero .swiper-pagination {
    bottom: 1.5rem;
}

.hero .swiper-pagination span {
    width: 10px;
    height: 10px;
    background: #eee;
    opacity: 0.8
}

.hero .swiper-pagination .swiper-pagination-bullet-active {
    background: var(--primary);
    opacity: 1
}

.important-notice {
    background: #fff8e1
}

.important-notice ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.important-notice ul li a {
    padding-bottom: 0.5rem;
    display: block;
    font-weight: 500;
}

.notice-inner {
    max-width: 900px;
    display: flex;
    align-items: baseline;
    padding: 1.5rem 0;
}

.notice-badge {
    background: var(--accent);
    color: #fff;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    line-height: 1.5;
    display: inline-flex;
    margin-right: 15px;
}

.notice-inner strong {
    font-size: 15px;
    font-weight: 550;
    line-height: 1.6;
}

.notice-inner p {
    font-size: 13px;
    color: var(--muted);
    margin: 3px 0 0
}

.section {
    padding: 100px 24px;
    position: relative;
}

.section>.container {
    width: 100%;
    max-width: var(--container);
}

.section-heading {
    text-align: center;
    margin-bottom: 52px
}

.section-heading>span {
    display: block;
    font: 700 11px/1 Outfit, sans-serif;
    letter-spacing: .2em;
    color: var(--primary);
    margin-bottom: 5px;
}

.section-heading h2 {
    font-family: var(--gothic);
    font-size: clamp(22px, 3vw, 30px);
    margin: 0;
    display: inline-block
}

.section-heading h2:after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--accent));
    margin: 14px auto 0
}

.section-heading.align-left {
    text-align: left;
    margin-bottom: 34px
}

.section-heading.align-left h2:after {
    margin-left: 0
}

.bg-color {
    background-color: var(--bg);
}

.flex {
    display: flex;
}

.news-section .container {
    max-width: 950px;
}

.news-tabs {
    display: flex;
    border-bottom: 2px solid #f7f7f7;
}

.news-tabs>* {
    padding: 10px 35px;
    font-size: 14px;
    text-decoration: none
}

.news-tabs .active {
    color: var(--primary);
    font-weight: 700;
    border-bottom: 2px solid var(--primary);
    margin-bottom: -2px;
    background: #fff7f8;
    border-radius: 8px 8px 0 0;
}

.news-tabs a {
    font-weight: 700;
    color: var(--accent);
    /* border-bottom: 2px solid var(--accent);
    margin-bottom: -2px; */
    margin-left: 6px;
    display: flex;
    align-items: center;
    gap: 3px;
    background: #fffbf3;
    border-radius: 8px 8px 0 0;
}

.news-tabs a:hover {
    filter: brightness(0.8);
}

.news-list {
    background: #fff;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .06)
}

.news-list a {
    display: flex;
    gap: 20px;
    align-items: center;
    position: relative;
    padding: 22px 32px;
    border-bottom: 1px solid #f2efe9;
    text-decoration: none;
    transition: .2s
}

.news-list a::after {
    position: relative;
    content: "";
    background: url(assets/image/arrow_wh.svg) no-repeat;
    background-size: contain;
    right: 0px;
    width: 15px;
    filter: invert(0.2);
    height: 15px;
}

.news-list a:last-child {
    border-bottom: 0
}

.news-list a:hover {
    background: var(--bg);
}

.news-list time {
    font-size: clamp(11px, 1.2vw, 14px);
    color: #56ac42;
    white-space: nowrap
}

.news-list span:not(.cat) {
    font-size: clamp(13px, 1.4vw, 15px);
    line-height: 1.65;
    flex: 1;
    width: 100%;
    display: block;
    color: initial;
}

.news-list .cat {
    font-size: 11px;
    border: 1px solid;
    padding: 3px 10px;
    font-weight: 550;
    text-align: center;
    width:110px;
}

.news-list b {
    font-size: 24px;
    color: #ccc;
    line-height: 1
}

.news-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.soft-btn,
.outline-btn,
.primary-pill {
    position: relative;
    min-width: 250px;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-radius: 2px;
    padding: 1.2rem 3rem;
    transition: .2s;
}

.soft-btn {
    background: var(--bg);
    border: 1.5px solid #e8d8cc;
    color: #666
}

.soft-btn:hover {
    border-color: var(--primary);
    color: var(--primary)
}

.outline-btn {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent
}

.outline-btn::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid;
    border-radius: 50%;
    right: 10px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    line-height: 1.5;
    background-color: var(--primary);
    background-image: url(assets/image/arrow_wh.svg);
    background-repeat: no-repeat;
    background-size: 6px auto;
    background-position: center;
}

.outline-btn:hover {
    background: var(--primary);
    color: #fff
}

.primary-pill {
    background: var(--primary);
    color: #fff;
    gap: 10px;
}

.primary-pill::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid #fff;
    border-radius: 50%;
    right: 10px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    line-height: 1.5;
    background-image: url(assets/image/arrow_wh.svg);
    background-repeat: no-repeat;
    background-size: 6px auto;
    background-position: center;
}

.primary-pill:hover {
    background: var(--primary-dark)
}

.about-section {
    z-index: 1;
}

.two-column {
    display: flex;
    gap: 60px;
    align-items: flex-start
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35%;
}

.about-copy {
    width: 65%;
}

.visual-glow {
    position: absolute;
    width: 85%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, #fff5e6 0%, #fde8e8 60%, transparent 100%)
}

.about-visual img {
    width: 88%;
    max-width: 400px;
    position: relative;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .1))
}

.about-copy>p {
    line-height: 2.1;
    margin: 0 0 36px
}

.consult-box {
    background: #fff;
    border-radius: 14px;
    padding: 2rem;
    font-size: 14px;
    border-left: 4px solid var(--accent);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06)
}

.consult-box .outline-btn {
    margin-left: auto;
    width: fit-content;
    display: flex;
    padding-right: 3.5rem;
}

.consult-box h3 {
    display: inline-flex;
    font-size: 20px;
    font-weight: 550;
    margin: 0 0 16px
}

.consult-box div {
    margin: 0 0 20px
}

.consult-box div dl {
    display: flex;
    gap: 12px;
    margin: 10px 0
}

.consult-box dt {
    color: var(--primary);
    font-weight: 600;
    min-width: 64px
}

.consult-box dd {
    margin: 0
}

.paw {
    position: absolute;
    opacity: .055;
    pointer-events: none;
    z-index: -1;
}

.paw-left {
    width: 36vw;
    height: 40vh;
    top: -25%;
    left: -1%;
    content: "";
    background: url(assets/image/cat-paws.png);
    transform: rotate(5deg);
    background-size: contain;
    background-repeat: no-repeat;
}

.paw-right {
    width: 32vw;
    height: 35vh;
    bottom: -16%;
    right: -1%;
    content: "";
    background: url(assets/image/cat-paws.png);
    transform: rotate(190deg);
    background-size: contain;
    background-repeat: no-repeat;
}

.services-section {
    z-index: 0;
    margin-top: -15rem;
    padding-top: 18rem;
}

.services-section,
.access-section {
    background: var(--bg)
}

.services-section .container {
    max-width: 1500px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.service-grid a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 1rem;
    background: #fff;
    border: 1.5px solid transparent;
    border-radius: 5px;
    text-decoration: none;
    color: #444;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
    transition: .22s
}

.service-grid a:hover {
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 4px 10px rgb(229 179 0 / 10%);
    transform: translateY(-3px)
}

.service-grid img {
    width: 75%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: contain;
    max-width: 120px;
}

.service-grid span {
    font-weight: 600;
    text-align: center
}

.center {
    text-align: center;
    margin-top: 4rem;
}

.latest {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px
}

.button-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.button-row a {
    border-radius: 50px;
    justify-content: flex-start;
    min-width: 220px;
    font-size: 14px;
    padding: 0.8rem 1.2rem;
    padding-right: 3.5rem;
}

.bulletin-section .img_bottom {
    position: absolute;
    width: 24vw;
    max-width: 460px;
    left: 3%;
    bottom: -3.5%;
    z-index: 50;
}

.memberList {
    display: flex;
    list-style: none;
    gap: 2rem;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 4rem auto 6rem;
    padding: 0;
}

.memberList li {
    width: 100%;
}

.memberList li a[href $='.pdf'] {
    background-image: none;
    background-color: #090D77;
    color: #fff;
    border: 2px solid;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    text-decoration: none;
    text-align: center;
    padding: 1.6rem 1rem;
    font-size: 20px;
    font-weight: 600;
    justify-content: center;
    padding-right: 40px;
}

.memberList li a svg {
    width: 40px;
    ;
}

.memberList li a svg path {
    fill: #fff;
}

.memberList li:nth-child(2) a {
    background-color: #fff;
    color: #090D77;
}

.memberList li:nth-child(2) a svg path {
    fill: #090D77;
}

.access-grid {
    display: flex;
    gap: 40px;
    align-items: start
}

.map-card {
    width: 60%;
}

.map-card iframe {
    display: block;
    border: 0;
    width: 100%;
}

.access-card {
    width: 40%;
    background: #fff;
    border-radius: 5px;
    padding: 36px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .06)
}

.access-card h3 {
    font-size: 18px;
    margin: 0 0 15px;
    font-weight: 500;
}

.access-card table {
    margin: 0
}

.access-card table tr {
    border-bottom: 2px solid #f0ede8
}

.access-card table th,
.access-card table td {
    padding: 14px 0;
}

.access-card th,
.access-card table td:first-child {
    font-size: 14px;
    font-weight: 600;
    min-width: 72px;
    position: relative;
    padding:0.5rem 0!important;
}

.access-card th::after,
.access-card table td:first-child::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 2px;
    left: 0;
    bottom: -2px;
    /* background: linear-gradient(90deg, var(--primary), var(--accent), var(--accent)); */
    background: #56ac42;
}

.access-card dd {
    margin: 0;
}

.links-section {
    padding-left: 0;
    padding-right: 0
}

.link-marquee {
    max-width: 1500px;
    width: 100%;
    margin: auto;
    overflow: hidden;
    margin-bottom: 4rem;
    position: relative;
}

.link_slider {
    margin: 0 80px;
    overflow: hidden;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary);
    border-radius: 50%;
    background-color: #fff2f2;
    width: 45px;
    height: 45px;
}

.swiper-button-prev {
    left: 0;
}

.swiper-button-next {
    right: 0;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    filter: brightness(0.8);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 0.8rem;
    font-weight: 600;
}

.link_slider .swiper-slide {
    transition: .2s
}

.link_slider .swiper-slide:hover {
    filter: brightness(0.8);
}

.link_slider .swiper-slide img {
    width: 100%;
    height: auto;
}

@keyframes marquee {
    to {
        transform: translateX(-50%)
    }
}

.site-footer {
    background: #1c1c1c;
    color: #ddd;
    position: relative;
}

.site-footer img.footer_top {
    position: absolute;
    width: 25vw;
    max-width: 360px;
    right: 10%;
    bottom: 83%;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding-top: 64px;
    padding-bottom: 48px
}

.footer-main address {
    font-style: normal;
    font-size: 13px;
    line-height: 2.1;
    margin-top: 20px
}

.footer-label {
    font: 700 13px Outfit, sans-serif;
    letter-spacing: .14em;
    color: #777;
    margin: 0 0 16px
}

.footer-nav ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav ul li {
    width: fit-content;
}

.footer-nav a {
    color: #ddd;
    text-decoration: none;
    font-size: 13px
}

.footer-nav a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .09);
    padding-top: 24px;
    padding-bottom: 40px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: #ddd;
    font-size: 12px
}

.footer-bottom a {
    color: #ddd;
    text-decoration: none;
    margin-right: 20px
}

#page-top {
    position: fixed;
    right: 3%;
    bottom: 3%;
    margin: 0;
    z-index: 1000;
    opacity: 0;
    transform: translateY(100px);
}

#page-top a {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 160%;
    transition: all 0.3s;
    font-family: auto;
}

#page-top a:hover {
    filter: opacity(0.7);
}

.UpMove {
    animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*pages*/
.sv {
    min-height: 250px;
    display: flex;
    align-items: center;
    margin-top: 72px;
}

.sv .container {}

.sv .title {
    font-family: var(--gothic);
    font-size: clamp(28px, 4.0vw, 40px);
    position: relative;
    text-align: center;
}

.sv .title span {
    display: block;
    font: 700 13px / 1 Outfit, sans-serif;
    letter-spacing: .2em;
    color: var(--primary);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.sv .title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--accent));
    margin: 14px auto;
}

.breadcrumb {
    display: flex;
    font-size: 12px;
    color: var(--muted);
    gap: 5px;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.article {
    min-height: 60vh;
    padding-bottom: 6rem;
}

.btn-home {
    border-top: 1px solid var(--border);
    padding: 3rem 0;
}

.btn-home .outline-btn::after {
    right: auto;
    left: 10px;
    transform: rotate(180deg);
}

.service-cont1 {
    margin: 20rem 0 6rem;
    position: relative;
    padding: 10rem 0 5rem;
}

.service-cont1 .container {
    margin-top: -25rem;
}

.service-cont1 .container .service-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.dlList {}

.dlList dl {
    margin: 3rem 0;
}

.dlList dl dd {
    margin: 1rem 0;
    padding: 1rem;
    font-size: 18px;
    font-weight: 550;
    background: #eee;
}

.dlList dl dt {
    padding: 0 1rem;
}

.member-wrap {
    gap: 2rem;
    justify-content: space-between;
}

.member-wrap .news-list {
    border-radius: 8px;
}

.cat-list dl {
    margin-bottom: 4rem;
}

.cat-list dd a {
    font-size: 120%;
    font-weight: 600;
    color: var(--primary);
    margin-right: 2rem;
    white-space: nowrap;
}

.faq-list {
    counter-reset: index_count;
}

.faq-list details {
    margin-bottom: 2rem;
    position: relative;
    /* background: var(--bg); */
    border: 2px solid #ddd;
    border-radius: 3px;
}

.faq-list details::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    right: 10px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    line-height: 1.5;
    background-color: #2fa2e9;
    background-image: url(assets/image/arrow_wh.svg);
    background-repeat: no-repeat;
    background-size: 6px auto;
    background-position: center;
    top: 1rem;
    border-radius: 50%;
    transform: rotate(90deg);
    transition: all 0.2s;
}

.faq-list details[open]::after {
    transform: rotate(270deg);
}

.faq-list summary {
    position: relative;
    list-style: none;
    font-weight: 500;
    font-size: 18px;
    padding: 1rem 3rem 1rem 5rem;
    cursor: pointer;
}

.faq-list summary::before {
    counter-increment: index_count;
    content: 'Q ' counter(index_count, decimal-leading-zero);
    padding-right: 1rem;
    font-weight: 800;
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    color: #2fa2e9;
    position: absolute;
    left: 1rem;
    top: 1rem;
    line-height: 1;
}

.faq-list details .answer {
    position: relative;
    padding: 0rem 0.5rem 1rem;
    padding-left: 5rem;
}

.faq-list details .answer::before {
    content: 'A';
    font-weight: 800;
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    position: absolute;
    left: 3rem;
    top: 0rem;
    line-height: 1;
}

/*post*/
.page-h2,
.article h2 {
    margin: 2rem 0 3rem;
    font-family: var(--gothic);
    font-size: clamp(20px, 2.8vw, 28px);
    letter-spacing: 2px;
    /* padding: 0.5rem;
    border-bottom: 5px double var(--accent); */
    background: #fffbe3;
    padding: 0.8rem 1rem;
    /* border: 2px solid var(--accent); */
    border-left: 10px solid var(--accent);
    box-shadow: 1px 1px 4px #efefdf;
}

.post_cont h3 {
    font-weight: 500;
    font-size: clamp(18px, 2.0vw, 22px);
    padding: 0.5rem;
    border-bottom: 5px double #56ac42;
}

.post_cont h4 {
    font-size: clamp(16px, 1.7vw, 20px);
    font-weight: 550;
    color: var(--accent);
    margin: 2rem 0 1rem;
}

.post_cont li {
    margin: 0.5rem 0;
}

.post_cont ol>li {
    margin-bottom: 1.5rem;
}

.post_meta {
    text-align: end;
}

.post_meta .cat {
    background: #444;
    color: #fff;
    font-size: 13px;
    border-radius: 5px;
    margin: 10px;
    padding: 4px 12px;
    font-weight: 500;
    letter-spacing: 2px;
}

.post_cont table:not(.fc-view table) {
    border-collapse: collapse;
    width: 100%;
}

.post_cont table:not(.fc-view table) tr {
    border-bottom: 2px solid #f0ede8;
}

.post_cont table:not(.fc-view table) th,
.post_cont table:not(.fc-view table) td {
    border: none;
    position: relative;
    padding: 1.0rem 1.5rem;
}

.post_cont table:not(.fc-view table) th::after,
.post_cont table:not(.fc-view table) td:nth-child(1)::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 2px;
    left: 0;
    bottom: -2px;
    /* background: linear-gradient(90deg, var(--primary), var(--accent), var(--accent)); */
    background: #56ac42;
}

.pagination {
    margin: 4rem auto;
    text-align: center;
}

.pagination .page-numbers {
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 3px 10px;
    text-decoration: none;
    margin: 3px;
}

.pagination .page-numbers.next,
.pagination .page-numbers.prev {
    display: none;
}

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

/*Kaiho*/
.kaihoList {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    list-style: none;
    text-align: center;
    color: var(--primary-dark);
    padding: 0;
}

.kaihoList a:hover {}

.kaihoList a img {
    width: 100%;
    border: 1px solid #666;
}

/*EVENT*/
.fc-view-container :after,
.fc-view-container :before {
    display: none;
}
.post_cont .fc-left h2{
    font-weight: 600;
    font-size: clamp(18px, 2.0vw, 22px);
    padding: 0;
    margin-bottom: 2rem;
    color: var(--accent);
    box-shadow: none;
}

.post_cont .fc-right {
    /* display: none; */
}

.post_cont .fc-event-container a{
    pointer-events: none!important;
}
.post_cont .fc td.fc-today {
    border-style: inherit;
}

.post_cont .fc-time {
    display: block;
}

.post_cont .fc-content {
    padding: 5px;
}
.post_cont .fc-title{
    font-weight: 550;
    margin-top:5px;
    display: block;
}
.post_cont .eo-event-venue{
    margin:1rem 0 0;
    font-size: 80%;
}
.eo-custom-time{
    display: block;
}

/*CONTACT*/
.contact-tb {
    max-width: 900px;
    margin: auto;
    ;
}

input[name="your-zip"] {
    width: auto;
    max-width: 180px;
    margin-left: 1rem;
}
input[type="checkbox"]{
appearance: auto;
}
.contact-tb th span {
    color: var(--primary);
    font-size: 70%;
}

/*SITEMAP*/
.sitemap{
    padding: 2rem;
    background: var(--bg);
    border-radius: 10px;
}
.sitemap .sitemap-list{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    max-width: 900px;
    margin: 2rem auto;
    gap: 2rem;
    padding:0;
}

/*Parts*/
a[href $='.pdf'] {
    background: url(assets/image/icon_pdf.png) no-repeat right;
    background-size: 18px;
    padding-right: 20px;
}

a[href $='.xls'] {
    background: url(assets/image/icon_xls.png) no-repeat right;
    background-size: 18px;
    padding-right: 20px;
}

a[href $='.docx'] {
    background: url(assets/image/icon_docx.png) no-repeat right;
    background-size: 18px;
    padding-right: 20px;
}

.post_cont a:not(.primary-pill, .outline-btn) {
    color: var(--primary-dark)
}

.post_cont a[target="_blank"],
.post_cont a[target="blank"] {
    position: relative;
}

.post_cont a[target="_blank"]:not(a[href $='.pdf'])::after,
.post_cont a[target="blank"]:not(a[href $='.pdf'])::after {
    position: relative;
    display: inline-block;
    right: 0;
    content: "";
    width: 16px;
    height: 16px;
    background: url(assets/image/external-link.svg) no-repeat;
    background-size: contain;
    background-position: bottom;
    margin: 0 5px;
}

.editor-button a {
    background: #666;
}

.editor-columns {
    display: grid;
    gap: 30px;
}

.editor-columns--2 {
    display: flex;
    grid-template-columns: repeat(2, 1fr);
}

.editor-columns--3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 767px) {

    .editor-columns--2,
    .editor-columns--3 {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
}

.editor-accordion {
    margin-bottom: 1.5rem;
    position: relative;
    background: #f4f6f7;
    border-radius: 3px;
}

.editor-accordion summary {
    position: relative;
    font-weight: 500;
    font-size: 18px;
    padding: 1rem;
    cursor: pointer;
}

.editor-accordion summary::marker {
    color: #56ac42;
}

.editor-accordion__content {
    padding: 1rem 1.5rem;
}

/*private*/
#wpmem_login,
#wpmem_reg,
#wpmem_restricted_msg {
    max-width: 800px;
    margin: 2rem auto 4rem;
    font-family: inherit !important;
}

.article .wpmem_msg{
    margin:2rem auto 4rem;
}

.article #wpmem_login legend,
.article #wpmem_reg legend {
    margin-bottom: 2rem;
}

.article #wpmem_login input[type="password"],
.article #wpmem_login input[type="text"],
.article #wpmem_reg input[type="date"],
.article #wpmem_reg input[type="email"],
.article #wpmem_reg input[type="file"],
.article #wpmem_reg input[type="number"],
.article #wpmem_reg input[type="password"],
.article #wpmem_reg input[type="text"],
.article #wpmem_reg input[type="url"],
.article #wpmem_reg textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #bbb;
    appearance: none;
}
.article #wpmem_login input[type="submit"],
.article #wpmem_reg input[type="submit"],
.post-password-form button[type="submit"]{
    margin:2rem auto;
    font-family: inherit!important;
    cursor: pointer;
}
#wpmem_login .button_div input[type="checkbox"]{
   margin: -3px 2px;
  width: initial;
  padding: 8px;
}
#member {}

#member #main {
    width: 65%;
}

/*sidebar*/
#sidebar {
    width: 25%;
    padding: 2rem 0;
}

#sidebar .cont {
    margin-bottom: 3rem;
}

#sidebar h3 {
    font-family: var(--gothic);
    font-size: clamp(20px, 2.0vw, 24px);
    letter-spacing: 1px;
}

#sidebar .banner {
    width: 100%;
    position: relative;
    text-align: center;
    display: inline-flex;
    justify-content: start;
    align-items: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    border-radius: 2px;
    padding: 1.4rem 1rem;
    background: #444;
    color: #fff;
    gap: 10px;
    transition: .2s;
}

#sidebar .banner:hover {
    filter: brightness(0.8);
}

#sidebar .areaList {
    list-style: none;
    padding: 0;
    border-top: 2px dotted var(--muted);
}

#sidebar .areaList a {
    text-decoration: none;
    position: relative;
    padding: 0.8rem 0;
    display: block;
    width: 100%;
    border-bottom: 2px dotted var(--muted);
}

#sidebar .areaList a::before {
    content: "";
    position: absolute;
    width: 27px;
    height: 27px;
    border: 1px solid #fff;
    border-radius: 50%;
    right: 5px;
    top: 21%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    line-height: 1.5;
    background-image: url(assets/image/arrow_wh.svg);
    background-repeat: no-repeat;
    background-size: 5px auto;
    background-position: center;
    filter: invert(0.7);
}

#sidebar .kaiho {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    border-radius: 10px;
    padding: 1rem;
    ;
}

#sidebar .kaiho a:not(.primary-pill) {
    background: none;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    max-width: 200px;
    display: block;
    margin: 0rem auto 1rem;
}

#sidebar .kaiho img {
    width: 100%;
    max-width: 100%;
    border: 1px solid #ccc;
    margin: 1rem auto 0;
    display: block;
}

#sidebar .kaiho .primary-pill {
    min-width: 100%;
    border-radius: 50px;
    font-size: 14px;
    padding: 0.8rem 1.2rem;
    padding-right: 3.5rem;
}

select,
input,
textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #bbb;
    appearance: none;
}

input[type="submit"] {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 4rem auto;
    background: var(--primary);
    padding: 10px 18px;
    text-shadow: none;
    color: #fff;
    white-space: nowrap;
    border: none;
    font-weight: 500;
    width: auto;
    min-width: 200px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.2s;
}

input[type="submit"]:hover {
    filter: opacity(0.7);
}

select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    appearance: none;
    background: #fff;
    font-size: 15px;
}

.selectbox {
    position: relative;
}

.selectbox::after {
    border-right: 1px solid;
    border-top: 1px solid;
    width: 8px;
    height: 8px;
    transform: rotate(135deg);
    content: "";
    position: absolute;
    right: 14px;
    top: -3px;
    bottom: 0;
    margin: auto 0;
}

@media(max-width:900px) {
    .site-header {
        background: #fff;
    }

    .header-inner {
        height: 60px;
    }

    .site-logo {
        height: 36px;
    }

    .desktop-nav {
        display: none
    }

    .menu-button {
        display: flex
    }

    .two-column {
        grid-template-columns: 1fr
    }

    .access-grid {
        flex-direction: column;
    }

    .map-card {
        width: 100%;
    }

    .map-card iframe {
        height: 300px;
    }

    .access-card {
        width: 100%;
        padding: 28px 22px
    }

    .service-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .scroll-hint {
        right: 20px
    }

    .service-cont1 .container .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .member-wrap {
        display: block;
    }

    #sidebar {
        width: 100%;
    }

    #member #main {
        width: 100%;
    }
}

@media(max-width:640px) {
    .container {
        width: min(100% - 32px, var(--container))
    }

    .section {
        padding: 72px 16px
    }

    .hero {
        min-height: 560px
    }

    .hero-copy {
        width: 100%;
        padding: 0;
    }

    .hero-copy .cont {
        padding: 2rem 1.5rem;
    }

    .hero-copy>p:last-child {
        font-size: 14px
    }

    .important-notice {
        padding: 0 16px
    }

    .notice-inner {
        width: 100%
    }

    .news-tabs>* {
        font-size: 13px
    }

    .news-list a {
        padding: 18px 16px;
        gap: 10px;
        flex-wrap: wrap
    }

    .news-list time {
        width: 100%;
    }
    .news-list .cat{
        width:100%;
    }

    .news-actions {
        align-items: stretch
    }

    .paw-left {
        background-position: bottom;
        width: 45vw;
        top: -15%;
    }

    .two-column {
        flex-direction: column-reverse;
        gap: 20px;
        align-items: flex-end;
    }

    .section-heading {
        margin-bottom: 36px
    }

    .section-heading.align-left {
        text-align: center
    }

    .section-heading.align-left h2:after {
        margin-left: auto
    }

    .about-copy {
        width: 100%;
    }

    .about-copy>p {
        font-size: 14px
    }

    .about-visual {
        width: 65%;
    }

    .consult-box {
        padding: 2rem 1rem;
    }

    .services-section {
        padding-top: 10rem;
        margin-top: -12rem;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px
    }

    .service-grid a {
        padding: 22px 10px
    }

    .paw-right {
        background-position: bottom;
        width: 40vw;
    }

    .button-row {
        justify-content: center;
    }

    .memberList {
        flex-direction: column;
        gap: 0;
    }

    .bulletin-section .img_bottom {
        width: 40vw;
    }

    .link_slider {
        margin: 0 50px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 32px;
        height: 32px;
    }

    .sv {
        min-height: 100px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 0.6rem;
    }

    .faq-list summary {
        padding: 1rem 2rem 1rem 3.5rem;
        font-size: 16px;
    }

    .faq-list summary::before {
        font-size: 20px;
        left: 0.5rem;
    }

    .faq-list details::after {
        width: 20px;
        height: 20px;
        right: 5px;
        top: 1.3rem;
    }

    .faq-list details .answer {
        font-size: 14px;
        padding-left: 3rem;
    }

    .faq-list details .answer::before {
        left: 1.5rem;
        font-size: 20px;
    }
    .sitemap .sitemap-list{
        grid-template-columns: repeat(2,1fr);
    }

    .post_cont table:not(.fc-view table) tr {
        display: block;
        margin-bottom: 1rem;
    }

    .post_cont table:not(.fc-view table) th,
    .post_cont table:not(.fc-view table) td {
        display: block;
        width: 100% !important;
        text-align: left;
        word-break: auto-phrase;
        padding: 0.5rem;
    }

    .site-footer img.footer_top {
        width: 40vw;
        right: 2%;
        bottom: 95%;
    }

    .footer-main {
        grid-template-columns: 1fr;
        padding-top: 48px
    }

    .footer-nav {
        grid-template-columns: 1fr 1fr
    }

    .footer-bottom {
        padding-bottom: 30px
    }

    .scroll-hint {
        display: none
    }
}