@charset "UTF-8";

/* ベース設定 */
:root {
    --bg-color: #fcfbf7;
    --primary-color: #004d40;
    --accent-color: #bfa373;
    --text-color: #333333;
    --border-color: #e5e5e5;
    --white: #ffffff;
}

body {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.nowrap {
    white-space: nowrap;
}

h1,
h2,
h3 {
    margin: 0;
    font-weight: normal;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ================================
   ヘッダー
================================ */
.header {
    background-color: transparent;
    padding: 15px 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.header-inner {
    width: 100%;
    padding: 10px 40px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: serif;
    font-size: 28px;
    color: var(--primary-color);
    line-height: 1.1;
}

.logo-sub {
    font-size: 13px;
    color: #fff;
    margin-top: 4px;
    letter-spacing: 0.1em;
}

/* ================================
   PC用ナビゲーション
================================ */
.pc-nav {
    display: block;
}

.pc-nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.pc-nav a {
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.pc-nav a:hover {
    color: var(--accent-color);
    text-shadow: none;
}

.pc-nav .btn-pc-contact {
    background-color: var(--accent-color);
    color: #fff !important;
    text-shadow: none;
    padding: 10px 24px;
    border-radius: 4px;
}

.pc-nav .btn-pc-contact:hover {
    background-color: #9e855a;
}

/* ================================
   ハンバーガー＆ドロワー
================================ */
.hamburger {
    position: relative;
    width: 60px;
    height: 60px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 100;
}

.hamburger span {
    position: absolute;
    left: 10px;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.hamburger span:nth-of-type(1) {
    top: 18px;
}

.hamburger span:nth-of-type(2) {
    top: 28px;
}

.hamburger span:nth-of-type(3) {
    top: 38px;
}

.hamburger.is-active span:nth-of-type(1) {
    top: 28px;
    transform: rotate(45deg);
    background-color: #fff;
}

.hamburger.is-active span:nth-of-type(2) {
    opacity: 0;
}

.hamburger.is-active span:nth-of-type(3) {
    top: 28px;
    transform: rotate(-45deg);
    background-color: #fff;
}

.drawer-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 77, 64, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.drawer-menu.is-active {
    opacity: 1;
    visibility: visible;
}

.drawer-list {
    text-align: center;
}

.drawer-list li {
    margin-bottom: 30px;
}

.drawer-list a {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

.btn-drawer {
    display: inline-block;
    background-color: var(--accent-color);
    padding: 15px 50px;
    border-radius: 4px;
    margin-top: 20px;
}

/* ================================
   ヒーローセクション
================================ */
.hero {
    position: relative;
    background: url('img/top.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    background: rgba(255, 255, 255, 0.85);
    padding: 60px 80px;
    border-radius: 4px;
    width: 90%;
    max-width: 700px;
    margin: 0 auto;
}

.hero-sub {
    font-size: 16px;
    margin-bottom: 15px;
    color: #666;
    letter-spacing: 0.1em;
}

.hero-title {
    font-size: 34px;
    margin-bottom: 30px;
    line-height: 1.5;
    color: var(--text-color);
}

.hero-desc {
    display: block;
    width: fit-content;
    margin: 0 auto 30px;
    font-size: 18px;
    color: var(--accent-color);
    font-weight: bold;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 5px;
    letter-spacing: 0.1em;
}

.brand-color {
    color: #004d40;
    font-weight: bold;
}

.btn-hero {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 18px 60px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background-color: #2a403a;
    transform: translateY(-2px);
}

/* =======================================
   特徴バー
======================================= */
.features-bar {
    background-color: #fdfaf5;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.feature-item .icon {
    font-size: 40px;
    color: #c5a059;
}

/* =======================================
   共通セクション
======================================= */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
    font-weight: bold;
    line-height: 2.0;
}

.section-subtitle::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: #ccc;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* =======================================
   サービス紹介
======================================= */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.card-body {
    padding: 20px;
    text-align: center;
    background-color: #fdfaf8;
}

.card-body h3 {
    font-size: 20px;
    color: #333;
    font-weight: bold;
}

.card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* =======================================
   会社概要・代表メッセージ
======================================= */
.about-section {
    max-width: 900px;
    margin: 80px auto 0;
}

.about-title {
    text-align: center;
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-title .en {
    font-size: 14px;
    color: var(--accent-color);
    letter-spacing: 0.15em;
    margin-bottom: 5px;
    font-family: Arial, sans-serif;
}

/* --- 代表メッセージ --- */
.message-block {
    background: #fff;
    padding: 50px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 60px;
}

.message-text {
    max-width: 700px;
    /* 文章が横に広がりすぎないように調整 */
    margin: 0 auto;
}

.message-text p {
    line-height: 1.9;
    color: #444;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: justify;
}

.message-text .signature {
    text-align: right;
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-bottom: 0;
}

/* --- 会社概要 --- */
.profile-block {
    background: #fff;
    padding: 50px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.profile-table {
    width: 100%;
    border-collapse: collapse;
}

.profile-table th,
.profile-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.profile-table tr:last-child th,
.profile-table tr:last-child td {
    border-bottom: none;
}

.profile-table th {
    width: 25%;
    font-weight: bold;
    color: var(--primary-color);
    position: relative;
    padding-left: 30px;
    background-color: transparent;
}

.profile-table th::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.profile-table td {
    color: #333;
}

/* =======================================
   買取実績
======================================= */
.achievements {
    background-color: #f7f3ed;
}

.achievement-list {
    max-width: 800px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.achievement-list li {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
    padding-left: 1.5em;
    position: relative;
    font-weight: bold;
}

.achievement-list li::before {
    content: "■";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    top: 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.card-lg {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.card-lg img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.card-lg-body {
    padding: 20px;
    text-align: center;
}

.card-lg-body h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

/* =======================================
   お問い合わせフォーム
======================================= */
.form-notice {
    text-align: center;
    color: #d32f2f;
    font-weight: bold;
    background-color: #ffebee;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.form-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
    padding: 0 10px;
}

.form-wrapper iframe {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    height: 2100px;
}

/* =======================================
   フッター
======================================= */
.footer {
    text-align: center;
    padding: 30px 20px;
    font-size: 14px;
    color: #666;
    background-color: #f4f1ea;
    padding-bottom: 100px;
}

/* =======================================
   追従型問い合わせボタン
======================================= */
.floating-btn {
    position: fixed;
    bottom: -100px;
    right: 20px;
    background-color: var(--accent-color);
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-align: center;
}

.floating-btn.is-show {
    bottom: 30px;
}

.floating-btn:hover {
    background-color: #9e855a;
    transform: translateY(-2px);
}

/* =======================================
   PCのみの表示制御
======================================= */
@media (min-width: 769px) {
    .hamburger {
        display: none !important;
    }
}

/* =======================================
   スマホ対応用レスポンシブ調整
======================================= */
@media (max-width: 768px) {
    .pc-nav {
        display: none !important;
    }

    .header-inner {
        flex-direction: row !important;
        justify-content: space-between !important;
        padding: 10px 20px !important;
    }

    .hero-content {
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-sub {
        font-size: 14px;
    }

    .hero-desc {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .btn-hero {
        padding: 15px 0;
        font-size: 16px;
        width: 100%;
        box-sizing: border-box;
    }

    .features-bar {
        flex-direction: column;
        gap: 20px;
        padding: 15px 20px;
    }

    .feature-item {
        font-size: 16px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr !important;
        gap: 20px;
        width: 100%;
    }

    .container {
        padding: 0 20px !important;
    }

    .form-wrapper iframe {
        height: 1600px !important;
    }

    /* 会社概要・代表メッセージ スマホ対応 */
    .about-section {
        margin-top: 50px;
    }

    .message-block,
    .profile-block {
        padding: 30px 20px;
    }

    .message-text .signature {
        font-size: 18px;
        text-align: center;
        /* スマホでは名前を中央寄せにする */
    }

    .profile-table th,
    .profile-table td {
        display: block;
        width: 100%;
        padding: 15px 10px;
    }

    .profile-table th {
        border-bottom: none;
        padding-bottom: 5px;
        padding-left: 20px;
    }

    .profile-table th::before {
        left: 0;
    }

    .profile-table td {
        padding-top: 0;
        margin-bottom: 10px;
        padding-left: 20px;
    }

    /* 追従ボタン（スマホは下部固定で画面幅いっぱい） */
    .floating-btn {
        right: 0;
        width: 100%;
        border-radius: 0;
        padding: 18px 0;
        font-size: 18px;
    }

    .floating-btn.is-show {
        bottom: 0;
    }
}