@charset "UTF-8";

/* 共通部分
------------------------------------ */
html {
    font-size: 100%;
}
body {
    font-family: "Yu Gothic Medium", "YuGothic", "ヒラギノ角ゴ Pro W3", "sans-serif", "Noto-Sans-JP", "Source Serif 4";
    line-height: 1.7;
    color: #313131;
}
a {
    text-decoration: none;
}
img {
    max-width: 100%;
}

/* HEADER
------------------------------------ */
.logo {
    width: 110px;
    margin-top: 40px;
}
.main-nav {
    display: flex;
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-top: 50px;
    list-style: none;
}
.main-nav li{
    margin-left: 36px;
    margin-bottom: 70px;
}
.main-nav a {
    color: #313131;
}
.main-nav a:hover {
    color: #909090;
}
.main-nav li img {
    width: 25%;
}
.page-header {
    display: flex;
    justify-content: space-between;
}
.wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4%;
}

/* ヒーローセクション
------------------------------------ */
.hero-section {
    position: relative;
    min-height: 700px;
    margin-bottom: 150px;
    display: flex;
    justify-content: space-between;
}
.hero-description {
    font-size: 26px;
}

/* メイン画像 */
.main-image {
    width: 200vw;
    max-width: 1000px;
    height: 600px;
    position: relative;
    margin: auto; /* 右寄せ */
    margin-right: -100px; /* 右側に少し飛び出させる */
    z-index: 1; /* 他の要素より前面に */
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* ヒーローコンテンツ */
.hero-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 20px; /* main-imageとの重なり部分を考慮 */
    position: relative;
    z-index: 2; /* main-imageより前面に */
}

.page-title {
    font-size: 1.6rem;
    line-height: 1.2;
    text-align: left; /* 左寄せに変更 */
    margin-bottom: 20px;
    margin-left: 70px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    color: #313131;
    font-family: 'Kaisei Opti', sans-serif; /* Google Fontを適用 */
}

.page-title span.highlight {
    display: inline-block;
    position: relative;
}

.page-title .name {
    font-size: 3rem;
    font-weight: 800;
    display: block;
    margin: 0;
    letter-spacing: 5px;
    font-family: 'Kaisei Opti', sans-serif; /* Google Fontを適用 */
    white-space: nowrap; /* 改行を防ぐ */
}

.page-title .subtitle {
    font-size: 2.8rem;
    font-weight: 300;
    letter-spacing: 2px;
    font-family: 'Kaisei Opti', sans-serif; /* Google Fontを適用 */
    color: #f2d8b9;
    display: block; /* ブロック要素として表示 */
    width: 100%; /* 幅を100%に設定 */
}

.sub-title-image img {
    width: 450px;
    height: auto;
    margin-bottom: 40px;
}

/* WORKS セクション
------------------------------------ */
#works {
    margin-top: 50px;
    padding-top: 30px;
    margin-bottom: 100px;
}

.grid {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    margin-top: 50px;
    margin-bottom: 50px;
    padding-bottom: 50px;
}

/* アイテムスタイル */
.item {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 15px;
    text-decoration: none;
}

.item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
}

.item h4 {
    font-size: 24px;
    margin: 0;
}

.item a {
    text-decoration: none;
    color: inherit;
}

.title {
    font-size: 2rem;
}

.viewdetail {
    font-size: 1.4rem;
}

.item p {
    margin: 0;
}

/* アイテムフッター */
.item-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 15px;
}

.yazirushi {
    position: relative;
    width: 100px;
    height: 1px;
    margin-right: 20px;
}

.line01 {
    height: 1px;
    background-color: #313131;
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.line02 {
    position: absolute;
    top: 50%;
    right: 0;
    transform-origin: right bottom;
    width: 20px;
    height: 1px;
    background-color: #313131;
    transform: translateY(-50%) rotate(45deg);
}

.view-detail {
    margin: 0;
    text-decoration: none;
    color: #313131;
}

/* もっと見るボタン */
.view-more {
    font-size: 36px;
    text-align: center;
    padding: 20px;
    margin: 0 auto;
    background-color: #E3D8CC;
    display: block;
    color: #313131;
}

.view-more-btn {
    margin: 30px auto 0;
    width: 400px;
    grid-column: 1 / -1;
    text-align: center;
}

/* ABOUT セクション
------------------------------------ */
#about {
    margin-top: 50px;
    margin-bottom: 100px;
}

.profile {
    display: flex;
    margin-bottom: 100px;
    position: relative;
}

.photo-me {
    width: 40%;
    position: relative;
}

.photo-me::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    width: 100%;
    height: 100%;
    background-color: #E3D8CC;
    z-index: -1;
}

.me-image {
    display: block;
    position: relative;
}

.profile-detail {
    width: 60%;
    height: 100%;
    padding-left: 50px;
}

.name {
    font-size: 40px;
    letter-spacing: 8px;
    margin: 0 0 10px;
}

.name-detail {
    font-size: 20px;
    letter-spacing: 6px;
    padding-bottom: 10px;
    margin: 0;
}

.profile-message {
    padding-top: 30px;
}

/* ソーシャルリンク */
.social-links {
    margin-top: 20px;
}

.logo-instagram {
    width: 46px;
    margin-top: 20px;
}

.logo-x {
    width: 46px;
    margin-top: 20px;
    margin-left: 36px;
}

/* CONTACT セクション
------------------------------------ */
.contact {
    font-size: 46px;
    letter-spacing: 18px;
    margin-bottom: 14px;
    padding: 16px 0 0;
    font-family: "Source Serif 4";
}

.contact-p {
    font-size: 20px;
    margin: 10px;
}

.contact-section {
    padding: 40px 20px;
    margin: 0 0 20px;
    background-color: #E3D8CC;
    text-align: center;
}

.button-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

.button {
    background-color: #D27E00;
    color: #FFF;
    border: none;
    padding: 10px 100px;
    cursor: pointer;
}

.contact-btn {
    font-size: 26px;
    background-color: #D27E00;
    color: #FFF;
    border: none;
    padding: 10px 100px;
    cursor: pointer;
    display: inline-block;
    margin-top: 20px;
}

/* フッター
------------------------------------ */
footer {
    background: #E3D8CC;
    text-align: center;
    padding: 26px 0;
    margin-top: 100px;
}

/* フォーム
------------------------------------ */
.menu-content {
    font-family: Noto-Sans-JP, Source Serif Pro;
}

.sub-message {
    margin-top: 30px;
    margin-bottom: 60px;
}

.hissu {
    color: red;
}

form div {
    margin-bottom: 10px;
}

label {
    font-size: 1.125rem;
    margin-bottom: 10px;
    display: block;
}

input[type="text"],
input[type="email"],
textarea {
    border: 1px #313131 solid;
    border-radius: 3px;
    padding: 10px;
    font-size: 1rem;
}

input[type="text"],
input[type="email"] {
    width: 100%;
}

textarea {
    width: 100%;
    height: 20rem;
}

input[type="submit"] {
    background-color: #D27E00;
    color: #FFF;
    border: none;
    padding: 10px 100px;
    cursor: pointer;
    text-align: right;
}

/* workszoom
------------------------------------ */
.zoom {
    text-align: center;
    padding: 100px 70px;
}

.zoom h2 {
    margin-bottom: 100px;
    font-size: 36px;
}

/* ワークス詳細ページ（zoom）のスタイル改善 */
.zoom h3 {
    font-size: 1.4rem;
    margin-top: 60px;
    margin-bottom: 20px;
    position: relative;
    color: #313131;
    font-weight: 600;
    letter-spacing: 2px;
    padding-bottom: 8px;
}

/* 下線装飾を追加 */
.zoom h3::after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    width: 10%;
    height: 3px;
    background: linear-gradient(to right, #D27E00, #E3D8CC);
}

.zoom-image {
    width: 80%;
}

.zoom h4 {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* リンク先にもスタイルを適用 */
.zoom a {
    color: #D27E00;
    font-size: 1.2rem;
    text-decoration: none;
    position: relative;
    display: inline-block;
    padding-bottom: 3px;
    transition: all 0.3s ease;
}

.zoom a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #D27E00;
    transition: width 0.3s ease;
}

.zoom a:hover {
    color: #B26700;
}

.zoom a:hover::after {
    width: 100%;
}

/* レスポンシブ対応
------------------------------------ */
@media (max-width: 900px) {
    /* ヒーローセクション */
    .hero-section {
        flex-direction: column;
        align-items: center;
        min-height: auto;
        margin-bottom: 80px;
    }

    .main-image {
        width: 100%;
        height: auto;
        margin: auto;
    }

    .hero-content {
        width: 100%;
        align-items: center;
    }

    .page-title {
        text-align: center;
    }

    /* グリッド */
    .grid {
        gap: 30px;
    }
}

/* 小型デバイス向け */
@media (max-width: 600px) {
    /* ヘッダー */
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* ヒーローセクション */
    .hero-section {
        margin-bottom: 50px;
    }

    .page-title {
        font-size: 2rem;
    }

    /* グリッド */
    .grid {
        grid-template-columns: 1fr;
    }

    /* サブタイトル */
    .sub-title-image img {
        width: 100%;
    }

    /* プロフィール */
    .profile {
        flex-direction: column;
    }

    .photo-me,
    .profile-detail {
        width: 100%;
    }

    .profile-detail {
        padding-left: 0;
        margin-top: 30px;
    }

    /* ボタン */
    .view-more-btn {
        width: 100%;
    }

    .contact-btn {
        padding: 10px 40px;
    }

    /* コンタクトフォーム */
    #contact .page-title {
        margin-top: 40px;
    }

    input[type="text"],
    input[type="email"],
    textarea {
        max-width: 100%;
    }
}