/* //// */
/* 共通 */
/* //// */
header, .vk-mobile-nav-menu-btn {
  display: none !important;
}

.page_top_btn {
  display: none !important;
}

.mt1 {
  margin-top: 1rem;
}
.mb1 {
  margin-bottom: 1rem;
}

/* 英語フォント */
@font-face {
  font-family: 'DIN2014Narrow';
  src: url('../fonts/Fontspring-DEMO-dpt77-iF663b305407875.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

/* 全体のベース（日本語は游ゴシック Medium） */
body {
  font-family: "UD新ゴ Medium", "UD Shin Go Medium", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

/* //////////////// */
/* eightホームページ */
/* //////////////// */

/* ヘッダー */
.eight-header {
  position: relative !important;
  top: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05) !important;
  margin-top: -5rem;
}

.header-eight {
  background: #fff;
  width: 100%;
  height: 11rem;
  /* margin: 0 auto; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 4rem 1rem 4rem;
  /* flex-wrap: wrap; */
}

/* ロゴ */
.eight-logo img {
  height: auto;
  width: 180px;
  /* filter: brightness(0) invert(1);*/
  /* margin-left: 2.1rem; */
  margin-bottom: -0.2rem;
}

.eight-logo img:hover {
  opacity: 0.6;
}

/* ナビゲーション */

.eight-nav ul {
  list-style: none;
  display: flex;
  gap: 5rem;
  margin: 0;
  justify-content: flex-end;
}

.eight-nav a {
  text-decoration: none;
  color: #000;
  font-size: 1.5rem;
  position: relative;
  transition: color 0.3s;
  font-weight: bold;
  font-family: DIN2014Narrow;
}

.eight-nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #000;
  transition: width 0.3s;
}
.eight-nav a:hover {
  color: #373737;
  opacity: 0.6;
}

.eight-nav a:hover::after {
  width: 100%;
}

/* li基準にする */
.eight-nav li {
  position: relative;
}

/* スマホレイアウト */
@media (max-width: 1050px) {
  .eight-nav {
    display: none;
    width: 100%;
    background: #fff;
    text-align: center;
    padding: 1rem 0;
    /* border-top: 1px solid #f4b6c1; */
  }
  .header-eight {
    height: 8rem;
    padding: 3rem 4rem 1rem 4rem;
  }
  .eight-nav.active {
    display: block;
  }
  .eight-nav ul {
    flex-direction: column;
    gap: 1rem;
  }
  .menu-eight {
    display: flex;
  }

  .eight-container {
    /* padding: 1rem 1rem; */
  }

  /* --- ロゴ --- */
  .eight-logo img {
    width: 120px;
    /* height: auto; */
    margin-top: 1.5rem;
    margin-left: -1.8rem;
  }

  /* ------------------------------
    ハンバーガー（スマホのみ）
  ------------------------------ */

  /* --- ハンバーガーメニュー（白線 + 白丸枠） --- */
  .menu-eight {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 42px;         /* 丸のサイズ */
    height: 42px;
    border: 2px solid #000;  /* 白い丸い枠線 */
    border-radius: 50%;      /* 丸にする */
    cursor: pointer;
    z-index: 20000;
    margin-top: 1.2rem;
    margin-right: -1.7rem;
  }

  /* 三本線（白） */
  .menu-eight span {
    position: absolute;
    width: 22px;
    height: 3px;
    background: #000;        /* 白線に変更 */
    border-radius: 2px;
    transition: all .35s ease;
  }

  .menu-eight span:nth-child(1) { top: 12px; }
  .menu-eight span:nth-child(2) { top: 19px; }
  .menu-eight span:nth-child(3) { top: 26px; }

  /* --- X のアニメーション --- */
  .menu-eight.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-eight.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-eight.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* ------------------------------
     スマホメニュー
  ------------------------------ */
  .eight-nav {
    display: flex;
    gap: 26px;
    position: fixed;
    top: 0;
    /* right: 15px; */
    width: 100%;
    height: 100%;
    background: #fff;
    transform: translateX(100%);
    transition: transform .35s ease;
    padding: 30px 20px;
    z-index: 15000;
    box-shadow: -3px 0 10px rgba(0, 0, 0, 0.1);
    flex-direction: column;
  }

  .eight-nav.open {
    transform: translateX(0);
  }

  /* スマホ：縦並び＆横文字 */
  .eight-nav ul {
    flex-direction: column;
    gap: 22px;
    display: flex;
    list-style: none;
    margin: 5rem 4rem 0 0;
    padding: 0;
  }

  /* 区切り | を追加しない */
  .eight-nav li:not(:last-child)::after {
    display: none;
  }

  .eight-nav li a {
    text-decoration: none;
    color: #000;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase; /* ← 横文字化 */
  }

  /* PCメニューを消す */
  .eight-nav.desktop-only {
    display: none;
  }

}



/* ///////// */
/* メイン写真 */
/* ///////// */
.main-photo-eight {
  width: 100%;
  height: auto; 
  margin-left: calc(50% - 50vw); /* コンテンツ中央寄せ時の余白を打ち消す */
  /* margin-top: -6rem; */
  margin-bottom: 0rem;
  overflow: hidden; /* トリミング */
  position: relative;
}

.main-photo-eight img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 余白を出さず、画面いっぱいに埋める */
  display: block;
}

/* スマホレイアウト */
@media (max-width: 1050px) {
  .main-photo-eight {
    width: 100%; 
    height: 100%; 
    margin-left: calc(50% - 50vw);
    position: relative;
    overflow: hidden;
    margin-bottom: 4rem;
    margin-bottom: -3rem;
  }

  .main-photo-eight img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ← 中央を維持して左右をトリミング */
    object-position: center center; /* ← 中央を基準に */
    display: block;
  }
}


/* サブ背景ボックス */
.eight-box {
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  background: #fff;
  max-width: 100%;
  min-height: 360px;
  position: relative;
}

/* 横並び */
.eight-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
  width: 1050px;
  margin: 2rem 0;
  padding: 1rem;
}

/* 左テキスト */
.eight-text {
  flex: 1;
  text-align: center;
}

.eight-catch {
  margin: 0;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1.4;
}


.eight-catch .line0 {
  display: block;
  text-align: left;
  font-size: 1.3rem;
  color: #000;
  margin: 0 0 0 4.5rem;
  line-height: 2;
  font-weight: bold;
}

.eight-catch .line1 {
  display: block;
  font-size: 2.7rem;
  color: #fff;
  margin: 0 0 4rem 2rem; 
  padding: 0.5rem 2rem;
  position: relative;
  text-align: left;
  z-index: 2;
  line-height: 1;
  letter-spacing: 2px;
  background: linear-gradient(to right, #3666A4, #3F8451);
}

.eight-catch .line2 {
  display: block;
  text-align: left;
  font-size: 0.7rem;
  color: #000;
  margin: -3rem 0 3rem 4.5rem;
  line-height: 2;
}

.eight-catch .line00 {
  display: block;
  text-align: left;
  font-size: 1.3rem;
  color: #000;
  margin: 4rem 0 0 4.5rem;
  line-height: 2;
  font-weight: bold;
}

.eight-catch .line3 {
  display: block;
  font-size: 2.7rem;
  color: #fff;
  margin: 0 3rem 2rem 0;
  padding: 0.5rem 3.5rem 0.5rem 4.5rem;
  position: relative;
  text-align: left;
  z-index: 2;
  line-height: 1;
  letter-spacing: 2px;
  background: linear-gradient(to right, #3666A4, #3F8451);
}

.eight-catch .line3 span {
  font-size: 3rem;
}

.eight-catch .line4 {
  display: block;
  text-align: left;
  font-size: 0.7rem;
  color: #000;
  margin: -1rem 0 1rem 4rem;
  line-height: 1.6;
}

/* グループ共通 */
.group {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-top: 3rem;
  position: relative;
}

/* 右に画像 */
.right-group {
  justify-content: space-between;
  padding-right: 6rem;
}

/* 左に画像 */
.left-group {
  justify-content: space-between;
}

/* テキスト */
.group .text {
  flex: 1;
  position: absolute;
}

/* 画像 */
.group .image img {
  width: 530px;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
}

/* 右画像パターン */
.right-group .image {
  margin-left: auto;
  width: 35%;
}

.right-group .text {
  left: 0;
}

/* 左画像パターン */
.left-group .image {
  margin-right: auto;
}

.left-group .text {
  right: 0;
  text-align: right;
}

.company-button {
  display: inline-block;
  margin: 0 4rem 6rem 0;
  padding: 8px 45px;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  border-radius: 10px;
  transition: 0.3s;
  /* border: 3px solid #000; */
}

.company-button:hover {
  background-color: #000;
  color: #fff; /* ホバー時に反転 */
  /* border: 3px solid #7e7e7e; */
  opacity: 0.4;
}


/* スマホ対応 */
@media (max-width: 1050px) {

  .eight-box {
    margin-top: 3rem;
  }

  .eight-inner {
    margin-top: -3rem;
    margin-bottom: -2rem;
  }

  /* 横並び解除して縦積み */
  .group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem 1rem;
  }

  /* absolute解除（最重要） */
  .group .text {
    position: static;
    width: 100%;
  }

  /* 画像もフル幅に */
  .group .image {
    width: 100%;
  }

  .group .image img {
    width: 100%;
    height: auto;
  }

  .left-group .text {
    margin-top: -5rem;
  }

  .right-group .text {
    margin-top: -4rem;
  }

  .right-group .image {
    margin: auto;
    margin-top: -3rem;
    width: 60%;

  }

  /* ボタンを自然な流れに */
  .company-button {
    margin: 0.5rem 0 0 0;
    align-self: flex-start;
    font-size: 10px;
    padding: 6px 30px;
  }

  /* テキスト左揃えに統一 */
  .eight-catch .line0,
  .eight-catch .line2,
  .eight-catch .line4,
  .eight-catch .line00 {
    margin-left: 0;
    text-align: left;
  }

  .eight-catch .line3,
  .eight-catch .line1 {
    margin-left: 0;
    width: 100%;
  }

  .eight-catch .line1 {
    font-size: 1.8rem;
    padding: 0.5rem 0;
    text-align: center;
  }

  .eight-catch .line2 {
    font-size: 0.6rem;
  }

  .eight-catch .line3{
    font-size: 2rem;
    padding: 0.5rem 2rem;
    text-align: center;
  }

  .eight-catch .line3 span {
    font-size: 2.2rem;
  }

  .eight-catch .line4 {
    font-size: 0.6rem;
  }

}

/* presentボックス */
.present-box {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  max-width: 100%;
}

.present-box-works {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  max-width: 100%;
  padding: 5rem 0;
}

.present-inner img {
  width: 50%;
  max-width: 200px;
  height: auto;
  display: block;
}

.present-catch .line1 {
  display: block;
  text-align: center;
  font-size: 1.5rem;
  color: #fff;
  font-weight: bold;
  letter-spacing: 2px;
  margin: 2rem 0;
  width: 1050px;
  padding-bottom: 2rem;
}

.present-catch .line4 {
  display: block;
  text-align: left;
  font-size: 0.8rem;
  color: #fff;
  font-weight: bold;
  letter-spacing: 2px;
  margin-top: 5rem;
  margin-bottom: 0rem;
  border-bottom: 1.5px solid #fff;
  width: 1050px;
  padding-bottom: 0.5rem;
  font-family: DIN2014Narrow;
}

.present-catch .line4 span {
  font-size: 4rem;
}

.present-catch .line4-works {
  display: block;
  text-align: left;
  font-size: 0.8rem;
  color: #fff;
  font-weight: bold;
  letter-spacing: 2px;
  margin-top: 5rem;
  margin-bottom: 0rem;
  border-bottom: 1.5px solid #fff;
  width: 1050px;
  padding-bottom: 0.5rem;
  font-family: DIN2014Narrow;
}

.present-catch .line4-works span {
  font-size: 4rem;
}

.present-catch .line6 {
  display: block;
  text-align: left;
  font-size: 0.7rem;
  color: #000;
  /* font-weight: 450; */
  line-height: 1.6;
  margin-left: 6rem;
}

.present-catch .line6 span {
  font-size: 0.9rem;
  color: #000;
  margin: 0 0.5rem;
}


/* 横並びのコンテナ */
.present-container {
  background-color: #000;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 3rem 0;
}

/* 横並びのコンテナ */
.present-container-more {
  background-color: #000;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PC：3列 */
  gap: 2rem;
  padding: 5rem 15rem 5rem 15rem;
  margin-top: -3rem;
}

/* 各店舗カード */
.present-card {
  width: 100%;
  padding: 0.5rem;
  text-align: left;
  transition: transform 0.3s ease;
}

.present-card:hover {
  transform: translateY(-5px);
}

/* 写真 */
.present-photo {
  width: 100%;
  aspect-ratio: 5 / 3; /* ← 比率固定（おすすめ） */
  object-fit: cover;   /* ← はみ出しトリミング */
  object-position: center;
}

/* 企業名 */
.present-name {
  font-size: 1.1rem;
  font-weight: 400;
  color: #fff;
  margin: -0.2rem 0;
  display: block;
  align-items: left;
  text-align: left;
  line-height: 1.2;
}

.present-card .present-name span {
  font-size: 0.8rem;
  margin-right: 0.5rem;
}

.present-table-inner {
  background: #fff;
  max-width: 100%;
  margin: 2rem 0 4rem 0;
  padding: 2rem 2rem 1rem 2rem;
  max-width: 800px;
}

.present-table {
  background: #fff;
  max-width: 100%;
  border: 1.5px solid #000;
  margin-bottom: 1rem;
}

.present-th {
  padding: 0;
  background: #E36783;
  color: #fff;
  font-size: 1.5rem;
  border: 1.5px solid #000;
}

.present-td {
  width: 50%;
  color: #000;
  font-size: 1.3rem;
  border: 1.5px solid #000;
  font-weight: bold;
  position: relative;
  padding: 0.8rem 1.5rem;
}

/* 左側（見積・割引額など） */
.present-td span:first-child {
  float: left;
}

/* 右側（金額） */
.present-td span:last-child {
  float: right;
  font-weight: bold;
}

/* float解除（重要） */
.present-td::after {
  content: "";
  display: block;
  clear: both;  
}

.present-td a {
  font-size: 0.8rem;
  color: #000;
  margin-left: 0.4rem;
}

.present-cost {
  font-size: 2rem;
  margin: -0.5rem 0 -0.3rem 0;
}

.present-note {
  font-size: 1rem;
  color: #000;
  line-height: 1.8;
  font-weight: bold;
}

/* workボックス */
.work-box {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  max-width: 100%;
}

/* 横並び */
.work-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
}

.work-button {
  display: inline-block;
  background: linear-gradient(to right, #3666A4, #3F8451);
  color: #fff;
  padding: 8px 45px;
  margin: -2rem 0 3rem 0;
  border-radius: 10px;
  font-weight: bold;
  text-decoration: none;
  /* border: 3px solid #fff; */
  line-height: 1.1;
  font-size: 14px;
  transition: 0.3s;
}
.work-button:hover {
  background: linear-gradient(to right, #3666A4, #3F8451);
  color: #fff; /* ホバー時に反転 */
  opacity: 0.4;
}

/* スマホ対応 */
@media (max-width: 1050px) {

  .present-box {
    max-height: none;
    padding: 0;
    width: auto;
    position: relative;
    overflow: visible; /* ボタンがはみ出しても見えるように */
  }

  .present-inner img {
    display: block;
    margin: 0 auto;
  }

  .present-catch .line4 {
    width: auto;
    font-size: 0.7rem;
    padding-right: 10rem;
    margin-top: 2rem;
  }

  .present-catch .line4 span{
    font-size: 2rem;
  }

  .present-catch .line4-works {
    width: 100%;
    font-size: 0.8rem;
    margin-bottom: -3rem;
  }

  .present-catch .line6 {
    font-size: 0.7rem;
    line-height: 1.6;
    margin: auto;
  }

  .present-catch .line6 span {
    font-size: 0.8rem;
    color: #000;
  }

  /* 横並びのコンテナ */
  .present-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .present-container-more {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 5rem 1rem 2rem 1rem;
    grid-template-columns: repeat(3, 1fr);
  }

  /* 各店舗カード */
  .present-card {
    width: 320px;
    padding: 0.5rem;
    text-align: left;
    transition: transform 0.3s ease;
  }

  .present-card:hover {
    transform: translateY(-5px);
  }

  /* 写真 */
  .present-photo {
    width: 100%;
    margin-bottom: 1rem;
  }

  /* 式場名 */
  .present-name {
    font-size: 1.2rem;
    font-weight: 550;
    color: #fff;
    margin: -0.2rem 0;
  }

  .present-card .present-name span {
    font-size: 1rem;
  }

  .present-card .present-name strong {
    font-size: 1rem;
  }

  .present-table-inner {
    /* max-width: 100%; */
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .present-th {
    font-size: 2rem;
  }

  .present-td {
    width: 50%;
    color: #000;
    font-size: 0.9rem;
    border: 1.5px solid #000;
    font-weight: bold;
    position: relative;
    padding: 0.8rem 0.8rem;
  }

  .present-td a {
    font-size: 0.6rem;
    color: #000;
    margin-left: 0.4rem;
  }

  .present-cost {
    font-size: 1.2rem;
    margin: 0 0 -0.3rem 0;
  }

  .present-note {
    font-size: 0.7rem;
    color: #000;
    line-height: 0;
    font-weight: bold;
  }

  .work-button {
    margin: 1rem 0 2rem 0;
  }

}

@media (max-width: 768px) {
  .present-container-more {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .present-container-more {
    grid-template-columns: 1fr;
  }
}

/* companyボックス */
.company-box {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  width: 100%;
  padding: 5rem 1rem; /* ← 余白も追加 */
}

.company-inner {
  background: #fff;
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.company-catch .line4 {
  display: block;
  text-align: left;
  font-size: 0.8rem;
  background: linear-gradient(to right, #3666A4, #3F8451);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  letter-spacing: 2px;
  margin-top: 5rem;
  margin-bottom: 0rem;
  /* border-bottom: 1.5px solid #fff; */
  width: 1050px;
  padding-bottom: 0.5rem;
  font-family: DIN2014Narrow;
}

.company-catch .line4 span {
  font-size: 4rem;
  background: linear-gradient(to right, #3666A4, #3F8451);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.company-inner .line6 {
  display: grid;
  grid-template-columns: 380px 1fr;
  align-items: center;

  width: 700px;
  padding: 0.8rem 0;
  border-bottom: 1.5px solid #000;

  font-size: 1rem;
  color: #000;
}

.company-inner .line6 span {
  justify-self: left;
  font-size: 1rem;
}

/* スマホ対応 */
@media (max-width: 1050px) {

  .company-box {
    max-height: none;
    padding: 0;
    position: relative;
    overflow: visible; /* ボタンがはみ出しても見えるように */
    margin-top: 3rem;
  }

  .company-inner {
    background: #fff;
    max-width: 100%;
    margin:  0 0 5rem 0;
    padding: 2rem 0rem;
    max-width: 1200px;
    display: block;
    align-items: center;
  }

  .company-catch .line4 {
    width: 100%;
    font-size: 0.8rem;
  }

  .company-inner .line6 {
    width: 100%;
    grid-template-columns: 140px 1fr;
    font-size: 0.85rem;
  }

  .company-inner .line6 span{
    font-size: 0.85rem;
  }

}

/* profileボックス */
.profile-box {
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  background: #fff;
  max-width: 100%;
  min-height: 360px;
  position: relative;
}

/* 横並び */
.profile-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
  width: 1050px;
  margin: 2rem 0;
  padding: 1rem;
}

/* 左テキスト */
.profile-text {
  flex: 1;
  text-align: center;
}

.profile-catch {
  margin: 0;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1.4;
}


.profile-catch .line0 {
  display: block;
  text-align: left;
  font-size: 0.8rem;
  color: #fff;
  padding: 2rem 0rem 0.5rem 6rem;
  line-height: 0.8;
}

.profile-catch .line1 {
  display: block;
  font-size: 0.8rem;
  color: #fff;
  padding: 0.5rem 0rem 0.5rem 6rem;
  text-align: left;
  line-height: 0.8;
  letter-spacing: 2px;
}

.profile-catch .line1 span {
  font-size: 1.5rem;
}

.profile-catch .line2 {  
  display: block;
  text-align: left;
  font-size: 0.6rem;
  color: #fff;
  line-height: 1.8;
  padding: 0.5rem 0rem 0.5rem 6rem;
}

.profile-catch .line2 span {
  font-size: 0.8rem;
  border-left: 2px solid #fff;
}


.profile-catch .line00 {
  display: block;
  text-align: left;
  font-size: 0.8rem;
  color: #fff;
  /* margin: 2rem 0 0 10rem; */
  padding: 2rem 3.5rem 0.5rem 8rem;
  line-height: 0.8;
  font-weight: bold;
}

.profile-catch .line3 {
  display: block;
  font-size: 0.8rem;
  color: #fff;
  padding: 0.5rem 3.5rem 0.5rem 8rem;
  text-align: left;
  z-index: 2;
  line-height: 0.8;
  letter-spacing: 2px;
}

.profile-catch .line3 span {
  font-size: 1.5rem;
}

.profile-catch .line4 {
  display: block;
  text-align: left;
  font-size: 0.6rem;
  color: #fff;
  line-height: 1.8;
  padding: 0.5rem 3.5rem 0.5rem 8rem;
}

.profile-catch .line4 span {
  font-size: 0.8rem;
  border-left: 2px solid #fff;
}

/* グループ共通 */
.profile-group {
  display: flex;
  align-items: center;
  /* gap: 3rem; */
  margin-bottom: 10rem;
  position: relative;
}

/* 右に画像 */
.profile-right-group {
  justify-content: space-between;
  /* padding-right: 6rem; */
}

/* 左に画像 */
.profile-left-group {
  justify-content: space-between;
  margin-top: 3rem;
}

/* テキスト */
.profile-group .text {
  flex: 1;
  position: absolute;
  width: 700px;
  height: 560px;
  /* margin-bottom: 5rem; */
}

/* 画像 */
.profile-group .image {
  /* width: 530px; */
  height: auto;
  object-fit: cover;
  z-index: 2;
}

/* 右画像パターン */
.profile-right-group .image {
  margin-left: auto;
  width: 35%;
}

.profile-right-group .text {
  left: 0;
  background:
  radial-gradient(circle at bottom left, rgba(255,255,255,0.5), transparent 60%),
  radial-gradient(circle at top right, rgba(255,255,255,0.5), transparent 60%),
  linear-gradient(135deg, #3666A4, #3F8451);
}

/* 左画像パターン */
.profile-left-group .image {
  margin-right: auto;
  width: 35%;
}

.profile-left-group .text {
  right: 0;
  text-align: right;
  background:
  radial-gradient(circle at bottom left, rgba(255,255,255,0.5), transparent 60%),
  radial-gradient(circle at top right, rgba(255,255,255,0.5), transparent 60%),
  linear-gradient(135deg, #3666A4, #3F8451);
}


/* スマホ対応 */
@media (max-width: 1050px) {

  .profile-box {
    margin-top: 0;
  }

  .profile-inner {
    margin-top: -7rem;
    margin-bottom: -7rem;
  }

  /* 横並び解除して縦積み */
  .profile-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem 1rem;
  }

  /* absolute解除（最重要） */
  .profile-group .text {
    position: static;
    width: 400px;
    height: 700px;
  }

  /* 画像もフル幅に */
  .profile-group .image {
    width: 100%;
  }

  .profile-group .image {
    width: 60%;
    height: auto;
    margin: auto;
  }

  .profile-left-group .text {
    margin-top: -3rem;
  }

  .profile-right-group .text {
    margin-top: -10rem;
  }

  .profile-right-group .image {
    margin-top: -2rem;
  }

  /* ボタンを自然な流れに */
  .company-button {
    margin: 0.5rem 0 0 0;
    align-self: flex-start;
    font-size: 10px;
    padding: 6px 30px;
  }

  /* テキスト左揃えに統一 */
  .profile-catch .line0,
  .profile-catch .line2,
  .profile-catch .line4,
  .profile-catch .line00 {
    margin-left: 0;
    text-align: left;
  }

  .profile-catch .line3,
  .profile-catch .line1 {
    margin-left: 0;
    width: 100%;
  }

  .profile-catch .line0 {
    font-size: 0.8rem;
    padding: 2rem 0rem 0.5rem 2rem;
  }

  .profile-catch .line1 {
    font-size: 0.8rem;
    padding: 0.5rem 0rem 0.5rem 2rem;
  }

  .profile-catch .line1 span {
    font-size: 1.2rem;
  }

  .profile-catch .line2 {
    font-size: 0.6rem;
    padding: 0.5rem 0rem 0.5rem 2rem;
  }

  .profile-catch .line00 {
    font-size: 0.8rem;
    padding: 2rem 3.5rem 0.5rem 2rem;
  }

  .profile-catch .line3{
    font-size: 0.8rem;
    padding: 0.5rem 3.5rem 0.5rem 2rem;
  }

  .profile-catch .line3 span {
    font-size: 1.2rem;
  }

  .profile-catch .line4 {
    font-size: 0.6rem;
    padding: 0.5rem 2rem 0.5rem 2rem;
  }

}

/* ////////////// */
/* お問合せフォーム */
/* ////////////// */
/* ===== フォーム全体 ===== */
.contact-form-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 2rem 0 2rem;
  /* margin: 0 50rem; */
  background-color: #fff;
  width: 100%;
  border-radius: 15px;
}

.contact-box {
  /* border: 3px solid #E36783; */
  border-radius: 15px;
  padding: 3rem;
  max-width: 800px;
  width: 100%;
}

/* ===== タイトル ===== */
.contact-header {
  text-align: center;
  margin-bottom: 2rem;
}
.contact-title {
  font-size: 4rem;
  background: linear-gradient(to right, #3666A4, #3F8451);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  width: 700px;
  padding-bottom: 2rem;
  font-family: DIN2014Narrow;
}
.form-message-area {
  margin-top: 1rem;
  min-height: 1.2em;
}
.wpcf7 form .wpcf7-response-output {
  margin: 0 auto;
  color: #E36783;
  font-weight: bold;
  text-align: center;
  border: none;
  padding: 0.5rem 0;
}

/* ===== 入力欄（横並び） ===== */
.wpcf7 form .form-group {
  display: block;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.wpcf7 form .form-group label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.wpcf7 form .wpcf7-form-control-wrap {
  width: 700px;
  display: flex;
  justify-content: center;
}

/* ===== 入力要素 ===== */
.wpcf7 form input,
.wpcf7 form select,
.wpcf7 form textarea {
  width: 100%;
  border: 1.5px solid #000;
  border-radius: 6px;
  padding: 0.6rem 0.8rem;
  font-size: 1rem;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.wpcf7 form input:focus,
.wpcf7 form select:focus,
.wpcf7 form textarea:focus {
  border-color: #E36783;
  outline: none;
}

/* label */
.wpcf7-checkbox label {
  display: grid;
  grid-template-columns: 20px auto;
  align-items: center;
  column-gap: 0.6rem;
  cursor: pointer;
  color: #000;
  line-height: 1.5;
}

/* checkbox 本体 */
.wpcf7-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #C32071; /* ブランドカラー */
}

/* テキスト */
.wpcf7-checkbox .wpcf7-list-item-label {
  font-size: 1rem;
}


/* ===== テキストエリア ===== */
.form-textarea {
  align-items: center;
}
.form-textarea label {
  margin-top: 0.1rem;
}

/* ===== 必須項目マーク ===== */
.required {
  display: inline-block;
  background-color:  red;
  color: white;
  font-size: 0.7rem;
  padding: 0rem 0.3rem;
  border-radius: 3px;
  margin-left: 0.3rem;
}

/* ===== 送信ボタン ===== */
.form-submit {
  text-align: center;
}
.wpcf7 form .form-submit input[type="submit"].btn-submit {
  background-color: #fff;
  border: 3px solid #000;
  color: #000;
  padding: 0.5rem 3.2rem;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.wpcf7 form .form-submit input[type="submit"].btn-submit:hover {
  background-color: #000;
  color: #fff;
}

.massage-phone {
  display: none;
}

.wpcf7-not-valid-tip {
  display: none;
}

/* ===== スマホ対応 ===== */
@media screen and (max-width: 1050px) {
  .contact-box {
    padding: 2rem 1rem;
  }

  .wpcf7 form .wpcf7-form-control-wrap {
    width: 100%;
    /* margin-left: -1.5rem; */
  }

  .contact-title {
    width: auto;
  }

  .massage-pc {
    display: none;
  }

  .massage-phone {
    display: contents;
  }

  .wpcf7 form .form-submit input[type="submit"].btn-submit {
    padding: 0.6rem 5rem;
    font-size: 1.2rem;
  }
}

/* コンタクト */
.eight-contact {
  position: relative !important;
  top: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  background: #000;
}

/* 内側 */
.contact-eight {

  width: 100%;
  height: 7rem;

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

  padding: 1.5rem 6rem 1.5rem 6rem;
}

.contact-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* ロゴ */
.contact-logo img {
  width: 120px;
  height: auto;
}

.contact-logo img:hover {
  opacity: 0.6;
}

/* TEL / MAIL */
.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
}

.contact-info a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 2px;
  transition: 0.3s;
}

.contact-info a span {
  font-family: DIN2014Narrow;
}

.contact-info a:hover {
  opacity: 0.6;
}

.contact-sns {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* Instagram */
.logo-instagram img {
  width: 24px;
  height: auto;
}

/* X */
.logo-x img {
  width: 24px;
  height: auto;
}

.logo-instagram img:hover,
.logo-x img:hover {
  opacity: 0.6;
}

@media (max-width: 1050px) {

  .contact-eight {
    height: auto;
    padding: 1rem;
  }

  .contact-left {
    gap: 1rem;
  }

  .contact-logo img {
    width: 80px;
  }

  .contact-info a {
    font-size: 0.6rem;
  }

  .contact-sns {
    gap: 0.8rem;
  }

  .logo-instagram img {
    width: 18px;
  }

  .logo-x img {
    width: 22px;
  }
}

/* フッター全体 */
.eight-footer {
  background: linear-gradient(to right, #3666A4, #3F8451);
  color: #fff;
  padding: 0.5rem;
  margin-bottom: -4rem;
}

/* コピーライト */
.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
}

.footer-bottom span{
  font-family: DIN2014Narrow;
}