/* =========================================================
   LIST
========================================================= */
/* =========================================================
   おすすめコース一覧
========================================================= */

.course-archive {
    background: #f7f6f2;
    color: #252525;
}


/* =========================================================
   HERO
========================================================= */

.course-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 480px;
    padding: 90px 30px;
    overflow: hidden;
    background:
        linear-gradient(
            90deg,
            rgba(25, 22, 17, 0.12) 0%,
            rgba(25, 22, 17, 0.4) 45%,
            rgba(25, 22, 17, 0.02) 100%
        ),
        url("../img/course-main.jpg") center / cover no-repeat;
}

.course-hero__inner {
    width: min(1280px, 100%);
    margin: 0 auto;
    color: #fff;
}

.course-hero__eyebrow {
    margin: 0 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.course-hero__title {
    margin: 0;
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.05em;
}

.course-hero__lead {
    max-width: 760px;
    margin: 28px 0 0;
    font-size: 16px;
    line-height: 2;
}




.course-list {
    padding: 95px 30px 120px;
}

.course-list__inner {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.course-list__heading {
    max-width: 780px;
    margin: 0 auto 55px;
    text-align: center;
}

.course-list__eyebrow {
    margin: 0 0 12px;
    color: #8a7451;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.course-list__heading h2 {
    margin: 0;
    font-size: clamp(27px, 4vw, 40px);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.05em;
}

.course-list__heading > p:last-child {
    margin: 20px 0 0;
    color: #666;
    font-size: 15px;
    line-height: 1.9;
}


/* =========================================================
   GRID
========================================================= */

.course-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 35px 28px;
}


/* =========================================================
   CARD
========================================================= */

.course-card {
    min-width: 0;
}

.course-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 10px 30px rgba(28, 35, 31, 0.08);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.course-card__link:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 42px rgba(28, 35, 31, 0.15);
}

.course-card__image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #ddd;
}

.course-card__image::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(
        180deg,
        transparent 55%,
        rgba(0, 0, 0, 0.25) 100%
    );
    pointer-events: none;
}

.course-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.course-card__link:hover .course-card__image img {
    transform: scale(1.05);
}

.course-card__labels {
    position: absolute;
    z-index: 2;
    top: 18px;
    left: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.course-card__label {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 11px;
    color: #fff;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.05em;
    background: rgba(48, 73, 60, 0.92);
    border-radius: 30px;
}

.course-card__label--light {
    color: #42423d;
    background: rgba(255, 255, 255, 0.92);
}

.course-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 25px 25px 27px;
}

.course-card__title {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: 0.025em;
}

.course-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 16px;
    margin-top: 16px;
    padding-top: 15px;
    border-top: 1px solid #ebe9e2;
}

.course-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #75736e;
    font-size: 12px;
    line-height: 1.5;
}

.course-card__meta svg {
    width: 15px;
    height: 15px;
    fill: #8a7451;
}

.course-card__description {
    display: -webkit-box;
    margin: 18px 0 0;
    overflow: hidden;
    color: #666;
    font-size: 14px;
    line-height: 1.85;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.course-card__more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: auto;
    padding-top: 24px;
    color: #65563f;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.course-card__more span {
    font-size: 20px;
    font-weight: 400;
    transition: transform 0.25s ease;
}

.course-card__link:hover .course-card__more span {
    transform: translateX(5px);
}

.course-list__empty {
    padding: 50px 20px;
    text-align: center;
    background: #fff;
}


/* =========================================================
   TABLET
========================================================= */

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

    .course-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   SMARTPHONE
========================================================= */

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

    .course-hero {
        min-height: 340px;
        padding: 70px 22px;
        background-position: center;
    }

    .course-hero__lead {
        margin-top: 22px;
        font-size: 14px;
        line-height: 1.85;
    }

    .course-list {
        padding: 68px 20px 85px;
    }

    .course-list__heading {
        margin-bottom: 38px;
        text-align: left;
    }

    .course-list__heading > p:last-child {
        font-size: 14px;
    }

    .course-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .course-card__image {
        aspect-ratio: 16 / 11;
    }

    .course-card__body {
        padding: 22px 21px 24px;
    }

    .course-card__title {
        font-size: 19px;
    }

}

/* ==========================
   Recommended Course
========================== */

.course-page {
    background: #f8f6f1;
    color: #292722;
}

.course-container{
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
}
.areamap{
	width: min(1280px, calc(100% - 40px));
    margin: 90px auto 0;
}
/* Hero
-------------------------- */

.course-hero {
    position: relative;
    height: 480px;
    overflow: hidden;
    background: url(/wordpress/wp-content/themes/marutake-ebisu/img/category_bg.webp) no-repeat center center;
	background-size: cover;
}

.course-hero__image,
.course-hero__image img {
    width: 100%;
    height: 100%;
}

.course-hero__image img {
    display: block;
    object-fit: cover;
}

.course-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(25, 22, 17, 0.12) 0%,
            rgba(25, 22, 17, 0.4) 45%,
            rgba(25, 22, 17, 0.02) 100%
        );
}

.course-hero__content {
    position: absolute;
/*     left: max(30px, calc((100% - 1120px) / 2)); */
	left: 0;
	right: 0;
    top: 50%;
	margin: auto;
    z-index: 2;
    max-width: 860px;
    padding-right: 30px;
    color: #fff;
    transform: translateY(-50%);
	text-align: center;
}

.course-hero__eyebrow {
    margin: 0 0 18px;
    color: #e7d2a4;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.course-hero__title {
    margin: 0;
    color: #fff;
    font-family:
        "Noto Serif JP",
        "Yu Mincho",
        YuMincho,
        serif;
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 300;
    line-height: 1.35;
    letter-spacing: 0.05em;
}

/* Intro
-------------------------- */

.course-intro {
    padding: 75px 0 65px;
}

.course-intro__lead {
    max-width: 860px;
    margin: 0 auto 50px;
    font-size: 17px;
    line-height: 2;
}

.course-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid #ddd5c5;
    background: #fff;
}

.course-summary__item {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 110px;
    padding: 25px;
    border-right: 1px solid #ddd5c5;
}

.course-summary__item:last-child {
    border-right: 0;
}

.course-summary__icon {
    font-size: 26px;
}

.course-summary__label {
    margin: 0 0 7px;
    color: #777064;
    font-size: 13px;
}

.course-summary__value {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
}

/* Heading
-------------------------- */

.course-section-heading {
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: center;
}

.course-section-heading__eyebrow {
    margin: 0 0 12px;
    color: #a57831;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.course-section-heading h2 {
    margin: 0 0 25px;
    font-family:
        "Noto Serif JP",
        "Yu Mincho",
        YuMincho,
        serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 500;
}

.course-section-heading > p:last-child {
    margin: 0;
    line-height: 1.9;
}

/* Route
-------------------------- */

.course-route {
    padding: 90px 0;
    background: #fff;
}

.course-route__list {
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
}

.course-stop {
    position: relative;
    padding-left: 75px;
}

.course-stop__number {
    position: absolute;
    top: 25px;
    left: 0;
    z-index: 2;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 50%;
    background: #9c742f;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
}

.course-stop:not(:last-child)::before {
    position: absolute;
    top: 72px;
    bottom: 0;
    left: 23px;
    width: 1px;
    background: #cfbea0;
    content: "";
}

.course-stop__card {
    display: grid;
    grid-template-columns: 42% 1fr;
    overflow: hidden;
    border: 1px solid #e2ddd2;
    background: #fff;
    box-shadow: 0 12px 35px rgba(36, 31, 23, 0.07);
}

.course-stop__image {
    min-height: 310px;
}

.course-stop__image a,
.course-stop__image img {
    display: block;
    width: 100%;
    height: 100%;
}

.course-stop__image img {
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-stop__image a:hover img {
    transform: scale(1.04);
}

.course-stop__body {
    padding: 38px 42px;
}

.course-stop__step {
    margin: 0 0 10px;
    color: #a57831;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    letter-spacing: 0.14em;
}

.course-stop__title {
    margin: 0 0 20px;
    font-family:
        "Noto Serif JP",
        "Yu Mincho",
        YuMincho,
        serif;
    font-size: 27px;
    font-weight: 500;
    line-height: 1.5;
}

.course-stop__title a {
    color: inherit;
    text-decoration: none;
}

.course-stop__description {
    margin: 0 0 22px;
    line-height: 1.9;
}

.course-stop__meta {
    margin-bottom: 25px;
    padding-top: 18px;
    border-top: 1px solid #e6e0d6;
    color: #6e675c;
    font-size: 14px;
}

.course-stop__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #805e24;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.course-stop__link span {
    transition: transform 0.2s ease;
}

.course-stop__link:hover span {
    transform: translateX(5px);
}

.course-stop__connection {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-height: 105px;
    padding: 20px 0;
    color: #746c60;
    font-size: 13px;
}

.course-stop__connection-icon {
    color: #a57831;
    font-size: 21px;
}

.course-stop:last-child .course-stop__connection {
    min-height: auto;
    padding-bottom: 0;
}

/* Points
-------------------------- */

.course-points {
    padding: 85px 0;
}

.course-points__box {
    padding: 55px 65px;
    border: 1px solid #d8ccb5;
    background:
        linear-gradient(
            135deg,
            rgba(183, 142, 69, 0.08),
            rgba(255, 255, 255, 0.75)
        );
}

.course-points__box h2 {
    margin: 0 0 30px;
    font-family:
        "Noto Serif JP",
        "Yu Mincho",
        YuMincho,
        serif;
    font-size: 29px;
    font-weight: 500;
}

.course-points__box ul {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.course-points__box li {
    position: relative;
    padding-left: 30px;
    line-height: 1.8;
}

.course-points__box li::before {
    position: absolute;
    top: 0;
    left: 0;
    color: #a57831;
    content: "◆";
    font-size: 12px;
}

/* Notice
-------------------------- */

.course-notice {
    padding: 0 0 100px;
}

.course-notice__box {
    padding: 35px 40px;
    border-left: 4px solid #9c742f;
    background: #fff;
}

.course-notice__box h2 {
    margin: 0 0 15px;
    font-size: 20px;
}

.course-notice__box p {
    margin: 0;
    line-height: 1.9;
}

.course-notice__sub {
    margin-top: 12px !important;
    color: #777064;
    font-size: 13px;
}

/* Tablet
-------------------------- */

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

    .course-summary {
        grid-template-columns: repeat(2, 1fr);
    }

    .course-summary__item:nth-child(2) {
        border-right: 0;
    }

    .course-summary__item:nth-child(-n + 2) {
        border-bottom: 1px solid #ddd5c5;
    }

    .course-stop__card {
        grid-template-columns: 1fr;
    }

    .course-stop__image {
        min-height: auto;
        aspect-ratio: 16 / 9;
    }
}

/* Smartphone
-------------------------- */

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

    .course-container {
        width: min(100% - 28px, 1120px);
    }

    .course-hero {
        height: 390px;
    }

    .course-hero__overlay {
        background: rgba(25, 22, 17, 0.46);
    }

    .course-hero__content {
        right: 22px;
        left: 22px;
        padding-right: 0;
        text-align: center;
    }

    .course-hero__eyebrow {
        font-size: 11px;
        line-height: 1.7;
    }

    .course-hero__title {
        font-size: 31px;
    }

    .course-intro {
        padding: 48px 0;
    }

    .course-intro__lead {
        margin-bottom: 35px;
        font-size: 15px;
        line-height: 1.9;
    }

    .course-summary {
        grid-template-columns: 1fr;
    }

    .course-summary__item {
        min-height: 82px;
        padding: 17px 20px;
        border-right: 0;
        border-bottom: 1px solid #ddd5c5;
    }

    .course-summary__item:nth-child(2) {
        border-right: 0;
    }

    .course-summary__item:nth-child(-n + 2) {
        border-bottom: 1px solid #ddd5c5;
    }

    .course-summary__item:last-child {
        border-bottom: 0;
    }

    .course-route {
        padding: 60px 0;
    }

    .course-section-heading {
        margin-bottom: 42px;
    }

    .course-section-heading h2 {
        font-size: 28px;
    }

    .course-stop {
        padding-left: 40px;
    }

    .course-stop__number {
        top: 16px;
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .course-stop:not(:last-child)::before {
        top: 48px;
        left: 15px;
    }

    .course-stop__body {
        padding: 27px 23px 30px;
    }

    .course-stop__title {
        font-size: 23px;
    }

    .course-stop__description {
        font-size: 14px;
    }

    .course-stop__connection {
        min-height: 95px;
        padding: 18px 5px;
        text-align: center;
    }

    .course-points {
        padding: 55px 0;
    }

    .course-points__box {
        padding: 35px 25px;
    }

    .course-points__box h2 {
        font-size: 24px;
    }

    .course-notice {
        padding-bottom: 65px;
    }

    .course-notice__box {
        padding: 27px 23px;
    }
}