/* 基本スタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* ヘッダー */
.header {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
    transform: translateY(-100%);
}

.header.visible {
    transform: translateY(0);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-left {
    text-align: left;
}

.header-nav {
    margin: 0 20px;
    margin-left: 200px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-list a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-list a:hover {
    color: #666;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #666;
    transition: width 0.3s ease;
}

.nav-list a:hover::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.instagram-link {
    color: #333;
    font-size: 1.8rem;
    transition: color 0.3s ease;
}

.instagram-link:hover {
    color: #E1306C;
}

.line-link {
    color: #333;
    font-size: 1.8rem;
    transition: color 0.3s ease;
}

.line-link:hover {
    color: #06C755;
}

.logo {
    margin: 0;
    padding: 0;
}

.logo-image {
    height: 50px;
    width: auto;
    display: block;
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-top: 5px;
}

.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #333;
    position: absolute;
    transition: all 0.3s ease;
}

.close-menu span:first-child {
    transform: rotate(45deg);
}

.close-menu span:last-child {
    transform: rotate(-45deg);
}

.close-menu:hover span {
    background-color: #666;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    right: 0;
}

.mobile-nav {
    padding: 80px 20px 20px;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list li {
    margin: 20px 0;
    text-align: left;
}

.mobile-nav-list a {
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    padding: 10px 0;
}

.mobile-nav-list a:hover {
    color: #666;
}

/* オーバーレイ */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ヒーローセクション */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-logo {
    width: 300px;
    height: auto;
    margin-bottom: 30px;
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #fff;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .hero {
        margin-top: 0 !important;
        padding-top: 0 !important;
        overflow: visible !important;
    }
    body, main {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    .hero-logo {
        width: 200px;
        margin-bottom: 20px;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
}

/* セクション共通 */
section:not(.hero) {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
}

/* Aboutセクション */
.about {
    background-color: #fff;
    padding: 100px 0;
}

.about-content {
    max-width: 830px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-content .highlight {
    font-size: 1.5rem;
    font-weight: 500;
    color: #333;
    margin: 40px 0;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* 特徴セクション */
.features {
    background: url('images/tyyx_top_back5.png') center center / cover no-repeat fixed;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.features::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(213, 213, 213, 0.7);
    z-index: 2;
}

.features .container {
    position: relative;
    z-index: 3;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.feature-item p {
    color: #666;
}

/* サービスセクション */
.services {
    background-color: #fff;
    padding: 100px 0;
}

.services h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    letter-spacing: 0.05em;
}

.services h2::after {
    content: '';
    display: block;
    margin: 18px auto 0 auto;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #B8860B 0%, #d5d5d5 100%);
    border-radius: 2px;
}

.service-list {
    max-width: 700px;
    margin: 40px auto 0 auto;
    padding: 30px 20px;
    background: #f8f8f8;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(184,134,11,0.08);
    list-style: none;
}

.service-list li {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(184,134,11,0.07);
    margin-bottom: 18px;
    padding: 16px 18px 16px 54px;
    font-size: 1.08rem;
    color: #333;
    position: relative;
    transition: box-shadow 0.3s;
}

.service-list li:last-child { margin-bottom: 0; }

.service-list li i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #B8860B 60%, #fff 100%);
    color: #fff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 6px rgba(184,134,11,0.10);
}

.service-note {
    text-align: center;
    margin-top: 40px;
    font-size: 1.2rem;
    color: #8B6914;
    font-weight: 600;
    background: #f8f8f8;
    border-radius: 8px;
    padding: 18px 0;
    box-shadow: 0 2px 8px rgba(184,134,11,0.07);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .services {
        padding: 60px 0;
    }
    .service-list {
        padding: 18px 5px;
    }
    .service-list li {
        font-size: 0.98rem;
        padding: 14px 10px 14px 48px;
    }
    .service-list li i {
        left: 10px;
        width: 22px;
        height: 22px;
        font-size: 1rem;
    }
}

/* 法人向け買取セクション パララックス背景 */
.business {
    background: url('images/tyyx_top_back6.png') center center / cover no-repeat fixed;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

.business::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(213, 213, 213, 0.7); /* featuresと同じ半透明レイヤー */
    z-index: 2;
}

.business .container {
    position: relative;
    z-index: 3;
}

.business-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.business-intro {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 40px;
    line-height: 1.8;
}

.business-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.business-list li {
    background: #f8f8f8;
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    position: relative;
    padding-left: 60px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-size: 1.1rem;
    color: #333;
    text-align: left;
}

.business-list li i {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: #B8860B;
    font-size: 1.3rem;
}

.business-note {
    text-align: center;
    margin-top: 50px;
    font-size: 1.3rem;
    color: #fff;
    font-weight: 600;
    position: relative;
    padding: 20px 36px;
    background: linear-gradient(90deg, #B8860B 0%, #8B6914 100%);
    border-radius: 32px;
    box-shadow: 0 4px 18px rgba(184,134,11,0.13);
    max-width: none;
    display: inline-block;
    white-space: nowrap;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.04em;
}

@media (max-width: 768px) {
    .business-note {
        font-size: 1.05rem;
        padding: 12px 18px;
        border-radius: 20px;
        max-width: 95vw;
        white-space: normal;
        color: #fff;
        word-break: break-all;
    }
}

/* 士業様向け買取セクション */
.professional {
    background-color: #fff;
    padding: 100px 0;
}

.professional-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.professional-intro {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 40px;
    line-height: 1.8;
}

.professional-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.professional-list li {
    background: #f8f8f8;
    padding: 25px 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    position: relative;
    padding-left: 60px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-size: 1.1rem;
    color: #333;
    text-align: left;
}

.professional-list li i {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: #B8860B;
    font-size: 1.3rem;
}

.professional-note {
    text-align: center;
    margin-top: 50px;
    font-size: 1.3rem;
    color: #fff;
    font-weight: 600;
    position: relative;
    padding: 20px 36px;
    background: linear-gradient(90deg, #B8860B 0%, #8B6914 100%);
    border-radius: 32px;
    box-shadow: 0 4px 18px rgba(184,134,11,0.13);
    max-width: none;
    display: inline-block;
    white-space: nowrap;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.04em;
}

@media (max-width: 768px) {
    .professional-note {
        font-size: 1.05rem;
        padding: 12px 18px;
        border-radius: 20px;
        max-width: 95vw;
        white-space: normal;
        color: #fff;
        word-break: break-all;
    }
    .professional-list li {
        word-break: break-all;
    }
    .professional-list li br {
        display: none;
    }
}

/* お問い合わせセクション パララックス背景 */
.contact {
    background: url('images/tyyx_top_back4.jpg') center center / cover no-repeat fixed;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(213, 213, 213, 0.7); /* featuresと同じ半透明レイヤー */
    z-index: 2;
}

.contact .container {
    position: relative;
    z-index: 3;
}

.contact-info {
    text-align: center;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    max-width: 600px;
    margin: 0 auto;
}

.phone {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.hours {
    color: #666;
}

.contact-message {
    font-size: 1.2rem;
    color: #333;
    margin: 25px 0;
    font-weight: 500;
}

.line-button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    background-color: #06C755;
    color: #fff;
    text-decoration: none;
    padding: 18px 35px;
    border-radius: 50px;
    margin-top: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.2);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.line-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.line-button:hover {
    background-color: #05a548;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.3);
}

.line-button:hover::before {
    left: 100%;
}

.line-button i {
    margin-right: 12px;
    font-size: 1.8rem;
}

/* 店舗情報セクション */
.shop-info {
    background-color: #fff;
    padding: 80px 0;
}

.shop-info-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: #f8f8f8;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.license-info {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #ddd;
}

.license-info p {
    margin: 10px 0;
    color: #333;
}

.license-number {
    font-weight: 500;
    font-size: 1.1rem;
}

.shop-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.shop-office,
.shop-store {
    text-align: center;
}

.shop-office h3,
.shop-store h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #333;
}

.shop-name {
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
}

.shop-address {
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .shop-details {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .shop-info-content {
        padding: 30px 8px;
    }
}

/* フッター */
.footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

/* 固定お問い合わせボタン */
.contact-fixed-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #B8860B;
    color: #fff;
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.contact-fixed-button:hover {
    background-color: #8B6914;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.4);
}

.contact-fixed-button i {
    font-size: 1.2rem;
}

.contact-fixed-button span {
    font-weight: 500;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .contact-fixed-button {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
    }

    .contact-fixed-button span {
        font-size: 0.9rem;
    }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .header-nav {
        display: none;
        margin-left: 0;
    }

    .burger-menu {
        display: block;
    }

    .burger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .mobile-menu {
        display: block;
    }

    .nav-list {
        gap: 15px;
    }

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

    .hero-logo {
        width: 200px;
        margin-bottom: 20px;
    }

    .hero-content h2 {
        font-size: 2rem;
        color: #fff;
    }

    section {
        padding: 60px 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .phone {
        font-size: 1.5rem;
    }

    .menu-overlay {
        display: block;
    }

    .logo-image {
        height: 40px;
    }

    .features,
    .business,
    .contact {
        background-attachment: scroll !important;
        background-position: center center !important;
        background-size: cover !important;
    }
}

/* 買取についてセクション */
.purchase {
    background-color: #f8f8f8;
    padding: 80px 0;
}

.purchase h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

.purchase-toggle {
    display: block;
    margin: 0 auto 30px auto;
    padding: 12px 32px;
    font-size: 1.1rem;
    background: #B8860B;
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(184,134,11,0.08);
}

.purchase-toggle:hover {
    background: #8B6914;
}

.purchase-content {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 40px 30px;
    display: none;
    opacity: 0;
    transition: opacity 0.5s;
}

.purchase-content.open {
    display: block;
    opacity: 1;
}

.purchase-list {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 32px;
    margin-bottom: 30px;
    justify-content: center;
    padding: 0;
    list-style: none;
}

.purchase-list li {
    background: none;
    color: #333;
    border-radius: 0;
    padding: 10px 18px 10px 28px;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
}

.purchase-list li::before {
    content: '●';
    color: #8B6914;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1em;
}

.purchase-area p {
    margin-bottom: 10px;
    color: #444;
    font-size: 0.98rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .purchase {
        padding: 50px 0;
    }
    .purchase-content {
        padding: 25px 10px;
    }
    .purchase-list {
        gap: 10px 8px;
    }
    .purchase-list li {
        font-size: 0.95rem;
        padding: 7px 10px 7px 32px;
    }
    .purchase-list li::before {
        left: 12px;
    }
}

@media (max-width: 768px) {
    .professional-list li .break {
        display: inline;
    }
    .professional-list li .break::after {
        content: "\A";
        white-space: pre;
    }
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 64px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    pointer-events: none;
}
.scroll-arrow {
    font-size: 2.2rem;
    color: #fff;
    animation: scroll-bounce 1.2s infinite;
    margin-bottom: 2px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.scroll-text {
    font-size: 0.95rem;
    color: #fff;
    letter-spacing: 0.18em;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}
@media (max-width: 768px) {
    .scroll-indicator {
        position: fixed;
        left: 50%;
        bottom: 70px;
        transform: translateX(-50%);
        z-index: 1100;
        pointer-events: none;
    }
    .scroll-arrow {
        font-size: 1.5rem;
    }
    .scroll-text {
        font-size: 0.8rem;
    }
}

.purchase-more-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 10px;
}
.purchase-more-link span {
    display: block;
    color: #8B6914;
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}
.purchase-arrow {
    margin-top: 2px;
    font-size: 1.5rem;
    color: #B8860B;
    animation: arrow-bounce 1.2s infinite;
}
@keyframes arrow-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.nowrap {
    white-space: nowrap;
} 