@charset "UTF-8";

Theme Name:ferretta-portfolio
Description:ポートフォリオ


/* ==========================================
   Base
   ========================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
    background-color: #fcfbfa;
    line-height: 1.6;
}

/* ==========================================
   Header Block
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(15px, 2vw, 25px) clamp(20px, 5vw, 60px);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    z-index: 100;
    box-sizing: border-box;
}

.header__logo {
    font-family: 'Brush Script MT', cursive, sans-serif;
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: normal;
    color: #333;
}

.header__nav-list {
    display: flex !important;
    list-style: none;
    gap: clamp(20px, 3vw, 40px);
}

.header__nav-link {
    text-decoration: none;
    color: #333;
    font-size: clamp(12px, 1.1vw, 14px);
    letter-spacing: 0.1em;
    transition: opacity 0.3s;
}

.header__nav-link:hover {
    opacity: 0.6;
}

.header__hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
}

.header__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
}

/* ==========================================
   Hero Block (2枚目のコードエディタ画像仕様)
   ========================================== */
.hero {
    position: relative;
    /* width: 100%; */
    background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url('img/ferretta-portfolio-pc.jpg') no-repeat center center / cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 clamp(20px, 8vw, 100px);
}

.hero__content {
    color: #fff;
    max-width: 600px;
}

.hero__title {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: clamp(20px, 2.5vw, 30px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero__title-accent {
    font-family: 'Brush Script MT', cursive, sans-serif;
    font-size: clamp(40px, 6vw, 72px);
    display: inline-block;
}

.hero__subtitle {
    font-size: clamp(14px, 1.5vw, 18px);
    line-height: 1.8;
    margin-bottom: clamp(20px, 3vw, 40px);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero__brand {
    font-family: 'Parisienne', cursive;
    font-size: clamp(28px, 3.5vw, 50px);
    letter-spacing: 0.05em;
    transform: rotate(-3deg);
}

.hero__scroll {
    position: absolute;
    bottom: 30px;
    left: clamp(20px, 8vw, 100px);
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.2em;
    writing-mode: vertical-rl;
}

.hero__scroll::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background-color: #fff;
    margin: 10px auto 0;
}

/* ==========================================
   About Block
   ========================================== */
.about {
    background-color: #fcfbfa;
}

.about__container {
    width: min(90%, 1200px);
    margin: 0 auto;
    padding: clamp(60px, 8vw, 100px) 0;
}

.about__sub-title {
    font-size: 12px;
    letter-spacing: 0.2em;
    color: #888;
    display: block;
    margin-bottom: 8px;
}

.about__sub-title::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 1px;
    background: #888;
    vertical-align: middle;
    margin-left: 10px;
}

.about__title {
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: normal;
    letter-spacing: 0.05em;
    margin-bottom: clamp(30px, 4vw, 50px);
}

.about__body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.about__text-wrap {
    flex: 1;
}

.about__text {
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 2;
    font-family: 'Brush Script MT', cursive, sans-serif;
    ;
}

.about__skills-link {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    font-size: 14px;
}

.about__skills-list {
    display: flex;
    list-style: none;
    gap: 15px;
    padding: 0 0 0 0px;
}

.about__skills-item {
    font-size: 14px;
}

.about__illust {
    width: clamp(200px, 25vw, 300px);
    height: clamp(200px, 25vw, 300px);
    background: #e8c9bc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Brush Script MT', cursive, sans-serif;
    font-size: clamp(16px, 1.8vw, 22px);
    color: #555;
    transform: rotate(5deg);
    flex-shrink: 0;
}

/* ==========================================
   Works Block (実績追加への対応)
   ========================================== */
.works {
    background-color: #f5f2ef;
}

.works__container {
    width: min(90%, 1200px);
    margin: 0 auto;
    padding: clamp(60px, 8vw, 100px) 0;
}

.works__sub-title {
    font-size: 12px;
    letter-spacing: 0.2em;
    color: #888;
    display: block;
    margin-bottom: 8px;
}

.works__sub-title::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 1px;
    background: #888;
    vertical-align: middle;
    margin-left: 10px;
}

.works__title {
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: normal;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.works__lead {
    font-size: clamp(13px, 1.2vw, 15px);
    margin-bottom: clamp(30px, 4vw, 40px);
}

/* 実績が増えても自動で3列（幅に応じてレスポンシブ）に並ぶ設定 */
.works__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: clamp(20px, 3vw, 30px);
    margin-bottom: clamp(40px, 5vw, 60px);
}

.works__card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s;
}

.works__card:hover {
    transform: translateY(-5px);
}

.works__thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.works__info {
    padding: 20px;
}

.works__card-title {
    font-size: clamp(14px, 1.3vw, 16px);
    font-weight: normal;
    margin-bottom: 8px;
}

.works__card-desc {
    font-size: clamp(11px, 1vw, 12px);
    color: #777;
}

.works__btn-wrap {
    text-align: center;
}

.works__btn {
    display: inline-block;
    padding: clamp(12px, 1.5vw, 16px) clamp(40px, 5vw, 60px);
    border: 1px solid #333;
    border-radius: 30px;
    text-decoration: none;
    color: #333;
    font-size: clamp(13px, 1.2vw, 15px);
    transition: all 0.3s;
}

.works__btn:hover {
    background: #333;
    color: #fff;
}

/* ==========================================
   Footer Block
   ========================================== */
.footer {
    background-color: #2a2827;
    color: #fff;
    padding: clamp(40px, 6vw, 80px) 0 30px;
    text-align: center;
}

.footer__container {
    width: min(90%, 1200px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer__logo {
    font-family: 'Brush Script MT', cursive, sans-serif;
    font-size: clamp(24px, 2.5vw, 32px);
    font-weight: normal;
    color: #fff;
}

.footer__copy {
    font-size: 12px;
    color: #aaa;
}

.footer__nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 10px 0;
    padding-left: 0;
}

.footer__nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.1em;
}

.footer__social {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.footer__social-link {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}

.footer__copyright {
    font-size: 10px;
    color: #777;
    margin-top: 40px;
}

/* ==========================================
   Responsive (Media Query)
   ========================================== */
@media (max-width: 768px) {

    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(252, 251, 250, 0.98);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease-in-out;
        z-index: 99;
    }

    .header__nav.is-open {
        right: 0;
    }

    .header__nav-list {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding-left: 0;
    }

    .header__nav-link {
        font-size: 18px;
    }

    .header__hamburger {
        display: flex;
        z-index: 101;
    }

    .about__body {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about__skills-link {
        flex-direction: column;
        gap: 10px;
    }

    .about__skills-list {
        flex-wrap: wrap;
        justify-content: center;
    }

    .about__sub-title::after,
    .works__sub-title::after {
        display: none;
    }
}

@media (max-width: 476px) {
    .footer__nav-list {
        display: block;
    }
}





.archive__main {
    padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 8vw, 100px);
    background-color: #fcfbfa;
    min-height: 80vh;
}

.archive__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 30px);
}

.archive__header-title {
    text-align: center;
    margin-bottom: clamp(30px, 6vw, 60px);
}

.archive__title {
    font-size: clamp(28px, 4vw, 38px);
    font-family: serif;
    letter-spacing: 0.1em;
    color: #333;
    margin-bottom: 8px;
}

.archive__subtitle {
    font-size: clamp(12px, 1.5vw, 14px);
    color: #777;
    letter-spacing: 0.05em;
}

/* カテゴリー切り替えボタン（レスポンシブ対応） */
.work__categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(8px, 2vw, 15px);
    margin-bottom: clamp(30px, 5vw, 50px);
}

.work__category-btn {
    padding: clamp(6px, 1.2vw, 10px) clamp(16px, 3vw, 26px);
    background-color: #fff;
    border: 1px solid #d8c9bc;
    border-radius: 30px;
    font-size: clamp(12px, 1.4vw, 13px);
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
}

.work__category-btn:hover,
.work__category-btn.is-active {
    background-color: #d8c9bc;
    color: #fff;
    border-color: #d8c9bc;
}

/* 実績カードのグリッドレイアウト（画面幅に応じて自動切り替え） */
.work__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(20px, 4vw, 40px);
}

@media (max-width: 768px) {
    .work__grid {
        grid-template-columns: 1fr; /* スマホでは1列に自動変更 */
    }
}

/* カードデザイン */
.work__card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.work__card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.work__img-wrap {
    width: 100%;
    height: clamp(180px, 25vw, 240px); /* 画面幅にあわせて高さも自然に伸縮 */
    overflow: hidden;
}

.work__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.work__card:hover .works__img {
    transform: scale(1.05);
}

.work__card-content {
    padding: clamp(18px, 3vw, 26px);
}

.work__tag {
    display: inline-block;
    font-size: 11px;
    padding: 3px 10px;
    border: 1px solid #d8c9bc;
    border-radius: 4px;
    color: #777;
    margin-bottom: 12px;
}

.work__card-title {
    font-size: clamp(16px, 2vw, 18px);
    color: #333;
    margin-bottom: 10px;
    font-weight: 500;
}

.work__card-text {
    font-size: clamp(12px, 1.5vw, 13px);
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.work__more {
    font-size: 12px;
    color: #333;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* 実績が0件のときのテキスト */
.work__no-text {
    text-align: center;
    color: #777;
    font-size: 14px;
    padding: 40px 0;
}





.contact__main {
    background-color: #fcfbfa;
}

/* ヒーロービジュアル */
.contact__hero {
    position: relative;
    width: 100%;
    height: clamp(200px, 28vw, 320px);
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('images/hero-ferret.jpg') no-repeat center center / cover;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px; /* ヘッダーの高さ分 */
}

.contact__hero-content {
    text-align: center;
    color: #fff;
}

.contact__hero-title {
    font-size: clamp(32px, 5vw, 48px);
    font-family: serif;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

.contact__hero-subtitle {
    font-size: clamp(12px, 1.5vw, 15px);
    letter-spacing: 0.1em;
}

/* コンテナ */
.contact__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 30px);
}

/* イントロ文章 */
.contact__intro {
    font-size: clamp(13px, 1.5vw, 15px);
    color: #555;
    line-height: 1.8;
    margin: clamp(40px, 6vw, 60px) 0;
    text-align: left;
}

/* 2カラムグリッド（左：情報、右：フォーム） */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: clamp(30px, 5vw, 60px);
    align-items: start;
}

@media (max-width: 768px) {
    .contact__grid {
        grid-template-columns: 1fr; /* スマホでは縦並びに自動切り替え */
    }
}

/* セクション共通タイトル */
.contact__section-title {
    font-size: clamp(20px, 3vw, 24px);
    font-family: serif;
    color: #333;
    font-weight: normal;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.contact__section-subtitle {
    font-size: 12px;
    color: #777;
    margin-bottom: 25px;
}

/* お問い合わせ先情報 (Contact Info) */
.contact__info {
    background-color: #fff;
    padding: clamp(24px, 4vw, 35px);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    border: 1px solid #f0eae5;
}

.contact__info-list {
    list-style: none;
    margin-bottom: 30px;
    padding-left: 0px;
}

.contact__info-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f5f2ef;
}

.contact__info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact__info-label {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 4px;
}

.contact__info-value {
    font-size: clamp(13px, 1.4vw, 15px);
    color: #333;
    line-height: 1.5;
}

.contact__info-value small {
    font-size: 11px;
    color: #777;
}

/* フォローミーエリア */
.contact__follow-title {
    font-size: 16px;
    font-family: serif;
    color: #333;
    margin-bottom: 5px;
}

.contact__follow-text {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
}

.contact__social-links {
    display: flex;
    gap: 15px;
}

.contact__social-icon {
    font-size: 12px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #333;
    transition: opacity 0.3s;
}

.contact__social-icon:hover {
    opacity: 0.6;
}

/* フォームエリア (Contact Form) */
.contact__form-wrap {
    background-color: #fff;
    padding: clamp(24px, 4vw, 35px);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    border: 1px solid #f0eae5;
}

.contact__field {
    margin-bottom: 22px;
}

.contact__label {
    display: block;
    font-size: 13px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact__required {
    color: #d9534f;
    margin-left: 3px;
}

.contact__input,
.contact__select,
.contact__textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: #faf8f6;
    border: 1px solid #e2d8d0;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.contact__input:focus,
.contact__select:focus,
.contact__textarea:focus {
    outline: none;
    border-color: #bfa89b;
    background-color: #fff;
}

.contact__textarea {
    resize: vertical;
}

/* プライバシーポリシーチェックボックス */
.contact__privacy {
    margin: 25px 0;
}

.contact__checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: #555;
}

.contact__checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.contact__checkbox-text a {
    color: #333;
    text-decoration: underline;
}

/* 送信ボタン */
.contact__submit-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background-color: #6b736b; /* 落ち着いたアースカラーのグリーン/グレー系 */
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    text-align: center;
}

.contact__submit-btn:hover {
    background-color: #555d55;
    transform: translateY(-2px);
}

/* ボトムバナー画像 */
.contact__bottom-banner {
    width: 100%;
    height: clamp(150px, 22vw, 240px);
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('img/ferretta-portfolio-pc.jpg') no-repeat center center / cover;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: clamp(60px, 10vw, 100px);
}

.contact__bottom-text {
    font-family: serif;
    font-size: clamp(20px, 3.5vw, 32px);
    color: #fff;
    letter-spacing: 0.1em;
}