@charset "UTF-8";

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

html {
    scroll-behavior: smooth;
}

/* =========================
   ハンバーガーメニュー
========================= */

/* チェックボックス非表示 */
#menu-btn-check {
    display: none;
}

/* ===== ハンバーガーボタン ===== */
.menu-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 1100;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #c65a2e;
    transition: 0.3s;
}

.menu-btn span {
    top: 50%;
    transform: translateY(-50%);
}

.menu-btn span::before {
    top: -9px;
}

.menu-btn span::after {
    top: 9px;
}

/* ×に変形 */
#menu-btn-check:checked~.menu-btn span {
    background-color: transparent;
}

#menu-btn-check:checked~.menu-btn span::before {
    transform: rotate(45deg);
    top: 0;
}

#menu-btn-check:checked~.menu-btn span::after {
    transform: rotate(-45deg);
    top: 0;
}

/* ===== メニュー背景 ===== */
.menu-content {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: #F8EEE4;
    padding: 100px 30px 200px;
    transition: 0.4s ease;
    z-index: 1000;
}

/* 表示 */
#menu-btn-check:checked~.menu-content {
    right: 0;
}

/* ===== メニュー文字 ===== */
.menu-content ul {
    list-style: none;
}

.menu-content li {
    margin-bottom: 36px;
}

.menu-content a {
    font-size: 22px;
    font-weight: bold;
    color: #c65a2e;
    text-decoration: none;
    letter-spacing: 0.05em;
}

.menu-content a:hover {
    opacity: 0.5;
}

/* ===== 下のイラスト ===== */
.sp-menu-illust {
    position: fixed;
    bottom: 0px;
    right: -100%;
    width: 100%;
    text-align: center;
    transition: 0.4s ease;
    z-index: 1001;
}

#menu-btn-check:checked~.sp-menu-illust {
    right: 0;
}

.sp-menu-illust img {
    width: 100%;
    max-width: 800px;
}


body {
    cursor: none;
    background-color: #FAF3E0;
    font-family: 'Fraunces', serif;
    color: #4b2f2a;
    line-height: 1.8;
}

/*カーソルアニメーション*/
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: rgba(184, 163, 138, 0.6);
    border: 2px solid #B8A38A;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out;
    z-index: 9999;
}

/* ===== ヘッダー ===== */
.works-header {
    text-align: center;
    padding: 60px 20px 40px;
    border-bottom: 2px dashed #b6916e;
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    text-decoration: none;
    color: #7a8f5b;
    font-weight: bold;
}

.works-title {
    font-size: 36px;
    margin-bottom: 10px;
}

.works-sub {
    font-size: 14px;
    color: #7a6a58;
}

/* ===== メイン ===== */
.works-container {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.works-image {
    text-align: center;
    margin-bottom: 60px;
}

.works-image img {
    max-width: 100%;
    border: 8px solid #fff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.goshiki-img:hover {
    opacity: 0.5;
    transform: translateY(-5px);
    transition: 0.3s;
}

/* ===== テキスト ===== */
.works-text .block {
    margin-bottom: 50px;
}

.works-text h2 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #c65a2e;
}

.works-text p {
    font-size: 15px;
}

.works-text ul {
    padding-left: 20px;
}

.works-text li {
    font-size: 15px;
    margin-bottom: 6px;
}

/* ===== フッター ===== */
.works-footer {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #c7a489;
    font-size: 13px;
    color: #8a6a4a;
}

/*-------共通フッター------*/
#contact {
    color: #C34C2A;
    background-color: #4b2f2a;
    text-align: center;
    border-top: 1px solid #8A6A4A;
    font-family: 'Fraunces', serif;
    font-weight: bold;
}

h2 {
    font-size: 40px;
    padding-bottom: 20px;
    padding-top: 20px;
}

.contact-links {
    /* text-align: center;
    color: white;
    border-radius: 30px;
    background: #efd3a1;
    border: 1px solid #9c6b4a;
    border-radius: 10px;
    padding: 8px 28px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s; */
    margin: 0 auto;
    max-width: 320px;
    background-color: #FAF3E0;
    /* 画像と同じ薄ベージュ */
    padding: 12px;
    /* 外枠と内枠の間の余白 */
    border-radius: 20px;
    /* 全体の角丸 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1)
}

/* 内側の枠線ボタン */
.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 300px;
    background-color: transparent;
    border: 2px solid #8A6A4A;
    /* 内側の茶色い線 */
    border-radius: 15px;
    /* 内枠の角丸 */
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

* 肉球のアイコン部分 */ .paw {
    position: absolute;
    left: 40px;
    /* 左側に固定 */
    font-size: 30px;
    color: #8A6A4A;
    /* 枠線と同じ茶色 */
}

/* 中央の文字 */
.btn-text {
    color: #4b2f2a;
    /* 濃い茶色 */
    font-weight: bold;
    font-family: "Sawarabi Mincho", serif;
    /* レトロな明朝体 */
    letter-spacing: 0.05em;
}

/* ホバー（マウスを乗せた時）の演出 */
.contact-btn:hover {
    background-color: rgba(138, 106, 74, 0.05);
    /* ほんのり色付く */
    transform: translateY(-2px);
    /* 少し浮き上がる */
}

.footer {
    background: #4b2f2a;
    color: #d8c3a5;
    position: relative;
}

.footer-main {
    display: flex;
    padding-top: 20px;
    justify-content: space-between;
}

.footer-nav a {
    color: #C34C2A;
    /* font-weight: bold; */
    font-size: 18px;
    /* line-height: 2; */
    /* display: block; */
    color: #c55a3c;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    padding-left: 50px;
}

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

.footer-nav li {
    margin-bottom: 12px;
}

.footer-center {
    display: flex;
    gap: 20px;
    justify-content: center;
    /* 横方向の中央揃え */
    align-items: center;
    /* 縦方向の中央揃え */
    margin: 0 auto;
    width: fit-content;
}

.sns-icons {
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    justify-content: center;
}

.sns-icons:hover {
    opacity: 0.8;
    transform: translateY(-5px);
    transition: 0.3s;
}

.sns-icons img {
    width: 60px;
    height: 60px;
    background-color: #FAF3E0;
    border-radius: 50%;
    padding: 12px;
    object-fit: contain;
}

.top-btn {
    /* 固定配置の指定 */
    position: fixed;
    right: 20px;
    /* 右端からの距離 */
    bottom: 20px;
    /* 下端からの距離 */
    z-index: 999;
    /* 他の要素より上に表示 */

    /* 見た目の設定（画像のデザインを再現） */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    /* 円のサイズ */
    height: 60px;
    background-color: #c4d1b1;
    /* 薄緑色 */
    border-radius: 50%;
    /* 正円にする */

    /* テキストの設定 */
    text-decoration: none;
    color: #fff;
    /* 文字色を白に */
    font-family: serif;
    font-weight: bold;
}

/* マウスを乗せた時の動き（任意） */
.top-btn:hover {
    opacity: 0.8;
    transform: translateY(-5px);
    /* 少し上に浮く */
    transition: 0.3s;
}

.back-btn {
    display: inline-block;
    margin: 40px auto 0;
    padding: 12px 36px;
    border-radius: 999px;
    background-color: #f6e7d8;
    /* ベージュ系 */
    color: #5c4636;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #e0cbb5;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.back {
    padding-bottom: 30px;
    padding-top: 30px;
}

/* 中央寄せ */
.back-btn {
    display: block;
    width: fit-content;
}

/* ホバー */
.back-btn:hover {
    background-color: #5c4636;
    color: #fff;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    color: #8A6A4A;
    padding-top: 20px;
}

.pc-nav {
    display: none;
}

@media screen and (min-width: 768px) {

    #menu-btn-check,
    .menu-btn,
    .menu-content,
    .sp-menu-illust {
        display: none;
    }

    /* PCナビを表示 */
    .pc-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 30px;
        right: 40px;
        position: fixed;
        top: 24px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(245, 241, 232, 0.9);
        border: 2px solid #B06A6A;
        border-radius: 14px;
        padding: 14px 40px;
        position: fixed;
        top: 24px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1000;
        background: rgba(245, 241, 232, 0.9);
        border: 2px solid #B06A6A;
        border-radius: 12px;
        padding: 12px 32px;
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    }

    .pc-nav a:hover {
        opacity: 0.5;
    }

    .pc-nav ul {
        display: flex;
        gap: 40px;
        list-style: none;
    }

    .pc-nav a {
        color: #c65a2e;
        text-decoration: none;
        font-weight: bold;
        font-size: 16px;
        font-family: 'Fraunces', serif;
    }

    /* ===== 横並び ===== */
    .pc-nav ul {
        display: flex;
        gap: 32px;
        align-items: center;
    }
}