/* web font
*/

:root {
    --main-theme-color: #FFD800;
    --sub-theme-color: #12A646;
    --accent-color: #F25424;
    --ft-robo: "Roboto", sans-serif;
}

* {
    box-sizing: border-box;
    color: #222;
    font-family: "Noto Sans JP", sans-serif;
    list-style: none;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    background: #F6F6F6;
}

body.open {
    overflow: hidden;
}

a {
    text-decoration: none;
}

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

.pc {
    display: block;
}

.sp {
    display: none;
}

.pc2 {
    display: block;
}

.sp2 {
    display: none;
}

@media screen and (max-width: 968px) {
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }
}

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

    .sp2 {
        display: block;
    }
}

/* フェードインアップ */
.js-fadeUp {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s, transform .8s;
}

.js-fadeUp.is-inview {
    opacity: 1;
    transform: translateY(0);
}

.container {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    min-height: 100vh;
    overflow-x: clip;
    width: 100%;
}

/* header */
.header {
    background: var(--main-theme-color);
    margin: 0 auto;
    padding: 20px 0 12px;
    width: 100%;
    z-index: 999;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    width: 95%;
    max-width: 1200px;
}

.logo {
    display: block;
    line-height: 0;
}

.header-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.header-links li {
    line-height: 20px;
}

.header-links .h-tel {
    width: 280px;
    display: flex;
    flex-flow: wrap row;
    justify-content: end;
}

.h-tel a {
    display: block;
}

.h-tel .h-tel-calendar {
    font-size: 14px;
    font-weight: bold;
    color: #f25424;
}

.header-links .h-contact,
.header-links .h-line {
    max-width: 160px;
}

.nav {
    margin: 0 auto;
    padding: 20px 0 0;
    width: 95%;
    max-width: 1200px;
}

.nav-links ul {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 5px;
}

.nav-links ul li a {
    background: #FEB000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    height: 40px;
    width: 100%;
}

@media screen and (max-width: 1168px) {
    .logo {
        width: 200px;
    }

    .header-links .h-tel {
        width: 200px;
    }

    .header-links .h-contact,
    .header-links .h-line {
        max-width: 120px;
    }
}

@media screen and (max-width: 768px) {
    .logo {
        width: 160px;
    }

    .header-links .h-tel {
        width: 186px;
    }

    .nav {
        overflow-x: auto;
    }

    .nav-links {
        width: max-content;
    }

    .nav-links ul {
        display: flex;
        justify-content: flex-start;
        width: max-content;
    }

    .nav-links ul li {
        width: 100px;
    }

    .nav-links ul li:first-child {
        display: none;
    }

    .nav-links ul li a {
        font-size: 14px;
        height: 32px;
    }

    .header-links .h-contact,
    .header-links .h-line {
        display: none;
    }

    .header-inner {
        align-items: baseline;
    }

    .h-tel .h-tel-calendar {
        font-size: 12px;
    }
}

/* footer */
.footer {
    background: #F5F5F5;
    padding: 77px 0 100px;
}

.footer-inner {
    margin: 0 auto;
    width: 95%;
    max-width: 1200px;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
}

.footer-left {
    width: 462px;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 45px;
    width: 700px;
}

.footer-logo {
    margin: 0 0 35px;
    width: 377px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-info p {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.8em;
}

.footer-tel {
    width: 270px;
    margin: 85px 0 15px;
}

.footer-txt p {
    font-size: 16px;
    font-weight: 400;
}

.footer-btn {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 0;
    width: 330px;
}

.footer-btn li {
    width: calc((100% - (10px * 1)) / 2);
}

.footer-columns {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 50px;
}

.footer-column {
    width: max-content;
}

.footer-column__ttl {
    margin: 0 0 10px;
}

.footer-column__ttl a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 17px;
    font-weight: 700;
}

.footer-column__ttl a::before {
    background: url(../images/icon-arrow-cirlce-r-b.svg) no-repeat;
    background-position: center;
    background-size: contain;
    content: "";
    display: block;
    height: 16px;
    margin-right: 10px;
    width: 16px;
}

.footer-column__cont ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0 0 0 25px;
}

.footer-column__cont .arealist {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-column__cont ul li a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 15px;
    font-weight: 300;
}

.footer-column__cont ul li a::before {
    background: url(../images/icon-arrow-solid-b.svg) no-repeat;
    background-position: center;
    background-size: contain;
    content: "";
    display: block;
    height: 10px;
    margin-right: 10px;
    width: 7px;
}

@media screen and (max-width: 1268px) {
    .footer-left {
        width: 300px;
    }

    .footer-right {
        gap: 45px;
        width: 642px;
    }

    .footer-logo {
        margin: 0 0 25px;
        width: 280px;
    }

    .footer-tel {
        width: 250px;
        margin: 65px 0 15px;
    }

    .footer-columns {
        gap: 25px;
    }
}

@media screen and (max-width: 1068px) {
    .footer-left {
        width: 100%;
    }

    .footer-right {
        gap: 25px;
        margin: 25px 0 0;
        width: 100%;
    }
}

@media screen and (max-width: 968px) {}

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

    .footer-logo {
        margin: 0 auto 25px;
        width: 250px;
    }

    .footer-info {
        justify-content: flex-start;
        margin: 0 auto;
        width: 80%;
    }

    .footer-txt p {
        font-size: 14px;
        text-align: center;
    }

    .footer-tel {
        width: 80%;
        margin: 25px auto 15px;
    }

    .footer-btn {
        margin: 25px auto 0;
        width: 80%;
    }
}

/* copyright */
.copyright {
    background: var(--main-theme-color);
    padding: 35px 0;
    text-align: center;
}

.copyright p {
    font-size: 14px;
    font-weight: 700;
}

@media screen and (max-width: 768px) {
    .copyright {
        padding: 20px 0;
    }

    .copyright p {
        font-size: 12px;
    }
}

/* ニュース&カレンダーセクション */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.news-calendar-section {
    background-color: #ffd800;
    padding: 80px 0;
}

.news-calendar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
}

.news-calendar-left {
    flex: 1;
}

.news-calendar-right {
    flex: 1;
}

.news-calendar-label {
    display: inline-block;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    padding: 6px 16px;
    background-color: #12a646;
    border-radius: 20px;
}

.news-calendar-title {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 48px;
    letter-spacing: -0.5px;
}

.news-calendar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.news-calendar-item {
    display: flex;
    flex-direction: column;
    padding: 24px 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    transition: background-color 0.2s ease;
    cursor: pointer;
    position: relative;
}

.news-calendar-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    font-size: 20px;
    transition: right 0.3s ease;
}

.news-calendar-item:hover .news-calendar-arrow {
    right: 0rem;
}

.news-calendar-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.news-calendar-date {
    font-size: 14px;
    color: #000;
    font-weight: 500;
}

.news-calendar-category {
    display: inline-block;
    font-size: 12px;
    color: #fff;
    background-color: #12a646;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 500;
}

.news-calendar-text {
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 500;
    padding-right: 30px;
}

.news-calendar-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 48px;
}

.news-calendar-view-all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background-color: #F25424;
    color: #fff !important;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.news-calendar-view-all:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.news-calendar-button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #fff;
    color: #f25424;
    border-radius: 50%;
    font-size: 18px;
}

/* カレンダースタイル */
.news-calendar-widget {
    background-color: #fff;
    border-radius: 0 0 16px 16px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.calendar-section-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    background: #12a646;
    border-radius: 1rem 1rem 0 0;
    padding: 0.5rem 0;
}

.news-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.news-calendar-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.news-calendar-nav {
    display: flex;
    gap: 12px;
}

.news-calendar-nav button {
    width: 36px;
    height: 36px;
    border: none;
    background-color: rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s ease;
}

.news-calendar-nav button:hover {
    background-color: #1a1a1a;
    color: #ffd800;
}

.news-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 0;
}

.news-calendar-weekday {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    padding: 8px 0;
}

.news-calendar-weekday.sunday {
    color: #e74c3c;
}

.news-calendar-weekday.saturday {
    color: #3498db;
}

.news-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.news-calendar-day {
    aspect-ratio: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #1a1a1a;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.news-calendar-day:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.news-calendar-day.other-month {
    color: #ccc;
}

.news-calendar-day.sunday {
    color: #e74c3c;
}

.news-calendar-day.saturday {
    color: #3498db;
}

.news-calendar-day.holiday {
    color: #e74c3c;
    background-color: transparent;
}

.news-calendar-day.today {
    background-color: #12a646;
    color: #fff !important;
    font-weight: 700;
}

.news-calendar-day.selected {
    background-color: #333;
    color: #ffd800;
}

.news-calendar-day.closed {
    background-color: #ff8c42;
    color: #fff !important;
    font-weight: 700;
}

.calendar-legend {
    margin-top: 20px;
    padding: 16px;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-around;
}

.calendar-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.calendar-legend-color {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.calendar-legend-text {
    font-size: 13px;
    color: #1a1a1a;
    font-weight: 500;
}

.news-calendar-message {
    margin-top: 28px;
    padding: 20px;
    background-color: rgba(18, 166, 70, 0.1);
    border-radius: 12px;
    text-align: center;
}

.news-calendar-message-title {
    font-size: 18px;
    font-weight: 700;
    color: #12a646;
    margin-bottom: 8px;
}

.news-calendar-message-text {
    font-size: 14px;
    color: #1a1a1a;
    line-height: 1.6;
}

.news-calendar-empty {
    padding: 40px 0;
    text-align: center;
    font-size: 16px;
    color: #666;
}

@media (max-width: 968px) {
    .news-calendar-section {
        padding: 40px 0;
    }

    .news-calendar-container {
        flex-direction: column;
        padding: 0 16px;
    }

    .news-calendar-title {
        font-size: 36px;
        margin-bottom: 32px;
    }

    .calendar-section-title {
        font-size: 24px;
    }

    .news-calendar-item {
        padding: 20px 0;
    }

    .news-calendar-date {
        margin-bottom: 0;
    }

    .news-calendar-text {
        padding-right: 30px;
    }

    .news-calendar-view-all {
        width: 100%;
        justify-content: center;
    }

    .calendar-legend {
        flex-flow: wrap row;
    }
}

@media (max-width: 480px) {
    .news-calendar-day {
        aspect-ratio: 1;
    }

    .calendar-legend {
        padding: 16px 11px;
    }
}

.error404_sec {
    padding: 80px 20px;
    text-align: center;
}

.error404-inner {
    max-width: 900px;
    margin: 0 auto;
}

.error404-image img {
    max-width: 420px;
    width: 100%;
    margin-bottom: 40px;
}

.error404-title {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.error404-text {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 40px;
}

.error404-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn404 {
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn404-primary {
    background: #ff8c42;
    color: #fff;
}

.btn404-primary:hover {
    background: #e6762f;
}

.btn404-secondary {
    border: 2px solid #ff8c42;
    color: #ff8c42;
}

.btn404-secondary:hover {
    background: #ff8c42;
    color: #fff;
}

@media (max-width: 768px) {
    .error404_sec {
        padding: 40px 20px;
    }

    .error404-title {
        font-size: 30px;
    }

    .error404-text {
        font-size: 16px;
        text-align: left;
    }
}