/*
Theme Name: Jiyuchou Lab
Author: お多福ラボ
Author URI: https://otafuku-lab.co/
Requires PHP: 8.2
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: jiyuchou
*/
html, body {
    scroll-behavior: smooth;
    font-family: "Zen Maru Gothic", sans-serif;
	height: 100%;
	margin: 0;
	padding: 0;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    width: 100%;
}

.wrapper {
    margin-top: 8.3rem;
}

.main-color {
    color: #178FDC;
}

.sub-color {
    color: #30B990;
}

.white-color {
    color: #ffffff;
}

.main-back-color {
    background-color: #178FDC;
}

.sub-back-color {
    background-color: #30B990;
}

.sp-back-color {
    background-color: #EEF3F7;
}

.sp-sub-back-color {
    background-color: #F5F5F5;
}

.gradation-back-color {
    background: linear-gradient(to right, #30B990, #178FDC);
}

.white-back-color {
    background-color: #ffffff;
}

.others-back-color {
    background-color: #D2EBFF;
}

.service-back-color {
    background-color: #EEF3F7;
}

.facility-back-color {
    background-color: #F5F5F5;
}

.card-back-color {
    background-color: #D5F1FF;
}

/* ヘッダ */
.header-fixed-frame {
    position: fixed;
    top: 0;
    background-color: #ffffff;
    border: 1px solid #dcdcdc;
    z-index: 99;
    border-radius: 624.9375rem;
    box-sizing: border-box;
    font-size: 1rem;
}

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

.header-left {
    display: flex;
    align-items: center;
    z-index: 100;
}

.header-right {
    display: flex;
    align-items: center;
    z-index: 100;
}

.site-branding-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.site-title-text {
    font-weight: 900;
    margin: 0 0 0 1rem;
    padding: 0;
}

.header-nav {
    margin-left: auto;
    padding: 0 1.5rem 0 0;
    font-weight: bold;
}

.header-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}

.header-nav li {
    position: relative;
}

.header-nav li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 1.0rem;
    background-color: #EDEDED;
}

.header-nav a {
    text-decoration: none;
    white-space: nowrap;
    padding: 0.5rem 0;
}

.header-nav a:hover {
    opacity: 0.9;
}

.header-nav .has-dropdown > a {
    padding-right: 1.2rem;
    position: relative;
}

.header-nav .has-dropdown > a::after {
    content: '>';
    font-size: 0.5rem;
    font-weight: bold;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(90deg) scaleY(2) rotateY(0deg);
    transition: transform 0.5s ease-out;
}

.dropdown-menu {
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: 100;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    top: 150%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    border: 1px solid #dcdcdc;
    display: flex;
    flex-direction: column;
    gap: 0 !important;
}

.dropdown-menu li {
    padding: 1rem 1.5rem;
    margin: 0;
    border-bottom: 1px solid #dcdcdc;
    line-height: 1;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    padding: 0;
    margin: 0;
    display: block;
    font-size: 0.8rem;
    white-space: nowrap;
    text-align: center;
    text-decoration: none;
}

.dropdown-menu a:hover {
    opacity: 0.9;
}

.header-nav .has-dropdown:hover .dropdown-menu {
    opacity: 1;
}

.header-nav .has-dropdown:hover > a::after {
    transform: translateY(-50%) rotate(90deg) scaleY(2) rotateY(180deg);
}

.contact-button-color {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 624.9375rem;
    text-decoration: none;
    font-size: 0.875rem;
    white-space: nowrap;
}

.contact-button-color:hover {
    opacity: 0.9;
}

body.menu-open {
    overflow: hidden;
}

/* モバイル */
.mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: 0.5rem;
    border-radius: 624.9375rem;
    background-color: #F5F5F5;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 100;
    box-sizing: border-box;
}

.mobile-menu-toggle .menu-icon-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 14px;
}

.mobile-menu-toggle .menu-icon-inner span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #178FDC;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .menu-icon-inner span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.active .menu-icon-inner span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .menu-icon-inner span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    z-index: 98;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-out, visibility 0s linear 0.6s;
    padding: 10rem 0 0 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
    width: 100%;
}

.mobile-nav li {
    margin: 1.5rem 0;
    position: relative;
}

.mobile-nav a {
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: bold;
    display: block;
    padding: 0.5rem 0;
}

.mobile-nav a:hover {
    opacity: 0.8;
}

.mobile-nav .has-dropdown > a {
    padding-right: 1.2rem;
    position: relative;
}

.mobile-nav .has-dropdown > a::after {
    content: '>';
    font-size: 0.5rem;
    font-weight: bold;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(90deg) scaleY(2) rotateY(0deg);
    transition: transform 0.5s ease-out;
    margin-left: 1rem;
}

.mobile-nav .has-dropdown.open > a::after {
    transform: translateY(-50%) rotate(90deg) scaleY(2) rotateY(180deg);
}

.mobile-dropdown-menu {
    list-style: none;
    padding: 0;
    margin-top: 0.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    border-radius: 0.5rem;
}

.mobile-nav .has-dropdown.open .mobile-dropdown-menu {
    max-height: 500px;
}

.mobile-dropdown-menu li {
    margin: 0;
    padding: 0.8rem 0;
}

.mobile-dropdown-menu a {
    font-size: 0.875rem;
    font-weight: bold;
    padding: 0; 
}

/* フッタ */
.footer-frame {
    background-color: #ffffff;
    width: 100%;
}

.footer-top-row {
    width: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-container {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.footer-contents {
    display: flex;
    justify-content: flex-start;
}

.footer-content {
    display: flex;
    flex-direction: column;
}

.footer-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-content li {
    display: flex;
    align-items: center;
}

.footer-content li:last-child {
    margin-bottom: 0;
}

.footer-content li:before {
    content: "•";
    color: #178FDC;
    margin-right: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    line-height: 0;
}

.footer-content a {
    color: #000000;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: bold;
    white-space: nowrap;
}

.footer-content a:hover {
    opacity: 0.9;
}

.footer-nav {
    display: flex;
    justify-content: flex-start;
}

.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav li {
    display: flex;
    align-items: center;
}

.footer-nav li:before {
    content: "•";
    color: #30B990;
    margin-right: 0.75rem;
    font-size: 2.5rem;
    line-height: 0;
}

.footer-nav a {
    color: #000000;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: bold;
    white-space: nowrap;
}

.footer-nav a:hover {
    opacity: 0.9;
}

.footer-bottom-row {
    text-align: center;
}

.copyright {
    font-size: 0.75rem;
    font-weight: medium;
    margin: 0;
}

/* フロント */
.front-frame {
    position: relative;
}

.front-frame::after {
    width: 92.84%;
    aspect-ratio: 155 / 478;
    content: "";
    position: absolute;
    opacity: 1;
    z-index: -1;
    border-top-right-radius: 2rem;
    border-bottom-right-radius: 2rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background-color: #D2EBFF;
    display: block;
    bottom: -30rem;
    left: -2rem;
}

@media (min-width: 768px) {
    .front-frame::after {
        width: 77.78%;
        aspect-ratio: 70 / 89;
        bottom: -10rem;
        left: -1.5rem;
    }
}

@media (min-width: 1024px) {
    .front-frame::after {
        width: calc(50% + 5rem);
        aspect-ratio: 6 / 5;
        bottom: -12rem;
        left: -5rem;
    }
}

.front-content-wrapper {
    position: absolute;
    z-index: 1;
    width: 100%;
}

.front-content-item {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0.2rem 0.2rem 0 #178FDC;
    width: fit-content;
    padding: 1rem 2rem;
    font-weight: bold;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left center;
}

.text-animation-inner {
    position: relative;
    display: inline-block;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.8s cubic-bezier(0.37, 0, 0.63, 1);
    opacity: 0; 
    transition: clip-path 0.8s cubic-bezier(0.37, 0, 0.63, 1), opacity 0.3s ease-in;
}

.front-content-wrapper.is-animated .front-content-item {
    animation: expandFromLeft 0.8s ease-out forwards;
}

.front-content-wrapper.is-animated .front-content-item .text-animation-inner {
    clip-path: inset(0);
    opacity: 1;
}

.front-content-wrapper.is-animated .front-content-item:nth-child(1) { animation-delay: 0s; }
.front-content-wrapper.is-animated .front-content-item:nth-child(2) { animation-delay: 0.2s; }
.front-content-wrapper.is-animated .front-content-item:nth-child(3) { animation-delay: 0.4s; }
.front-content-wrapper.is-animated .front-content-item:nth-child(4) { animation-delay: 0.6s; }

.front-content-wrapper.is-animated .front-content-item:nth-child(1) .text-animation-inner { transition-delay: 0.4s; }
.front-content-wrapper.is-animated .front-content-item:nth-child(2) .text-animation-inner { transition-delay: 0.6s; }
.front-content-wrapper.is-animated .front-content-item:nth-child(3) .text-animation-inner { transition-delay: 0.8s; }
.front-content-wrapper.is-animated .front-content-item:nth-child(4) .text-animation-inner { transition-delay: 1.0s; }

@keyframes expandFromLeft {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }
    1% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* お知らせ */
.front-notice-frame {
    position: relative;
    background-color: #ffffff;
	border: 1px solid #EBEBEB;
    border-radius: 1rem;
    box-sizing: border-box;
}

.notice-container {
    display: flex;
    overflow: hidden;
    box-sizing: border-box;
}

.notice-up-column {
    position: absolute;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    top: -1.5rem;
}

.notice-left-column {
    flex-shrink: 0;
    margin: 2.9375rem 2.5625rem 2.9375rem 2.5625rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.notice-icon {
    object-fit: contain;
}

.notice-right-column {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.notice-heading {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #dcdcdc;
    padding-bottom: 0.75rem;
}

.notice-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.notice-title .new-label {
    font-size: 0.875rem;
    font-weight: 900;
}

.notice-title .notice-title-text {
    font-size: 1.5rem;
    font-weight: bold;
}

.notice-all-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    border-radius: 2rem;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.notice-all-link:hover {
    opacity: 0.9;
}

.notice-all-link-text {
    margin: 1rem 2.5rem 1rem 1.5rem;
    font-size: 0.75rem;
}

.notice-all-link-icon-wrapper {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 1rem;
    background-color: #ffffff;
    border-radius: 624.9375rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.button-arrow-icon {
    width: 0.8rem;
    height: 0.8rem;
    transition: stroke 0.2s ease;
}

.notice-all-link:hover .button-arrow-icon {
    opacity: 0.9;
}

.notice-list {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-top: 0.2rem;
    gap: 0.05rem;
}

.notice-item {
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #F5F5F5;
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-link {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    padding: 0.75rem 0;
    box-sizing: border-box;
}

.notice-link:hover {
    background-color: #f9f9f9;
}

.notice-meta {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin-right: 1rem;
    gap: 0.2rem;
}

.notice-category {
    color: #ffffff;
    padding: 0.5rem 2rem;
    border-radius: 624.9375rem;
    font-size: 0.75rem;
}

.notice-date {
    font-size: 0.875rem;
    font-weight: medium;
}

.notice-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 0 0.5rem;
    font-size: 0.875rem;
    font-weight: medium;
}

.arrow-container {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

/* お知らせ一覧 */
.archive-notice-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.archive-notice-content {
    background-color: #ffffff;
    border: 1px solid #E5E5E5;
    border-radius: 0.8rem;
    padding: 1.5rem 2rem 3rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.archive-notice-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-tag {
    display: flex;
    align-items: center;
    width: fit-content;
    font-size: 0.75rem;
    font-weight: bold;
    color: #000000;
    padding: 0.25rem 0.375rem;
    border-radius: 0.25rem;
    white-space: nowrap;
}

.facility-tag {
    display: flex;
    align-items: center;
    width: fit-content;
    font-size: 0.75rem;
    font-weight: bold;
    color: #ffffff;
    padding: 0.25rem 1rem;
    border-radius: 1.25rem;
    white-space: nowrap;
}

.archive-notice-title {
    margin-top: 0.75rem;
}

.archive-notice-excerpt {
    margin-top: 1rem;
}

.read-more-button {
    position: absolute;
    right: 0;
    bottom: 0;
    border-top-left-radius: 0.8rem;
    border-bottom-right-radius: 0.8rem;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
}

.read-more-button:hover {
    opacity: 0.9;
}

.read-more-text {
    display: flex;
    align-items: center;
    font-size: 0.6rem;
    flex-grow: 1;
}

.read-more-icon {
    margin-left: 1.5rem;
}

.read-more-button:hover .read-more-arrow-icon {
    opacity: 0.9;
}

/* お知らせ詳細 */
.notice-meta-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
}

.single-notice-title {
    display: flex;
    align-items: center;
    font-weight: bold;
}

/* サービス */
.services-container {
    width: fit-content;
}

.services-header {
    text-align: left;
}

.service-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-title .service-label {
    font-weight: 900;
}

.service-title .service-title-text {
    font-weight: bold;
}

.service-card {
    display: flex;
    background-color: #ffffff;
	border: 1px solid #E8E9EB;
    border-radius: 1rem;
    overflow: hidden;
}

.service-text-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.service-card-title {
    font-weight: bold;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #dcdcdc;
    box-sizing: border-box;
}

.service-card-description {
    padding-top: 1.25rem;
    font-weight: medium;
}

.service-card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f0f0f0;
    margin-top: auto;
    align-self: flex-end;
    border-radius: 2rem;
    cursor: pointer;
    white-space: nowrap;
}

.service-card-link a {
    text-decoration: none;
}

.service-card-link:hover {
    opacity: 0.9;
}

.service-card-link-text {
    margin-left: 1.5rem;
    font-weight: bold;
}

.service-card-link-icon-wrapper {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 1rem;
    border-radius: 624.9375rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-card-link:hover .button-arrow-icon {
    opacity: 0.9;
}

.card-photo-container {
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-image-container {
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-photo {
    width: auto;
    object-fit: cover;
    display: block;
}

.card-image {
    height: auto;
    object-fit: cover;
    display: block;
}

/* 施設 */
.section-header {
    text-align: center;
}

.nurseries {
    height: auto;
    display: inline-block;
}

.section-title {
    font-weight: bold;
}

.facility-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
    justify-items: center;
}

.facility-cards-grid:has(.facility-card:only-child) {
    grid-template-columns: 1fr;
    place-items: center;
}

@media (min-width: 1024px) {
    .facility-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        justify-items: unset;
    }

    .facility-cards-grid:not(:has(.facility-card:only-child)) > .facility-card:nth-child(2n + 1) {
        justify-self: end;
    }

    .facility-cards-grid:not(:has(.facility-card:only-child)) > .facility-card:nth-child(2n) {
        justify-self: start;
    }
}

.facility-card {
	border: 1px solid #E5E5E5;
    border-radius: 1rem;
    display: flex;
	position: relative;
}

.facility-card-left {
    flex: 0 0 45%;
    padding: 0.75rem;
}

.facility-card-right {
    flex: 0 0 55%;
}

.facility-card-header {
    display: flex;
    flex-direction: row;
}

.facility-image-wrapper {
	margin: 0.75rem;
    width: fit-content;
    height: fit-content;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 0.5rem;
}

.facility-image {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.facility-text-area {
    flex-grow: 1;
    padding: 1rem 1.5rem;
    padding-bottom: calc(1rem + 3rem);
    display: flex;
    flex-direction: column;
}

.facility-content {
    display: flex;
    flex-direction: column;
}

.facility-name {
    font-weight: bold;
}

.facility-summary {
    display: flex;
    font-size: 0.875rem;
    font-weight: medium;
}

.facility-detail-button {
    position: absolute;
    right: 0;
    bottom: 0;
    border-top-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    background-color: #2196F3;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
}

.facility-detail-button a {
    text-decoration: none;
}

.facility-detail-button:hover {
    opacity: 0.9;
}

.facility-detail-text {
    margin-right: 1.25rem;
    font-size: 0.75rem;
    font-weight: medium;
}

/* 施設詳細 */
.facility-title-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.facility-title {
    font-weight: bold;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
    margin: 0.5rem 0;
}

.facility-title::after {
    content: '';
    display: block;
    width: 3rem;
    height: 0.2rem;
    background-color: #68B4E5;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    border-radius: 3rem;
}

.custom-slider-overflow-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    max-width: 75rem;
}

.slider-image-clipper {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    padding-bottom: 56.25%;
    height: 0;
}

.custom-slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider-items-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.slider-item {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.slider-item.is-landscape .slider-image {
    object-fit: cover;
}

.slider-item.is-portrait .slider-image {
    width: auto;
    height: 100%;
    object-fit: contain;
    border-radius: 1rem;
}

.slider-item.is-square .slider-image {
    width: auto;
    height: 100%;
    object-fit: contain;
    border-radius: 1rem;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem; 
    height: 3rem; 
    border-radius: 624.9375rem;
    background-color: #ffffff;
    color: #2196F3;
    border: 1px solid #E5E5E5;
    cursor: pointer;
    line-height: 1;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
    padding: 0; 
}

.slider-arrow svg {
    width: 2rem; 
    height: 2rem;
}

.prev-arrow {
    left: 0;
    transform: translateY(-50%) translateX(-50%);
}

.next-arrow {
    right: 0;
    transform: translateY(-50%) translateX(50%);
}

.prev-arrow svg {
    transform: scaleX(-1);
}

.slider-arrow:hover {
    opacity: 0.9;
}

.slider-dots {
    position: absolute; 
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 3;
    margin-bottom: 0; 
    padding: 0.5rem 0; 
}

.dot {
    width: 10px; 
    height: 10px; 
    background-color: rgba(33, 150, 243, 0.4);
    border-radius: 50%; 
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.dot.active {
    background-color: #2196F3;
    transform: scale(1.2);
}

.facility-services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.facility-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.facility-map-frame {
    border-radius: 1rem;
    overflow: hidden;
}

.extra-wrapper {
    display: flex;
    align-items: center;
}

.extra-container {
    display: block;
}

.extra-container img {
    border: 1px solid #E5E5E5;
    box-sizing: border-box;
}

/* コラム */
.columns-header {
    display: flex;
    flex-direction: column;
}

.columns-title {
    font-weight: bold;
}

.columns-label {
    font-weight: 900;
}

.columns-container {
    width: 100%;
}

.columns-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
}

.columns-cards-grid:has(.column-card:only-child) {
    grid-template-columns: 1fr;
    place-items: center;
}

@media (min-width: 768px) {
    .columns-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .columns-cards-grid:not(:has(.column-card:only-child)) > .column-card:nth-child(2n + 1) {
        justify-self: end;
    }

    .columns-cards-grid:not(:has(.column-card:only-child)) > .column-card:nth-child(2n) {
        justify-self: start;
    }
}

.column-card {
    background-color: #ffffff;
    border-radius: 1rem;
    border: 1px solid #dcdcdc;
    overflow: hidden;
    position: relative;
    display: flex;
}

.column-image-wrapper {
    overflow: hidden;
}

.column-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.column-content {
    display: flex;
    flex-direction: column;
}

.column-title {
    font-weight: bold;
    margin: 0;
}

.column-text {
	font-weight: medium;
    margin: 0;
}

.column-detail-button {
    position: absolute;
    right: 0;
    bottom: 0;
    border-top-left-radius: 0.8rem;
    border-bottom-right-radius: 0.8rem;
    background-color: #2196F3;
    color: #ffffff;
    padding: 0.6rem 2rem;
    text-decoration: none;
    font-size: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    box-sizing: border-box;
}

.column-detail-button:hover {
    opacity: 0.9;
}

/* コラム一覧 */
.column-page-container {
    margin: 0 auto;
}

.column-list {
    display: flex;
	width: 80%;
    flex-direction: column;
	margin: 1rem auto;
    gap: 2rem;
}

.column-entry {
	background-color: #ffffff;
    border-radius: 0.8rem;
	border: 1px solid #dcdcdc;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.column-entry:hover {
    transform: translateY(-5px);
}

.column-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.column-image-container {
	width: 100%;
	height: auto;
	max-width: 250px;
	max-height: 250px;
    flex-shrink: 0;
    margin-right: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.column-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.column-content-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.column-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.column-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.arrow {
    width: 1rem;
    height: 1rem;
}

/* コラム詳細 */
.post-date {
    text-align: left;
	white-space: nowrap;
	flex-shrink: 0;
    font-size: 0.875rem;
    font-weight: medium;
}

.single-column-title {
    text-align: left;
    font-weight: bold;
}

/* 問い合わせページ */
.cf7-form-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1.5rem;
    font-weight: bold;
    font-size: 1rem;
    line-height: 1.5;
}

.cf7-form-group > span:first-child { 
    margin-right: 0.5rem;
}

.cf7-required-badge {
    display: inline-block;
    background-color: #178FDC;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: normal;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    margin-left: 0.5rem;
    vertical-align: middle;
    order: 1;
}

.wpcf7-form-control-wrap {
    flex-basis: 100%;
    margin-top: 0.5rem;
    order: 2;
}

.cf7-input-field,
.cf7-select-field,
.cf7-textarea-field {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #cccccc;
    border-radius: 0.5rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #333333;
    background-color: #fff;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin-top: 0.5rem;
}

.cf7-input-field::placeholder,
.cf7-textarea-field::placeholder {
    color: #CECECE;
}

.cf7-input-field:focus,
.cf7-select-field:focus,
.cf7-textarea-field:focus {
    border-color: #178FDC;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(23, 143, 220, 0.25);
}

.cf7-select-field {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem 0.75rem;
    padding-right: 2.5rem;
}

.cf7-textarea-field {
    min-height: 8rem;
    resize: vertical;
}

.cf7-submit-button {
    display: block;
    width: 12.625rem;
    height: 3rem;
    margin: 1.5rem auto 0 auto;
    background-color: #147ac5;
    border-radius: 624.9375rem;
    border: none;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
    -webkit-transition: all .3s;
    transition: all .3s;
    background-image: url('data:image/svg+xml;utf8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3e%3ccircle cx="12" cy="12" r="12" fill="white"/%3e%3cg transform="translate(12,12) scale(0.66) translate(-12,-12)"%3e%3cpath d="M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" fill="%23178FDC"/%3e%3c/g%3e%3c/svg%3e');
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.5rem 1.5rem;
    padding-right: 2.5rem;
    padding-left: 1.5rem;

    @media (min-width: 768px) {
        width: 13.9375rem;
        font-size: 0.875rem;
    }

    &:hover {
        transform: scale(1.1,1.1);
    }
}

.cf7-previous-button {
    display: block;
    width: 6.5rem;
    height: 3rem;
    margin: 1.5rem auto 0 auto;
    background-color: #30B990;
    border-radius: 624.9375rem;
    border: none;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
    -webkit-transition: all .3s;
    transition: all .3s;
    background-image: url('data:image/svg+xml;utf8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"%3e%3ccircle cx="12" cy="12" r="12" fill="white"/%3e%3cg transform="translate(12,12) scale(0.66) translate(-12,-12)"%3e%3cpath d="M8 7V11L2 6L8 1V5H13C17.4183 5 21 8.58172 21 13C21 17.4183 17.4183 21 13 21H4V19H13C16.3137 19 19 16.3137 19 13C19 9.68629 16.3137 7 13 7H8Z" fill="%2330B990"/%3e%3c/g%3e%3c/svg%3e');
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.5rem 1.5rem;
    padding-right: 2.5rem;
    padding-left: 1.5rem;

    @media (min-width: 768px) {
        font-size: 0.875rem;
    }

    &:hover {
        transform: scale(1.1,1.1);
    }
}

div.wpcf7-validation-errors,
div.wpcf7-acceptance-errors,
div.wpcf7-response-output {
    border: none !important;
    background-color: transparent !important;
    padding: 0 !important;
    margin: 1rem 0 !important;
    color: #dc3545;
    font-weight: bold;
    text-align: center;
}

.cf7-link {
    text-align: center;
}

.cf7-link a {
    font-weight: bold;
    font-size: 0.75rem;
    text-decoration: underline;
}

.confirmation-form-container {
    background-color: #EEF3F7; 
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.confirmation-item-group {
    padding-top: 0.75rem; 
    padding-bottom: 0.75rem;
}

.confirmation-label {
    color: #178FDC;
    font-weight: bold;
    font-size: 0.875rem;
}

.confirmation-value {
    font-weight: medium;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.confirmation-menu-container {
    margin-bottom: 4rem;
}

.confirmation-message {
    text-align: center;
    font-size: 0.875rem;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 2rem;

    @media (min-width: 768px) {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }
}

.confirmation-buttons-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;

    @media (min-width: 768px) {
        gap: 1.5rem;
    }
}

/* 固定ページ */
.contents-frame {
  margin-left: 1.125rem;
  margin-right: 1.125rem;
}

@media (min-width: 768px) {
  .contents-frame {
    margin-left: 2rem;
    margin-right: 2rem;
  }
}

@media (min-width: 1024px) {
  .contents-frame {
    margin-left: 3rem;
    margin-right: 3rem;
  }
}

.page-contents {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.page-row-contents {
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.page-title {
    font-weight: bold;
    padding: 0.5rem 0 1rem 0;
    position: relative;
}

.page-title::after {
    content: '';
    display: block;
    width: 3rem;
    height: 0.2rem;
    background-color: #68B4E5;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    border-radius: 3rem;
}

.single-photo-container {
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 1rem;
}

.single-image-container {
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 1rem;
}

.single-photo {
    width: auto;
    object-fit: cover;
    display: block;
}

.single-image {
    height: auto;
    object-fit: cover;
    display: block;
}

.thumbnail-frame {
    overflow: hidden;
    position: relative;
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-frame {
    display: flex;
    justify-content: center;
    margin: 0.2rem;
    border: 1px solid #178FDC;
    box-shadow: 0.2rem 0.2rem 0 #178FDC;
    border-radius: 1rem;
    overflow: hidden;
}

.content-frame {
    width: fit-content;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    border: 1px solid #178FDC;
    border-radius: 624.9375rem;
}

.content-box-frame {
    width: fit-content;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid #E5E5E5;
    border-radius: 1rem;
}

.content-box-separator {
    border-left: 1px solid #E5E5E5;
}

.badge-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #178FDC;
    font-weight: 900;
    line-height: 1;
    border: 4px solid #DCF3FF;
    border-radius: 624.9375rem;
}

.content-longbox-separator {
    border-bottom: 4px solid #EEF3F7;
}

.content-table-row {
    font-size: 0.875rem;
}

.content-table-label {
    font-weight: bold;
    white-space: nowrap;
    border-radius: 0.5rem 0 0 0.5rem;
    overflow: hidden;
    padding: 1.5rem 0.5rem 1.5rem 1.5rem;
    text-align: left;
    vertical-align: top;
}

.content-table-value {
    font-weight: medium;
    border-radius: 0 0.5rem 0.5rem 0;
    overflow: hidden;
    padding: 1.5rem 1.5rem 1.5rem 0.5rem;
    text-align: left;
    vertical-align: top;
}

.content-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-radius: 624.9375rem;
    cursor: pointer;
    white-space: nowrap;
}

.content-link a {
    text-decoration: none;
}

.content-link:hover {
    opacity: 0.9;
}

.content-link-text {
    font-weight: medium;
}

.content-link-icon-wrapper {
    border-radius: 624.9375rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-link:hover .button-icon {
    opacity: 0.9;
}

.button-icon {
    transition: stroke 0.2s ease;
}

/* ハニーポット */
.required {
    /* display: none; */
    position: absolute !important;
    left: -9999px !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* タイムライン */
.schedule-wrapper {
    background-color: #F5F5F5;
    border-radius: 1rem;
    margin-left: auto;
    margin-right: auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    border-radius: 624.9375rem;
    font-weight: medium;
    padding: 0.5rem 0.5rem;
    gap: 0.5rem;
}

.tab-button {
    flex: 1; 
    background-color: transparent;
    border: none;
    border-radius: 624.9375rem;
    cursor: pointer;
    color: #178FDC;
    transition: all 0.3s ease;
    white-space: nowrap;
    outline: none;
    padding: 0.75rem 1.5rem;
}

.tab-button.active {
    background-color: #178FDC;
    color: #ffffff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.schedule-container {
    height: auto;
    font-family: sans-serif;
    background-color: #ffffff;
    border-radius: 1rem;
}

.schedule-title {
    font-weight: bold;
    text-align: center;
    color: #30B990;
    margin-bottom: 1rem;
    white-space: nowrap;
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.schedule-container.reverse .schedule-title {
    color: #178FDC;
}

.schedule-container.sp .schedule-title {
    color: #178FDC;
}

.timeline-grid {
    display: grid;
    grid-template-columns: 2.5rem 1.5rem 1fr;
    grid-row-gap: 0.75rem;
    position: relative;
    font-weight: 500;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-top: 0;
    padding-bottom: 1rem;
    flex-grow: 1;
}

.timeline-grid::before {
    content: '';
    position: absolute;
    left: calc(2.5rem + 1.25rem - 1px);
    top: 1.55rem;
    bottom: 2.55rem;
    width: 2px;
    background-color: #30B990;
    z-index: 0;
}

.schedule-container.reverse .timeline-grid {
    grid-template-columns: 1fr 1.5rem 2.5rem;
}

.schedule-container.reverse .timeline-grid::before {
    background-color: #178FDC;
    left: auto;
    right: calc(2.5rem + 1.25rem - 1px);
    top: 1.55rem;
    bottom: 2.55rem;
}

.schedule-container.sp .timeline-grid::before {
    background-color: #178FDC;
}

.time {
    grid-column: 1;
    text-align: right;
    color: #30B990;
    align-self: center;
    z-index: 1;
    white-space: nowrap;
    padding-right: 0.5rem;
}

.schedule-container.reverse .time {
    grid-column: 3;
    text-align: left;
    padding-right: 0;
    padding-left: 0.5rem;
    color: #178FDC;
}

.schedule-container.sp .time {
    color: #178FDC;
}

.dot {
    grid-column: 2;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 624.9375rem;
    justify-self: center;
    align-self: center;
    z-index: 1;
}

.dot.solid {
    background-color: #30B990;
}

.dot.hollow {
    background-color: #ffffff;
    border: 1px solid #30B990;
}

.schedule-container.reverse .dot.solid {
    background-color: #178FDC;
}

.schedule-container.reverse .dot.hollow {
    border: 1px solid #178FDC;
}

.schedule-container.reverse .dot {
    grid-column: 2;
}

.schedule-container.sp .dot.solid {
    background-color: #178FDC;
}

.schedule-container.sp .dot.hollow {
    border: 1px solid #178FDC;
}

.event-block {
    grid-column: 3;
    border-radius: 0.5rem;
    z-index: 1;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    min-height: 2.5rem;
    line-height: 1.4;
}

.event-block.green-bg {
    color: #30B990;
    background-color: #EEF7F2;
}

.schedule-container.reverse .event-block {
    grid-column: 1;
    text-align: left;
}

.event-block.blue-bg {
    color: #178FDC;
    background-color: #EEF3F7;
}

.timeline-grid > .time,
.timeline-grid > .dot,
.timeline-grid > .event-block {
    align-self: center;
}

.timeline-grid .time.dummy,
.timeline-grid .dot.dummy,
.timeline-grid .event-block.dummy {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: transparent !important;
    pointer-events: none;
}

.timeline-grid .dot.dummy {
    background: none !important;
}

.timeline-grid .dummy {
    z-index: 0;
}

/* じゆうちょうラボとは */
.theme-link a {
    text-decoration: underline;
}

/* アニメーション付きボタン */
button.click {
    -webkit-transition: all .3s;
    transition: all .3s;
}

button.click:hover {
    transform: scale(1.1,1.1);
}

a.click {
    -webkit-transition: all .3s;
    transition: all .3s;
}

a.click:hover {
    transform: scale(1.1,1.1);
}

/* 装飾 */
.decoration-fixed {
    width: fit-content;
    height: fit-content;
}

.decoration {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

.image-slot-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 0;
}

.image-slot-position {
    position: absolute;
    width: fit-content;
    height: fit-content;
}

/* ページネーション全体 */
.pagination {
    padding-top: 3rem;
    text-align: center;
}

.pagination ul {
    display: inline-flex;
    gap: 0.2rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.pagination li {
    margin: 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 0.6rem 1rem;
    background-color: #EEF3F7;
    color: #178FDC;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s, color 0.3s;
}

.pagination .current {
    background-color: #178FDC;
    color: white;
    pointer-events: none;
}

.pagination a:hover {
    background-color: #D2EBFF;
}

.pagination .dots {
    color: #178FDC;
    background-color: transparent;
    font-size: 0.8rem;
    padding: 0.8rem 0;
}

.pagination .first a,
.pagination .last a {
    background-color: #EEF3F7;
    color: #2196F3;
}

.pagination .prev {
    margin-right: 0.4rem;
}

.pagination .next {
    margin-left: 0.4rem;
}

.pagination li a svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* 遷移 */
.single-navigation {
    text-align: center;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.nav-links a {
    padding: 0.75rem 1.125rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: bold;
    text-decoration: none;
    color: #178FDC;
    background-color: #EEF3F7;
    transition: background-color 0.3s;
}

.nav-links a:hover {
    opacity: 0.9;
}

.nav-button-style {
    padding: 0.75rem 1.125rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: bold;
    text-decoration: none;
    color: #178FDC;
    background-color: #EEF3F7;
    transition: background-color 0.3s;
}

.nav-button-style:hover {
    opacity: 0.9;
}

/* 動作 */
.fadeIn {
  opacity: 0;
  transition: opacity 2s ease-out;
}
.fadeIn.is-show {
  opacity: 1;
}

.fadeIn_up {
  opacity: 0;
  transform: translateY(50%);
  transition: opacity 2s ease-out, transform 2s ease-out;
}

.fadeIn_up.is-show {
  transform: translateY(0);
  opacity: 1;
}

.slide-in-bottom-right {
  opacity: 0;
  transform: translate(180px, 100px);
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-in-bottom-left {
  opacity: 0;
  transform: translate(-180px, 100px);
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-in-bottom-right.is-animated,
.slide-in-bottom-left.is-animated {
  opacity: 1;
  transform: translate(0, 0);
}