/*
Theme Name: Three Happy Design
Author: Kimie Kozuka
Description: Original theme for Three Happy Design
Version: 1.0
Text Domain: threehappydesign
*/

/* ==============================================================
   基本ベース
============================================================== */

* {
    box-sizing: border-box; /* 全てパディング込みで計算 */
}

body {
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    color: #333;
    line-height: 2.3;
    background: #FAFAFA;

    padding-top: 80px;
}

a {
    color: inherit; /* リンクの文字色を、親要素と同じ色に */
    text-decoration: none;
}

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

p {
    margin: 0;
    letter-spacing: 0.05em;
    color: #333;
}

h1 {
    margin: 0;
    font-family: "Shippori Mincho", serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.05em;
    color: #222;
}

h2 {
    margin: 0;
    font-family: "Shippori Mincho", serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.03em;
    color: #222;
}

h3 {
    color: #222;
}

/* ==============================================================
   共通レイアウト
============================================================== */

.inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 50px;
}

.inner-2 {
    max-width: 660px;
    margin: 0 auto;
    padding: 0 50px;
}


/* リンクをホバー */
.nav a,
.button-bk,
.button-wh,
.button {
    transition: opacity 0.3s ease; /* ふわっと薄くする */
}

.nav a:hover,
.button-bk:hover,
.button-wh:hover,
.button:hover {
    opacity: 0.6;
}


/* heroだけ少し狭くする */
.hero__inner {
    max-width: 900px;
}

/* 各ページのメニュー名 */
.label {
    letter-spacing: 0.08em;
    color: #888;
}

@media screen and (max-width: 767px)  {
    .label {
    font-size: 12px;
  }
}

/* 改行 */
.sp-only {
    display: none;
}

@media screen and (max-width: 767px)  {
    .inner,
    .inner-2 {
        padding: 0 32px;
    }

    .pc-only {
    display: none;
  }
}
  
/*  余白のレイアウト
-------------------------------------------------------------- */

/* 幅 */

.l-width {
    margin: 0 auto;
    padding: 0;
    width: 100%;
    max-width: 800px;
}

/* 間隔 */

.l-margin {
    margin: 40px auto;
}

/* 上下の間隔 */
.l-page {
    margin: 100px auto;
}

@media screen and (max-width: 767px)  {
    .l-page {
        margin: 60px auto;
    }
}


/*   下層 タイトル・本文
-------------------------------------------------------------- */

.l-title,
.journal-article__body h2 {
    font-size: 34px;
    margin: 70px 0;
    font-family: "Shippori Mincho", serif;
}

.l-text {
    margin-top: -40px;
}

.l-text p {
    margin-bottom: 26px;
}

@media screen and (max-width: 767px)  {
    .l-title,
    .journal-article__body h2 {
        font-size: clamp(30px, 9vw, 32px);
        line-height: 1.55;
        letter-spacing: 0.03em;
        margin-top: 24px;
    }

    .l-text {
        font-size: 15px;
        line-height: 2.05;
        letter-spacing: 0.03em;
    }

    .l-text p {
        margin-bottom: 18px;
    }
}

/*   リンクボタン
--------------------------------------------------------------- */

:where(button).c-text-link {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

/* buttonでも.c-text-linkと同じ見た目にするための初期化 */
:where(button).c-text-link {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

/* 通常リンク */
.c-text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #d8d8d8;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.08em;
    color: #222;
    text-decoration: none;
    transition: border-color 0.3s ease;
}

.c-text-link__arrow {
    font-size: 16px;
    line-height: 1;
    transform: translateY(-1px);
    transition: transform 0.3s ease;
    margin-bottom: -2px;
}

/* CTA用：通常時 */
.c-text-link--cta {
    border-bottom-color: #777;
}

/* PC hover */
@media (hover: hover) and (pointer: fine) {
    .c-text-link:hover {
        border-bottom-color: #222;
    }

    .c-text-link:hover .c-text-link__arrow {
        transform: translate(4px, -1px);
    }

    .c-text-link--cta:hover {
        border-bottom-color: #d8d8d8;
    }
}


/* sp */
@media screen and (max-width: 767px) {
    .c-text-link {
        gap: 10px;
        padding-bottom: 7px;
        font-size: 15px;
    }

    .c-text-link:hover {
        border-color: #d8d8d8;
    }

    .c-text-link:hover .c-text-link__arrow {
        transform: translateY(-1px);
    }

    .c-text-link--cta {
        padding-bottom: 9px;
        border-bottom-color: #222;
    }
}

/* 詳細ページ下部：一覧リンクの配置 */
.c-list-link {
  display: flex;
  justify-content: flex-end;
  margin-top: 88px;
}

/* 控えめなグレーリンク */
.c-text-link--muted {
  color: #777;
  border-bottom-color: #dedede;
}

@media (hover: hover) and (pointer: fine) {
  .c-text-link.c-text-link--muted:hover {
    border-bottom-color: currentColor;
  }
}

@media screen and (max-width: 767px) {
  .c-list-link {
    margin-top: 72px;
  }
}

/* detail pager（左右のページに行く矢印）
------------------------------------------ */
.c-detail-pager {
    display: flex;
    justify-content: flex-end;
    margin-top: 86px;
}

.c-detail-pager--both {
    justify-content: space-between;
}

.c-list-link {
    margin-top: 42px;
}

@media screen and (max-width: 767px) {
    .c-detail-pager {
        margin-top: 72px;
    }

    .c-list-link {
        margin-top: 34px;
    }
}

/* 下層ページ：タイトル下を通常より詰める本文 */
.l-page-body--tight {
  margin-top: -40px;
}

@media screen and (max-width: 767px) {
  .l-page-body--tight {
    margin-top: 20px;
  }
}

/*   補足説明
--------------------------------------------------------------- */

.flow__note {
    margin-top: 32px;
    font-size: 13px;
    line-height: 1.9;
    color: #777;
}

@media screen and (max-width: 767px) {
  .flow__note {
    margin-top: 24px;
  }
}


/* =======================================================================
  header
======================================================================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #FAFAFA;
  padding: 32px 0;

}

.logo {
    display: block; /* リンク全体を箱にする */
}

.logo img {
    display: block; /* 画像下の変な隙間を消す */
    width: 220px;
    height: auto;
    margin-bottom: -0.05em;
    transform: translateX(-3px);
    
}

.nav ul {
    display: flex;
    gap: 32px;
    margin-top: -4px;
}

.nav a {
    font-size: 15px;
    letter-spacing: 0.08em;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* PCではスマホメニューボタンを非表示 */
.menu-button {
  display: none;
}

/* header：スマホ */
@media screen and (max-width: 767px)  {
    .menu-button {
    display: flex;
   }
    .header {
        padding: 30px 0 0;
    }

    .logo img {
        width: 190px;
    }

    .header {
        padding: 26px 0 20px;
    }

    .menu-button {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        width: 46px;
        height: 32px;
        padding: 0;
        border: none;
        background: transparent;
        cursor: pointer;
    }

    .menu-button span {
        display: block;
        width: 46px;
        height: 1px;
        background-color: #222;
    }

    .menu-button {
        position: relative;
        z-index: 100;
    }

    .menu-button span {
        transition: transform 0.3s ease;
        transform-origin: center;
    }

    .menu-button.is-open span:nth-child(1) {
        transform: translateY(4.5px) rotate(18deg);
    }

    .menu-button.is-open span:nth-child(2) {
        transform: translateY(-4.5px) rotate(-18deg);
    }

    .nav {
        position: fixed;
        inset: 0;
        z-index: 90;

        display: flex;
        align-items: center;
        justify-content: center;

        background: #FAFAFA;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        animation: none;
        transition: opacity 0.35s ease, visibility 0.35s ease;
    }

    .nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-top: 0;
    }

    .nav a {
        font-family: "Helvetica Neue", Arial, sans-serif;
        font-size: 16px;
        font-weight: 400;
        letter-spacing: 0.14em;
    }

    .menu-button {
        position: relative;
        z-index: 100;
    }

    .menu-button span {
        transition: transform 0.3s ease;
        transform-origin: center;
    }

    .menu-button.is-open span:nth-child(1) {
        transform: translateY(4.5px) rotate(18deg);
    }

    .menu-button.is-open span:nth-child(2) {
        transform: translateY(-4.5px) rotate(-18deg);
    }

    body.is-menu-open {
        overflow: hidden;
    }
}

/* =======================================================================
  hero
======================================================================= */

.hero__inner {
    margin-top: 170px;
    margin-bottom: 170px;
}

.hero__title {
    font-size: 63px;
    margin-left: -0.1em;
}

.hero__text {
    margin-top: 26px;
    line-height: 2.3;
    margin-bottom: 60px;
}

.hero__text p {
    margin-bottom: 18px;
}

.fv-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    margin-top: 64px;
    align-items: flex-start;
}

@media (max-width: 1200px) {
    .hero__title {
        font-size: 56px;
    }

    .hero__inner {
        margin-top: 100px;
        margin-bottom: 100px;
    }
}

@media screen and (max-width: 767px)  {
    .hero__inner {
        max-width: none;
        margin-top: 70px;
        margin-bottom: 100px;
    }

    .hero__title {
        margin-left: -4px;
        font-size: clamp(38px, 9vw, 40px);
        line-height: 1.55;
        letter-spacing: 0.03em;
    }

    .sp-only {
        display: block;
    }

    .hero__text {
        font-size: 16px;
        line-height: 2.2;
    }

    .hero__text p {
        letter-spacing: 0.03em;
        margin-bottom: 28px;
    }
}

@media (max-width: 386px) {
    .inner {
        padding: 0 28px;
    }

    .hero__title {
        font-size: 32px;
        letter-spacing: 0.02em;
    }
}

/*   Animation
--------------------------------------------------------------- */

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* トップページだけアニメーション */

.home .hero__title {
  opacity: 0;
  animation: fadeIn 1.8s ease 0.45s forwards;
}

.home .hero__text,
.home .fv-links {
  opacity: 0;
  animation: fadeUp 1.4s ease-out forwards;
}

.home .hero__text {
  animation-delay: 0.8s;
}

.home .fv-links {
  animation-delay: 1.05s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 動きを減らす設定の人にはアニメーションを止める */
@media (prefers-reduced-motion: reduce) {
  .home .hero__title,
  .home .hero__text,
  .home .fv-links {
    opacity: 1;
    transform: none;
    animation: none;
  }
}


/* =======================================================================
  footer
======================================================================= */

.footer {
    padding-bottom: 48px;
}

.footer small {
    font-size: 12px;
    color: #555;
    letter-spacing: 0.02em;
}

.footer__separator {
    margin: 0 8px;
    color: #999;
}

.footer__link {
    transition: opacity 0.3s ease;
}

@media screen and (max-width: 767px)  {
    .footer {
        padding-bottom: 36px;
    }

    .footer small {
        display: block;
        font-size: 11px;
        line-height: 1.8;
    }

    .footer__separator {
        display: none;
    }

    .footer__link {
        display: block;
        margin-top: 8px;
    }
}

/* =======================================================================
  privacy プライバシーポリシー
======================================================================= */

.privacy {
    padding-bottom: 80px;
}

.privacy__title {
    font-size: 30px;
    transform: translateX(-5px);
}

.privacy__inner {
    max-width: 720px;
    margin: 0 auto;
}

.privacy__body {
    font-size: 14px;
    line-height: 2.15;
    letter-spacing: 0.04em;
}

.privacy__body p {
    margin: 0;
}

.privacy__section {
    margin-top: 64px;
}

.privacy__section h2 {
    margin: 0 0 22px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e5e5;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: 0.08em;
}

.privacy__section ul {
    margin: 18px 0 0;
    margin-bottom: 20px;
}

.privacy__section li {
    margin-left: 1.4em;
    list-style: disc;
}

.privacy__contact {
  margin-top: 24px;
}

.privacy__contact p + p {
  margin-top: 18px;
}

.privacy__note {
  font-size: 12px;
  line-height: 1.9;
  color: #777;
}

.privacy__body .privacy__date {
  margin-top: 72px;
}

/* sp */
@media screen and (max-width: 767px) {
  .privacy {
    padding-bottom: 80px;
  }

  .privacy__body {
    font-size: 14px;
    line-height: 2.05;
  }

  .privacy__section {
    margin-top: 50px;
  }

  .privacy__section h2 {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.7;
  }

  .privacy__section ul {
    margin-top: 18px;
  }

  .privacy__contact {
    margin-top: 22px;
  }

  .privacy__title {
    margin-bottom: 20px;
  }

  .privacy__section li {
    margin-top: 4px;
    line-height: 1.7;
    }
}

/* =======================================================================
  Service
======================================================================= */

.service__title {
    font-size: 45px;
    transform: translateX(-5px);
}

.service__title-2 {
    transform: translateX(-5px);
}

.u-tight {
    margin-left: -0.081em;
}

/* ご相談から納品まで
------------------------------------------- */

.service-flow {
  margin: 160px 0;
  margin-bottom: 130px;
}

.service-flow__title {
    margin: 0 0 35px;
    font-size: 28px;
    line-height: 1.4;
    font-family: "Shippori Mincho", serif;
    margin-left: -0.17em;
    font-weight: 500;
}

.service-flow__list {
    border-top: 1px solid #e5e5e5;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-flow__item {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 35px;
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}

.service-flow__item:last-child {
    padding-bottom: 28px;
}

.service-flow__number {
    font-family: "EB Garamond", serif;
    font-size: 38px;
    line-height: 1.15;
    letter-spacing: 0.08em;
    color: #999;
    padding-left: 2px;
}

.service-flow__heading {
    margin: 0 0 6px;
    font-family: "Shippori Mincho", serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.04em;
    color: #222;
}

.service-flow__heading-2 {
    margin-left: -0.17em;
}

.service-flow__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.9;
    letter-spacing: 0.04em;
}

.service-flow__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 納品データについて */

.service-flow__note-title {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: #222;
}

/* リンクボタン */
.service-detail__cta {
    margin: 80px 0;
    margin-bottom: 170px;
}

.service-detail__cta p {
    margin-bottom: 30px;
}

@media screen and (max-width: 767px) {
    .service__title {
        font-size: clamp(31px, 9vw, 35px);
        line-height: 1.55;
        letter-spacing: 0.03em;
    }
    
    .service-flow {
    margin: 80px  0;
    }

  .service-flow__title {
     font-size: 24px;
     letter-spacing: 0.03em;
     margin-bottom: 10px;
     margin-left: -0.01em;
  }

  .service__title-2 {
    margin-top: 60px;
    font-size: 28px;
  }

  .service-flow__item {
    grid-template-columns: 42px 1fr;
    column-gap: 15px;
    padding: 20px 0;
  }

  .service-flow__number {
    font-size: 30px;
    line-height: 1.15em;
  }

  .service-flow__heading {
    font-size: 20px;
  }

  .service-flow__text {
    font-size: 14px;
    line-height: 2;
  }
}

/*   料金について
-------------------------------------------*/

.service-price__title,
.service-flow__title  {
    margin: 0 0 30px;
    font-size: 28px;
    line-height: 1.4;
    font-family: "Shippori Mincho", serif;
    margin-left: -0.08em;
    font-weight: 500;
}

.service-price__list {
    margin: 0;
    padding: 0;
    border-top: 1px solid #e5e5e5;
}

.service-price__row {
    display: grid;
    grid-template-columns: 140px 1fr;
    column-gap: 32px;
    padding: 24px 0;
    border-bottom: 1px solid #e5e5e5;
}

.service-price__row dt,
.service-price__row dd {
    margin: 0;
    letter-spacing: 0.04em;
}

.service-price__row dt {
    font-size: 15px;
    line-height: 1.8;
}

.service-price__row dd {
    font-size: 15px;
    line-height: 1.9;
}

/* 表 */

@media screen and (max-width: 767px)  {
    .service-price {
        margin: 80px 0 100px;
    }


.service-price__title,
.service-flow__title  {
    margin: 0 0 10px;
    font-size: 24px;
}

    .service-price__row {
        display: block;
    }

    .service-price__row dt {
        font-size: 16px;
        font-weight: 500;
        line-height: 1.8;
        letter-spacing: 0.04em;
    }

    .service-price__row dd {
        margin: 0;
        font-size: 14px;
        line-height: 2;
        padding: 10px 0;
    }

    .service-detail__cta-text {
        font-size: 15px;
    }

    .service-detail__cta {
        margin-top: 40px;
        margin-bottom: -10px;
    }
}

/* =======================================================================
  about
======================================================================= */

.about__title-en {
    font-family: "EB Garamond", serif;
    font-weight: 400;
    font-size: 40px;
    transform: translateX(-10px);
    margin-right: 0.1em;
}

.about__title {
    margin-bottom: -30px;
}

.about__text {
    margin-top: 50px;
}

.about-profile__body {
    margin-top: 100px;
}

.about-profile__en {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.12em;
  color:#777;
}

.about-profile__name {
  margin: 0;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.about-profile__role {
    margin: 0;
    font-size: 13px;
    padding-top: 10px;
    color: #666;
}

.about__name-story {
    margin-top: 58px;
}

/* 事業概要 */
.company {
    margin-block: 170px 80px;
}

.company__title {
    margin: 0 0 40px;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.4;
    font-family: "Noto Sans JP", sans-serif;
}

.company__list {
    margin: 0;
    padding: 0;
    border-top: 1px solid #e5e5e5;
}

.company__row {
    display: grid;
    grid-template-columns: 140px 1fr;
    column-gap: 32px;
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}

.company__row dt,
.company__row dd {
    margin: 0;
    letter-spacing: 0.04em;
}

.company__row dt {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

.company__row dd {
    font-size: 15px;
    line-height: 1.9;
}


.about-detail__cta {
    padding: 40px 0 100px;
}



@media screen and (max-width: 767px)  {
    .about__title-en {
        font-size: clamp(28px, 9vw, 30px);
        margin-left: -4px;
        margin-right: 0.1em;
    }

    .about-profile__body {
      margin-top: 60px;
    }

    .about__title {
    margin-bottom: -20px;
    }

    .about__name-story {
        margin-top: 40px;
    }

    .about__text {
      margin-top: 30px;
    }

    /* 表 */
    .company {
        margin: 90px 0 20px;
    }

    .company__title {
        margin-bottom: 10px;
        font-size: 24px;
        font-weight: 400;
        line-height: 1.5;
        letter-spacing: 0.06em;
    }

    .company__list {
        border-top: 1px solid #e5e5e5;
    }

    .company__row {
        display: grid;
        grid-template-columns: 82px 1fr;
        column-gap: 10px;
        padding: 20px 0;
        border-bottom: 1px solid #e5e5e5;
    }

    .company__row dt {
        font-size: 13px;
        line-height: 1.8;
        color: #777;
        letter-spacing: 0.04em;
    }

    .company__row dd {
        margin: 0;
        font-size: 14px;
        line-height: 1.9;
        letter-spacing: 0.01em;
    }

    .company__row dd br.sp-only {
        display: block;
    }

    .company__name-kana {
        display: block;
        margin-top: 4px;
        margin-left: -0.55em;
        line-height: 1.6;
    }

    .about-detail__cta {
    padding: 28px 0 40px;
    }
}

/* =======================================================================
  Contact
======================================================================= */

.contact__title {
    margin-left: -0.05em;
}

.contact__text {
    margin-bottom: 80px;
}

.contact {
    margin-bottom: 170px;
}

/* form
------------------------------------------ */

.contact-form__group {
    margin-bottom: 28px;
}

.contact-form__group label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0.05em;
    color: #222;
}

.contact-form__group label span {
    font-size: 12px;
    color: #666;
}

.contact-form__group input,
.contact-form__group textarea,
.contact-form__group select {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d9d9d9;
    background: transparent;
    color: #222;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 0.03em;
    border-radius: 0;
}

.contact-form__group input,
.contact-form__group select {
    height: 46px;
    padding: 0 14px;
}

.contact-form__group textarea {
    min-height: 180px;
    padding: 12px 14px;
    resize: vertical;
}

.contact-form__group input::placeholder,
.contact-form__group textarea::placeholder {
    color: #aaa;
}

.contact-form__group input:focus,
.contact-form__group textarea:focus,
.contact-form__group select:focus {
    outline: none;
    border-color: #999;
}

/* select */
.contact-form__group--select {
    position: relative;
}

.contact-form__group--select select {
    padding-right: 40px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.contact-form__group--select::after {
    content: "";
    position: absolute;
    right: 16px;
    bottom: 19px;
    width: 7px;
    height: 7px;
    border-right: 1px solid #777;
    border-bottom: 1px solid #777;
    transform: rotate(45deg);
    pointer-events: none;
}

/* リンクボタン */
.contact-form__cta {
    margin-top: 40px;
}

.contact-form__cta button:focus-visible {
    outline: 2px solid #999;
    outline-offset: 4px;
}

/* sp
------------------------------------------ */
@media screen and (max-width: 767px)  {
    .contact-form__group {
        margin-bottom: 24px;
    }

    .contact-form__group label {
        margin-bottom: 8px;
        font-size: 13px;
        letter-spacing: 0.04em;
    }

    .contact-form__group input,
    .contact-form__group textarea,
    .contact-form__group select {
        font-size: 16px;
        line-height: 1.8;
        letter-spacing: 0.02em;
    }

    .contact-form__group input,
    .contact-form__group select {
        height: 48px;
    }

    .contact-form__group--select::after {
        bottom: 20px;
    }

    .contact__text {
        margin-bottom: 60px;
    }

    .contact-form__cta {
        margin-top: 40px;
    }

    .contact {
        margin-bottom: 100px;
    }
}

/* =======================================================================
  Works
======================================================================= */

.works {
  padding-bottom: 120px;
}

.works__main {
    margin-bottom: 0;
}

.works__text  {
    margin-top: -40px;
}

.works__title-en {
    font-family: "EB Garamond", serif;
    font-weight: 400;
    font-size: 40px;
    margin-left: -4px;
    transform: translateX(5px);
}

.works__list {
  margin-top: 80px;
  border-top: 1px solid #e5e5e5;
}

.works-item {
  border-bottom: 1px solid #e5e5e5;
}

.works-item__link {
  display: grid;
  grid-template-columns: 84px 190px 1fr;
  column-gap: 64px;
  align-items: center;
  padding: 28px 0;
  color: inherit;
  text-decoration: none;
}

.works-item__image {
  width: 100px;
  aspect-ratio: 1 / 1;
  background-color: #FAFAFA; /* 写真の下の色 */
  overflow: hidden;
}

.works-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.works-item__meta {
  padding-right: 28px;
  border-right: 1px solid #e5e5e5;
}

.works-item__category {
  margin: 0 0 8px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  color: #777;
}

.works-item__title {
  margin: 0;
  font-family: "EB Garamond", serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: #222;
}

.works-item__text {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-size: 17px;
  line-height: 2;
  letter-spacing: 0.04em;
  color: #222;
  font-weight: 500;
}

.works-item__image--border {
    box-sizing: border-box;
    border: 1px solid #dddddd;
}

.c-list-link--works {
  margin-top: 80px;
} 

/* hover */
.works-item__link {
  transition: opacity 0.3s ease;
}

.works-item__link:hover {
  opacity: 0.65;
}

/* スマホ */
@media screen and (max-width: 767px) {
  .works-item__link {
    display: grid;
    grid-template-columns: 88px 1fr;
    column-gap: 26px;
    row-gap: 18px;
    align-items: start;
  }

  .works-item__image {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    width: 88px;
    aspect-ratio: 1 / 1;
    background-color: #ddd;
    align-self: start;
  }

  .works-item__meta {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    padding-right: 0;
    border-right: none;
  }

  .works-item__category {
    margin: 0 0 8px;
    font-size: 11px;
    line-height: 1.6;
    letter-spacing: 0.12em;
    color: #888;
  }

  .works-item__title {
    margin: 0;
    font-size: 26px;
    line-height: 1.35;
    letter-spacing: 0.04em;
  }

  .works-item__text {
    grid-column: 1 / -1;
    grid-row: 2 / 3;
    margin: 0;
    font-size: 17px;
    line-height: 2;
    letter-spacing: 0.05em;
  }

  .works-item__text br {
    display: inline;
  }

  .works {
    padding-bottom: 80px;
 }

    .works__title-en {
    font-size: clamp(32px, 9vw, 36px);
    margin-left: -4px;
    margin-right: 0.1em;
 }

 .c-list-link--works {
  margin-top: 40px;
} 
}

/* =======================================================================
  work detail
======================================================================= */

.work-detail-page {
    margin-bottom: 0;
}
.work-detail {
  padding-bottom: 120px;
}

.work-detail__head {
  display: block;
  margin-top: 80px;
}

.work-detail__category {
  margin: 0 0 13px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: #888;
}

.work-detail__title {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: #222;
}

.work-detail__hero {
  width: 100%;
  margin-top: 50px;
  aspect-ratio: 1.414 / 1;
  overflow: hidden;
  background: #FAFAFA; /* 写真の背景 */
}

.work-detail__hero img,
.work-detail__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-detail__body {
  margin-top: 60px;
}

.work-detail__section {
  margin-top: 56px;
}

.work-detail__section h2 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.06em;
  color: #222;
}

.work-detail__meta {
  margin-top: 50px;
}

.work-detail__meta p {
  margin: 0;
  font-size: 13px;
  line-height: 2;
}

.work-detail__note {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: end;
  margin-top: 86px;
  margin-bottom: 80px;
}

.work-detail__thumb {
  width: 220px;
  aspect-ratio: 1.414 / 1;
  overflow: hidden;
  background: #FAFAFA; /* 写真の背景 */
}

.work-detail__caption {
  margin: 0;
  font-size: 13px;
  line-height: 2;
  letter-spacing: 0.04em;
  color: #555;
}

/* サブ写真 */
/* 2枚並び用 */
.work-detail__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 72px;
}

.work-detail__gallery figure {
  margin: 0;
  aspect-ratio: 1.414 / 1;
  overflow: hidden;
  background: #f5f5f5;
}

.work-detail__gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.work-detail__photo-wide {
  margin-top: 5px;
  aspect-ratio: 1.414 / 1;
  overflow: hidden;
}

.work-detail__photo-wide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 767px) {
  .work-detail__gallery {
    gap: 5px;
    margin-top: 40px;
  }

  .work-detail__gallery--3col {
    grid-template-columns: 1fr;
  }

  .work-detail__photo-wide {
  margin-top: 2px; 
  }
}

/* ウエディングだけ */
.work-detail--wedding-book .c-list-link {
  margin-top: 96px;
}

@media screen and (max-width: 767px) {
  .work-detail--wedding-book .c-list-link {
    margin-top: 72px;
  }
}

/* LPだけ */
.work-detail__photo-wide-online-Course-LP {
    margin-top: 100px;
    margin-bottom: 60px;
}

@media screen and (max-width: 767px) {
    .work-detail__photo-wide-online-Course-LP {
    margin-top: 60px;
}
}

/* 写真タテ */
.work-detail__hero--portrait {
  width: 100%;
  max-width: none;
  margin-right: auto;
  margin-left: auto;
  aspect-ratio: 4 / 5;
  background: #fff;
}

.work-detail__hero--portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 767px) {
  .work-detail__hero--portrait {
    width: 100%;
    aspect-ratio: 4 / 5;
  }
}

/* Website Renewal：サブ画像 */
.work-detail__gallery--renewal {
  display: grid;
  grid-template-columns: 1.414fr 0.75fr;
  gap: 0;
  align-items: start;
  margin-top: 72px;
}

.work-detail__gallery--renewal .work-detail__gallery-item {
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: transparent;
}

/* 左：横長の椅子タブレット */
.work-detail__gallery--renewal .work-detail__gallery-item--pc {
  aspect-ratio: 1.414 / 1;
}

/* 右：縦スマホ */
.work-detail__gallery--renewal .work-detail__gallery-item--tablet {
  aspect-ratio: 3 / 4;
}

.work-detail__gallery--renewal .work-detail__gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 767px) {
  .work-detail__gallery--renewal {
    grid-template-columns: 1.414fr 0.75fr;
    gap: 0;
    margin-top: 56px;
  }
}

/* sp
------------------------------------------ */
@media screen and (max-width: 767px) {
  .work-detail {
    padding-bottom: 96px;
  }

  .work-detail__head {
    margin-top: 34px;
  }

  .work-detail__category {
    margin-bottom: 5px;
    font-size: 11px;
  }

  .work-detail__title {
    font-size: 32px;
    line-height: 1.45;
  }

  .work-detail__hero {
    margin-top: 34px;
  }

  .work-detail__body {
    margin-top: 40px;
    max-width: none;
  }

  .work-detail__section {
    margin-top: 40px;
  }

  .work-detail__section h2 {
    margin-bottom: 10px;
    font-size: 18px;
  }

  .work-detail__meta {
    margin-top: 40px;
  }

  .work-detail__info-row {
    grid-template-columns: 56px 1fr;
    column-gap: 14px;
    font-size: 13px;
    line-height: 1.9;
  }

  .work-detail__note {
    display: block;
    margin-top: 40px;
  }

  .work-detail__thumb {
    width: 62%;
    max-width: 240px;
  }

  .work-detail__caption {
    margin-top: 24px;
    font-size: 13px;
    line-height: 1.9;
  }

  .works__list {
    margin-top: 50px;
  }

  .work-detail-page {
        margin-top: 54px;
    }
   }

/* =======================================================================
  Jurnal
======================================================================= */

.journal {
  padding-bottom: 120px;
}

.journal__title-en {
    font-family: "EB Garamond", serif;
    font-weight: 400;
    font-size: 40px;
}

.journal__list {
  margin-top: 60px;
  border-top: 1px solid #e5e5e5;
}

.journal-item {
  border-bottom: 1px solid #e5e5e5;
}

.journal-item__link {
  display: block;
  padding: 28px 0 28px;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.journal-item__link:hover {
  opacity: 0.65;
}

.journal-item__meta {
  display: flex;
  gap: 18px;
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: #777;
}

.journal-item__title {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.06em;
}

/* ページナビゲーション */
.journal-pagination {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 18px;
  margin-top: 72px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.12em;
}

.journal-pagination a,
.journal-pagination span {
  color: #888;
  text-decoration: none;
}

.journal-pagination a:hover {
  opacity: 0.65;
}

.journal-pagination .current {
  color: #222;
  border-bottom: 1px solid #222;
}

@media screen and (max-width: 767px) {
  .journal-pagination {
    gap: 14px;
    margin-top: 56px;
    font-size: 11px;
  }

  .journal-pagination a:hover {
    opacity: 1;
  }
}

/* スマホ */
@media screen and (max-width: 767px) {
  .journal {
    padding-bottom: 96px;
  }

  .journal__list {
    margin-top: 50px;
  }

  .journal-item__link {
    padding: 28px 0 28px;
  }

  .journal-item__meta {
    gap: 14px;
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: 0.09em;
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .journal-item__title {
    font-size: 24px;
    line-height: 1.7;
  }

  .journal-item__link:hover {
    opacity: 1;
  }

.journal-pagination {
    justify-content: flex-start;
    gap: 14px;
    margin-top: 56px;
    font-size: 14px;
  }
}

/* =======================================================================
  ジャーナルの記事
======================================================================= */

.journal-article__title {
    transform: translateX(-5px);
    font-size: 40px;
    line-height: 1.65;
}

.journal-article__body {
    margin-top: 10px;
}

.journal-article__body h2 {
    transform: translateX(-5px);
    margin-bottom: 40px;
}


/* Journal footer */
.journal-article__footer {
    margin-top: 96px;
    padding-top: 48px;
    border-top: 1px solid #e5e5e5;
}

.journal-category,
.journal-related {
    margin-bottom: 48px;
}

.journal-category__label,
.journal-related__label {
    margin-bottom: 16px;
    font-size: 13px;
    color: #777;
    letter-spacing: 0.08em;
}

.journal-category__list,
.journal-related__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.journal-category__list li,
.journal-related__list li {
    margin-bottom: 14px;
    line-height: 1.8;
}

.journal-category__list a,
.journal-related__list a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.journal-category__list a:hover,
.journal-related__list a:hover {
    opacity: 0.6;
}

@media screen and (max-width: 767px) {

.journal-article__body p br {
    display: none;
}

 .journal-article__title {
    font-size: 35px;
    margin-bottom: 40px;
 }

.journal-article__body h2 {
    font-size: 30px;
    margin-top: -10px;
    margin-bottom: 20px;
 }
}

/* =======================================================================
  Thanks / 404
======================================================================= */

.message-page__body {
    margin-block: -30px 45px;
}
