/* 
 * Wagashi Class LP Styles
 * Prefix: wc- (wagashi-class)
 */

/* ==========================================================================
   Base Variables & Common Styles
   ========================================================================== */
   :root {
    --wc-primary-blue: #292D74;
    --wc-bg-light-blue: #EBECF5;
    --wc-monthly-bg: #F1F5F7;
    --wc-monthly-accent: #3D7089;
    --wc-private-bg: #F9F5F5;
    --wc-private-accent: #A77075;
    --wc-onsite-bg: #FAF7F1;
    --wc-onsite-accent: #B5893C;
    --wc-online-bg: #F4F6F3;
    --wc-online-accent: #5F8152;
}

/* Common Container */
.wc-container {
    max-width: 1000px;
    margin: 3em auto;
    padding: 0 2%;
}

.wc-container--narrow {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2%;
}

/* Common Section Title Decoration - Height Fixed */
.wc-section-title {
    text-align: center;
    margin-bottom: 2em;
}

.wc-section-title img {
    max-width: unset;
    height: 6em;
}

/* ==========================================================================
   Breadcrumbs (Override for this page)
   ========================================================================== */
.wc-breadcrumbs {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1em 2%;
    font-size: 0.85em;
    color: #666;
}

.wc-breadcrumbs a {
    color: var(--wc-primary-blue);
    text-decoration: none;
}

.wc-breadcrumbs a:hover {
    text-decoration: underline;
}

.wc-breadcrumbs span {
    margin: 0 0.5em;
}

/* ==========================================================================
   Section 1: Hero & Introduction
   ========================================================================== */
.wc-hero {
    margin-bottom: 3em;
}

.wc-hero__mv {
    width: 100%;
    margin-bottom: 3em;
}

.wc-hero__mv img {
    width: 100%;
    height: auto;
    display: block;
}

.wc-hero__content {
    display: flex;
    gap: 4%;
    align-items: flex-start;
}

.wc-hero__left {
    flex: 1;
    text-align: center;
}

.wc-hero__title {
    margin-bottom: 1em;
}

.wc-hero__title img {
    max-width: unset;
    height: 6em;
}

.wc-hero__text {
    line-height: 2;
    font-size: 0.95em;
}

.wc-hero__right {
    flex: 1;
}

.wc-hero__images {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.wc-hero__right img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Section 2: What You Can Make (Background on bottom only)
   ========================================================================== */
.wc-sweets-wrapper {
    position: relative;
    padding-bottom: 4em;
}

.wc-sweets-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background-color: var(--wc-bg-light-blue);
    z-index: -1;
}

.wc-sweets {
    padding: 4em 0 0;
    position: relative;
    z-index: 1;
}

.wc-sweets__intro {
    text-align: center;
    margin-bottom: 3em;
    line-height: 1.8;
}

.wc-sweets__seasons {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 3em;
    position: relative;
	gap: 30px;
}

.wc-sweets__season {
    flex: 0 0 22%;
    text-align: center;
}

.wc-sweets__season:nth-child(2),
.wc-sweets__season:nth-child(3) {
    margin-bottom: 3em;
}

.wc-sweets__season img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.wc-sweets__nerikiri {
    text-align: center;
    margin-top: -4em;
}

.wc-sweets__nerikiri-title {
    font-size: 1.6em;
    color: var(--wc-primary-blue);
    margin-bottom: 1em;
}

.wc-sweets__nerikiri-text {
    line-height: 2;
    margin-bottom: 1em;
}

.wc-sweets__nerikiri-note {
    font-size: 0.85em;
}

/* ==========================================================================
   Section 3: Instructor Introduction (Background on bottom only)
   ========================================================================== */
.wc-instructor-wrapper {
    position: relative;
    padding-bottom: 4em;
}

.wc-instructor-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    background-color: var(--wc-bg-light-blue);
    z-index: -1;
}

.wc-instructor {
    padding: 4em 0 0;
    position: relative;
    z-index: 1;
}

.wc-instructor__content {
    display: flex;
    gap: 4%;
    align-items: flex-start;
}

.wc-instructor__left {
    width: 15%;
    flex-shrink: 0;
}

.wc-instructor__title {
    text-align: center;
}

.wc-instructor__title img {
    max-width: unset;
    height: 25em;
}

.wc-instructor__right {
    flex: 1;
}

.wc-instructor__text {
    line-height: 2;
    margin-bottom: 2em;
}

.wc-instructor__name {
    font-size: 1.1em;
    margin-bottom: 1.5em;
}

.wc-instructor__image {
    max-width: 600px;
}

.wc-instructor__image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Section 4: Participation Options
   ========================================================================== */
.wc-options {
    padding: 3em 0;
}

.wc-options__intro {
    text-align: center;
    margin-bottom: 2em;
}

.wc-options__buttons {
    display: flex;
    justify-content: space-between;
    gap: 2%;
}

.wc-options__button {
    flex: 1;
    text-align: center;
}

.wc-options__button a {
    display: block;
}

.wc-options__button img {
    max-width: 100%;
    height: auto;
}

/* Fixed Navigation on Scroll - Same style as normal buttons */
.wc-sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 1000;
    padding: 1em 0;
    transform: translateY(-110%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s ease;
}

.wc-sticky-nav.is-visible {
    transform: translateY(0);
    visibility: visible;
}

.wc-sticky-nav__inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2%;
    display: flex;
    justify-content: space-between;
    gap: 2%;
}

.wc-sticky-nav__button {
    flex: 1;
    text-align: center;
}

.wc-sticky-nav__button a {
    display: block;
}

.wc-sticky-nav__button img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Content Sections (Monthly, Private, On-site, Online)
   ========================================================================== */
.wc-class-section {
    padding: 4em 0;
    font-size: 14px;
}

.wc-class-section--monthly {
    background-color: var(--wc-monthly-bg);
}

.wc-class-section--monthly .wc-class__title {
    color: var(--wc-monthly-accent);
    border-bottom: 1px solid var(--wc-monthly-accent);
}

.wc-class-section--monthly .wc-class__title::before,
.wc-class-section--monthly .wc-class__title::after {
    color: var(--wc-monthly-accent);
}

.wc-class-section--monthly .wc-class__table tr:first-child th,
.wc-class-section--monthly .wc-class__table tr:first-child td {
    border-top: 1px solid var(--wc-monthly-accent);
}

.wc-class-section--monthly .wc-class__table th {
    color: var(--wc-monthly-accent);
    border-bottom: 1px solid var(--wc-monthly-accent);
}

.wc-class-section--monthly .wc-class__table td {
    border-bottom: 1px solid var(--wc-monthly-accent);
    border-left: 1px solid var(--wc-monthly-accent);
}

.wc-class-section--monthly .wc-class__highlight,
.wc-class-section--monthly .wc-class__link {
    color: var(--wc-monthly-accent);
}

.wc-class-section--private {
    background-color: var(--wc-private-bg);
}

.wc-class-section--private .wc-class__title {
    color: var(--wc-private-accent);
    border-bottom: 1px solid var(--wc-private-accent);
}

.wc-class-section--private .wc-class__title::before,
.wc-class-section--private .wc-class__title::after {
    color: var(--wc-private-accent);
}

.wc-class-section--private .wc-class__table tr:first-child th,
.wc-class-section--private .wc-class__table tr:first-child td {
    border-top: 1px solid var(--wc-private-accent);
}

.wc-class-section--private .wc-class__table th {
    color: var(--wc-private-accent);
    border-bottom: 1px solid var(--wc-private-accent);
}

.wc-class-section--private .wc-class__table td {
    border-bottom: 1px solid var(--wc-private-accent);
    border-left: 1px solid var(--wc-private-accent);
}

.wc-class-section--private .wc-class__highlight,
.wc-class-section--private .wc-class__link {
    color: var(--wc-private-accent);
}

.wc-class-section--onsite {
    background-color: var(--wc-onsite-bg);
}

.wc-class-section--onsite .wc-class__title {
    color: var(--wc-onsite-accent);
    border-bottom: 1px solid var(--wc-onsite-accent);
}

.wc-class-section--onsite .wc-class__title::before,
.wc-class-section--onsite .wc-class__title::after {
    color: var(--wc-onsite-accent);
}

.wc-class-section--onsite .wc-class__table tr:first-child th,
.wc-class-section--onsite .wc-class__table tr:first-child td {
    border-top: 1px solid var(--wc-onsite-accent);
}

.wc-class-section--onsite .wc-class__table th {
    color: var(--wc-onsite-accent);
    border-bottom: 1px solid var(--wc-onsite-accent);
}

.wc-class-section--onsite .wc-class__table td {
    border-bottom: 1px solid var(--wc-onsite-accent);
    border-left: 1px solid var(--wc-onsite-accent);
}

.wc-class-section--onsite .wc-class__highlight,
.wc-class-section--onsite .wc-class__link {
    color: var(--wc-onsite-accent);
}

.wc-class-section--online {
    background-color: var(--wc-online-bg);
}

.wc-class-section--online .wc-class__title {
    color: var(--wc-online-accent);
    border-bottom: 1px solid var(--wc-online-accent);
}

.wc-class-section--online .wc-class__title::before,
.wc-class-section--online .wc-class__title::after {
    color: var(--wc-online-accent);
}

.wc-class-section--online .wc-class__table tr:first-child th,
.wc-class-section--online .wc-class__table tr:first-child td {
    border-top: 1px solid var(--wc-online-accent);
}

.wc-class-section--online .wc-class__table th {
    color: var(--wc-online-accent);
    border-bottom: 1px solid var(--wc-online-accent);
}

.wc-class-section--online .wc-class__table td {
    border-bottom: 1px solid var(--wc-online-accent);
    border-left: 1px solid var(--wc-online-accent);
}

.wc-class-section--online .wc-class__highlight,
.wc-class-section--online .wc-class__link {
    color: var(--wc-online-accent);
}

/* Class Content Layout */
.wc-class__inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2%;
}

.wc-class__header {
    text-align: center;
    margin-bottom: 3em;
}

.wc-class__title {
    font-size: 1.8em;
    display: inline-block;
    padding-bottom: 1em;
    margin-bottom: 1em;
}

.wc-class__title::before,
.wc-class__title::after {
    content: "■";
    margin: 0 1.5em;
    font-size: 0.4em;
    vertical-align: middle;
}

.wc-class__subtitle {
    line-height: 1.8;
}

.wc-class__body {
    display: flex;
    gap: 4%;
    margin-top: 2em;
}

.wc-class__left {
    flex: 1;
}

.wc-class__right {
    flex: 1;
}

/* Table Styles */
.wc-class__table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
}

.wc-class__table th {
    width: 20%;
    padding: 1.2em 1em 1.2em;
    text-align: left;
    vertical-align: middle;
    font-weight: normal;
}

.wc-class__table td {
    padding: 1.2em 0 1.2em 1.5em;
    vertical-align: middle;
    line-height: 1.8;
}

.wc-class__table-note {
    font-size: 0.85em;
    display: block;
    margin-top: 0.3em;
}

/* Application Info - No bold */

.wc-class__apply-title {
    margin-bottom: 1em;
}

.wc-class__apply-note {
    margin-bottom: 1.5em;
    line-height: 1.8;
}

.wc-class__link {
    text-decoration: underline;
}

.wc-class__highlight {
    font-weight: normal;
}

/* Apply Methods Grid (for Monthly) */
.wc-class__methods {
    display: flex;
    gap: 2em;
    margin: 1.5em 0;
}

.wc-class__method {
    flex: 1;
}

.wc-class__method-num {
    font-size: 1.2em;
    margin-bottom: 0.3em;
}

.wc-class__method-title {
    font-weight: bold;
    margin-bottom: 0.5em;
}

.wc-class__method-text {
    font-size: 0.9em;
    line-height: 1.8;
}

/* Apply Steps (for Private, On-site, Online) - No gray color */
.wc-class__steps {
    margin: 1.5em 0;
}

.wc-class__step {
    margin-bottom: 1em;
    line-height: 1.8;
}

.wc-class__step-num {
    margin-right: 0.5em;
}

.wc-class__step-detail {
    padding-left: 2.5em;
    font-size: 0.9em;
}

/* Payment Info - No bold */
.wc-class__payment {
    margin-top: 2em;
}

.wc-class__payment-title {
    margin-bottom: 1em;
}

.wc-class__payment-text {
    line-height: 1.8;
    margin-bottom: 1em;
}

.wc-class__bank {
    display: flex;
    gap: 3em;
    margin-top: 1em;
}

.wc-class__bank-item {
    line-height: 1.8;
}

/* Online Section Image */
.wc-class__image {
    margin: 2em 0;
}

.wc-class__image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
}

/* Prepare Section (On-site) */
.wc-class__prepare {
    margin-top: 1.5em;
    line-height: 1.8;
}

/* Delivery Info (for Online) - No bold */
.wc-class__delivery {
    margin-top: 2em;
}

.wc-class__delivery-title {
    margin-bottom: 1em;
}

.wc-class__delivery-list {
    line-height: 2;
    margin-bottom: 1.5em;
}

.wc-class__delivery-note {
    font-size: 0.85em;
    line-height: 1.8;
}

/* ==========================================================================
   Caution Section
   ========================================================================== */
.wc-caution {
    padding: 4em 0;
}

.wc-caution__inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2%;
    display: flex;
    gap: 4%;
}

.wc-caution__left {
    flex: 1;
}

.wc-caution__title {
    margin-bottom: 2em;
    text-align: center;
}

.wc-caution__title img {
    max-width: unset;
    height: 6em;
}

.wc-caution__list {
    font-size: 14px;
    line-height: 2;
}

.wc-caution__item {
    padding-left: 1em;
    text-indent: -1em;
}

.wc-caution__heading {
    font-weight: bold;
    margin: 1.5em 0 0.5em;
    color: var(--wc-primary-blue);
}

.wc-caution__right {
    flex: 1;
}

.wc-caution__image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media screen and (max-width: 768px) {

	main#wc-main {
		padding-top: 55px;
	}
	.wc-breadcrumbs {
		font-size: 0.6em;
	}
    .wc-container {
        margin: 1em auto;
	}
	.wc-hero__text {
		font-size: 13px;
	}

    /* Section Title */
    .wc-section-title img {
        height: 4em;
    }

    .wc-hero__title img,
    .wc-caution__title img {
        height: 4em;
    }

    .wc-instructor__title img {
        height: 14em;
	}

	.wc-instructor__name {
		font-size: 1em;
	}

	.wc-instructor-wrapper::after {
		height: 20%;
	}

    /* Section 1: Hero */
    .wc-hero__content {
        flex-direction: column;
    }

    .wc-hero__left,
    .wc-hero__right {
        width: 100%;
    }

    .wc-hero__left {
        margin-bottom: 2em;
    }

	/* Section 2: Sweets */
	.wc-sweets__seasons {
		flex-wrap: wrap;
		gap: 20px;
	}

    .wc-sweets__season {
        flex: 0 0 43%;
    }

    .wc-sweets__season:nth-child(1),
    .wc-sweets__season:nth-child(3) {
        margin-bottom: 0;
    }

    .wc-sweets__season:nth-child(2),
    .wc-sweets__season:nth-child(4) {
        margin-top: -3em;
        margin-bottom: 0;
    }

    /* Section 3: Instructor */
    .wc-instructor__content {
        flex-direction: column;
    }

    .wc-instructor__left {
        width: 100%;
        margin-bottom: 2em;
    }

    /* Section 4: Options */
    .wc-options__buttons {
        flex-wrap: wrap;
		padding: 0 4%;
    }

    .wc-options__button {
        flex: 0 0 48%;
    }

    /* Sticky Nav for SP */
    .wc-sticky-nav {
		background: unset;
	}

	.wc-sticky-nav.is-visible {
		top: 50px;
	}

	.wc-sticky-nav__inner {
		flex-wrap: wrap;
		gap: 0;
		padding: 0 3em;
	}

    .wc-sticky-nav__button {
        flex: 0 0 49%;
    }

	/* Class Sections */
	.wc-class__body {
		flex-direction: column;
		font-size: 12px;
	}

    .wc-class__left,
    .wc-class__right {
        width: 100%;
		margin-bottom: 2em;
    }

    .wc-class__methods {
        flex-direction: column;
        gap: 1.5em;
    }

    .wc-class__bank {
        flex-direction: column;
        gap: 1.5em;
    }

    /* Caution Section */
    .wc-caution__inner {
        flex-direction: column;
    }

    .wc-caution__left,
    .wc-caution__right {
        width: 100%;
    }

    .wc-caution__right {
        margin-top: 2em;
	}

	.wc-sweets-wrapper {
		padding: 0 2% 3em;
	}
	.wc-section-title {
		margin-bottom: 1em;
	}
	.wc-sweets__intro {
		font-size: 13px;
	}
	.wc-sweets__nerikiri {
		margin-top: 0;
	}
	.wc-sweets__nerikiri-title {
		font-size: 1.2em;
	}
	.wc-sweets__nerikiri-text {
		font-size: 13px;
	}
	.wc-sweets__nerikiri-note {
		font-size: 11px;
		line-height: 2;
	}
	.wc-instructor {
		padding: 3em 2% 0;
	}
	.wc-instructor__text {
		font-size: 13px;
	}
	.wc-class-section--monthly .wc-class__title {
		font-size: 1.4em;
	}
	.wc-class__table th {
		width: 30%;
		padding: 1.2em 0.5em 1.2em;
	}
	.wc-class-section {
		padding: 3em 0 2em;
	}
	.wc-class__title {
		font-size: 19px;
	}
}

/* PC用ボタン非表示（SP時） */
@media screen and (max-width: 768px) {
    .wc-options__button--pc {
		display: none;
	}
	.wc-options__button--sp {
		display: block;
		flex: 0 48%;
	}
}

/* SP用ボタン非表示（PC時） */
@media screen and (min-width: 769px) {
    .wc-options__button--sp {
        display: none;
    }
}
