/* --- Root & Reset --- */
:root {
    --main-color: #e8dd24;
    --text-color: #333;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    overflow-x: hidden;
    background: beige;
}

@media (min-width: 768px) {
    body {
        background: linear-gradient(rgba(245, 245, 220, 0.8), rgba(245, 245, 220, 0.8)),url(../img/bg_fixed_02.jpg);
        background-attachment: fixed;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

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

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

/* --- Header --- */
.header {
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    background: var(--main-color);
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* --- Header & Nav --- */
.header-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.logo span {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
    line-height: 1;
}

@media (max-width: 600px) {
    .logo img {
        height: 32px;
    }
    .logo span {
        font-size: 1.2rem;
    }
}

.nav ul {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav a {
    font-size: 0.9rem;
    font-weight: bold;
}

.btn-sm {
    background: var(--main-color);
    /* padding: 8px 20px; */
    border-radius: 50px;
}

/* --- Language Selector --- */
.lang-selector {
    position: relative;
    margin-left: 20px;
}

.lang-btn {
    background: none;
    border: 1px solid var(--text-color);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.lang-btn:hover {
    background: var(--main-color);
    border-color: var(--main-color);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    list-style: none;
    padding: 10px 0;
    width: 80px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: none; /* 初期は非表示 */
    z-index: 1000;
}

.lang-selector:hover .lang-dropdown {
    display: block; /* ホバーで表示 */
}

.lang-dropdown li a {
    display: block;
    padding: 5px 15px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.85rem;
    text-align: center;
}

.lang-dropdown li a:hover {
    background: #f5f5f5;
    color: var(--main-color);
}

/* Google翻訳のウィジェットを画面外に飛ばす（存在はさせるが隠す） */
#google_translate_element {
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
}

/* 翻訳後の余計な表示をすべて消去 */
.goog-te-banner-frame, 
.goog-te-balloon-frame, 
.goog-tooltip, 
.goog-tooltip:hover {
    display: none !important;
}
body {
    top: 0 !important;
}

/* --- Hero --- */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url(../img/top.webp);
    background-attachment: fixed; 
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        height: 60vh;
    }
}

.hero-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    line-height: 1.3;
}

/* --- Section Global --- */
.section {
    padding: 80px 0;
}

.bg-light {
    background: var(--bg-light);
}

.section-title {
    margin-bottom: 50px;
    text-align: center;
}

.section-title span {
    color: var(--main-color);
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.section-title h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--main-color);
}

/* --- Scroll Animation --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- About --- */
.about-flex {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 768px) {
    .about-flex {
        flex-direction: row;
        align-items: center;
    }
    .about-text, .about-img {
        flex: 1;
    }
}

.about-img {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.slideshow {
    position: relative;
    width: 100%;
    padding-top: 75%;
}

.slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fadeSlider 15s infinite;
}

.slideshow img:nth-child(1) { animation-delay: 0s; }
.slideshow img:nth-child(2) { animation-delay: 5s; }
.slideshow img:nth-child(3) { animation-delay: 10s; }

@keyframes fadeSlider {
    0% { opacity: 0; transform: scale(1.0); }
    10% { opacity: 1; }
    33% { opacity: 1; }
    43% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 0; }
}

/* --- Features Section --- */
.feature-row {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.feature-body h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    padding-left: 15px;
}

.feature-body h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 1.2em;
    background: var(--main-color);
}

@media (min-width: 768px) {
    .feature-item {
        flex-direction: row;
        justify-content: space-between;
    }
    .feature-item.reverse {
        flex-direction: row-reverse;
    }
    .feature-img, .feature-body {
        width: 48%;
    }
}

/* --- News Section --- */
.news-list {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.news-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
    text-decoration: none;
    color: inherit;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background: #fffdf0;
}

.news-date {
    font-size: 0.85rem;
    color: #888;
    width: 100px;
}

.news-category {
    font-size: 0.7rem;
    background: #333;
    color: #fff;
    padding: 2px 10px;
    border-radius: 3px;
    margin-right: 20px;
}

.news-title {
    flex: 1;
    min-width: 250px;
    font-size: 0.95rem;
}

@media (max-width: 600px) {
    .news-date {
        margin-bottom: 5px;
    }
    .news-category {
        margin-bottom: 5px;
    }
    .news-title {
        width: 100%;
    }
}

/* --- Utils --- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

.btn-outline {
    display: inline-block;
    padding: 12px 40px;
    border: 2px solid var(--main-color);
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--main-color);
    color: var(--text-color);
}

/* --- Brand Slider --- */
.brand-slider-wrapper {
    width: 100%;
    padding: 20px 0 40px;
    overflow: hidden;
}

.brand-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 0 20px 20px;
    cursor: grab;
    user-select: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

@media (min-width: 900px) {
    .brand-slider {
        display: flex !important;
        overflow-x: scroll !important;
        scroll-snap-type: none !important; 
        scroll-behavior: auto !important;
        cursor: grab;
    }
    .brand-slider::-webkit-scrollbar {
        display: none !important;
        width: 0;
    }
}

.brand-slider.active {
    cursor: grabbing;
}

.brand-slider img {
    pointer-events: none;
    -webkit-user-drag: none;
}

.brand-slider a {
    -webkit-user-drag: none;
}

.brand-slider-container {
    position: relative;
    padding: 0 40px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}
.slider-arrow.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.slider-arrow:hover {
    background: var(--main-color);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.slider-arrow::before {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--text-color);
    border-right: 2px solid var(--text-color);
    display: block;
}

.slider-arrow.prev { left: 0; }
.slider-arrow.prev::before { transform: rotate(-135deg); margin-left: 4px; }

.slider-arrow.next { right: 0; }
.slider-arrow.next::before { transform: rotate(45deg); margin-right: 4px; }

@media (max-width: 768px) {
    .brand-slider-container { padding: 0; }
    .slider-arrow { display: none; }
}

.brand-card {
    flex: 0 0 85%;
    max-width: 400px;
    scroll-snap-align: center;
    display: block;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-decoration: none;
    transition: transform 0.3s;
}

@media (min-width: 768px) {
    .brand-slider {
        /*padding: 0 calc((100vw - 1100px) / 2 + 20px) 2%;*/
        padding: 0 2% 2%;
    }
    .brand-card {
        flex: 0 0 350px;
        scroll-snap-align: start;
    }
}

.brand-img { overflow: hidden; aspect-ratio: 16 / 9; }
.brand-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.brand-info { padding: 25px; }
.brand-info h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--text-color); }
.brand-info .description { font-size: 0.9rem; color: #666; height: 3.6em; overflow: hidden; margin-bottom: 15px; }
.shop-details { border-top: 1px solid #eee; padding-top: 15px; margin-bottom: 15px; }
.shop-details dl { display: flex; font-size: 0.8rem; margin-bottom: 5px; }
.shop-details dt { width: 60px; font-weight: bold; color: var(--main-color); }
.view-more { font-size: 0.8rem; font-weight: bold; text-align: right; }

.shop-details {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-bottom: 20px;
}

.shop-details dl {
    display: flex;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.shop-details dt {
    width: 80px;
    flex-shrink: 0;
    font-weight: bold;
    color: var(--main-color);
}

.shop-details dd {
    color: #444;
}

.view-more {
    font-size: 0.8rem;
    font-weight: bold;
    text-align: right;
    color: var(--text-color);
    position: relative;
    padding-right: 25px;
}

.view-more::after {
    content: '→';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: right 0.3s;
}

.brand-card:hover .view-more::after {
    right: -5px;
}

/* --- Recruit --- */
.recruit-wrap {
    max-width: 1100px;
    height: 600px;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
    
}

.slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/recruit_slideshow02_converted.webp');
    background-repeat: repeat-x;
    background-size: auto 100%;
    opacity: 0.75;
    animation: slideBg 20s linear infinite;
}

@keyframes slideBg {
    from {
        background-position: 0 0;
    }
    to {
        background-position: -1250px 0;   /* PC表示時の画像幅（後述の計算式参照） */
    }
}

.recruit-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    color: #fff;
    background-color: #e8dd24;
    font-weight: bold;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 2;
}

.recruit-link p {
    font-size: 20px;
}

    .recruit-link .sp-only {
        display: none;
    }
.recruit-link .box-border {
    margin: 20px 15px;
    padding: 10px 0px;
    border: 5px solid #fff;
    color: #fff;
    background-color: #e8dd24;
    border-radius: 10px;
}

@media screen and (max-width: 768px) {
    .recruit-wrap {
        height: 600px;
    }
    .slider-bg {
        animation: slideBgSp 20s linear infinite;
    }
    #recruit .container .section-title {
        margin: 0px 0px 5px;
    }
    .recruit-link {
        width: 85%;
        padding: 20px;
    }
    .recruit-link p {
        font-size: 20spx;
        line-height: 1.5;
    }
    .recruit-link .sp-only {
        display: inline;
    }
    .recruit-link .box-border {
        margin: 8px 0 0;
        padding: 10px;
        font-size: 20px;
    }
}

@keyframes slideBgSp {
    from {
        background-position: 0 0;
    }
    to {
        background-position: -625px 0;   /* SP表示時の画像幅 */
    }
}

/* --- Table --- */
.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table th, .company-table td {
    padding: 20px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.company-table th {
    width: 30%;
    background: #f4f4f4;
}

@media (max-width: 600px) {
    .company-table th, .company-table td {
        display: block;
        width: 100%;
    }
    .company-table th {
        background: transparent;
        padding-bottom: 5px;
        color: var(--main-color);
    }
}

/* --- Footer --- */
.footer {
    padding: 40px 0;
    background: #333;
    color: var(--white);
    text-align: center;
}



/* --- Article Page Layout --- */
.breadcrumb {
    padding: 20px 0;
}

.breadcrumb ol {
    display: flex;
    gap: 10px;
    font-size: 0.8rem;
    color: #888;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 10px;
}

.article-container {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 8px;
    margin-bottom: 80px;
    max-width: 900px !important;
}

@media (min-width: 768px) {
    .article-container {
        padding: 60px 80px;
    }
}

/* Header Inside Article */
.article-meta {
    margin-bottom: 15px;
}

.article-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    line-height: 1.4;
    margin-bottom: 30px;
}

.article-eye-catch {
    margin-bottom: 40px;
}

.article-eye-catch img {
    border-radius: 8px;
    width: 100%;
}

/* Content Styling */
.article-content h2 {
    font-size: 1.5rem;
    border-left: 5px solid var(--main-color);
    padding-left: 15px;
    margin: 50px 0 20px;
}

.article-content h3 {
    font-size: 1.25rem;
    margin: 30px 0 15px;
}

.article-content p {
    margin-bottom: 1.8em;
}

.article-content ul {
    margin-bottom: 1.8em;
    padding-left: 20px;
}

.article-content li {
    list-style: disc;
    margin-bottom: 0.5em;
}

.article-content blockquote {
    background: #f9f9f9;
    border-left: 4px solid #ccc;
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #555;
}

.article-content figcaption{
    margin-bottom: 30px;
    font-size: 0.9rem;
    font-weight: 400;
}

.article-link{
    /* width: 300px; */
    height: 50px;
    padding: 10px;
    margin: 50px 40px;
    border-radius: 10px;
    text-align: center;
    color: #f4f4f4;
    background-color: #e8dd24;
    font-size: 16px;
    font-weight: bold;
}
/* Footer Inside Article */
.article-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.share-icons {
    display: flex;
    gap: 10px;
}

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border: 1px solid #ddd;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
    cursor: pointer;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: bold;
}
.prev-article.disabled{
    color: gray;
    text-decoration: none;
    pointer-events: none;
    cursor: default;
}
.next-article.disabled{
    color: gray;
    text-decoration: none;
    pointer-events: none;
    cursor: default;
}
.back-to-list {
    color: var(--main-color);
    text-decoration: underline;
}

@media (max-width: 600px) {
    .article-nav {
        flex-direction: column;
        gap: 20px;
    }
}

/* --- Brand Detail Page --- */
.brand-hero {
    width: 100%;
    height: 50vh;
    overflow: hidden;
}

.brand-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-detail-section {
    padding: 60px 20px;
}

.brand-detail-flex {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* PCレイアウト */
@media (min-width: 900px) {
    .brand-detail-flex {
        flex-direction: row;
        align-items: flex-start;
    }
    .brand-detail-main {
        flex: 1;
    }
    .brand-side-info {
        width: 350px;
        position: sticky;
        top: 100px;
    }
}

.brand-category {
    font-size: 0.9rem;
    color: var(--main-color);
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.brand-name {
    font-size: 2.5rem;
    margin-bottom: 30px;
    letter-spacing: 2px;
}
.brand-name small {
    font-size: 1.5rem;
    margin-left: 1rem;
}
@media (max-width: 768px) {
    .brand-name small {
        display: none;
    }
}


.brand-description {
    line-height: 2;
    margin-bottom: 40px;
}

.brand-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 5%;
}

.brand-gallery img {
    border-radius: 4px;
}


/* --- Lightbox --- */
.lightbox {
    display: none; 
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(5px);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover {
    color: var(--main-color);
}

.gallery-item {
    cursor: zoom-in;
    transition: opacity 0.3s;
}

.gallery-item:hover {
    opacity: 0.8;
}

.info-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
}

.info-card h3 {
    font-size: 1.2rem;
    border-bottom: 2px solid #ddd;
    margin-bottom: 20px;
    padding-bottom: 10px;
    letter-spacing: 1px;
}

.info-card dl {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.info-card dt {
    font-weight: bold;
    color: #888;
    margin-bottom: 5px;
}

.info-card dd {
    line-height: 1.6;
}

.info-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 25px;
}

.btn-rect {
    display: block;
    text-align: center;
    background: #333;
    color: #fff;
    padding: 12px;
    font-weight: bold;
    border-radius: 4px;
}

.btn-rect.outline {
    background: transparent;
    border: 1px solid #333;
    color: #333;
}

.btn-instagram {
    display: block;
    text-align: center;
    background: #3F5EFB;
    background: linear-gradient(142deg, rgba(63, 94, 251, 1) 0%, rgba(252, 70, 107, 1) 100%);
    color: #fff;
    padding: 12px;
    font-weight: bold;
    border-radius: 4px;
}

.mt-80 { margin-top: 80px; }

/* --- Other Brands Navigation --- */
.other-brands {
    padding: 80px 20px;
    border-top: 1px solid #eee;
}

.other-brands-inner h3 {
    text-align: center;
    font-size: 1rem;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 40px;
}

.brand-list-footer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0;
}

.brand-list-footer li {
    width: 120px;
    text-align: center;
}

.brand-list-footer a {
    display: block;
    text-decoration: none;
}

.brand-list-footer img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: #f4f4f4;
    border-radius: 50%;
    margin-bottom: 10px;
    transition: transform 0.3s, background 0.3s;
}

.brand-list-footer span {
    display: block;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--text-color);
}

.brand-list-footer a:hover img {
    transform: scale(1.1);
    background: var(--main-color);
}

.brand-list-footer a:hover span {
    color: var(--main-color);
}

@media (max-width: 600px) {
    .brand-list-footer {
        gap: 20px 10px;
    }
    .brand-list-footer li {
        width: 100px;
    }
    .brand-list-footer img {
        width: 60px;
        height: 60px;
    }
}

/* --- Hamburger Menu Style --- */

.pc-nav {
    display: none;
}

.pc-nav { display: none; }
@media (min-width: 900px) {
    .pc-nav { display: block; }
    .menu-trigger { display: none !important; }
}

.menu-trigger {
    position: relative;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

.menu-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.4s;
}

.menu-trigger span:nth-child(1) { top: 0; }
.menu-trigger span:nth-child(2) { top: 11px; }
.menu-trigger span:nth-child(3) { bottom: 0; }

.menu-trigger.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}
.menu-trigger.active span:nth-child(2) {
    opacity: 0;
}
.menu-trigger.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

.sp-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--white);
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-nav.active {
    right: 0;
}

.sp-nav ul {
    text-align: center;
}

.sp-nav li {
    margin: 30px 0;
}

.sp-nav a {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.1em;
}

/* --- Contact Section --- */
.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-lead {
    text-align: center;
    margin-bottom: 40px;
    font-size: 0.95rem;
}

.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

@media (min-width: 768px) {
    .contact-form {
        padding: 50px;
    }
}

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

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group label span {
    background: #ff4d4d;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 10px;
    vertical-align: middle;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--main-color);
}

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

.btn-submit {
    background: var(--main-color);
    color: var(--text-color);
    border: none;
    padding: 15px 60px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(232, 221, 36, 0.3);
    opacity: 0.9;
}

.pc-only {
    display: none;
}

@media (min-width: 768px) {
    .pc-only {
        display: inline;
    }
}


/* --- Google翻訳ツールバー非表示 --- */

body {
    top: 0 !important;
    position: static !important;
}

.goog-te-gadget {
    display: none !important;
}

.goog-tooltip, 
.goog-tooltip:hover,
#goog-gt-tt {
    display: none !important;
    visibility: hidden !important;
}
.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}

iframe {
    display: none;
}

/* ==================================================
   Opening Loader Styles
================================================== */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #0d0d0d; /* ブランドイメージに合わせたシックな黒 */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.8s ease;
  pointer-events: auto;
}

/* ローダー非表示アニメーション（上にスライド） */
.loader.loaded {
  transform: translateY(-100%);
  pointer-events: none;
}

.loader-inner {
  width: 160px; /* PCでの表示サイズ */
  max-width: 40vw;
}

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

/* --- SVG Artista Generated Styles --- */
svg .svg-elem-1 {
  fill: transparent;
  transition: fill 0.7s ease-in 0.2s;
}
svg.active .svg-elem-1 { fill: #ffffff; }

svg .svg-elem-2 {
  fill: transparent;
  transition: fill 0.7s ease-in 0.3s;
}
svg.active .svg-elem-2 { fill: #ffffff; }

svg .svg-elem-3 {
  fill: transparent;
  transition: fill 0.7s ease-in 0.4s;
}
svg.active .svg-elem-3 { fill: #ffffff; }

svg .svg-elem-4 {
  fill: transparent;
  transition: fill 0.7s ease-in 0.5s;
}
svg.active .svg-elem-4 { fill: #ffffff; }

svg .svg-elem-5 {
  fill: transparent;
  transition: fill 0.7s ease-in 0.6s;
}
svg.active .svg-elem-5 { fill: #ffffff; }

svg .svg-elem-6 {
  fill: transparent;
  transition: fill 0.7s ease-in 0.7s;
}
svg.active .svg-elem-6 { fill: #ffffff; }

svg .svg-elem-7 {
  fill: transparent;
  transition: fill 0.7s ease-in 0.8s;
}
svg.active .svg-elem-7 { fill: #ffffff; }

svg .svg-elem-8 {
  fill: transparent;
  transition: fill 0.7s ease-in 0.9s;
}
svg.active .svg-elem-8 { fill: #ffffff; }