@charset "UTF-8";

body {
    background-color: #FAF6F0;
}

.contact_about {
    background-color: #F5EFE6;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 14px 40px;
}

.hamburger {
    display: none;
}

.logo {
    font-family: "Playfair Display", serif;
    font-weight: 400;
    font-size: 32px;
    color: #3C2F2F;
    margin: 0;
}

.nav ul {
    display: flex;
    justify-content: right;
    gap: 50px;
    margin: 0;
    padding: 0;
}

.nav a {
    font-family: "Work Sans", sans-serif;
    font-weight: 300;
    color: #3C2F2F;
    font-size: 18px;
    text-decoration: none;
    margin: 0;
    padding: 0;
}

.nav a:hover {
    font-weight: 450;
    color: #6B4E3D;
}

.main_visual {
    position: relative;
    max-height: 640px;
    max-width: 1440px;
}

.section_visual {
    position: relative;
    max-height: 300px;
    max-width: 100%;
}

.main_visual img {
    width: 100%;
    height: auto;
    display: block;
}

.section_visual img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin-bottom: 60px;
}

.catchcopy {
    position: absolute;
    top: 68%;
    left: 6%;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 200;
    color: #3C2F2F;
    font-size: 32px;
}

.section_catchcopy {
    font-family: "Work Sans", sans-serif;
    font-weight: 400;
    font-size: 40px;
    color: #3C2F2F;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

main {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-family: "Work Sans", sans-serif;
    font-weight: 350;
    margin-top: 80px;
    color: #6B4E3D;
    font-size: 40px;
    text-align: center;
}

.about-wrapper {
    display: flex;
    gap: 70px;
    align-items: flex-start;
    margin: 60px auto;
    max-width: 1100px;
    width: 90%;
}

.about-img {
    height: auto;
    width: 32%;
    object-fit: cover;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 700px;
}

.about_title {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: bold;
    color: #8B6C54;
    font-size: 22px;
    letter-spacing: 5%;
    text-decoration: underline;
}

.about_details {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 200;
    color: #3C2F2F;
    font-size: 19px;
    line-height: 1.8;
}

.see-more-about {
    font-family: "Work Sans", sans-serif;
    font-weight: 300;
    color: #3C2F2F;
    font-size: 16px;
    letter-spacing: 0.6px;
    text-decoration: underline;
    transition: color 0.3s, letter-spacing 0.3s;
}

.see-more-about:hover {
    color: #5A341C;
    letter-spacing: 1.2px;
}

.works-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 40px auto;
    justify-items: center;
    max-width: 1100px;
    width: 90%;
}

.work-card {
    display: flex;
    flex-direction: column;
}

.work-thumb {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.work-body {
    padding-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.work-title {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 200;
    color: #3C2F2F;
    font-size: 22px;
    line-height: 1.5;
}

.see-more {
    max-width: 1100px;
    width: 90%;
    text-align: right;
    margin: 30px auto 0;
}

.see-more-works {
    font-family: "Work Sans", sans-serif;
    font-weight: 300;
    color: #3C2F2F;
    font-size: 16px;
    letter-spacing: 0.6px;
    text-decoration: underline;
    transition: color 0.3s, letter-spacing 0.3s;
}

.see-more-works:hover {
    color: #5A341C;
    letter-spacing: 1.2px;
}

.contact-section {
    background-color: #C1A68B;
    text-align: center;
    padding: 60px 0;
    width: 100%;
    padding: 60px 0 80px;
    min-height: 270px;
    text-align: center;
    margin-top: -20px;
}

.contact_title {
    font-size: 18px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 200;
    letter-spacing: 5%;
    line-height: 1.8;
    color: white;
    margin-bottom: 15px;
}

.contact-button {
    display: inline-block;
    background-color: #5A341C;
    color: white;
    margin-top: 30px;
    padding: 14px 40px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 18px;
    font-family: "Noto Sans JP", sans-serif;
    transition: opacity 0.2s;
    letter-spacing: 5%;
}

.contact-button:hover {
    opacity: 0.8;
}

.footer {
    font-family: "Work Sans", sans-serif;
    font-weight: 150;
    color: #A69382;
    font-size: 15px;
    text-align: center;
    margin: 20px auto;
}

/* Worksページ */
.work-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.work-link:hover {
    opacity: 0.85;
}

/* Works_詳細ページ */
.back-link {
    max-width: 900px;
    margin: 0 auto 20px;
    padding: 0 20px;
}

.back-link-bottom {
    margin: 60px auto 0;
    text-align: center;
}

.back-link a {
    font-family: "Work Sans", sans-serif;
    font-size: 14px;
    color: #6B4E3D;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s, transform 0.3s;
}

.back-link a:hover {
    color: #3C2F2F;
    transform: translateX(-4px);
}

.work-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* セクション */
.work-detail-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* メイン画像 */
.work-image {
    width: 100%;
    max-width: 720px;
    margin: 60px auto 40px;
}

.work-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* テキスト */
.work-content {
  max-width: 720px;
  margin: 0 auto;
}

/* タイトル */
.work-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #3C2F2F;
  margin-bottom: 20px;
}

/* ラベル */
.work-label {
  display: inline-block;
  background-color: #8B6C54;
  color: #fff;
  font-size: 14px;
  padding: 8px 16px;
  margin-bottom: 16px;
}

/* 箇条書き */
.work-points {
  list-style: disc;
  padding-left: 20px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 200;
  line-height: 1.8;
  color: #3C2F2F;
}

/* 各行の余白 */
.work-points li {
  list-style: none; /* リストの点を消す */
  margin-bottom: 8px;
}

/* コンタクトページ */
.contact-form-section {
  max-width: 1100px;
  margin: 0 auto 120px;
  padding: 0 20px;
  font-family: "Noto Sans JP", sans-serif;
  color: #3C2F2F;
}

/* リード文 */
.contact-lead {
  text-align: center;
  font-size: 15px;
  line-height: 2;
  margin: 80px 0 60px;
}

.sp-only {
  display: none;
}

/* フォーム */
.contact-form {
  max-width: 900px;
  margin: 0 auto;
}

/* 各行 */
.form-group {
  display: flex;
  align-items: center;
  margin-bottom: 28px;
}

/* ラベル */
.form-group label {
  width: 180px;
  font-size: 14px;
}

.form-group label span {
  color: #8B6C54;
}

/* 入力欄 */
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #D2B79D;
  background-color: #fff;
  font-size: 14px;
  border-radius: 2px;
}

/* テキストエリア */
.form-group.textarea {
  align-items: flex-start;
}

.form-group.textarea textarea {
  height: 180px;
  resize: vertical;
}

/* 送信ボタン */
.form-submit {
  text-align: center;
  margin-top: 60px;
}

.form-submit button {
  background-color: #8B6C54;
  color: #fff;
  border: none;
  padding: 16px 80px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.form-submit button:hover {
  opacity: 0.8;
}

input,
textarea {
    border: 1px solid #D1B59A;
    padding: 14px 16px;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    border-radius: 4px;
    background-color: #FFFFFF;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #8B6C54;
    background-color: #FDFBF8;
}

.about_profile {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 200;
    color: #3C2F2F;
    font-size: 18px;
    line-height: 1.8;
}

/* History */
.history {
  max-width: 1100px;
  width: 80%;
  margin: 0 auto;
}

.history-list {
  position: relative;
  margin-top: 40px;
}

.history-list::before {
  content: "";
  position: absolute;
  left: 120px;
  top: 10px;
  width: 1px;
  height: 74%;
  background-color: #cbb39b;
}

.history-item {
  display: flex;
  margin-bottom: 40px;
  position: relative;
}

.history-year {
    font-family: "Noto Sans JP", sans-serif;
  width: 80px;
  font-weight: bold;
  color: #6f5540;
  text-align: right;
  margin-right: 40px;
}

/* ドット */
.history-year::after {
  content: "";
  position: absolute;
  left: 115.5px;        /* 縦ライン位置に合わせる */
  top: 6px;            /* 年号中央あたり */
  width: 10px;
  height: 10px;
  background-color: #cbb39b;
  border-radius: 50%;
}

.history-content {
  flex: 1;
  padding-left: 40px;
  color: #3C2F2F;
}

.history-content h3 {
  font-size: 15px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: bold;
  margin-bottom: 8px;
}

.history-content p {
  font-size: 14px;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
}

.history-summary {
  max-width: 1100px;
  width: 82%;
  margin: 60px auto 0;
  color: #8B6C54;
  font-weight: bold;
}

.history-summary p {
  font-size: 14px;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 2;
  text-align: center;
}

/* Skill */
.skill {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.skill-list {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.skill-name {
  font-size: 20px;
  color: #3e2a1e;
}

.skill-stars {
  color: #b8926a;
  font-size: 20px;
}

@media (max-width: 640px) {

    .nav {
        display: none;
    }

    .hamburger {
        display: block;
        font-size: 28px;
        cursor: pointer;
        color: #3C2F2F;
    }

    .nav.active {
        display: block;
        position: absolute;
        top: 60px;
        right: 20px;
        background: white;
        padding: 20px;
        border-radius: 8px;
    }

    .nav.active ul {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .catchcopy {
        font-size: 20px;
        top: 60%;
    }

    .section_catchcopy {
        font-size: 25px;
    }

    .about-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .about-img {
        width: 70%;
    }

    .about-text {
        align-items: center;
    }

    .about_details {
        font-size: 15px;
        text-align: left;
    }

    .works-list {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-title {
        font-size: 28px;
    }

    .work-title {
        font-size: 18px;
    }

    .contact_title {
        font-size: 16px;
    }

    .contact-button {
        font-size: 16px;
        padding: 12px 32px;
    }

    .contact-lead {
        font-size: 12.5px;
        line-height: 1.8;
        margin-bottom: 30px;
    }

    .sp-only {
        display: inline;
    }

    .contact-form {
        max-width: 100%;
    }

    .form-group {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 24px;
    }

    .form-group label {
        width: 100%;
        margin-bottom: 8px;
        font-size: 13px;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        font-size: 14px;
        padding: 12px;
    }

    .form-group textarea {
        min-height: 160px;
    }

    .contact-submit {
        text-align: center;
        margin-top: 40px;
    }

    .contact-submit button {
        width: 100%;
        max-width: 280px;
        padding: 14px 0;
        font-size: 15px;
    }

    .work-detail {
        padding: 60px 0 100px;
    }

    .work-title {
        font-size: 20px;
    }

    .work-points {
        font-size: 15px;
    }

    /* About：メインビジュアル内のタイトル */
    .section_catchcopy {
        font-size: 22px;
        bottom: 12%;
    }

    /* Profile セクション */
    .about-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 28px;
    }

    .about-img {
        width: 68%;
        max-width: 280px;
    }

    .about-text {
        width: 100%;
    }

    .about_profile {
        font-size: 15px;
        line-height: 1.9;
        text-align: left;
        padding: 0 10px;
    }

    /* History セクション */
    .history {
        width: 90%;
    }

    /* 年表の縦ラインを左寄りに調整 */
    .history-list::before {
        left: 40px;
        height: 100%;
    }

    /* 年号 */
    .history-year {
        width: 40px;
        margin-right: 16px;
        font-size: 14px;
        text-align: left;
    }

    /* ドット位置調整 */
    .history-year::after {
        left: 36px;
        width: 8px;
        height: 8px;
        top: 4px;
    }

    /* 本文ブロック */
    .history-item {
        align-items: flex-start;
        margin-bottom: 36px;
    }

    .history-content {
        padding-left: 0;
    }

    .history-content h3 {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .history-content p {
        font-size: 13.5px;
        line-height: 1.8;
    }

    /* 下部まとめ文章 */
    .history-summary {
        width: 95%;
        font-size: 13.5px;
        line-height: 1.9;
        margin-top: 40px;
        text-align: left;
        padding: 0 8px;
    }


    /* Skill セクション */
    .skill-list {
        flex-direction: column;
        gap: 22px;
        margin-top: 28px;
    }

    .skill-item {
        justify-content: center;
        gap: 10px;
    }

    .skill-name {
        font-size: 18px;
    }

    .skill-stars {
        font-size: 18px;
    }
}
