@charset "utf-8";
/* CSS Document */
/* 変数 */ :root {
  --f1: 6.25rem; /* 100px */
  --f2: 6.25rem; /* 100px */
  --f3: 1.75rem; /* 28px */
  --f4: 1.25rem; /* 18px */
  --f5: 1rem; /* 16px*/
  --f6: 0.875rem; /* 14px */
  --basecolor: #FEFBFB; /* 基本色・背景色 */
  --maincolor: #6B4D32; /* メイン */
  --accentcolor: #BE6C7E; /* アクセント */
  --beige: #EDE6DE; /* ベージュ */
  --myw: 1000px; /* 標準幅 */
  --tab-myw: 744px;
  --mob-myw: 375px;
}
/* フォント */
body {
  font-family: "Cormorant Garamond", "Garamond", "Zen Old Mincho", serif;
  color: var(--maincolor)
}
p {
  line-height: 1.8;
  font-size: var(--f5);
}
h1 {
  font-size: var(--f1);
}
h2 {
  font-size: var(--f2);
}
/* h2が日本語の時 */
h2.h2-ja {
  font-family: "Zen Old Mincho", serif;
  font-size: 60px;
  font-weight: bold;
}
h3 {
  font-size: var(--f3);
  font-weight: bold;
  margin-bottom: 30px;
}
h4 {
  font-size: var(--f4);
}
h5 {
  font-size: var(--f5);
}
h6 {
  font-size: var(--f6);
}
.section-title {
  color: var(--maincolor);
  text-align: center;
  margin-bottom: 50px;
}
body {
  margin: 0;
  background-color: var(--basecolor);
}
/* 横幅 */
.mycontainer {
  margin-left: 10px;
  margin-right: 10px;
}
.alignfull {
  margin-left: -10px;
  margin-right: -10px;
  max-width: none;
  width: auto;
}
/* PC */
@media (min-width: 1001px) {
  .mycontainer {
    max-width: var(--myw);
    margin: 0 auto;
    padding: 0 20px;
  }
}
/* タブレット */
@media (min-width: 744px) and (max-width: 1000px) {
  .mycontainer {
    max-width: var(--tab-myw);
    margin: 0 auto;
    padding: 0 20px;
  }
}
/* SP */
@media (max-width: 743px) {
  .mycontainer {
    max-width: var(--mob-myw);
    margin: 0 auto;
    padding: 0 8px;
  }
}
@media (max-width: 743px) {
  .header.mycontainer {
    max-width: none; /* max-width をリセット */
  }
}
/*
body {
  cursor:  url("../img/cursor.png") 16 16, auto;
}
a, button, input, textarea {
  cursor: url("../img/cursor.png")16 16, auto;
}
*/
.top-fv {
  height: 100vh;
  position: relative; /* 子要素の絶対配置に備えて */
  background-image: url("../img/top-fv.png");
  background-size: cover; /* コンテナ全体にカバー（拡大・トリミングあり） */
  background-position: center center; /* 画像の中心を表示 */
  background-repeat: no-repeat;
}
header {
  height: 80px;
}
.header-logo > img {
  height: 60px;
}
/* ハンバーガーボタンを非表示 */
.burger-btn {
  display: none;
}
.header-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.nav-list {
  display: flex;
  gap: 40px; /* メニュー間の余白を40px */
}
.nav-item a {
  position: relative;
  display: inline-block;
  color: var(--maincolor);
  font-size: var(--f4);
  font-weight: 400;
  transition: transform 0.3s ease;
}
.top-hero-text > img {
  width: 100%;
}
/* hover時の設定 */
/* 下線の初期状態（最初は消してる） */
@media (hover: hover) and (pointer: fine) {
  .nav-item a::after {
    content: "";
    position: absolute;
    bottom: -5px; /* テキストの下に少し余白を作る */
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--maincolor);
    transform: scaleX(0); /* 横方向に0倍 → 見えない */
    transform-origin: left;
    transition: transform 0.3s ease;
  }
}
/* ホバー時のアニメーション */
@media (hover: hover) and (pointer: fine) {
  .nav-item a:hover {
    transform: translateY(-3px); /* 少し上に浮く */
  }
  .nav-item a:hover::after {
    transform: scaleX(1); /* 下線が左から右に伸びる */
  }
}
.top-hero {
  position: relative; /* 子要素の絶対配置の基準にする */
  max-height: 800px;
}
.top-hero-text {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
/* スクロールダウン */
/* スクロールダウンの位置 */
.scroll {
  position: absolute;
  bottom: 15%; /* FVの下に近づける */
  left: 50%; /* 横方向中央に */
  transform: translateX(-50%);
  writing-mode: vertical-rl;
  text-align: center;
  font-size: 12px;
  color: var(--maincolor);
}
/* 線のアニメーション部分 */
.scroll::before {
  animation: scroll 2s infinite;
  background-color: var(--maincolor);
  bottom: -115px;
  content: "";
  height: 100px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  width: 1px;
}
/* 線のアニメーション */
@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  51% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}
/*scrollテキストの大きさ*/
.scroll span {
  font-size: var(--f4);
  font-weight: bold;
}
/*----- section works-----*/
/* PCでは項目事のボタンを非表示 */
.works-item-mob-btn {
  display: none;
}
/* タイトル（h2）上の共通余白 */
.section-title {
  margin-top: 100px;
  text-align: left;
}
.works-tag-wrapper {
  margin-bottom: 50px;
}
.works-tag-title {
  font-size: 20px;
  font-weight: 500;
}
.works-tag-title.marketing {
  margin-top: 10px;
}
/* タグのボタンと、service項目のボタン */
.works-tag {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 190px;
  padding: 10px 50px;
  border: 0.3px solid var(--maincolor);
  border-radius: 50px;
  background-color: var(--beige);
  font-size: 12px;
  font-family: 'Georgia', serif;
  margin-right: 15px;
  margin-bottom: 15px;
}
.works-tag span {
  margin-left: 20px;
}
/*ホバー時*/
.works-tag:hover, .service-btn:hover {
  border: 0.3px solid var(--maincolor);
  background-color: var(--maincolor);
  opacity: .8;
  color: #ffffff;
  transition: all 0.6s ease;
}
/* design・marketingのタイトル */
.works-wrapper-title {
  font-size: 40px;
  margin-bottom: 30px;
}
.section-title > p {
  font-size: var(--f4);
}
/*タイトルと横線の設定*/
.works-title, .about-title {
  align-items: center; /* 横線を上下中央 */
  display: flex; /* 文字と横線を横並び */
  justify-content: flex-start; /* 文字を中央寄せ */
}
.works-title::after, .about-title::after {
  content: "";
  flex-grow: 1; /* 残りのスペースを横線で埋める */
  height: 1px;
  background-color: var(--maincolor);
  opacity: 0.3;
  margin-left: 20px;
}
.works-title span {
  white-space: nowrap; /* 文字の折り返し防止 */
}
/* 制作実績itemを並べる */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin: 50px auto 100px auto;
}
/* 2カラムの余白 */
.works-grid.grid-2col {
  gap: 100px 50px;
}
/* 3カラムの余白 */
.works-grid.grid-3col {
  gap: 80px 30px; /* 縦 横 */
}
/* 制作実績itemのフレームの色とシャドウ設定*/
.works-item, .works-item-anm {
  box-shadow: 0 4px 12px rgba(180, 160, 160, 0.25);
  background-color: #ffffff;
  border-radius: 10px;
}
.works-item {
  display: block;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* ホバー時のための設定 */
  position: relative; /* ホバー時のための設定 */
  overflow: hidden; /* ホバー時のための設定 */
  max-width: 480px; /* アイテムが1枚でも横に広がらない */
}
/* 制作実績画像のサイズ設定*/
.works-item img, .works-item-anm video {
  display: block;
  width: 100%;
}
/* 制作実績テキストの設定 */
.works-item-text {
  padding: 30px 20px;
  line-height: 1.5; /* 折り返した時の行間*/
}
.item-title {
  font-size: var(--f4);
  font-weight: bold;
  font-family: "Zen Old Mincho", serif;
}
.item-project-type {
  display: inline-block;
  border: solid 1px;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 12px;
}
/*rolesとToolのタイトルと詳細の横並び*/
.item-roles, .item-tool {
  display: flex;
  flex-direction: row;
  align-items: center;
}
/*rolesとToolの枠設定*/
.item-roles-title, .item-tool-title {
  display: inline-block;
  background-color: var(--beige);
  border-radius: 5px;
  padding: 5px 10px;
  min-width: 55px;
  margin-right: 25px;
  height: 34px;
}
/*text間の余白*/
.item-project-type, .item-roles, .item-tool {
  margin-top: 15px;
}
/*アニメーションのタイトルの上の余白*/
.item-title.animation {
  margin-top: 10px;
}
.item-start {
  margin: 20px 0px 30px 0px;
}
.item-start > i {
  margin-right: 15px;
}
/*正方形でない画像のための余白調整*/
.works-item-img {
  display: flex;
}
/* marketingの設定*/
.work-detail-hero-text-title.marketing {
  font-size: 18px;
  font-weight: 500;
  font-family: "Zen Old Mincho", serif;
}
/* バナーとアニメーションにだけ、画像の枠を設定 */
.works-item.banner > .works-item-img, .works-item-anm > .works-item-img {
  height: 306.66px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* バナーとアニメーションにだけ、画像の枠を設定 */
.works-banner .works-item-img img, .works-animation .works-item-img video {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  min-width: 306.66px;
}
.works-animation .works-item-img video {
  border-radius: 10px 10px 0px 0px; /* アニメーションのビデオ画像の角丸 */
}
.works-animation .works-item-img.home video {
  border-radius: 0px 0px 0px 0px; /* homeboddyは角丸解除 */
}
/* ビデオの再生ボタンの設定 */
.works-item-img {
  position: relative; /* 親に設定 */
}
.custom-play-btn {
  position: absolute; /* 子に設定 */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(107, 77, 50, .8);
  border: none;
  padding: 10px 20px;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  border-radius: 5px;
  color: #ffffff;
}
/* ホバー時のための設定 */
/* オーバーレイとテキスト */
.works-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.5); /* ホバー時のカバーの色 */
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.works-item::after {
  content: "View More";
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 30px;
  color: var(--maincolor); /* 文字の色*/
  font-weight: 500;
  text-shadow: 2px 2px 1px rgba(237, 230, 222, .5); /* 文字のシャドウ */
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  pointer-events: none;
}
/* ホバー時のための設定 */
@media (hover: hover) and (pointer: fine) {
  .works-item:hover::before {
    opacity: 1;
  }
  .works-item:hover::after {
    opacity: 1;
  }
  .works-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(180, 160, 160, 0.8);
  }
}
.works-link-wrapper {
  text-align: center;
  margin: 0px auto 30px;
}
/* ボタン上テキストの左右の斜め線 */
.works-link {
  position: relative;
  display: inline-block;
  padding: 0 30px; /* 線の分だけ余白を取る */
  font-size: 16px;
}
.works-link::before, .works-link::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 1px;
  height: 20px;
  background-color: #333;
}
.works-link::before {
  transform: translateY(-50%) rotate(-40deg); /* 左上→右下の線 */
  left: 0;
}
.works-link::after {
  transform: translateY(-50%) rotate(40deg); /* ←角度調整で斜めに */
  right: 0;
}
/*---ボタンの設定(アニメーションのボタン、各アイテムのスマホ用のボタンも)---*/
.custom-btn, .btn-anm, .works-item-mob-btn, .btn-sv {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 50px;
  border: 2px solid var(--accentcolor);
  border-radius: 50px;
  background-color: #ffffff;
  color: var(--accentcolor);
  font-size: 18px;
  font-family: 'Georgia', serif;
  transition: all 0.3s ease;
  box-sizing: border-box;
  box-shadow: 2px 2px 3px rgba(190, 108, 126, .50);
}
/* 各アイテムのスマホ用のボタンのテキストを中央に配置 */
.works-item-mob-btn {
  justify-content: center; /* テキストを中央に配置 */
  position: relative; /* 矢印を右端に固定するために必要 */
  width: 70%;
  margin: 30px auto 0; /* ボタン全体を中央配置 */
}
.works-item-mob-btn {
  width: 70%;
  margin-top: 30px;
}
/*　アニメーション「作品紹介」ボタン、各アイテムのスマホ用のボタンの色を変更　*/
.btn-anm, .works-item-mob-btn, .btn-sv {
  padding: 5px 30px;
  border: 2px solid var(--maincolor);
  border-radius: 5px;
  background-color: var(--beige);
  color: var(--maincolor);
  font-size: 16px;
  font-family: "Zen Old Mincho", serif;
  box-shadow: 2px 2px 3px rgba(107, 77, 50, .50);
}
/*　サービスのボタンは角丸で　*/
.btn-sv {
  padding: 11px 40px;
  border-radius: 25px;
}
/*　ボタンの矢印　*/
.custom-btn .arrow-icon, .btn-anm .arrow-icon, .works-item-mob-btn .arrow-icon, .btn-sv .arrow-icon {
  display: inline-block;
  width: 50px;
  height: 12px;
  background-image: url(../img/arrow-pink.png); /* ピンクの矢印 */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
  align-self: center;
  margin: 0px 0px 6px 20px; /* 矢印の位置調整 */
}
/*　アニメーション「作品紹介」矢印を変更、各アイテムのスマホ用のボタン　*/
.btn-anm .arrow-icon, .works-item-mob-btn .arrow-icon, .btn-sv .arrow-icon {
  width: 30px;
  height: 7px;
  background-image: url("../img/arrow-brown.png"); /* 茶色の矢印 */
  margin: 0px 0px 4px 15px; /* 矢印の位置調整 */
}
/* ホバー時のスタイル */
@media (hover: hover) and (pointer: fine) {
  .custom-btn:hover {
    background-color: var(--accentcolor);
    color: #ffffff;
  }
  .custom-btn:hover .arrow-icon {
    background-image: url("../img/arrow-white.png"); /* ホバー時に白矢印へ */
    transform: translateX(25px); /* 右に動く */
    transition: transform 0.3s ease;
  }
}
/* 茶色のボタン */
.custom-btn.brown-btn {
  border: 2px solid var(--maincolor);
  border-radius: 50px;
  background-color: var(--maincolor);
  color: #ffffff;
  box-shadow: 2px 2px 3px rgba(107, 77, 50, .50);
}
/*　ボタンの矢印　*/
.custom-btn.brown-btn .arrow-icon.brown-icon {
  background-image: url(../img/arrow-white.png); /* 通常白の矢印 */
}
/* ホバー時のスタイル */
@media (hover: hover) and (pointer: fine) {
  .custom-btn.brown-btn:hover {
    background-color: var(--beige);
    color: var(--maincolor);
  }
  .custom-btn.brown-btn:hover .arrow-icon.brown-icon {
    background-image: url("../img/arrow-brown.png"); /* ホバー時に白矢印へ */
  }
}
/* bannerのボタンは左寄せ*/
.btn-wrapper.banner, .btn-wrapper.thumbnail {
  text-align: right;
  margin: -60px 0px 100px 0px;
}
/* worksボタンは中央配置*/
.btn-wrapper.works {
  text-align: center;
}
.anm-detail-button, .service-detail-button, .contact-button {
  text-align: center;
  margin: 30px auto 10px auto;
}
.service-detail-button {
  margin: 30px auto 20px auto;
}
.contact-button.top {
  margin-top: 40px;
}
/* PCの時はアイテムのボタンを削除 */
.works-item-mob-btn-outer {
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  /* アニメーションの「作品紹介を見る」ホバー時 */
  .btn-anm:hover, .btn-sv:hover {
    background-color: var(--maincolor);
    color: #ffffff;
  }
  .btn-anm:hover .arrow-icon, .btn-sv:hover .arrow-icon {
    background-image: url("../img/arrow-white.png"); /* ホバー時に白矢印へ */
    transform: translateX(15px); /* 右に動く */
    transition: transform 0.3s ease;
  }
  .btn-sv:hover .arrow-icon {
    transform: translateX(25px); /* 右に動く */
  }
}
/*----- section service-----*/
/* --- 料金表 --- */
/* --- 各項目の白フレーム --- */
.top-price-table-wrapper {
  background: #fff;
  box-shadow: 4px 4px 25px rgba(250, 200, 220, .1);
  border-radius: 12px;
  padding: 30px 30px;
  max-width: 1000px;
  margin: 0 auto 100px; /* 下の余白も確保 */
  font-family: "Zen Old Mincho", serif;
}
/* テーブル自体はレイアウト用 */
.top-price-table {
  width: 100%;
  border-collapse: collapse;
}
/* テーブルの各セル共通 */
.top-price-table th, .top-price-table td {
  padding: 14px 18px;
  text-align: left;
}
/* 各行に下線を引く（項目〜詳細まで1本） */
.top-price-table tr {
  border-bottom: 1px solid #eee;
}
/* 最後の行の下線を消す場合（任意） */
.top-price-table tr:last-child {
  border-bottom: none;
}
/* ヘッダー行の下線を少し濃く */
.top-price-table thead tr {
  border-bottom: 2px solid #ddd;
}
/* --- 基本スタイル --- */
.top-price-table-wrapper {
  width: 100%;
  margin-top: 16px;
}
.top-price-table {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: none; /* 透明にする */
  border-radius: 8px;
  overflow: hidden;
}
.top-price-row {
  display: grid;
  grid-template-columns: 1fr 0.6fr 2.5fr; /* 項目・料金・詳細 */
  background: #fff;
  border-bottom: 1px solid #ddd;
  align-items: center;
}
.top-price-row:last-child {
  border-bottom: none;
}
.top-price-col.item {
  font-weight: bold;
}
.top-price-col {
  padding: 20px 29px;
  font-size: 1rem;
}
.top-price-col.price {
  text-align: right;
}
.top-price-col.detail {
  font-size: 1rem;
}
/* -- ※のテキスト設定 -- */
.top-price-table-detail {
  margin: 30px auto;
  text-align: right;
}
/* ------ 各カード ------ */
.top-service-item-title {
  position: relative; /* 左右にラインを付けるための設定*/
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin: 16px 0 8px;
}
/* タイトル左右にラインをつける */
.top-service-item-title::before, .top-service-item-title::after {
  content: "";
  display: inline-block;
  width: 20%;
  height: 2px;
  background-color: var(--maincolor);
  vertical-align: middle;
  margin: 0 10px; /* ← これでテキストとの間に5pxの余白 */
}
.top-service-item-title::before {
  left: 0;
}
.top-service-item-title::after {
  right: 0;
}
/* タイトル全体を中央に */
.top-service-item-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px; /* 線とタイトルの間隔 */
  margin-top: 30px;
}
/* 左右の線 */
.top-service-item-title-line {
  flex: 1; /* 線の長さを可変に */
  height: 1px;
  background-color: var(--maincolor);
  max-width: 160px; /* 線の最大長さ（調整可） */
}
/* タイトル文字部分 */
.top-service-item-title-text {
  width: 150px; /* 文字部分の幅を固定 */
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}
.top-service-item-title-detail {
  display: inline-block;
  height: 54px;
  margin-top: 20px;
  text-align: left;
}
/* 基本：2カラムレイアウト */
.top-service-item-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2カラム固定 */
  gap: 60px; /* カード間の余白 */
  max-width: 1000px;
  margin: 0 auto;
}
.top-service-item {
  background-color: #fff; /* カード背景 */
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(180, 160, 160, 0.25);
  transition: transform 0.3s ease;
}
.top-service-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.top-service-item-title {
  font-size: 20px;
  font-weight: bold;
  margin: 16px 0 8px;
  position: relative;
}
/*----- section about-----*/
/*---profile---*/
.top-about{
	margin-bottom: 100px;
}
.profile-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 50px auto 100px;
  justify-content: space-between;
}
/* profileの枠　*/
.top-about-profile-contain {
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* 名前の画像とテキストの設定　*/
.profile-fast {
  position: relative; /* テキスト配置の基準にする */
  background-image: url("../img/aki-inoue.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center bottom; /* 画像をボトムに寄せる */
  width: 100%;
  height: 100px;
  text-align: center;
  margin: 50px auto;
}
/* テキスト全体を背景の下部に配置 */
.profile-fast-text {
  position: absolute;
  bottom: 0; /* 背景のボトムに合わせる */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.profile-fast-name {
  font-size: 32px;
  margin-bottom: 5px;
}
.top-about-profile-upper {
  text-align: center;
  font-size: 24px;
  margin-bottom: 30px;
}
.top-about-profile-upper span {
  color: var(--accentcolor);
}
.profile-second-under {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}
.profile-second-under-left img {
  width: 100%;
}
.own-image {
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(180, 160, 160, 0.25);
}
.profile-second-under-left {
  flex-basis: 35%;
}
.profile-second-under-right {
  flex-basis: 50%;
}
/* 改行の余白 */
.profile-second-under-right p {
  font-family: "Zen Old Mincho", serif;
  margin-bottom: 15px;
}
.profile-second-under-right span {
  background-color: rgba(190, 108, 126, 0.19);
}
/* 白枠アイテム */
.profile-third {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 横3列 */
  gap: 20px; /* 各アイテム間の余白 */
  margin-top: 30px;
  font-family: "Zen Old Mincho", serif;
  text-align: center;
}
.profile-third-item {
  background: #fff;
  border: solid 1px var(--beige);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 3px 3px 6px rgba(180, 160, 160, 0.15);
}
.profile-third-item-title {
  font-weight: bold;
  position: relative; /* 下線のための設定 */
  margin-bottom: 10px;
}
/* 下線 */
.profile-third-item-title::after {
  content: "";
  display: block;
  width: 100%; /* 横いっぱい */
  height: 2px; /* 線の太さ */
  background-color: var(--beige); /* 線の色 */
  margin-top: 6px; /* 文字との間隔 */
}
/*----- section contact-----*/
.top-contact {
  width: 100%;
  height: auto;
  background: radial-gradient(circle, #FFEFF3, #FFF4EE);
  margin: 70px auto 0px;
}
.top-contact-wrapper {
  text-align: center;
  padding: 100px 0px;
}
.contact-firat-text {
  display: block;
  font-size: 28px;
}
.contact-big-text {
  font-size: 150px;
  font-weight: bold;
  color: rgba(190, 108, 126, 0.25);
}
.contact-second-text {
  font-size: 18px;
  display: block;
  text-align: center;
}
  /* PCでは改行なし */
  .contact-second-text> br {
    display: none;
  }
.contact-second-text .top-contact-second {
  text-align: left;
  margin-top: 50px;
}
.top-contact-second-form {
  margin-top: -30px;
  padding: 50px 40px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
	text-align: left;
}
/*--- メール、SNS ---*/
/*--- メール ---*/
.top-contact-third {
  font-family: "Zen Old Mincho", serif;
  max-width: 700px;
  text-align: center;
  margin: 0 auto;
}
.top-contact-third-mail {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 20px;
  border-radius: 15px;
}
.mail-link {
  font-size: 24px;
  display: inline-block;
  margin-top: 10px;
}
/*--- SNS ---*/
.top-contact-third-sns {
  margin-top: 30px;
  text-align: right;
}
.top-contact-third-sns > a > img {
  width: 60px;
  margin-left: 20px;
}
/*--- ホバー時の設定 ---*/
/*--- メールアドレス ---*/
.mail-link {
  transition: color 0.2s ease;
}
.mail-link:hover {
  color: var(--accentcolor);
}
/*--- ココナラ、X ---*/
.top-contact-third-sns a img {
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.top-contact-third-sns a:hover img {
  transform: scale(1.1); /* 10%拡大 */
  opacity: 0.8; /* 少し薄くする（好みで） */
}
.top-contact-third-sns a:hover img {
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.8));
}
.footer-beige {
  padding: 50px 0;
}
.footer-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.footer-nav-list {
  display: flex;
  flex-direction: row;
}
.footer-nav-list > li {
  margin-right: 20px;
}
.footer-beige {
  background-color: var(--beige);
}
small {
  font-family: "Zen Old Mincho", serif;
}
/*---------- 各ページFVの設定 ----------*/
/*--- hero ---*/
.works-hero, .service-banner-hero, .service-lp-hero, .service-hp-hero, .service-thumbnail-hero {
  height: 570px;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  align-items: center; /* テキストを縦方向中央 */
}
.works-hero {
  background-image: url("../img/works-fv.png");
  opacity: 0.7;
}
/* serviceページ（バナー）FV */
.service-banner-hero {
  background-image: url("../img/service-detail/fv/fv-service-banner.png");
}
/* serviceページ（lp）FV */
.service-lp-hero {
  background-image: url("../img/service-detail/fv/fv-service-lp.png");
}
/* serviceページ（HP）FV */
.service-hp-hero {
  background-image: url("../img/service-detail/fv/fv-service-hp.png");
}
/* serviceページ（サムネ）FV */
.service-thumbnail-hero {
  background-image: url("../img/service-detail/fv/fv-service-thumbnail.png");
}
/*---------- Worksページ ----------*/
.line {
  display: inline-block; /* 余白を効かせるため */
  background-color: #fff; /* 白帯 */
  padding: 4px 16px; /* 白帯の内側の余白 */
  margin-bottom: 12px; /* 行間の余白 */
}
.line2-sp {
  display: none;
}
/*---------- serviceページ ----------*/
/* --- 各項目の白フレーム --- */
.service-detail-second-content, .price-table-wrapper, .service-detail-forth-item-wrapper {
  background: #fff;
  box-shadow: 4px 4px 9px rgba(180, 160, 160, 0.25);
  border-radius: 12px;
  padding: 30px 30px;
  max-width: 1000px;
  margin: 0 auto 100px; /* 下の余白も確保 */
  font-family: "Zen Old Mincho", serif;
}
.service-detail-first-sub {
  font-size: 1.25rem;
}
/* 箇条書きを見やすく */
.service-detail-second p {
  margin-bottom: 10px;
  line-height: 1.8;
}
/* サービスの特徴、アイコンとテキストの設定 */
.service-detail-second-content p {
  display: flex;
  align-items: flex-start;
  margin: 0 0 10px;
}
.service-detail-second-content i {
  flex-shrink: 0;
  width: 25px; /* ←固定幅にする*/
  margin-top: 9px;
}
/*--- 料金表 ---*/
.service-detail-item {
  margin-bottom: 60px;
}
/* テーブル自体はレイアウト用 */
.price-table {
  width: 100%;
  border-collapse: collapse;
}
/* テーブルの各セル共通 */
.price-table th, .price-table td {
  padding: 14px 18px;
  text-align: left;
}
/* 各行に下線を引く（項目〜詳細まで1本） */
.price-table tr {
  border-bottom: 1px solid #eee;
}
/* 最後の行の下線を消す場合（任意） */
.price-table tr:last-child {
  border-bottom: none;
}
/* ヘッダー行の下線を少し濃く */
.price-table thead tr {
  border-bottom: 2px solid #ddd;
}
/* --- 基本スタイル --- */
.price-table-wrapper {
  width: 100%;
  margin-top: 16px;
}
.price-table {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: none; /* 透明にする */
  border-radius: 8px;
  overflow: hidden;
}
/* デザイン系、コーディング系のタイトル */
.price-table-section {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--accentcolor);
  margin-top: 20px;
}
/* コーディング系の上だけ余白広く */
.price-table-section.second {
  margin-top: 40px;
}
.price-row {
  display: grid;
  grid-template-columns: 1fr 0.7fr 2.4fr; /* 項目・料金・詳細 */
  background: #fff;
  border-bottom: 1px solid #ddd;
  align-items: center;
}
.price-row:last-child {
  border-bottom: none;
}
.price-col.item {
  font-weight: bold;
}
.price-col {
  padding: 20px;
  font-size: 1rem;
}
.price-col.price {
  text-align: right;
}
.price-col.detail {
  font-size: 1rem;
}
/*--- ご購入の流れ ---*/
.service-detail-forth {
  position: relative;
}
/* ★ 変更ポイント１：破線の基準を wrapper に変更 */
.service-detail-forth-item-wrapper {
  position: relative; /* 破線をこの要素基準にする */
}
/* ★ 変更ポイント２：破線をピンク円の中央に合わせる */
.service-detail-forth-item-wrapper::before {
  content: "";
  position: absolute;
  top: 72px; /* 1個目の円の中心に合わせる（必要に応じて微調整） */
  left: 55px; /* ピンク円の中央に合わせる（円のwidthの半分） */
  width: 2px;
  height: calc(100% - 234px); /* 線の長さ（６番目の下の線を削除） */
  border-left: 2px dotted var(--accentcolor);
  z-index: 0;
}
/* 各STEP全体のレイアウト */
.service-detail-forth-item {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 30px;
  position: relative;
  z-index: 1; /* 背景の線より前に表示 */
}
/* ピンク円 */
.service-detail-forth-title {
  font-family: "Century Old Style Std", serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 52px;
  min-width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--accentcolor);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  text-align: center;
  margin-right: 20px;
}
/* "STEP" の文字 */
.service-detail-forth-title span {
  font-size: 10px;
  margin-bottom: -19px;
  margin-top: 2px;
}
/* テキストタイトル */
.service-detail-forth-item-text .title {
  font-size: 20px;
  font-weight: bold;
  color: var(--accentcolor);
  margin: 8px 0;
}
/*---------- contactページ ----------*/
/*--- hero ---*/
.contact-hero {
  height: 500px;
  background-color: var(--beige);
  display: flex;
  justify-content: center; /* 横方向中央 */
  align-items: center; /* 縦方向中央 */
  margin-bottom: 80px;
}
.contact-hero h1 {
  color: var(--basecolor);
  font-weight: 600;
}
/*--- テキスト ---*/
.contact-text {
  display: flex;
  justify-content: center; /* 横方向中央 */
  margin-bottom: 100px;
}
.contact-text > p {
  text-align: left;
}
/* contactフォームの設定 */
.contact-form-wrapper, .top-contact-second {
  max-width: 700px;
  margin: 80px auto;
  border-radius: 12px;
  font-family: "Zen Old Mincho", serif;
}
/* コンタクトページの左右余白を追加 */
.contact-form-wrapper{
	padding: 0px 7%;
}
form label {
  display: block;
  margin-top: 40px;
  margin-bottom: 7px;
}
input, textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  font-size: 1rem;
}
textarea {
  height: 150px;
  resize: vertical;
}
/* 入力時のフレームの色 */
input:focus, textarea:focus {
  background: rgba(237, 230, 222, 0.15); /* ← フレームの色 */
  outline: none;
  border-color: var(--maincolor); /* 枠色もつけたい場合 */
  transition: background 0.2s ease, border-color 0.2s ease;
}
/*---------- worksの個別ページ(Webサイト)----------*/
.work-detail-hero-text-tag {
  font-size: 28px;
  margin-top: 50px;
}
h1.work-detail-hero-text-title {
  font-size: 45px;
  font-family: "Zen Old Mincho", serif;
}
.work-detail-hero-text-title {
  position: relative; /* 下線用の絶対配置を効かせるため */
  padding-bottom: 10px; /* 下線と文字の間に余白をつける */
  margin-bottom: 40px; /* 下線とモックアップ画像の余白 */
  margin-top: 60px;
}
.work-detail-hero-text-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%; /* 下線の長さ */
  height: 2px; /* 下線の太さ */
  background-color: var(--maincolor); /* 下線の色　*/
}
/* モックアップ画像の配置　*/
/* PC+スマホ　*/
.work-detail-hero-img {
  width: 65%;
  height: auto;
  display: block;
  margin: 0 auto;
}
/* スマホのみ　*/
.work-detail-hero-img.mobile {
  width: 40%;
  height: auto;
  display: block;
  margin: 0 auto;
}
/* ボタンの設定　*/
.btn-wrapper.detail {
  text-align: left;
}
/*---ボタンの設定---*/
/*　ボタンの位置　*/
.btn-wrapper.detail {
  text-align: right;
  margin-top: 50px;
}
.btn-wrapper.detail span {
  font-size: 16px;
}
/* ビデオの再生ボタンの設定 */
.work-detail-banner-left {
  position: relative; /* 親に設定 */
  width: 100%;
  max-width: 600px;
}
/*---詳細説明のセクション---*/
/* 数字が入るので、日本語フォントで */
.work-detail-first-text {
  font-family: "Zen Old Mincho", serif;
}
/*　テキスト上のタグ　*/
.work-detail-first-tag {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px; /* li同士の余白 */
}
.work-detail-first-tag > li {
  border: solid 1px var(--maincolor);
  border-radius: 5px;
  padding: 5px 30px;
}
/* テキスト部分 */
.work-detail-first-desc {
  display: flex;
  flex-direction: row;
  margin-top: 30px;
}
/* --- 制作概要のセクション --- */
/* 横ラインを入れるための設定 */
.work-detail-first {
  display: flex;
}
/* 制作概要のテキスト */
.work-detail-first-text-wrapper > p {
  position: relative;
  width: 100%;
  /* display: inline-block; /* ← 削除または変更 */
  display: flex; /* ★ Flexboxに設定 */
  align-items: center; /* テキストと線を縦方向で中央揃えに */
  margin-bottom: 50px;
  font-size: 20px;
  font-weight: bold;
}
/* 角丸の水平線（残りの幅いっぱいに配置） */
.work-detail-first-text-wrapper > p::after {
  content: "";
  flex-grow: 1; /* ★ 残りの幅を全て埋める */
  margin-left: 10px; /* ★ テキストとの間に隙間を作る */
  width: auto; /* ★ Flexboxに任せるため auto に変更 */
  height: 3px;
  background-color: var(--maincolor);
  border-radius: 9999px;
}
/* ボタンとテキストの余白 */
.work-detail-first-text-wrapper {
  margin: 100px auto;
}
.desc-title {
  flex-basis: 14%;
}
.desc-title.marketing {
  flex-basis: 16%;
}
.desc-detail {
  flex-basis: 73%;
}
/* 詳細の左横の縦ライン */
.desc-detail {
  position: relative;
  padding-left: 20px; /* 擬似要素分のスペース確保 */
}
.desc-detail::before {
  content: "";
  position: absolute;
  left: 0;
  height: 100%; /* 縦線の長さ（高さ）を調整 */
  width: 4px; /* 線の太さ */
  background-color: var(--beige);
}
/* 制作の内訳の整列 */
.detail-breakdown {
  display: inline-block;
  width: 25%;
}
/* ポイントの詳細のタイトル */
.disc-detail-title {
  font-weight: bold;
}
.work-detail-second-text-pc {
  display: none;
}
.disc-detail-text {
  margin-bottom: 15px;
}
/* 丸のアイコンのサイズ */
.disc-detail-title > i {
  font-size: 10px;
  margin-right: 5px;
}
.disc-detail-text {
  margin-left: 20px;
}
/* ---添付画像のセクション--- */
.work-detail-second {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 70px auto 0px;
}
/* ---添付画像がPC、スマホどちらかのみの時--- */
.work-detail-second.single-design {
  justify-content: center; /* ---中央配置へ--- */
}
.work-detail-second-pc {
  flex-basis: 47%;
}
.work-detail-second-sp {
  flex-basis: 47%;
}
.work-detail-second img {
  width: 100%;
}
/* PCデザイン・スマホデザインのテキスト */
.work-detail-second-pc > p, .work-detail-second-sp > p {
  position: relative;
  width: 100%;
  /* display: inline-block; /* ← 削除または変更 */
  display: flex; /* ★ Flexboxに設定 */
  align-items: center; /* テキストと線を縦方向で中央揃えに */
  margin-bottom: 50px;
  font-size: 20px;
  font-weight: bold;
}
/* 角丸の水平線（残りの幅いっぱいに配置） */
.work-detail-second-pc > p::after, .work-detail-second-sp > p::after {
  content: "";
  flex-grow: 1; /* ★ 残りの幅を全て埋める */
  margin-left: 10px; /* ★ テキストとの間に隙間を作る */
  width: auto; /* ★ Flexboxに任せるため auto に変更 */
  height: 3px;
  background-color: var(--maincolor);
  border-radius: 9999px;
}
/* --- スマホの画像を横並び --- */
.work-detail-second-img.sp {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
/* --- 「前のページに戻るボタン」--- */
.back-btn {
  text-align: center;
  margin-bottom: 80px;
}
/*---------- worksの個別ページ(バナー)----------*/
.work-detail-first.detail-banner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}
.work-detail-first.detail-banner.thumbnail {
  align-items: center;
}
.work-detail-banner-left {
  flex-basis: 45%;
}
.work-detail-banner-right {
  flex-basis: 50%;
}
.work-detail-banner-left > img, .work-detail-banner-left > video {
  width: 100%;
  box-shadow: 0 4px 10px rgba(180, 160, 160, 0.25);
}
.detail-banner {
  margin: 100px auto;
}
.desc-title.banner-right {
  flex-basis: 20%;
}
.desc-detail.banner-right {
  flex-basis: 78%;
}
/*---------- worksの個別ページ(marketing)----------*/
.work-detail-hero-text-tag.marketing {
  margin-bottom: 30px;
}
.work-detail-hero-text-title.marketing {
  font-size: 24px;
}
.work-detail-hero-text-title.marketing::after {
  width: 100%;
}
/* 感想の箇所 */
.work-detail-first-text-thoughts {
  background-color: rgba(107, 77, 50, .1);
  padding: 15px;
  margin: 20px auto;
  border-radius: 15px;
}
.disc-detail-thoughts-title {
  font-weight: bold;
}
/* アイコンの余白*/
.disc-detail-thoughts-title > i {
  margin-left: 10px;
}
.work-detail-second-marketing {
  margin: 100px auto;
}
.marketing-slide-item-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}
.marketing-slide-item {
  max-width: 450px;
  text-align: center;
  margin: 0 auto;
}
.marketing-slide-item img {
  width: 100%; /* 画像を親要素に合わせる */
  height: auto;
}
.marketing-slide-item-title {
  font-weight: bold;
  margin-top: 10px;
}
/*画像下のテキスト*/
.work-detail-second-marketing p {
  font-family: "Zen Old Mincho", serif;
  text-align: left;
}
/*モックアップ*/
.mockup-modal {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}
.mockup-modal-content {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px;
}
.mockup-modal-content img {
  width: 80%;
  height: auto;
  max-height: 660px;
  display: block;
  text-align: center;
  margin: 0 auto;
  object-fit: contain;
}
.mockup-trigger {
  cursor: pointer;
  transition: transform 0.3s;
}
.mockup-trigger:hover {
  transform: scale(1.05);
}
.mockup-close {
  position: absolute;
  top: -100px;
  right: 5%;
  font-size: 60px;
  color: #ffffff;
  cursor: pointer;
  z-index: 1000;
  transition: color 0.3s;
}
.mockup-close:hover {
  color: #ffb6c1;
}
/*リンクボタンが2つあるので横並びに*/
.btn-wrapper-detail-outer {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  margin-top: -40px;
}
.btn-wrapper-detail-outer > .btn-wrapper {
  margin-left: 20px;
}
/*---------- thanksページ----------*/
/* サンクスページ専用 */
.thanks-page {
  display: flex;
  justify-content: center; /* 横中央 */
  align-items: center; /* 縦中央 */
}
.thanks-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--maincolor);
}
.thanks-message {
  margin-bottom: 30px;
  line-height: 1.5rem;
}
/* 全体を中央寄せ（ボタンのため） */
.thanks-container {
  text-align: center;
  margin-bottom: 80px;
}
/* テキストは左寄せ */
.thanks-message {
  text-align: left;
}
/*タブレット*/
@media (min-width: 744px) and (max-width: 1000px) {
  /*---------- TOPページ----------*/
  /*--- worksセクション ---*/
  /* PCで3カラム表示っだったものを2カラムにする*/
  .works-grid.grid-2col {
    grid-template-columns: repeat(2, 1fr); /* 明示的に2カラムを維持 */
    gap: 60px;
  }
  /* PCで2カラム表示っだったものの余白調整*/
  .works-grid.grid-3col {
    gap: 60px;
  }
  /*--- serviceセクション ---*/
  /* 料金表の項目幅の調整*/
  .top-price-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 2.2fr; /* 項目/料金/備考*/
    background: #fff;
    border-bottom: 1px solid #ddd;
    align-items: center;
  }
  /*--- プロフィールセクション ---*/
  /* 縦並びに */
  .profile-second-under {
    flex-direction: column;
  }
  /* 画像サイズの上限 */
  .profile-second-under-left img {
    max-width: 300px;
  }
  .profile-second-under-left {
    margin-bottom: 30px;
  }
  /*  itemを2列に*/
  .profile-third {
    grid-template-columns: repeat(2, 1fr);
  }
  /* contactセクション */
  .contact-firat-text {
    font-size: 28px;
  }
  .contact-big-text {
    font-size: 150px;
  }
  /*---------- WORKSページ----------*/
  /* 画像の横幅がカード幅いっぱいになるように高さ指定 */
  .works-item.banner > .works-item-img, .works-item-anm > .works-item-img {
    height: 322px;
  }
  /* -- PCとスマホの画像を縦並び -- */
  .work-detail-second {
    flex-direction: column;
    gap: 100px;
  }
  /*---------- CONTACTページ----------*/
  /* FVの高さ変更 */
  .contact-hero {
    height: 400px;
  }
  /*---------- worksの個別ページ(Webサイト)----------*/
  /* 画像変更 */
  .work-detail-hero-img {
    width: 100%;
  }
  /* テキストの幅修正 */
  .desc-detail {
    flex-basis: 86%;
  }
  /* 添付画像の幅修正 */
  .work-detail-second-pc, .work-detail-second-sp {
    flex-basis: 45%;
  }
  /*---------- worksの個別ページ(バナー)----------*/
  /* 画像とテキストを縦並び */
  .work-detail-first.detail-banner {
    flex-direction: column;
    align-items: center; /* 画像を中央へ */
  }
  /* 画像変更 */
  .work-detail-banner-left {
    max-width: 500px;
    margin-bottom: 80px;
  }
  /*---------- worksの個別ページ(marketing)----------*/
  .desc-title.marketing {
    flex-basis: 18%;
  }
  /*---------- serviceの個別ページ(marketing)----------*/
  /* serviceページ（バナー）FV */
  .service-banner-hero {
    background-image: url("../img/service-detail/fv/fv-service-banner-tab.png");
  }
  .service-lp-hero {
    background-image: url("../img/service-detail/fv/fv-service-lp-tab.png");
  }
  .service-hp-hero {
    background-image: url("../img/service-detail/fv/fv-service-hp-tab.png");
  }
  .service-thumbnail-hero {
    background-image: url("../img/service-detail/fv/fv-service-thumbnail-tab.png");
  }
  /* 料金表の横幅調整 */
  .price-row {
    grid-template-columns: 1.5fr 0.9fr 2.5fr; /* 項目・料金・詳細 */
  }
  /* 料金表の余白調整 */
  .price-col {
    padding: 20px 10px;
    font-size: 1rem;
  }
  /* 詳細の余白だけ広く */
  .price-col.detail {
    padding: 20px 10px 20px 20px;
  }
}
/*SP*/
@media (max-width: 743px) {
  /*---------- TOPページ----------*/
  /*--- header ---*/
  /* ハンバーガーボタン */
  /* 右上に配置 */
  .burger-btn {
    position: absolute; /* 絶対配置で右上へ */
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px; /* ボタンの高さを固定*/
    border: none; /* デフォルトでの表示を防ぐ */
    background: none; /* デフォルトでの表示を防ぐ */
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 線を左揃えに */
    justify-content: center;
    gap: 2px; /* 線同士とMenuの間隔/×に変わったあとの位置調整*/
    padding: 0px; /* ボタンの余白をなくすため */
    z-index: 10001; /* ナビより上に表示されるように */
  }
  /* 2本線の設定 */
  .burger-btn .bar {
    display: block;
    height: 2px;
    background-color: var(--maincolor);
    margin: 5px 0; /* 2本線の間隔設定 */
    transition: all 0.3s ease;
    width: 35px;
    transform-origin: center;
  }
  /* 2本線の上と下 */
  .burger-btn .bar_top {
    width: 25px;
  }
  .burger-btn .bar_bottom {
    width: 35px;
  }
  /* Menuのテキスト */
  .burger-label {
    font-size: 16px;
    color: var(--maincolor);
  }
  /* ドロワーメニュー*/
  /* メニュー背景を画面いっぱいに */
  .header-nav {
    display: none; /* 最初は非表示 */
    flex-direction: column; /* .nav-item::afterを横いっぱいにするため */
    background-color: rgba(228, 220, 212, 1); /* 半透明黒のカバー */
    position: fixed; /* スクロールしても動かない */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 10000;
  }
  /* メニューが開いたら（.openがついたら）表示 */
  .header-nav.open {
    display: flex;
    padding: 80px 20px; /* カバーの内余白 */
  }
  /* メニューリスト縦並び */
  .header-nav .nav-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px; /* メニュー間の余白 */
  }
  .nav-item {
    position: relative;
    padding-bottom: 8px; /* 下線のためのスペース */
    width: 100%; /* 下線の長さ */
  }
  .nav-item a {
    display: block; /* リンク部分をブロック化してタップしやすく */
    font-weight: 600;
  }
  /* 擬似要素で下線を作る */
  .nav-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%; /* 幅いっぱい */
    height: 1px; /* 下線の太さ */
    background-color: var(--maincolor); /* 下線の色 */
  }
  /* openクラスで2本線を「×」に変形 */
  .burger-btn.open .bar_top {
    transform: rotate(45deg) translate(5px, 5px);
    width: 35px;
  }
  .burger-btn.open .bar_bottom {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 35px;
  }
  /* openクラスでMenuのテキストを非表示 */
  .burger-btn.open .burger-label {
    display: none;
  }
  /* スクロールダウンを非表示*/
  .scroll {
    display: none;
  }
  .top-fv {
    height: 500px;
  }
  .top-hero-text {
    top: 50%;
    min-width: 300px;
  }
  h1 {
    font-size: 50px;
  }
  /*--- worksセクション ---*/
  /* FVのテキスト */
  /* ホバーエフェクトを無効化 */
  .works-item::before, .works-item::after {
    display: none;
  }
  .works-item-mob-btn-outer {
    display: flex;
    justify-content: center;
  }
	/* FVしたのworksタイトル上の余白削除 */
	.section-title.top-works-title {
		margin-top: 0px;
	}
  .top-works {
    margin-top: 0px;
  }
  h2 {
    font-size: 45px;
    font-weight: 600;
  }
  .section-title > p {
    font-size: 1rem;
  }
  h3 {
    font-size: 28px;
    font-weight: 600;
  }
  /* 全て1カラムにする*/
  .works-grid.grid-2col, .works-grid.grid-3col {
    grid-template-columns: 1fr;
    gap: 80px;
  }
  /* 左右のエリアを縦並びに*/
  .works-item.banner > .works-item-img, .works-item-anm > .works-item-img {
    min-width: 359px;
  }
  .works-tag {
    min-width: 300px;
  }
  /* ボタンを中央配置に*/
  .btn-wrapper.banner, .btn-wrapper.thumbnail {
    text-align: center;
  }
 
  /*--- profileセクション ---*/
  /* 名前の画像のサイズ変更 */
  .profile-fast {
    height: 60px;
  }
  /* 名前のサイズ変更 */
  .profile-fast-name {
    font-size: 28px;
  }
  /* コピーのサイズ変更 */
  .top-about-profile-upper {
    font-size: 20px;
  }
  /* 縦並びに */
  .profile-second-under {
    flex-direction: column;
  }
  /* 画像サイズの上限 */
  .profile-second-under-left img {
    max-width: 250px;
  }
  .profile-second-under-left {
    margin-bottom: 30px;
  }
  /*  itemを1カラムに */
  .profile-third {
    grid-template-columns: 1fr;
  }
 
	
	
  /*--- footer ---*/
  /* メニューとコピーライトを縦並べ、メニューアイテムを縦並べ */
  footer {
    padding: 50px 0 20px 0px;
  }
  .footer-wrapper, .nav-list {
    flex-direction: column;
  }
  .nav-list {
    margin-bottom: 50px;
  }
  small {
    text-align: center;
  }
  /*---------- WORKSページ----------*/
  /* fvの高さ変更 */
  .works-hero {
    calc(100vh - 80px) justify-content: center;
    background-image: url("../img/works-fv-sp.png");
    position: relative;
  }
  .overlay {
    height: calc(100vh - 80px); /* オーバーレイの高さも変更 */
  }
  /*テキストの位置*/
  .works-hero-text {
    position: absolute;
    top: 50%;
    eft: 50%;
    transform: translate(-50%, -50%);
  }
  .line2-pc {
    display: none;
  }
  /* スマホでは3行を表示 */
  .line2-sp {
    display: inline-block;
  }
  /* 白帯の内余白調整 */
  .line {
    padding: 4px 6px;
    white-space: nowrap; /* 1行目が2列にならないようにサイズ指定 */
  }
  .line2-sp .line {
    display: inline-block;
    margin-bottom: 12px; /* 行ごとの余白 */
  }
  /* テキストのサイズを変更 */
  .works-hero-message {
    font-size: 22px;
    font-weight: bold;
  }
  /* 画像、ビデオの高さを変更して、画面いっぱいに */
  .works-item.banner > .works-item-img, .works-item-anm > .works-item-img {
    height: 359px;
  }
  /*----------  CONTACTページ----------*/
  .contact-hero {
    height: 300px;
  }
  .contact-hero h1 {
    font-weight: 80px;
  }
  .contact-text > p {
    width: 90%;
  }
  /* コンタクトフォーム */
  section.contact {
    margin: 60px 20px;
  }
  /*----------  WEBSITE個別ページ----------*/
  .work-detail-hero-text-tag {
    font-size: 18px;
  }
  h1.work-detail-hero-text-title {
    font-size: 32px;
  }
  /* モックアップ画像のサイズ設定*/
  .work-detail-hero-img, .work-detail-hero-img.pc-moc {
    width: 100%;
    height: auto;
  }
  /* ブラウンボタンのサイズ調整 */
  .custom-btn.brown-btn {
    padding: 10px 30px;
  }
  /* ブラウンボタンの位置を調整 */
  .btn-wrapper.detail {
    text-align: center;
  }
  /* レスポンシブしてない作品はスマホではボタンを削除 */
  .btn-wrapper.detail.pc {
    display: none;
  }
  /*  タグの調整 */
  .work-detail-first-tag > li {
    flex: 1; /* タグのサイズを均等にする */
    padding: 5px 15px;
    display: flex;
    justify-content: center; /* タグの横中央にテキストを配置 */
  }
  .work-detail-first-desc {
    flex-direction: column;
  }
  /* 詳細左のベージュの縦線を非表示 */
  .desc-detail::before {
    display: none;
  }
  /* タイトルの横にブラウンの横線を引く */
  .desc-title {
    display: flex;
    font-weight: bold;
    margin-bottom: 5px;
    align-items: center;
    gap: 10px; /* テキストと線の間の余白 */
  }
  .desc-title::after {
    content: "";
    display: block;
    flex: 1; /* 残りの幅すべてを線にする */
    height: 1px;
    background-color: var(--maincolor); /* 線の色 */
  }
  /* デザインポイントの改行を削除 */
  .work-detail-first-desc > p > br {
    display: none;
  }
  .work-detail-second {
    flex-direction: column;
  }
  .work-detail-second-text-pc {
    display: none;
  }
  .work-detail-second-img.sp {
    flex-direction: column;
  }
  /*----------  banner個別ページ ----------*/
  .work-detail-first.detail-banner {
    flex-direction: column;
  }
  .work-detail-banner-right {
    margin-top: 100px;
  }
  /*----------  Webmarketing個別ページ ----------*/
  /* スライドを1カラムにする */
  .marketing-slide-item-wrapper {
    grid-template-columns: repeat(1, 1fr);
  }
  /* ボタンが2つある際は縦並びに */
  .btn-wrapper-detail-outer {
    flex-direction: column;
  }
  /*----------  service個別ページ ----------*/
  /* serviceページ（バナー）FV */
  .service-banner-hero {
    background-image: url("../img/service-detail/fv/fv-service-banner-mob.png");
  }
  /* serviceページ（lp）FV */
  .service-lp-hero {
    background-image: url("../img/service-detail/fv/fv-service-lp-mob.png");
  }
  /* serviceページ（HP）FV */
  .service-hp-hero {
    background-image: url("../img/service-detail/fv/fv-service-hp-mob.png");
  }
  /* serviceページ（サムネ）FV */
  .service-thumbnail-hero {
    background-image: url("../img/service-detail/fv/fv-service-thumbnail-mob.png");
  }
  /* --- スマホ表示：カード型 --- */
  .price-table {
    background: none;
  }
  .price-row {
    display: block;
    border: 1px solid var(--maincolor);
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    padding: 16px;
  }
  .price-col {
    display: block;
    padding: 6px 0;
  }
  .price-col.item {
    font-weight: 600;
    margin-bottom: 8px;
    border-bottom: solid 1px var(--maincolor);
  }
  .price-col.price {
    margin-bottom: 6px;
  }
  /* 一番最後のラインを表示 */
  .price-row:last-child {
    border-bottom: solid 1px var(--maincolor);
  }
  /* 料金表の、デザイン系、コーディング系の下余白*/
  .price-table-section {
    margin-bottom: 20px;
  }
}
/*---------- worksの個別ページ(Webサイト)のアコーディオンの設定----------*/
/* 初期化 */
.work-detail-second-text-sp {
  display: none; /* ボタン非表示からスタート（SP時に表示） */
}
/* PC・タブレットの設定 */
@media screen and (min-width: 744px) {
  .js-toggle-btn {
    display: none; /* PCではボタン非表示 */
  }
  .js-toggle-content {
    display: block !important; /* PCでは常に画像表示 */
  }
}
/* スマホの設定 */
@media screen and (max-width: 743px) {
  .js-toggle-btn {
    display: flex;
    justify-content: space-between; /* テキストとアイコンを両端へ */
    margin-bottom: 10px;
    color: var(--maincolor);
    font-size: 20px;
    font-family: "Zen Old Mincho", serif;
    align-items: center;
    gap: 0.5em;
    padding: 8px 16px;
    background-color: var(--beige);
    border: 1px solid #ccc;
    border-radius: 6px;
  }
  .js-toggle-content {
    display: none; /* スマホは初期非表示 */
  }
  /*タイトルとアコーディオンの間隔調整 */
  .work-detail-second-pc > p, .work-detail-second-sp > p {
    margin-bottom: 30px;
  }
  .work-detail-second-sp {
    margin-top: 50px;
  }
}