* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #006934;
    --text-color: #333;
    --bg-light: #f8f8f8;
    --white: #ffffff;
    --black: #000000;
    --yellow: #FFD700;
}

body {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
}
.page-wrap{
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    color: var(--primary-color);
}

/* Keyframe Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* レスポンシブ改行 */
.rsp_br {
    display: none;
}
@media (max-width: 768px) {
    .rsp_br {
        display: block;
    }
}

.logo {
    width: 160px;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Hero Section */
.hero-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    margin-top: 200px;
}

.hero {
    aspect-ratio: 2156 / 2400;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    color: var(--white);
    display: flex;
    align-items: start;
    justify-content: center;
    position: relative;
    padding: 5%;
    overflow: hidden;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    transition: clip-path 0.3s ease-out;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: url('../img/bg_4.jpg') no-repeat;
    background-size: cover;
    background-position: center center;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: none;
    z-index: 0;
    pointer-events: none;
}

.hero-decos {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-deco {
    position: absolute;
    left: var(--x, 50%);
    top: var(--y, 50%);
    width: var(--size, 220px);
    height: var(--size, 220px);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transform: translate(-50%, -50%) rotate(var(--rot, 0deg));
    opacity: 0.9;
}
.hero-kikangentei {
    position: absolute;
    top:0;
    left: 0;
    width: 200px;
    height: auto;
    z-index: 3;
}

.hero-sidecopy {
    position: absolute;
    left: 2%;
    top: 50%;
    transform: translateY(-50%);
    width: 10%;
    margin: 0;
    z-index: 3;
    line-height: 0;
}

.hero-sidecopy img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .hero-kikangentei {
        width: 100px;
    }
    
    .hero::before {
        background: url('../img/bg_4.jpg') no-repeat;
        background-size: cover;
        background-position: center center;
    }
    .hero-disclaimer {
        font-size: 9px;
        bottom: 15px;
        right: 20px;
    }
}

.hero-disclaimer {
    position: absolute;
    bottom: 45px;
    right: 4%;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    z-index: 3;
    margin: auto;
}

.hero-outer-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: none;
    z-index: 2;
    pointer-events: none;
    display: none;
}

.hero-inner-border {
    position: absolute;
    top: 3%;
    left: 3%;
    right: 3%;
    bottom: 3%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        'hero-left hero-notice-area'
        'hero-bottom hero-bottom'
        'hero-cta hero-cta';
    gap: 18px 24px;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    margin: 0 auto;
    pointer-events: none;
}

.hero-content > * {
    pointer-events: auto;
}

.hero-left {
    grid-area: hero-left;
    text-align: left;
    display: block;
    width: 100%;
    align-self: center;
}

.hero-left-content {
    grid-area: hero-notice-area;
    margin-top: 0;
    width: 100%;
    max-width: 100%;
    padding: 0;
    transform: none;
    align-self: self-start;
}

.hero-bottom {
    width: fit-content;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 4.5fr) minmax(0, 4.5fr);
    align-items: center;
    gap: 24px;
    max-width: 1200px;
    margin-top: -250px;
    position: relative;
    z-index: 5;
    margin-bottom: -175px;
}

.hero h1 {
    font-size: 50px;
    color: var(--white);
    margin-bottom: 0;
    margin-right: 10px;
    line-height: 0;
    display: inline;
}

.hero-title {
    margin:auto;
    display: block;
    width: 95%;
    position: relative;
    left: 10%;
}

.hero-title img {
    display: block;
    width: min(100%, 760px);
    height: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero-product {
    margin: 0;
    display: block;
    width: 130%;
    left: -75px;
    position: relative;
}

.hero-product-wrapper {
    width: 100%;
    min-width: 0;
    align-self: center;
}

@media (max-height: 800px) {
    .hero-product {
        margin-top: 0;
    }
}

.hero-product h2 {
    font-size: 24px;
    color: #000;
    margin-bottom: 0;
    text-align: center;
    text-shadow: 1px 1px 3px #fff, -1px -1px 3px #fff;
    white-space: nowrap;
    position: absolute;
    bottom: 0px;
}
.hero-product h2 span {
    color: #b91c25;
    font-size: 38px;
}
.hero-product h2 span::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    background: url('../img/chonchon.png') center / contain no-repeat;
    margin-right: 3px;
}
.hero-product h2 span::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    background: url('../img/chonchon.png') center / contain no-repeat;
    margin-left: 3px;
    transform: rotate(180deg);
}
.hero-product img{
    width: 100%;
    height: auto;
    display: block;
    position: relative;
}
.hero-price {
    width: 100%;
    margin: 0;
    text-align: center;
    align-self: center;
}

.hero-price-sub {
    text-align: right;
    transform: rotate(15deg);
    margin-bottom: 15px;
    margin-top: 50px;
}

.hero-price-sub img{
    width: 80%;
}

.hero-price-main {
    margin: 0;
    width: 105%;
    right: 25px;
    position: relative;
}

.hero-price-main-image {
    display: block;
    width: min(100%, 520px);
    height: auto;
}

.hero-notice {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 0;
    display: table;
}

.hero-notice-title {
    margin: 0 0 10px 0;
    font-size: 0;
    line-height: 0;
}

.hero-notice-title img {
    width: 100%;
    height: auto;
    display: block;
    margin: auto;
}

.hero-notice-main {
    margin: 0 0 50px 0;
}

.hero-notice-main-image {
    display: block;
    width: 80%;
    height: auto;
    position: relative;
    top: -15px;
    margin-left: auto;
}

.item-section {
    width: 100%;
    margin-top: 10vh;
    scroll-margin-top: 100px;
    background: #fef4e5;
    position: relative;
    z-index: 2;
}

.item-section::before {
    content: "";
    position: absolute;
    left: 0;
    top: -95px;
    width: 100%;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'%3E%3Cpath fill='%23fef4e5' d='M0,120 C480,10 960,230 1440,120 L1440,200 L0,200 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
    pointer-events: none;
}

.item-section::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -95px;
    width: 100%;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'%3E%3Cpath fill='%23fef4e5' d='M0,0 L0,80 C480,190 960,-30 1440,80 L1440,0 Z'/%3E%3C/svg%3E") center top / 100% 100% no-repeat;
    pointer-events: none;
}

.item-section h2 {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 45px;
    font-weight: 900;
    text-align: center;
    margin: 0 0 22px;
    color: var(--primary-color);
    position: relative;
    display: block;
    padding: 0.7em 0.5em;
    margin: auto;
}

.item-section ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 1024px;
    margin: auto;
}

.item-section li {
    background: rgba(255, 255, 255, 0.75);
    border-radius: 12px;
    padding: 28px 14px 14px 14px;
    color: var(--text-color);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    overflow: visible;
    position: relative;
    margin: 2%;
}

/* 有機的な形状 */
.item-section li:nth-child(1) { 
    border-radius: 45% 55% 58% 42% / 52% 48% 52% 48%;
}
.item-section li:nth-child(2) { 
    border-radius: 45% 55% 58% 42% / 52% 48% 52% 48%;
    top:45px
}
.item-section li:nth-child(3) { 
    border-radius: 45% 55% 58% 42% / 52% 48% 52% 48%;
    grid-column: 1 / -1;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}
.item-section li:nth-child(4) { 
    border-radius: 45% 55% 58% 42% / 52% 48% 52% 48%;
    top:-45px;
}
.item-section li:nth-child(5) { 
    border-radius: 45% 55% 58% 42% / 52% 48% 52% 48%;
}

.item-section h3 {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 22px;
    color: var(--primary-color);
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 0;
    width: fit-content;
    max-width: 100%;
    padding: 0 18px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    position: relative;
}

.item-section h3::before {
    content: '';
    position: absolute;
    top: -5px;
    right: 0;
    width: 30px;
    height: 30px;
    background: url('../img/kakko-start.png') center / contain no-repeat;
    z-index: 1;
}

.item-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 30px;
    background: url('../img/kakko-end.png') center / contain no-repeat;
    z-index: 1;
}

/* Item Section Title */

.item-section-discliption {
    text-align: center;
    margin-top: 0;
    margin-bottom: 20px;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}
.item-section-discliption img{
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    padding: 5%;
}
.item-section-title {
    font-size: 0;
    line-height: 0;
    margin-top: 15px;
    margin-bottom: 25px;
    padding: 0;
    width: 100%;
    margin: auto;
    max-width: 1024px;
}
.item-section-title img {
    width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.item-section h3 span {
    display: inline-block;
    font-size: 15px;
    color: #666;
}

/* アイコン系spanの共通スタイル */
.item-section h3 span.reito,
.item-section h3 span.renji,
.item-section h3 span.flaipan,
.item-section h3 span.toaster {
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    text-indent: -9999px;
    overflow: hidden;
    vertical-align: middle;
    margin-left: 5px;
}

.item-section h3 span.reito {
    background-image: url('../img/reito.png');
    width: 60px;
}

.item-section h3 span.renji {
    background-image: url('../img/renji.png');
    width: 84px;
}

.item-section h3 span.flaipan {
    background-image: url('../img/fraipan.png');
    width: 84px;
}

.item-section h3 span.toaster {
    background-image: url('../img/toaster.png');
    width: 84px;
}

.item-image-stack {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 95%;
    margin: 0;
    position: relative;
}

.item-image-stack::after {
    content: "調理画像はイメージです";
    position: absolute;
    left: 50%;
    bottom: 10px;
    font-size: 10px;
    line-height: 1.2;
    color: #555;
    background: rgba(255, 255, 255, 0.85);
    padding: 2px 6px;
    border-radius: 10px;
    z-index: 3;
    pointer-events: none;
    transform: translateX(-50%);
    white-space: nowrap;
}

.item-image-stack .item-section-image {
    position: static;
    transform: none;
}

.item-section-image-base {
    width: 60%;
    height: auto;
    object-fit: cover;
    border-radius: 48% 52% 42% 58% / 58% 42% 58% 42%;
    overflow: hidden;
}

.item-section-image-front {
    width: 50%;
    height: auto;
    object-fit: contain;
    margin-left: -50px;
    z-index: 2;
}

.item-section li p {
    font-size: 22px;
    word-break: keep-all;
    line-height: 1.6;
    margin: 0;
    padding: 12px 1.8em;
    min-height: auto;
    background: rgba(45,139,45,0.1);
    right: 0;
    bottom: 0;
    z-index: 2;
    font-weight: bold;
    text-shadow: none;
    color: #111;
    text-align: center;
    max-width: 100%;
    border-radius: 0;
    clip-path: polygon(0% 20%, 8% 0%, 92% 5%, 100% 25%, 98% 75%, 95% 100%, 10% 95%, 2% 70%);
}

.item-section li p::before {
    display: none;
}

.item-section li p::after {
    content: '';
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid rgba(45, 139, 45, 0.1);
}

#itemsection > ul > li:nth-child(1) > div > img:nth-child(2) {
    width: 35%;
}
/* Section Styles */
section {
    padding: 55px 20px;
}

.container {
    max-width: 990px;
    margin: 0 auto;
    padding: 0 20px;
}

/* How to Join Section */
.howtojoin {
    position: relative;
    z-index: 2;
}

.howtojoin-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.howtojoin h2 {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 45px;
    font-weight: 900;
    text-align: center;
    margin: 0;
    color: var(--primary-color);
    position: relative;
    display: block;
    padding: 0.7em 0.5em;
}

.howtojoin h2::before, .howtojoin h2::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    transform-origin: center;
    width: 3px;
    height: 40%;
    background: var(--yellow);
}

.howtojoin h2::before {
    left: calc(45% - 190px);
    transform: translateY(-50%) rotate(-28deg);
}

.howtojoin h2::after {
    right: calc(45% - 190px);
    transform: translateY(-50%) rotate(28deg);
}

.howtojoin-truck {
    width: 235px;
    height: auto;
    position: relative;
    top: -30px;
}

.steps {
    position: relative;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 25px 0;
    position: relative;
}

.step {
    text-align: center;
    position: relative;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 30px 20px;
    background: var(--white);
}

/*.step::before {
    content: attr(data-number);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}*/

.steps > .step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -28px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    font-weight: bold;
    color: var(--primary-color);
    z-index: 1;
}

.step-img {
    width: 160px;
    max-width: 100%;
    height: 120px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    position: relative;
}

.step-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
}

.step p {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-align: left;
}

.notion {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}
.steps > div > ul > small > li {
    position: relative;
    padding-left: 1.4em;
    line-height: 1.6;
    text-align: left;
    list-style: none;
}
.steps > div > ul > small > li::before {
    content: "※";
    position: absolute;
    left: 0;
    top: 0;
    color: inherit;
}
.steps  p > small{
    display: block;
    line-height:1.3
}

.special-notice {
    text-align: center;
    margin: 25px 0;
}

.special-notice p {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    background: var(--white);
    padding: 20px 30px;
    border-radius: 10px;
    border: 2px solid var(--yellow);
    display: inline-block;
    margin: 0 auto;
}

.yellownotion {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 15px;
    border-radius: 8px;
    margin: 30px auto;
    text-align: left;
    font-size: 14px;
    font-weight: bold;
    width: 60%;
    max-width: 800px;
    list-style: none;
    padding-left: 20px;
    padding-right: 20px;
    display: grid;
    gap: 6px;
}

.yellownotion li {
    position: relative;
    padding-left: 1.4em;
    line-height: 1.6;
}

.yellownotion li::before {
    content: "※";
    position: absolute;
    left: 0;
    top: 0;
    color: inherit;
}

.freedial {
    text-align: center;
    margin: 40px 0;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
}

.freedial h2 {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: block;
    padding: 0.7em 0.5em;
    text-align: center;
}

.freedial h2::before, .freedial h2::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    transform-origin: center;
    width: 3px;
    height: 40%;
    background: var(--yellow);
}

.freedial h2::before {
    left: calc(50% - 130px);
    transform: translateY(-50%) rotate(-28deg);
}

.freedial h2::after {
    right: calc(50% - 130px);
    transform: translateY(-50%) rotate(28deg);
}

.freedial p {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.freedial-number {
    display: inline-block;
    margin: 10px 0;
}

.freedial-number a {
    pointer-events: none;
    cursor: default;
}

.freedial_wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.freedial_wrap img {
    max-width: 450px;
    width: 100%;
    height: auto;
}

.freedial span {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

.endfreedial {
    text-align: center;
    margin: 20px 0;
    font-size: 14px;
    color: #666;
}

.btn {
    text-align: center;
    margin: 30px 0;
}

.btn a {
    display: inline-block;
    background: #EA5514;
    color: var(--white);
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255,105,52,0.3);
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    word-break: keep-all;
}

.btn a::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 45px;
    pointer-events: none;
}

.btn a:hover {
    background: #EA5514;
    transform: scale(0.95) translateY(-2px);
    box-shadow: 0 0 0 rgba(234, 85, 20, 0);
}

.btn.qa a {
    background: none;
    font-size: 16px;
    padding: 0;
    box-shadow: none;
    color: #777;
}

.btn.qa a::before {
    display: none;
}

/* Notice Section */
.notice-section {
    background: #f0f8f4;
    border: 2px solid var(--primary-color);
    padding: 40px;
    border-radius: 10px;
    margin: 40px auto;
    max-width: 900px;
}

.notice-section p {
    font-size: 15px;
    line-height: 2;
    margin-bottom: 15px;
}

.notice-section p:first-child {
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-color);
}
.gc-mark {
    width: 24px;
    height: auto;
    margin: 0 4px;
}
/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 180px;
    height: auto;
}

footer a {
    color: var(--white);
    text-decoration: underline;
    margin: 0 15px;
    font-size: 12px;
}

footer a::after {
    content: ' ↗';
    font-size: 10px;
}

footer a:hover {
    opacity: 0.8;
}

.copyright {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.8;
}

/* Apply Button Styles */
.apply-btn {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #EA5514 0%, #FF7F50 100%);
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
}

.apply-btn:hover {
    transform: scale(0.95);
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
}

/* Center Button in Hero */
.apply-button-center-hero {
    position: absolute;
    top: 60vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    z-index: 10;
    width: 100%;
}

/* Center Button Section */
.apply-button-center {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    background: #f8f8f8;
}

.apply-btn-center {
    padding: 18px 50px;
    font-size: 20px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8), 0 4px 20px rgba(255, 255, 255, 0.6);
    position: relative;
}

.apply-btn-center::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    pointer-events: none;
}

/* Floating Button (Right) */
.floating-btn {
    position: fixed;
    bottom: 10%;
    right: 6vw;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, #EA5514 0%, #FF7F50 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 22px;
    line-height: 1.4;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.6);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.floating-btn::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    pointer-events: none;
}

.floating-btn.show {
    opacity: 1;
    visibility: visible;
    animation: fadeInBtn 0.6s ease-out forwards;
}

@keyframes fadeInBtn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.floating-btn:hover {
    transform: scale(0.95);
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
}

.floating-btn span {
    text-align: center;
}

/* ======================================
   iPad Optimization (769px - 1024px)
   ====================================== */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Hero Section */
    .hero-wrapper {
        width: 90%;
        margin-top: 150px;
    }

    .hero {
        width: 100%;
    }

    .hero-content {
        grid-template-columns: minmax(0, 5.5fr) minmax(0, 4.5fr);
        grid-template-areas:
            'hero-left hero-notice-area'
            'hero-bottom hero-bottom'
            'hero-cta hero-cta';
        gap: 14px 18px;
        padding: 0 15px;
        top: 20px;
        width: 90%;
    }

    .hero-left {
        padding: 0;
        width: 100%;
    }

    .hero-left-content {
        max-width: 100%;
        padding: 0;
        align-self: center;
    }

    .hero-bottom {
        grid-template-columns: minmax(0, 5fr) minmax(0, 5fr);
        max-width: none;
        margin-top: -13vh;
        gap: 16px;
        margin-bottom: -11vh;
    }
    .hero-title{
        width: 100%;
    }
    .hero-title img {
        width: min(100%, 600px);
    }

    .hero-product img {
        width: 90%;
        top: -3vh;
        left: 15px;
    }

    .hero-product h2 {
        font-size: 22px;
    }

    .hero-product h2 span {
        font-size: 32px;
    }

    .hero-price-main-image {
        width: min(100%, 420px);
    }

    .hero-kikangentei {
        width: 150px;
    }

    /* Item Section - 2:1:2の縦並びレイアウト */
    .item-section {
        margin-top: 6vh;
    }

    .item-section h2 {
        font-size: 30px;
    }

    .item-section ul {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 15px;
    }

    /* 1行目: 2つ横並び */
    .item-section li:nth-child(1) { 
        grid-column: 1 / span 2;
        margin-top: 0;
    }

    .item-section li:nth-child(2) { 
        grid-column: 3 / span 2;
        margin-top: 0;
    }

    /* 2行目: 中央に1つ */
    .item-section li:nth-child(3) { 
        grid-column: 2 / span 2;
        left: -5vw;
        width: 100%;
        top: -1vh;
    }

    /* 3行目: 2つ横並び */
    .item-section li:nth-child(4) { 
        grid-column: 1 / span 2;
        margin-top: 10px;
    }

    .item-section li:nth-child(5) { 
        grid-column: 3 / span 2;
        margin-top: 10px;
    }

    .item-section h3 {
        font-size: 18px;
        padding: 0 14px;
    }

    .item-section h3 span {
        font-size: 13px;
    }

    .item-image-stack {
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .item-section p {
        font-size: 13px;
    }
    .item-section li p{
        position: relative;
        font-size: 18px;
        min-width: 300px;
    }
    /* Howtojoin Section */
    .howtojoin {
        padding: 80px 20px;
    }

    .steps {
        gap: 20px;
    }

    .step {
        padding: 25px 15px;
    }

    /* Floating Button */
    .floating-btn {
        width: 140px;
        height: 140px;
        font-size: 20px;
        right: 4vw;
        bottom: 14vh;
    }

    /* Hero Notice */
    .hero-notice-title img {
        width: 70%;
    }

    .hero-notice-main-image {
        width: 90%;
        top: 0;
        left: 0;
    }

    /* Form adjustments */
    .container {
        max-width: 100%;
    }

    /* Enter to set button */
    .enter_to_set-main span {
        font-size: 16px;
    }

    .enter_to_set-main img {
        width: 22px;
        height: 22px;
    }

    /* Hero price text */
    .hero-price-sub img {
        width: 55%;
    }

    /* Item section badges */
    .item-section h3 span.reito,
    .item-section h3 span.renji,
    .item-section h3 span.flaipan,
    .item-section h3 span.toaster {
        height: 45px;
        min-width: 45px;
    }
}
/* Responsive */
@media (max-width: 768px) {
    .rsp_br {
        display: inline;
    }

    .logo {
        width: 115px;
        margin: auto;
    }

    .hero-wrapper {
        width: 90%;
        margin-top: 265px;
    }

    .hero {
        width: 100%;
    }

    .hero::before {
        transform: none;
        background-size: cover;
        background-position: center center;
        width: 100%;
    }

    .hero-content {
        grid-template-columns: 1fr;
        grid-template-areas:
            'hero-left'
            'hero-notice-area'
            'hero-bottom'
            'hero-cta';
        top: 0;
    }

    .hero-left {
        padding: 0 5%;
        width: 90%;
        margin: auto;
    }

    .hero-left-content {
        width: 90%;
        top: -50px;
        position: absolute;
        left: -20px;
    }
    .hero-sidecopy img {
        width: 115%;
        left: 16px;
        position: relative;
    }
    .hero-bottom {
        display: flex;
        width: 100%;
        margin-top: -110px;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        justify-self: center;
    }

    .hero-notice {
        margin-top: 60px;
    }

    .hero-notice-main {
        font-size: 17px;
        margin-bottom: 8px;
    }

    .hero-notice-main-image {
        width: min(90%, 280px);
    }
    .hero-disclaimer{
        right: 8%;
        bottom:22px;
        font-size: 12px;
    }
    .apply-btn-center {
        padding: 18px 35px;
        text-align: center;
    }
    .item-section {
        margin-top: 100px;
        padding: 40px 12px;
    }

    .item-section h2 {
        font-size: 28px;
        padding: 0 10px;
    }

    .item-section ul {
        grid-template-columns: repeat(1, 1fr);
        gap: 16px;
        margin-top: 35px;
        padding: 0 8px;
    }
    .item-image-stack::after{
        bottom: 0;
    }
    .gc-mark {
        width: 16px;
        margin: 0 2px;
    }

    .item-section h3 {
        font-size: 16px;
        padding: 0 12px;
        line-height: 1.4;
    }

    .item-section h3::before,
    .item-section h3::after {
        width: 16px;
        height: 16px;
    }

    .item-section h3::before {
        top: -2px;
        right: 0;
    }

    .item-section h3::after {
        bottom: -2px;
        left: 0;
    }

    .item-section h3 span {
        font-size: 10px;
        display: block;
        margin: 4px 0 0;
    }

    /* アイコン系spanのスマホ対応 */
    .item-section h3 span.reito,
    .item-section h3 span.renji,
    .item-section h3 span.flaipan,
    .item-section h3 span.toaster {
        height: 32px;
        min-width: 32px;
        margin-left: 0;
        margin-top: 6px;
        display: inline-block;
    }

    .item-image-stack {
        min-height: 100px;
        height: auto;
        margin: 0 auto;
        width: 85%;
    }

    .item-section li p {
        font-size: 18px;
        margin: 8px auto 0;
        min-height: auto;
        position: relative;
        padding: 8px 12px;
    }

    .hero h1 {
        font-size: 36px;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .hero-title img {
        width: 80%;
        margin-top: 35px;
    }
    .hero-product {
        margin-top: 0;
        width: 100%;
        left: 0;
        top: 45px;
    }
    .hero-product img{
        width: 100%;
        top: 0;
        left: 0;
        right: 0;
        margin: auto;
     }

    .hero-product h2 {
        font-size: 20px;
        margin-bottom: 10px;
        line-height: 0.8;
        position: relative;
    }

    .hero-product h2 span {
        position: relative;
        top: 6px;
    }

    .hero-price {
        text-align: center;
        margin: 0 auto;
        width: 75%;
    }
    .hero-price-main {
        width: 125%;
        right: 25px;
    }
    .hero-price-main-image {
        width: min(100%, 420px);
        margin: 0 auto;
    }
    .item-section li:nth-child(2){
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
    .item-section li:nth-child(3) {
        width: 100%;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
    .item-section li:nth-child(4) {
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .howtojoin h2 {
        font-size: 30px;
    }

    .container {
        padding: 0 10px;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .steps > .step:not(:last-child){
        position: relative;
        margin-bottom: 8px;
    }

    .steps > .step:not(:last-child)::after {
        content: '↓';
        position: absolute;
        display: block;
        margin: 0 auto;
        right: 0;
        left: 0;
        font-size: 40px;
        z-index: 10;
        top: 100%;
    }

    .step {
        padding: 20px 16px;
        border-radius: 10px;
    }

    .step-img {
        width: 120px;
        height: 90px;
        margin: 0 auto 12px;
    }

    .step p {
        text-align: left;
        font-size: 14px;
    }

    .howtojoin-header {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }
    .howtojoin h2::before, .howtojoin h2::after {
        margin: 0 5%;
        height: 30%;
        
    }
    .howtojoin h2::before{
        left: calc(60% - 190px);

    }
    .howtojoin h2::after {
        right: calc(60% - 190px);

    }
    .howtojoin-truck {
        width: 160px;
        position: relative;
    }

    .yellownotion {
        width: auto;
        max-width: none;
        margin: 20px 12px;
        padding: 12px 12px;
        font-size: 12px;
    }

    .yellownotion li {
        padding-left: 1.2em;
        line-height: 1.5;
        margin-bottom: 6px;
    }

    .freedial {
        padding: 20px;
        margin: 20px 0;
    }

    .freedial h2 {
        font-size: 24px;
        padding: 0.5em 0.3em;
    }

    .freedial h2::before, .freedial h2::after {
        height: 35%;
    }

    .freedial-number a {
        pointer-events: auto;
        cursor: pointer;
    }
    
    .floating-btn {
        position: fixed;
        bottom: 3%;
        right: 30px;
        width: 90px;
        height: 90px;
        font-size: 13px;
        line-height: 1.3;
    }

}

/* Form Styles */
.form-section {
    background: var(--bg-light);
    padding: 120px 20px 80px;
    min-height: 100vh;
}

.form-section h1 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.form-intro {
    text-align: center;
    margin-bottom: 50px;
    font-size: 16px;
    color: var(--text-color);
}

.error-box {
    background: #fff5f5;
    border: 2px solid #e74c3c;
    border-radius: 8px;
    padding: 20px 30px;
    margin-bottom: 30px;
}

.error-box h3 {
    color: #e74c3c;
    font-size: 18px;
    margin-bottom: 15px;
}

.error-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.error-box li {
    color: #e74c3c;
    padding: 5px 0;
    padding-left: 1.5em;
    position: relative;
}

.error-box li:before {
    content: "×";
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* エラーフィールドのスタイル */
.form-group.has-error {
    border-left: 3px solid #e74c3c;
    padding-left: 15px;
    margin-left: -15px;
}

input.has-error,
select.has-error,
textarea.has-error {
    border-color: #e74c3c !important;
    background-color: #fff5f5;
}

input.has-error:focus,
select.has-error:focus,
textarea.has-error:focus {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.application-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 30px;
}

.hp-field {
    position: absolute;
    left: -5000px;
    height: 0;
    overflow: hidden;
}

.form-group label {
    display: inline-block;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-color);
    font-size: 16px;
}

.form-group label.required::after {
    content: '必須';
    background: #e74c3c;
    color: var(--white);
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 3px;
    margin-left: 10px;
    font-weight: normal;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    transition: border-color 0.3s;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="date"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form-group textarea:focus {
    background-color: #f9f9f9;
    box-shadow: 0 0 0 3px rgba(0, 105, 52, 0.1);
}

.form-group small {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    color: #666;
}

.checkbox-group,
.radio-group {
    display: table;
    flex-direction: column;
    gap: 12px;
}

.checkbox-label,
.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.2s;
}

.checkbox-label:hover,
.radio-label:hover {
    background-color: #f5f5f5;
}

.checkbox-label input[type="checkbox"],
.radio-label input[type="radio"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-label span,
.radio-label span {
    font-size: 16px;
    color: var(--text-color);
}

.form-submit {
    margin-top: 50px;
    text-align: center;
}

.submit-button {
    background: var(--primary-color);
    color: var(--white);
    padding: 18px 60px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,105,52,0.3);
    font-family: 'Zen Kaku Gothic New', sans-serif;
}

.submit-button:hover {
    background: #005028;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,105,52,0.4);
}

.submit-notice {
    font-size: 14px;
    color: #e74c3c;
    margin-top: 12px;
    text-align: center;
    line-height: 1.6;
    font-weight: 600;
}

/* Form Responsive */
@media (max-width: 768px) {
    .form-section {
        padding: 80px 12px 50px;
    }

    .form-section h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .form-intro {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .application-form {
        padding: 20px 16px;
        border-radius: 8px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-group label.required::after {
        font-size: 10px;
        padding: 2px 6px;
        margin-left: 6px;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group input[type="date"],
    .form-group select {
        font-size: 16px;
        padding: 10px 12px;
    }

    .form-group textarea {
        font-size: 14px;
        min-height: 100px;
    }

    .form-group small {
        font-size: 12px;
    }

    .checkbox-group,
    .radio-group {
        gap: 10px;
    }

    .checkbox-label,
    .radio-label {
        padding: 8px;
        font-size: 13px;
    }

    .checkbox-label input[type="checkbox"],
    .radio-label input[type="radio"] {
        width: 18px;
        height: 18px;
    }

    .submit-button {
        padding: 14px 30px;
        font-size: 15px;
        width: 100%;
    }

    .error-box {
        padding: 15px 20px;
        margin-bottom: 20px;
    }

    .error-box h3 {
        font-size: 16px;
    }

    .error-box li {
        font-size: 13px;
    }
}

/* Thanks Page Styles */
.thanks-section {
    background: var(--bg-light);
    padding: 120px 20px 80px;
    min-height: 100vh;
}

.thanks-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px 50px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.thanks-icon {
    margin: 0 auto 30px;
    display: flex;
    justify-content: center;
}

.thanks-section h1 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.thanks-message {
    text-align: left;
    margin-bottom: 40px;
    line-height: 2;
}

.thanks-message p {
    margin-bottom: 20px;
}

.thanks-message strong {
    color: var(--primary-color);
    font-weight: bold;
}

.thanks-notice {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: left;
}

.thanks-notice h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.thanks-notice ul {
    list-style: none;
    padding: 0;
}

.thanks-notice li {
    padding-left: 1.5em;
    margin-bottom: 10px;
    position: relative;
}

.thanks-notice li:before {
    content: "・";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.thanks-special {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cc 100%);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 40px;
    border: 2px solid var(--yellow);
}

.thanks-special .highlight {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-color);
    margin: 0;
}

.thanks-contact {
    margin: 40px 0;
}

.thanks-contact h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.thanks-section .btn {
    margin-top: 40px;
}

.thanks-section .btn a {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,105,52,0.3);
}

.thanks-section .btn a:hover {
    background: #005028;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,105,52,0.4);
}

/* Thanks Page Responsive */
@media (max-width: 768px) {
    .thanks-section {
        padding: 80px 12px 50px;
    }

    .thanks-content {
        padding: 30px 16px;
        border-radius: 8px;
    }

    .thanks-section h1 {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .thanks-message {
        font-size: 13px;
        line-height: 1.8;
        margin-bottom: 25px;
    }

    .thanks-notice,
    .thanks-special {
        padding: 15px;
        margin-bottom: 20px;
    }

    .thanks-notice h3,
    .thanks-contact h3 {
        font-size: 16px;
    }

    .thanks-special .highlight {
        font-size: 14px;
    }

    .thanks-notice ul {
        font-size: 12px;
    }

    .thanks-notice li {
        margin-bottom: 6px;
    }

    .thanks-section .btn {
        margin-top: 25px;
    }

    .thanks-section .btn a {
        padding: 12px 30px;
        font-size: 14px;
        display: block;
        text-align: center;
    }
}

.enter_to_set{
    grid-area: hero-cta;
    width: fit-content;
    padding: 6px 20px 10px;
    border-radius: 8px;
    margin: 8px auto 26px;
    position: relative;
    z-index: 3;
}
.enter_to_set-main{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.enter_to_set-main span{
    font-size: 18px;
    font-weight: bold;
    color: white;
    text-align: center;
    margin-bottom: 10px;
}
.enter_to_set-main img{
    width: 25px;
    height: 25px;
    object-fit: contain;
}
