@charset "UTF-8";

body {
    font-family: "Noto Sans JP", sans-serif;
}

.page-main {
    padding-top: 5rem;
}
.page-main p {
    line-height: 1.7em;
}
.container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.5em 0 3rem 0;
}
.table th,td {
    border: 1px solid #006837;
    padding: 1rem;
}
.table th {
    color: #006837;
    width: 20%;
}
/* ===== Hero Slider wrapper ===== */
.hero-slider-wrapper {
    position: relative;
}

/* ===== Header ===== */
header {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    background-color: #fff;
    z-index: 100;
}

/* Top page only: place header over hero slider */
body.page-home header {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.412);
}

header h1 img {
    display: block;
    padding: 0 10px 0px 10px;
}
header > p {
    background-color: #006837;
    color: #fff;
    font-size: 1.25rem;
    padding: 4px 12px;
    margin-left: 16px;
    border-radius: 5px;
    margin-top: 10px;
}
.header-title {
    margin-top: 30px;
}

@media (max-width: 500px) {
    header {
        flex-wrap: wrap;
    }

    header h1 {
        order: 1;
    }

    .hamburger {
        order: 2;
    }

    .header-title {
        order: 3;
        flex: 0 0 100%;
        margin: 4px 10px 10px;
    }
}

/* ===== Hamburger ===== */
.hamburger {
    width: 90px;
    height: 90px;
    background-color: #006837;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 44px;
    height: 1px;
    background-color: #fff;
    transition: opacity 0.3s;
}

/* ===== Nav overlay ===== */
nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #006837;
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

nav.is-open {
    display: flex;
}

nav ul {
    list-style: none;
    text-align: center;
}

nav ul li {
    margin-bottom: 1.5rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

nav ul li a.entry-link {
    display: inline-block;
    color: #fff;
    background: linear-gradient(135deg, #ff9a2f 0%, #ff7a00 50%, #f45d01 100%);
    padding: 0.8em 1.8em;
    border-radius: 10px;
}

nav ul li a.entry-link:hover {
    filter: brightness(1.05);
}

/* ===== Hero Slider ===== */
.hero-slider {
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.hero-slider .slick-list,
.hero-slider .slick-track {
    height: 100%;
}

.hero-slider div {
    height: 100%;
}

.hero-slider div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== Hero Message ===== */
.hero-message {
    position: absolute;
    top: 50%;
    left: 4%;
    transform: translateY(-20%);
    z-index: 90;
    text-align: left;
    font-weight: 900;
    font-size: 4rem;
    line-height: 1.2;
}

.hero-message p {
    display: block;
    width: fit-content;
    color: #fff;
    background-color: #006837;
    padding: 0.1em 0.35em;
    margin-bottom: 0.2em;
}

@media (max-width: 1024px) {
    .hero-message {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-message {
        font-size: 2.3rem;
        left: 5%;
    }
}

@media (max-width: 480px) {
    .hero-message {
        font-size: 1.7rem;
        left: 6%;
    }
}

/* ===== Carousel ===== */
.carousel {
    padding: 40px 0;
    margin-top: -80px;
    position: relative;
    z-index: 95;
    overflow: hidden;
}

.carousel-slider .slick-track {
    display: flex;
    align-items: center;
}

.carousel-slider .slick-slide {
    margin: 0 10px;
}

.carousel-slider .slick-slide > div {
    height: 100%;
}

.carousel-slider img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .carousel {
        padding: 24px 0;
        margin-top: -24px;
    }

    .carousel-slider .slick-slide {
        margin: 0 6px;
    }

    .carousel-slider img {
        height: auto;
        border-radius: 20px;
    }
}

/* ===== Entry Buttons ===== */
.entry-btn-container {
    display: flex;
    gap: 20px;
    margin: 56px 0;
}
@media (max-width: 768px) {
    .entry-btn-container {
        flex-direction: column;
        gap: 16px;
        margin: 36px 0;
    }
}

.entry-btn {
    flex: 1;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
    text-align: center;
    border-radius: 14px;
    padding: 20px 24px;
    box-sizing: border-box;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.entry-btn .btn-main {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.entry-btn .btn-sub {
    display: block;
    font-size: 0.875rem;
    margin-top: 8px;
    line-height: 1.45;
}

.entry-btn .btn-main::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 28px;
    margin-right: 10px;
    vertical-align: -5px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.recruit-btn {
    background: linear-gradient(135deg, #0067ed 0%, #009245 100%);
}

.recruit-btn .btn-main::before {
    background-image: url("../images/common/human-icon.png");
}

.web-entry-btn {
    background: linear-gradient(135deg, #ffaa00 0%, #ff7300 100%);
}

.web-entry-btn .btn-main::before {
    background-image: url("../images/common/entry-form-icon.png");
}

@media (max-width: 768px) {
    .entry-btn-container {
        gap: 12px;
        margin: 36px 0;
    }

    .entry-btn {
        min-height: 126px;
        padding: 16px;
    }

    .entry-btn .btn-main {
        font-size: 1.2rem;
    }
}

/* ===== Home Message Heading ===== */
.message-section {
    margin-top: 80px;
}
.section-heading {
    font-family: "Contrail One", sans-serif;
    font-weight: 400;
    font-size: 3rem;
    line-height: 1.2;
    color: #006837;
    margin-bottom: 0;
}

.section-heading span {
    font-size: 1.25rem;
    margin-left: 0.35em;
    font-weight: 700;
}

.two-row {
    display: flex;
    gap: 40px;
    justify-content: space-between;
}
.home-message-heading {
    margin-top: 1rem;
}
.home-message-heading p {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0;
    color: #006837;
}
.home-message-heading p:nth-child(2) {
    margin-bottom: 2rem;
}
.home-message-heading img {
    margin: 1rem 0;
}
.home-message-textarea p {
    font-size: 1.25rem;
    line-height: 1.8em;
    font-weight: 700;
}
.home-message-textarea .message-link-image {
    display: inline-block;
    position: relative;
    margin: 2rem 0 1rem 0;
    padding-bottom: 2rem;
    text-decoration: none;
}

.home-message-textarea .message-link-image > img {
    display: block;
    margin: 0;
    border-radius: 0 20px 0 20px;
}

.home-message-textarea .message-link-label {
    position: absolute;
    right: 0;
    bottom: 0;
    color: #006837;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    padding-right: 30px;
}

.home-message-textarea .message-link-label::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    background: url("../images/common/mingcute_arrow-up-line.png") center / contain no-repeat;
}
@media (max-width: 768px) {
    .section-heading {
        font-size: 2.25rem;
    }

    .section-heading span {
        font-size: 1rem;
    }

    .two-row {
        flex-direction: column;
        gap: 24px;
    }

    .home-message-heading p {
        font-size: 2.25rem;
    }

    .home-message-heading img {
        width: 100%;
        height: auto;
    }

    .home-message-textarea p {
        font-size: 1rem;
    }

    .home-message-textarea .message-link-image {
        margin: 1.5rem 0;
        padding-bottom: 1.8rem;
    }

    .home-message-textarea .message-link-image > img {
        width: 100%;
        height: auto;
        margin: 0;
    }

    .home-message-textarea .message-link-label {
        right: 0;
        bottom: 0;
        font-size: 0.9rem;
        padding-right: 26px;
    }
}

/* ===== Staff Voice ===== */
.staff-voice-wrapper {
    background-color: #F9CF2B;
    padding: 40px 0;
    margin: 4rem 0;
}

.staff-voice-slider .slick-track {
    display: flex;
}

.staff-voice-slider {
    padding: 0 56px;
}

.staff-voice-slider .slick-slide {
    margin: 0 12px;
}

.staff-voice-slider .slick-slide > div {
    height: 100%;
}

.staff-voice-slider a {
    display: block;
    text-decoration: none;
    color: #222;
}

.staff-voice-slider img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.staff-voice-slider p {
    margin-top: 14px;
    font-weight: 700;
    text-align: center;
}

.more-link-wrap {
    text-align: center;
    margin-top: 28px;
}

.more-link-btn {
    display: inline-block;
    min-width: 180px;
    padding: 14px 28px;
    border: 1px solid #006837;
    border-radius: 6px;
    background-color: #fff;
    color: #006837;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    transition: background-color 0.2s, color 0.2s;
}

.more-link-btn:hover,
.more-link-btn:focus {
    background-color: #006837;
    color: #fff;
}

.staff-voice-slider .slick-prev,
.staff-voice-slider .slick-next {
    width: 64px;
    height: 64px;
    top: 40%;
    transform: translateY(-50%);
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 20;
}

.staff-voice-slider .slick-prev {
    left: -30px;
}

.staff-voice-slider .slick-next {
    right: -30px;
}

.staff-voice-slider .slick-prev:hover,
.staff-voice-slider .slick-next:hover,
.staff-voice-slider .slick-prev:focus,
.staff-voice-slider .slick-next:focus {
    background-color: #ffffff;
}

.staff-voice-slider .slick-prev::before,
.staff-voice-slider .slick-next::before {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1;
    color: #006837;
    opacity: 1;
}

.staff-voice-slider .slick-prev::before {
    content: "\2190";
}

.staff-voice-slider .slick-next::before {
    content: "\2192";
}

@media (max-width: 768px) {
    .staff-voice-slider {
        padding: 0 44px;
    }

    .staff-voice-slider .slick-prev,
    .staff-voice-slider .slick-next {
        width: 52px;
        height: 52px;
        top: 38%;
    }

    .staff-voice-slider .slick-prev {
        left: 0;
    }

    .staff-voice-slider .slick-next {
        right: 0;
    }

    .staff-voice-slider .slick-prev::before,
    .staff-voice-slider .slick-next::before {
        font-size: 1.4rem;
    }
}

@media (max-width: 1024px) {
    .staff-voice-slider .slick-prev,
    .staff-voice-slider .slick-next {
        display: none !important;
    }
}

/* ===== Voice List ===== */
.voice-item-wrapper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 24px;
}

.voice-item {
    width: 100%;
}
.voice-item {
    border: 3px solid #006837;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.voice-item h3 {
    color: #006837;
    font-size: 1.25rem;
    line-height: 1.5em;
    margin: 0.5em 0;
}
.voice-item dl dt {
    background-color: #006837;
    color: #fff;
    font-size: 0.875rem;
    float: left;
    padding: 0.2rem 0.5rem;
    margin-bottom: 0.5em;
}
.voice-item dl dd {
    padding: 0.2rem 0.5rem;
    margin-left: 3rem;
    margin-bottom: 0.5em;
}

.voice-item > div:last-child {
    margin-top: auto;
    padding-top: 1rem;
}

.voice-item > div:last-child a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    width: 100%;
    padding: 0.6rem 1rem;
    border: 1px solid #006837;
    border-radius: 6px;
    background: linear-gradient(135deg, #009245 0%, #006837 100%);
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: filter 0.2s;
}

.voice-item > div:last-child a:hover,
.voice-item > div:last-child a:focus {
    filter: brightness(0.92);
}

@media (max-width: 899px) {
    .voice-item-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ===== Voice Detail ===== */
.voice-det-warapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
    row-gap: 20px;
    position: relative;
    border: 3px solid #006837;
    padding: 1.5rem;
    padding-top: 130px;
    margin-top: 130px;
    border-radius: 10px;
}

.voice-det-warapper > div:nth-child(2),
.voice-det-warapper > div:nth-child(3) {
    grid-column: 1 / -1;
}

.voice-det-warapper > div:first-child {
    position: absolute;
    top: 0;
    left: 50%;
    width: 210px;
    height: 210px;
    transform: translate(-50%, -50%);
}

.voice-det-warapper > div:first-child img {
    display: block;
    width: 100%;
    height: 100%;
    border: 4px solid #006837;
    border-radius: 50%;
    object-fit: cover;
}

.voice-det-warapper h3 {
    font-size: 1.5rem;
    color: #006837;
    text-align: center;
}

.voice-det-warapper > div:nth-child(3) dl {
    margin-top: 1.25rem;
}

.voice-det-warapper > div:nth-child(3) dt {
    background-color: #006837;
    color: #fff;
    font-size: 0.875rem;
    float: left;
    padding: 0.2rem 0.5rem;
    margin-bottom: 0.5em;
}

.voice-det-warapper > div:nth-child(3) dd {
    padding: 0.2rem 0.5rem;
    margin-left: 3rem;
    margin-bottom: 0.5em;
}

.voice-det-warapper > div:nth-child(4) dt,
.voice-det-warapper > div:nth-child(5) dt,
.voice-det-warapper > div:nth-child(4) dd,
.voice-det-warapper > div:nth-child(5) dd {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.voice-det-warapper > div:nth-child(4) dt::before,
.voice-det-warapper > div:nth-child(5) dt::before,
.voice-det-warapper > div:nth-child(4) dd::before,
.voice-det-warapper > div:nth-child(5) dd::before {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    line-height: 1;
}

.voice-det-warapper > div:nth-child(4) dt::before,
.voice-det-warapper > div:nth-child(5) dt::before {
    content: "Q";
    background-color: #006837;
}

.voice-det-warapper > div:nth-child(4) dd::before,
.voice-det-warapper > div:nth-child(5) dd::before {
    content: "A";
    background-color: #ff7a00;
}

@media (max-width: 768px) {
    .voice-det-warapper {
        grid-template-columns: 1fr;
        row-gap: 16px;
    }

    .voice-det-warapper > div:nth-child(2),
    .voice-det-warapper > div:nth-child(3) {
        grid-column: auto;
    }
}

/*インフォグラフィック（トップページ）*/
.infographics {
    background-color: #D2E6DD;
    margin: 3rem 0 5rem 0;
    padding: 3rem 0;
}

.infographics-charts h3 {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 1.2rem;
    padding: 0.3em 1em;
    background-color: #006837;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

.infographics-charts h3::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -12px;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid #006837;
}

.infographics-charts > div > div {
    margin-bottom: 2.5rem;
}

.infographics-charts img {
    display: block;
    width: 100%;
    height: auto;
}
/*インフォグラフィックの下部マージン調整*/
.infographics-mb3 {
    margin-bottom: 3rem;
}

/*インフォグラフィックの横並び設定（6：4）*/
.infographics-row64 {
    display: flex;
    gap: 40px;
    margin-bottom: 3rem;
}
.infographics-row64 > div:first-child {
    flex: 0 0 calc((100% - 40px) * 0.6);
}
.infographics-row64 > div:last-child {
    flex: 0 0 calc((100% - 40px) * 0.4);
}
/*インフォグラフィックの横並び設定（2:8）*/
.infographics-row82 {
    display: flex;
    gap: 40px;
    justify-content: space-between;
    margin-bottom: 3rem;
}
.infographics-row82 > div:first-child {
    flex: 0 0 33%;
}
.infographics-row82 > div:last-child {
    flex: 0 0 62%;
}
/*インフォグラフィックの横並び設定（3分割）*/
.infographics-row33 {
    display: flex;
    gap: 40px;
    justify-content: space-between;
    margin-bottom: 3rem;
}
.infographics-row33 > div {
    flex: 1;
}

@media (max-width: 899px) {
    .infographics-row64,
    .infographics-row82,
    .infographics-row33 {
        flex-direction: column;
        gap: 24px;
    }

    .infographics-row64 > div:first-child,
    .infographics-row64 > div:last-child,
    .infographics-row82 > div:first-child,
    .infographics-row82 > div:last-child,
    .infographics-row33 > div {
        flex: 0 0 100%;
    }
}
/*求人一覧*/
/*求人一覧のインデックス*/
.jobs-list-wrapper {
    display: flex;
    gap: 3rem;
    justify-content: space-between;
}
.jobs-list-wrapper > div {
    border: 3px solid #006837;
    border-radius: 10px;
    padding: 1.5rem;
}
@media (max-width: 899px) {
    .jobs-list-wrapper {
        flex-direction: column;
        gap: 24px;
    }
    .jobs-list-wrapper > div {
        padding: 1rem;
    }
}
.jobs-item dl {
    margin-top: 1rem;
}
.jobs-item dl dt {
    background-color: #006837;
    color: #fff;
    font-size: 0.875rem;
    float: left;
    padding: 0.3rem 0.8rem;
    margin-bottom: 0.5em;
}
.jobs-item dl dd {
    padding: 0.3rem 0.8rem;
    margin-left: 5rem;
    margin-bottom: 0.5em;
}
.jobs-item > div {
    text-align: center;
}
.jobs-item > div a {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8em 2em;
    border-radius: 999px;
    background: linear-gradient(135deg, #009245 0%, #006837 100%);
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 700;
}
.jobs-title-h3 {
    color: #006837;
    margin-top: 5rem;
    line-height: 1.5em;
}

/*先輩の声（トップページ）*/


/*=====================================*/
/*===============footer================*/
/*=====================================*/
footer {
    background-color: #F1F5F3;
    position: relative;
}
.footer-wrapper {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    padding-top: 2rem;
}

@media (max-width: 1024px) {
    .footer-wrapper {
        flex-wrap: wrap;
        gap: 24px;
        padding-top: 1.5rem;
    }

    .footer-wrapper > div:first-child {
        flex: 0 0 100%;
    }

    .footer-rayoutli {
        flex: 1 1 calc((100% - 24px) / 2);
    }

    .official-site-link {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .footer-wrapper {
        flex-direction: column;
        gap: 1.25rem;
    }

    .footer-wrapper > div,
    .footer-rayoutli {
        width: 100%;
        flex: 0 0 100%;
    }

    .footer-rayoutli ul {
        margin-top: 0;
    }
}
.saiyou-btn-title {
    background-color: #006837;
    text-align: center;
    color: #fff;
    font-size: 0.875rem;
    padding: 0.5em 1em;
    border-radius: 5px;
}
address {
    font-style: normal;
}
.routine-info-row {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 1rem;
    margin-bottom: 4rem;
}

.footer-rayoutli ul li {
    margin-bottom: 0.7em;
}
.footer-rayoutli ul {
    margin-top: 2rem;
}
@media (min-width: 769px) {
    .routine-info-row > :first-child {
        flex: 0 0 40%;
    }

    .routine-info-row > :last-child {
        flex: 0 0 60%;
    }
}

@media (max-width: 768px) {
    .routine-info-row {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .routine-info-row > :first-child,
    .routine-info-row > :last-child {
        width: 100%;
    }

    .routine-info-row img {
        display: block;
        width: 100%;
        height: auto;
    }
}

.footer-bottom {
    left: 0;
    bottom: 1rem;
    width: 100%;
    min-height: 42px;
}

.page-top-btn {
    position: fixed;
    right: 20px;
    bottom: 70px;
    opacity: 0;
    transform: translateY(24px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
    z-index: 150;
}

.page-top-btn.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.page-top-btn img {
    display: block;
    width: 42px;
    height: auto;
}

.copyright {
    margin: 0;
    display: block;
    width: 100%;
    text-align: center;
    background-color: #FFAA00;
    color: #006837;
    font-size: 0.875rem;
    line-height: 42px;
}

@media (max-width: 768px) {
    footer {
        padding-bottom: 110px;
    }

    .footer-rayoutli {
        margin-top: 0;
    }

    .footer-rayoutli ul {
        margin-top: 0;
    }

    .footer-bottom {
        bottom: 14px;
    }

    .page-top-btn {
        right: 12px;
        bottom: 12px;
    }

    .page-top-btn img {
        width: 36px;
    }

    .copyright {
        font-size: 0.75rem;
        line-height: 1.4;
        padding: 0 56px;
    }
}

/* ===== Reusable Detail Button ===== */
.detail-btn {
    display: inline-block;
    margin-top: 1.2rem;
    padding: 12px 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, #009245 0%, #006837 100%);
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}
.footer-site-title {
    margin-top: 1rem;
    margin-bottom: 0;
}

.official-site-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4rem;
}

.official-site-link::before {
    content: "";
    width: 16px;
    height: 16px;
    background: url("../images/common/web-site-icon.png") center / contain no-repeat;
    flex: 0 0 16px;
}
/*========== 代表message ==========*/
.message-wrap {
    display: flex;
    gap: 40px;
    justify-content: space-between;
}
.message-content {
    width: 70%;
}
.message-media {
    width: 30%;
}
.message-title-h2 {
    background-image: linear-gradient(90deg, #006837, #008892);
    margin: 1rem 0 2rem 0;
    line-height: 1.5em;
    padding: 0.7em 0 0.7em 0;
    color: #fff;
}
.message-title-h3 {
    color: #006837;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .message-wrap {
        flex-direction: column;
        gap: 1.5rem;
    }

    .message-content,
    .message-media {
        width: 100%;
    }
}

/*===========1日の流れ===========*/
.routine-wrapper {
    border: 3px solid #006837;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 3rem;
}
.routine-title-wrap {
    display: flex;
    gap: 4rem;
}
.routine-title-wrap > div h3 {
    color: #006837;
    font-family: "Contrail One", sans-serif;
    font-size: 3rem;
}
.routine-title-wrap > div h3 span {
    color: #006837;
    font-size: 1.25rem;
}
.routine-title-wrap > div:first-child p {
    font-weight: 700;
    font-size: 1rem;
    color: #006837;
    text-decoration: underline;
    text-decoration-color: #F9CF2B;
    text-decoration-thickness: 8px;
    text-underline-offset: -2px;
    text-decoration-skip-ink: none;
    margin-top: 1rem;
}
.routine-content-wrap {
    display: flex;
    gap: 4rem;
    margin-top: 3rem;
}
.routine-content-wrap dl {
    display: grid;
    grid-template-columns: 3rem 1fr;
    column-gap: 1.5rem;
    row-gap: 1.5rem;
    align-items: start;
}
.routine-content-wrap dt,
.routine-content-wrap dd span {
    font-weight: 700;
    font-size: 1.25rem;
    color: #006837;
    line-height: 1.4;
}
.routine-content-wrap dd {
    margin: 0;
    line-height: 1.8;
}
.routine-content-wrap dd span {
    display: block;
    margin-bottom: 0.3rem;
}
.routine-content-wrap dd img {
    display: block;
    margin-top: 1rem;
}
.routine-content-wrap dd::after {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    margin: 1rem auto 0;
    background: url("../images/common/arrow.png") center / contain no-repeat;
}
.routine-content-wrap dl dd:last-of-type::after {
    display: none;
}

@media (max-width: 768px) {
    .routine-wrapper {
        padding: 1.25rem;
    }

    .routine-title-wrap,
    .routine-content-wrap {
        flex-direction: column;
        gap: 2rem;
    }

    .routine-title-wrap > div,
    .routine-content-wrap > div {
        width: 100%;
    }

    .routine-title-wrap > div h3 {
        font-size: 2rem;
    }

    .routine-title-wrap > div h3 span {
        display: block;
        margin-top: 0.5rem;
        font-size: 1rem;
    }

    .routine-content-wrap {
        margin-top: 2rem;
    }
}

/* ===== Entry Form ===== */
.entry-form-wrapper {
    background: linear-gradient(180deg, #f4fbf6 0%, #ffffff 100%);
    border: 3px solid #006837;
    border-radius: 16px;
    padding: 2.2rem;
}

.entry-form-intro {
    margin-bottom: 1.6rem;
    font-size: 1rem;
}

.entry-form-body {
    background-color: #fff;
    border: 1px solid #d5e8dd;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
}

.entry-form-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.1rem 0;
    border-bottom: 1px dashed #b8d2c3;
}

.entry-form-row:last-of-type {
    border-bottom: none;
}

.entry-form-row label {
    font-weight: 700;
    color: #006837;
    line-height: 1.4;
    padding-top: 0.55rem;
}

.entry-form-row.required-field label::after {
    content: "必須";
    display: inline-block;
    margin-left: 0.65rem;
    padding: 0.2em 0.55em;
    border-radius: 999px;
    background-color: #ff7a00;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    vertical-align: middle;
}

.entry-form-control input[type="text"],
.entry-form-control input[type="email"],
.entry-form-control input[type="tel"],
.entry-form-control select,
.entry-form-control textarea {
    width: 100%;
    border: 1px solid #9fc6ae;
    border-radius: 8px;
    background-color: #fcfffd;
    padding: 0.75rem 0.9rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #1d2d24;
}

.entry-form-control textarea {
    resize: vertical;
    min-height: 150px;
}

.entry-form-control input:focus,
.entry-form-control select:focus,
.entry-form-control textarea:focus {
    outline: 2px solid #009245;
    outline-offset: 1px;
}

.entry-form-submit {
    text-align: center;
    margin-top: 1.8rem;
}

.entry-form-submit input[type="submit"],
.entry-form-submit input[type="button"],
.entry-form-submit button {
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffaa00 0%, #ff7300 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.95rem 2.4rem;
    cursor: pointer;
}

.entry-form-submit input[type="submit"]:hover,
.entry-form-submit input[type="button"]:hover,
.entry-form-submit button:hover,
.entry-form-submit input[type="submit"]:focus,
.entry-form-submit input[type="button"]:focus,
.entry-form-submit button:focus {
    filter: brightness(0.96);
}

@media (max-width: 768px) {
    .entry-form-wrapper {
        padding: 1.25rem;
    }

    .entry-form-body {
        padding: 1rem;
    }

    .entry-form-row {
        grid-template-columns: 1fr;
        gap: 0.7rem;
        padding: 0.9rem 0;
    }

    .entry-form-row label {
        padding-top: 0;
    }
}