/**
 * layout.css
 */

/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body {
  line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

nav ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

/* change colours to suit your needs */
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

/* change colours to suit your needs */
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* change border colour to suit your needs */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

input,
select {
  vertical-align: middle;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Hiragino Kaku Gothic Pro", sans-serif;
  overflow-x: hidden; /* 横スクロールを防ぐ */
  width: 100%; /* ページ全体の幅を100%に設定 */
  scroll-behavior: smooth;
}

section,
header,
footer {
  overflow: hidden;
}

/* デフォルト（モバイル）では改行要素を消す */
br.pc-only {
  display: none;
}

/* PC（1024px以上）のときだけ改行を有効化 */
@media screen and (min-width: 1024px) {
  br.pc-only {
    display: block; /* 改行扱いに */
  }
}

/********** 全体アニメーション **********/

.scroll-up {
  opacity: 0;
  transform: translateY(100px);
  transition: transform 0.5s ease-out, opacity 0.5s ease-out;
  will-change: transform, opacity; /* レンダリングの最適化 */
}

.scroll-up-active {
  opacity: 1;
  transform: translateY(0);
}

.scroll-animate {
  opacity: 0;
  transform: translateX(100%);
  transition: transform 1s ease, opacity 1s ease;
  will-change: transform, opacity; /* レンダリングの最適化 */
}

.scroll-animate.active {
  opacity: 1;
  transform: translateX(0);
}

/* ロゴ画像をホバーで拡大 */
.logo a img,
.footer-logo a img {
  transition: transform 0.7s ease;
  transform-origin: center;
}

.logo a:hover img,
.footer-logo a:hover img {
  transform: scale(1.2);
}

/* SNS アイコンをホバーで少し上に移動 */
.sns-icons a,
.footer-social a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.sns-icons a:hover,
.footer-social a:hover {
  transform: translateY(-5px);
}

/* ------------------------------
   SP 用：ヘッダー
------------------------------ */
.sp-header .nav,
.sp-header .sns-icons,
.sp-header .close-menu,
.contact-btn {
  display: none;
}
.main {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  overflow: hidden;
}
.sp-header {
  width: 100%;
  height: 70px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 5px 5px 8px 0 rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}
.sp-header .logo img {
  width: 76px;
  height: 76px;
  margin: 0 0 -8px 9px;
}

/* ナビゲーションリンクのベース */
.nav a {
  position: relative;
  display: inline-block;
  padding-bottom: 4px; /* 下線用のスペースを確保 */
  color: #000; /* 通常時の文字色 */
  text-decoration: none;
  transition: color 0.3s; /* 文字色のフェード */
}

/* 擬似要素で下線を用意 */
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--blue_1, #29abe2);
  transition: width 0.3s ease;
}

/* ホバー時に下線が横いっぱいに伸びる */
.nav a:hover::after {
  width: 100%;
}

/* ホバー時に文字色をリンクカラーに */
.nav a:hover {
  color: var(--blue_1, #29abe2);
}

/* ------------------------------
   SP 用：ファーストビュー（FV）
------------------------------ */
.fv {
  position: relative;
  width: 100%;
  height: 750px;
  overflow: hidden;
}
.fv::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/fv_back.png") no-repeat center/cover;
  transform: scale(1.2);
  animation: fvZoom 3s ease-out forwards;
  z-index: 0;
}

@keyframes fvZoom {
  0% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* 白背景テキストボックス（仲介業者様とともに…）を完全中央揃え */
.fv .tagline-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 75px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.fv .tagline-box p {
  margin: 0;
  color: #000;
  font-family: "Gothic A1", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 33px;
  letter-spacing: 2.4px;
  text-align: center;
}

/* 黄色い文字画像を背景より上に、少し上寄せ */
.fv .fv-text-image {
  position: absolute;
  top: -75px;
  left: 50%;
  transform: translateX(-54%);
  width: 315px;
  height: 750px;
  object-fit: contain;
  z-index: 3;
}

/* - Land Blue - を背景基準の下部に配置 */
.fv .site-title {
  position: absolute;
  bottom: 33%;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-family: Impact, sans-serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 45px;
  letter-spacing: 5.4px;
  text-align: center;
  white-space: nowrap;
  z-index: 2;
}

/* ==============================
   PC 用メディアクエリ（1024px以上）
============================== */
@media screen and (min-width: 1024px) {
  .fv::before {
    background-image: url("../images/fv_back_pc.png");
  }
  .fv {
    height: 790px;
    aspect-ratio: 224/79;
  }

  .fv .fv-text-image {
    width: 500px;
    content: url("../images/fv_text_pc.png");
    top: -6%;
    left: 36%;
    transform: translateX(-50%);
    z-index: 3;
  }
  .fv .tagline-box {
    width: 720px;
    height: 70px;
    background: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
  }
  .fv .tagline-box p {
    font-size: 40px;
    letter-spacing: 4px;
    line-height: normal;
  }
  .fv .site-title {
    font-size: 40px;
    letter-spacing: 6px;
    line-height: 45px;
    bottom: 35%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
  }
  .no_pc {
    display: none;
  }

  .sp-header .nav {
    margin-left: auto;
    display: flex;
    gap: 51px; /* リンク同士の間隔 */
  }
  .sp-header .nav a {
    color: #000;
    text-align: center;
    font-family: "Gothic A1", sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-decoration: none;
    line-height: normal;
  }
  .sp-header .sns-icons {
    margin-left: 51px; /* navとの間隔 */
    display: flex;
    gap: 51px; /* アイコン同士の間隔 */
  }
  .sp-header .sns-icons img {
    width: 30.348px;
    height: 29px;
    flex-shrink: 0;
    aspect-ratio: 30.35/29;
  }

  /* メニューを閉じるボタンはPCで非表示 */
  .sp-header .close-menu {
    display: none;
  }
}

/* ====================
   ファーストビュー（FV）アニメーション
   ==================== */

/* テキスト画像フェードイン */
.fv .fv-text-image {
  opacity: 0;
  animation: fadeInText 2.5s ease 0.5s forwards;
  animation-delay: 2s; /* ← この行がディレイ */
}

@keyframes fadeInText {
  to {
    opacity: 1;
  }
}

/* tagline-box を左からスライドイン */
.fv .tagline-box {
  opacity: 0;
  transform: translate(-100%, -50%);
  animation: slideInTagline 1.8s ease 1.2s forwards;
}

@keyframes slideInTagline {
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.fv .site-title {
  opacity: 0;
  transform: translate(-50%, 50%);
  animation-name: slideUpTitle;
  animation-duration: 0.5s;
  animation-delay: 3.2s; /* ← この行がディレイ */
  animation-timing-function: ease;
  animation-fill-mode: forwards;
}

@keyframes slideUpTitle {
  to {
    opacity: 1;
    transform: translateX(-50%);
  }
}

/* ------------------------------
   Information セクション
------------------------------ */
.information {
  position: relative;
  box-sizing: border-box;
  overflow: visible;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 64px 16px 120px;
  background-color: var(--blue_1, #29abe2);
  background-image: url("../images/information_back.png");
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
  background-blend-mode: multiply;
  filter: drop-shadow(5px 5px 8px rgba(0, 0, 0, 0.2));
  -webkit-clip-path: polygon(0 0, 100% 0, 250% 85%, 0 100%);
  clip-path: polygon(0 0, 100% 0, 250% 85%, 0 100%);
  z-index: 1;
}

.info-header {
  text-align: center;
  margin-bottom: 90px;
  position: relative;
}
.info-header .info-line {
  width: 2px;
  height: 40px;
  background: #fff;
  margin: 0 auto 16px;
}
.info-header .info-title {
  margin: 0;
  color: #000;
  font-family: Impact, sans-serif;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 3.6px;
  line-height: normal;
}
.info-subtitle {
  margin: 8px 0 0;
  color: var(--white, #fff);
  font-family: "Gothic A1", sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 2.4px;
  line-height: normal;
}

.information .info-item {
  position: relative;
  /* グリッドではなくマージンで間隔を取る場合 */
  margin-bottom: 150px; /* 投稿間の余白 */
}

.information .info-item:last-child {
  margin-bottom: 80px;
}

.information .info-item .info-number {
  position: absolute;
  top: -80px;
  left: -1px;
  z-index: 0;
  color: rgba(255, 255, 255, 0.3);
}

/* .info-list の row-gap は不要に */
.information .info-list {
  display: block;
}

/* 各記事要素は block 要素として並ぶ */
.information .info-item {
  display: block;
}

.information .info-number {
  position: absolute;
  /* top: 16px; */
  left: 16px;
  z-index: 5; /* 背景より前面 */
  color: rgba(255, 255, 255, 0.3);
  font-family: Helvetica, sans-serif;
  font-size: 96px;
  font-weight: 700;
  letter-spacing: 9.6px;
}

/* ─ サムネあり ─ */
.information .info-item--with-thumb .info-number {
  /* サムネ内の余白に合わせる */
  top: -75px;
}

/* ─ サムネなし ─ */
.information .info-item--no-thumb .info-number {
  /* 白ボックスの上端に合わせたい場合はお好みで調整 */
  top: -114px; /* 例：サムネ高さ分 + コンテンツ上余白 */
}
.information .info-item > a {
  position: relative;
  z-index: 2;
  display: block;
}
/* 日付やテキストは既存スタイルに合わせて上書きしてください */

.info-no-posts {
  text-align: center;
  color: #fff;
  font-family: "Gothic A1", sans-serif;
  font-size: 24px;
  margin: 40px 0;
}

/* サムネイル */
.information .info-thumb {
  position: relative;
  width: 100%;
  margin-bottom: 0; /* 下余白リセット */
  z-index: 4;
}

.information .info-thumb img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 300px;
}

/* 白いボックス内コンテンツ */
/* 白ボックス内のリンクを領域いっぱいに */
.information .info-content {
  position: relative;
  top: -40px; /* ビジュアル用にずらす */
  padding: 56px 16px 16px;
  background: #fff;
  z-index: 1;
  box-sizing: border-box;
}

/* リンク自体をブロック化して領域いっぱいに */
.information .info-content-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* hover 時などの演出（任意） */
.information .info-content-link:hover .info-date,
.information .info-content-link:hover .info-excerpt {
  /* 例：色を少し変える */
  color: #0074a2;
  transition: 0.3s;
}

/* 日付 */
.information .info-date {
  color: #000;
  font-family: "Helvetica Neue", sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2.4px;
  margin-bottom: 12px;
}

/* 抜粋テキスト */
.information .info-excerpt {
  color: #000;
  text-align: justify;
  font-family: "Gothic A1", sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

/* ④ カテゴリタグ */
.information .info-tags {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.information .info-tags .tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 75px;
  height: 22px;
  border: 1px solid var(--blue_1, #29abe2);
  color: #000;
  /* font-family: "Gothic A1", sans-serif; */
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-decoration: none;
}

.info-excerpt--sp {
  display: block;
}
.info-excerpt--pc {
  display: none;
}

/* ==============================
   PC 用メディアクエリ（1024px以上）
   Information セクション
   ============================== */
@media screen and (min-width: 1024px) {
  .info-excerpt--sp {
    display: none;
  }
  .info-excerpt--pc {
    display: block;
  }

  .information {
    background-image: url("../images/information_back-pc.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
    padding: 8% 80px 88px;
    position: relative; /* ::after 用 */
    -webkit-clip-path: polygon(0 0, 100% 0, 161% 85%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 161% 85%, 0 100%);
  }

  .info-title {
    font-size: 48px !important;
    letter-spacing: 4.8px;
  }

  /* ２カラムになる投稿一覧 */
  .information .info-list {
    display: flex;
    flex-direction: column;
    gap: 100px;
    position: relative;
    z-index: 1; /* 背景文字より前面 */
  }

  .information .info-item {
    display: flex;
    /* ← ここを flex-start から stretch に */
    align-items: stretch;
    gap: 40px;
    position: relative;
    margin-bottom: 0; /* gap で制御 */
  }

  /* 左：サムネ固定サイズ */
  .information .info-thumb {
    flex: 0 0 400px;
    width: 400px;
    height: 250px;
    overflow: hidden;
    background: transparent;
  }
  .information .info-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* 右：白ボックス、高さはサムネに合わせて stretch */
  .information .info-content {
    flex: 1;
    width: 720px;
    height: 250px;
    background: #fff;
    padding: 32px;
    box-sizing: border-box;
    margin-top: 0;
    top: 0;
  }

  /* 左上の大きな番号 */
  .information .info-number {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    color: rgba(255, 255, 255, 0.3);
  }

  /* 背景文字 “Information” */
  .information::after {
    content: "Information";
    position: absolute;
    bottom: 163px;
    right: 80px;
    color: rgba(255, 255, 255, 0.3);
    font-family: Impact, sans-serif;
    font-size: 128px;
    font-weight: 400;
    letter-spacing: 12.8px;
    line-height: 1;
    z-index: 0;
    pointer-events: none;
  }

  .information .info-tags {
    position: absolute;
    bottom: 20px;
    right: 28px;
    display: flex;
    gap: 10px;
  }

  /* ── 空サムネ placeholder を必ず表示 ── */
  .info-thumb--placeholder {
    display: block;
  }

  /* ── 数字を常にサムネ内余白と同じ位置に固定 ── */
  .information .info-number {
    top: -74px !important;
  }
}
/* SP版（1023px以下）では placeholder 非表示、数字位置はこれまで通り */
@media screen and (max-width: 1023px) {
  .info-thumb--placeholder {
    display: none;
  }
  /* SP版の数字位置をいじらないならここには何も書きません */
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .information .info-list {
    margin: 0 14% 0;
  }
}

/* ------------------------------
   About Us セクション
------------------------------ */
.aboutus {
  position: relative; /* 影用の擬似要素を配置するため */
  margin-top: clamp(-10.063rem, -13.452rem + 6.61vw, -7.5rem);
  padding-top: 200px; /* 元の80px＋引き上げ分120px */
  padding-bottom: 80px;
  background-image: url("../images/aboutus_back.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  overflow: visible;
}

/* About Us の上端にだけ下向き影を落とす */
.aboutus::before {
  content: "";
  position: absolute;
  top: 41px;
  left: 0;
  width: 100%;
  height: 7%;
  transform-origin: bottom left;
  background: transparent;
  box-shadow: -7px 16px 16px 20px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  z-index: 0;
}

/* About Us コンテンツを影の上に */
.aboutus > * {
  position: relative;
  z-index: 1;
}

/* ヘッダーは Information と同じ流用 */
.aboutus-header {
  text-align: center;
  margin-bottom: 115px;
}
.aboutus-header .info-line {
  width: 2px;
  height: 40px;
  background: #fff;
  margin: 0 auto 16px;
}
.aboutus-header .info-title {
  font-family: Impact, sans-serif;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: 3.6px;
  color: #000;
  margin: 0;
}
.aboutus-header .info-subtitle {
  font-family: "Gothic A1", sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 2.4px;
  color: var(--blue_1, #29abe2); /* サブだけ色変更 */
  margin: 13px 0 0;
}

/* 3つの箱を縦並び */
.aboutus-list {
  display: grid;
  row-gap: 120px;
  justify-items: center;
}

/* 各アイテム */
.aboutus-item {
  position: relative;
  width: 328.125px;
  height: 230px;
}

/* 左上の連番（色のみ変更） */
.aboutus-item .info-number {
  position: absolute;
  top: -72px;
  left: -1px;
  z-index: 2;
  color: var(--blue_3, #98cce1);
  font-family: Helvetica, sans-serif;
  font-size: 96px;
  font-weight: 700;
  letter-spacing: 9.6px;
  z-index: auto;
}

/* リンクをブロック要素化 */
.aboutus-item-link {
  display: block;
  text-decoration: none;
}

/* 画像を含む箱 */
.aboutus-item .box {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.aboutus-item .box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* box の上に白い枠線（画像より小さく） */
.aboutus-item .box::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  border: 2px solid var(--white, #fff);
  pointer-events: none;
  z-index: 2;
}

.aboutus-item .box-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center; /* 縦方向中央寄せ */
  justify-content: center; /* 横方向中央寄せ */
  pointer-events: none;
  z-index: 3;
}
.aboutus-item .box-label {
  background: #fff;
  padding: 8px 16px;
  font-family: "Gothic A1", sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 2.4px;
  color: #000;
  line-height: 1; /* テキスト行間をリセット */
  white-space: nowrap;
}

/* 各要素ホバー時に画像を拡大 */
.aboutus-item .box {
  overflow: hidden; /* はみ出した部分を隠す */
}
.aboutus-item .box img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.6s ease; /* 拡大時のアニメーション */
}
.aboutus-item-link:hover .box img {
  transform: scale(1.1); /* ホバーで10%拡大 */
}

/* お問い合わせボタン */
.aboutus-more {
  text-align: center;
  margin-top: 60px;
}

.aboutus-more .more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 350px;
  height: 70px;
  background: linear-gradient(90deg, #165e7c 0%, #29abe2 50.48%);
  box-shadow: 5px 5px 8px 0 rgba(0, 0, 0, 0.2);
  color: var(--white, #fff);
  font-family: "Gothic A1", sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 2.4px;
  text-decoration: none;
  line-height: normal;
}

@media screen and (min-width: 1024px) {
  /* ① 横スクロールはラッパーだけに */
  .aboutus-scroll {
    /* .info-number の top:-72px に合わせて調整 */
    margin-top: -72px;
    padding-top: 72px;
    padding-bottom: 14px;
    overflow-x: auto; /* 横スクロールだけ ON */
    overflow-y: hidden; /* 縦方向は OFF */
    -webkit-overflow-scrolling: touch;
  }

  /* ② 実際に横並びさせるリスト本体 */
  .aboutus-list {
    display: flex;
    flex-wrap: nowrap; /* 折り返さない */
    gap: 5%;
    overflow: visible; /* 中身のはみ出し許可 */
    justify-content: center;
  }

  /* ③ 各アイテムは縮めず固定幅で */
  .aboutus-list > .aboutus-item {
    flex: 0 0 auto;
    position: relative; /* .info-number の絶対配置基準 */
  }

  /* ④ 数字を絶対配置でリスト外にはみ出し表示 */
  .aboutus-list > .aboutus-item .info-number {
    position: absolute;
    top: -72px; /* お好みで調整 */
    left: -1px; /* お好みで調整 */
    z-index: auto;
  }

  /* ⑤ シンプルなスクロールバー */
  .aboutus-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
  }
  .aboutus-scroll::-webkit-scrollbar {
    height: 6px;
  }
  .aboutus-scroll::-webkit-scrollbar-track {
    background: transparent;
  }
  .aboutus-scroll::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
  }
}

/* ===========================
   SP版フッター用スタイル
   =========================== */
.site-footer {
  background: #fff;
  padding: 32px 16px;
  text-align: center;
}

.footer-company {
  color: #000;
  font-family: Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 1.6px;
  margin-bottom: 14px;
}

.footer-tel {
  color: #000;
  font-family: Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 1.6px;
  margin-bottom: 17px;
}

.footer-postcode {
  color: #000;
  font-family: Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.2px;
  margin-bottom: 4px;
}

.footer-address {
  color: #000;
  font-family: "Gothic A1", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.3px;
  margin-bottom: 35px;
  line-height: 16px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 25px;
}

.footer-nav-link,
.footer-nav-title {
  color: var(--blue_1, #29abe2);
  font-family: "Gothic A1", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-decoration: none;
  margin-bottom: 13px;
}

.footer-nav-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-subnav {
  color: #000;
  font-family: "Gothic A1", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.3px;
  text-decoration: none;
  margin: 7px 0;
}

.footer-policy {
  margin: 16px 0;
}

.footer-policy a {
  color: #000;
  font-family: "Gothic A1", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.3px;
  text-decoration: none;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 16px;
}

.footer-social img {
  width: 25px;
  height: 25.462px;
}

.footer-logo {
  margin-bottom: 24px;
}

.footer-logo img {
  width: 59px;
  height: 59px;
}

.footer-inner > .aboutus-more {
  margin: 0;
}

.footer-left {
  width: fit-content;
  margin: 0 auto;
  text-align: left;
  white-space: nowrap;
}

.footer-nav {
  display: flex; /* ← Flexbox を有効化 */
  flex-direction: row; /* ← 横並びを明示 */
  align-items: baseline; /* ← 上端を揃える */
  justify-content: center; /* ← 横幅の中央寄せ（必要に応じて start / space-between などに） */
  gap: 78px; /* ← 要素間のスペース */
}

.footer-flex,
.footer-nav-group {
  flex: 0 0 auto; /* ← 幅を内容に合わせて固定 */
  width: auto; /* ← もし width:100% などが効いていたらリセット */
}

/* フッター ナビゲーション リンク共通 */
.footer-nav a {
  position: relative;
  display: inline-block;
  padding-bottom: 4px; /* 下線用の隙間 */
  text-decoration: none;
  transition: color 0.3s;
}

/* 擬似要素で下線を用意 */
.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--blue_1, #29abe2);
  transition: width 0.3s ease;
}

/* ホバーで下線が伸びる */
.footer-nav a:hover::after {
  width: 100%;
}

/* ==============================
   PC 用メディアクエリ（1024px以上）
   footer セクション
   ============================== */

@media screen and (min-width: 1024px) {
  /* フッター全体を 3 列 3 行のグリッドに */
  .site-footer .footer-inner {
    display: grid;
    grid-template-columns: auto auto max-content;
    grid-template-rows: auto auto auto;
    column-gap: 60px; /* 左カラム⇔ナビの間隔 */
    row-gap: 16px; /* 各縦アイテム間の間隔 */
    align-items: start;
    justify-content: space-between;
    padding: 0 10%; /* お好みで左右 padding 調整 */
  }

  .site-footer {
    padding: 1px 16px 4px;
  }

  /* 左カラム（会社情報を 3 行にまたがせる） */
  .footer-left {
    grid-column: 1;
    grid-row: 1 / span 3;
    text-align: left;
  }

  /* 中央カラム（ナビ） */
  .footer-nav {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    gap: 60px; /* お知らせ ⇔ 会社案内の間隔 */
  }

  /* 右カラム：1 行目＝お問い合わせボタン */

  /* 右カラム：2 行目＝SNS アイコン */
  .footer-social {
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
    display: flex;
    gap: 30px; /* アイコン間の間隔 */
  }

  /* 右カラム：3 行目＝企業ロゴ */
  .footer-logo {
    grid-column: 3;
    grid-row: 3;
    justify-self: end;
  }

  .footer-inner > .aboutus-more .more-button {
    width: 156px;
    height: 40px;
    font-size: 15px;
    /* テキストを縦中央に */
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* ── SNSアイコンとロゴを同じグリッド列・右端揃え ── */
  .footer-social,
  .footer-logo {
    grid-column: 3;
    justify-self: anchor-center;
  }

  .footer-left,
  .footer-nav,
  .footer-inner > .aboutus-more {
    position: relative;
    top: 73px; /* お好みで調整 */
  }
}

/* ──────────────────────────
   お知らせページ
────────────────────────── */

.info-header-sub {
  position: relative;
  width: 100%;
  height: 500px; /* 適宜ヘッダー高さに合わせる */
  overflow: hidden;
}

.info-header-sub .info-header-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 101%;
  height: 100%;
  background: url("../images/info-header.png") no-repeat center;
  background-size: cover;
}

.info-header-sub .info-header-content {
  position: absolute;
  top: 54%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}

.info-header-sub .info-header-main {
  font-family: "Gothic A1", sans-serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 3.2px;
  margin: 0;
}

.info-header-sub .info-header-subtitle {
  font-family: Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.6px;
  margin: 15px 0 0;
}

.info-header-sub .info-header-tagline {
  position: absolute;
  bottom: -287%;
  left: 50%;
  transform: translateX(-50%);
  font-family: Impact, sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 3px;
  line-height: 45px;
  margin: 0;
  white-space: nowrap;
}

/* 情報セクション全体の背景・クリップ類をリセット */
.info-page .information {
  background-image: none !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
  filter: none !important;
}

.info-page .info-header {
  margin: 0 auto 50px;
}

.info-page .info-item {
  margin-bottom: 20px;
  z-index: 1;
}

/* ::before/::after のウォーターマーク影を消去 */
.info-page .information::before,
.info-page .information::after {
  display: none !important;
}

/* 左上の投稿番号を非表示 */
.info-page .information .info-number {
  display: none !important;
}

/* サムネ下の三角クリップ等も完全に消去 */
.info-page .information .info-thumb::before,
.info-page .information .info-thumb::after {
  display: none !important;
}

/* タイトル用スタイル（お好みで調整） */
.info-page .info-entry-title {
  margin: 8px 0 0;
  color: #000;
  font-family: "Gothic A1", sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1.6px;
  line-height: 1.4;
}

/* ページネーション全体 */
.info-page .info-pagination {
  text-align: center;
}

/* リスト形式をフレックスで横並びに */
.info-page .info-pagination .page-numbers {
  list-style: none;
  padding: 0;
  margin: -50px 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.info-page .info-pagination .page-numbers li {
  margin: 0;
}

.info-page .info-pagination .page-numbers a,
.info-page .info-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(
    --blue_1,
    #29abe2
  ); /* 非アクティブはテーマカラーで塗りつぶし */
  color: #fff; /* 数字は白 */
  border: 2px solid var(--blue_1, #29abe2); /* 枠線もテーマカラー */
  border-radius: 4px;
  font-family: "Gothic A1", sans-serif;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
}

.info-page .info-pagination .page-numbers .current {
  background: #fff; /* アクティブは白背景 */
  color: var(--blue_1, #29abe2); /* 数字はテーマカラー */
  border-color: var(--blue_1, #29abe2); /* 枠線もテーマカラー */
}

/* ==============================
   PC 用メディアクエリ（1024px以上）
   お知らせページ
   ============================== */
@media screen and (min-width: 1024px) {
  .info-header-sub .info-header-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: url("../images/info-header.png") no-repeat center;
    background-size: cover;
  }

  .info-header-sub .info-header-content {
    position: absolute;
    top: 54%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
  }

  .info-header-sub .info-header-main {
    font-size: clamp(2rem, 0.769rem + 1.92vw, 2.5rem);
    letter-spacing: 4px;
  }

  .info-header-sub .info-header-subtitle {
    font-size: clamp(1rem, 0.385rem + 0.96vw, 1.25rem);
    margin: 15% 0 0;
  }

  .info-header-sub .info-header-tagline {
    top: 200px;
    left: clamp(27.188rem, -2.043rem + 45.67vw, 39.063rem);
    font-size: clamp(1.25rem, -1.827rem + 4.81vw, 2.5rem);
    letter-spacing: 6px;
  }

  /* ① 最新投稿を重ね合わせの基準に */
  .info-page .info-list .info-item:first-child {
    position: relative;
    z-index: 1;
  }

  .info-page .information {
    position: relative; /* これがないと absolute な ::after は基準を持ちません */
    overflow: hidden;
  }

  .info-page .info-list {
    gap: 60px;
    margin-top: 10%;
  }

  /* ② 疑似要素で背景画像を最新投稿の直下・左端に配置＆ブレンド */
  .info-page .info-list .info-item:first-child::after {
    content: "";
    position: absolute;
    top: 75%; /* 記事要素のすぐ下 */
    left: -80px; /* 左端揃え */
    width: clamp(47.188rem, 26.605rem + 40.16vw, 62.75rem); /* 指定のサイズ */
    height: 630px; /* 指定のサイズ */
    background-image: url("../images/info-page-back1.png");
    background-repeat: no-repeat;
    background-position: top left;
    background-size: contain;
    /* 背景色との乗算合成 */
    background-color: var(--blue_1, #29abe2);
    background-blend-mode: multiply;
    pointer-events: none; /* クリックを邪魔しない */
    z-index: 0; /* コンテンツより背面 */
  }

  .info-page .info-list .info-item:nth-child(4) {
    position: relative;
    z-index: 1;
  }

  /* ⑤ 疑似要素で背景画像を4つ目投稿の直下・右端に配置＆ブレンド */
  .info-page .info-list .info-item:nth-child(4)::after {
    content: "";
    position: absolute;
    top: 107%; /* 投稿要素のすぐ下 */
    right: -80px; /* 右端から少しはみ出して配置 */
    width: clamp(47.188rem, 26.605rem + 40.16vw, 62.75rem);
    height: 630px;
    background-image: url("../images/info-page-back2.png");
    background-repeat: no-repeat;
    background-position: top right;
    background-size: contain;
    /* 背景色との乗算合成 */
    background-color: var(--blue_1, #29abe2);
    background-blend-mode: multiply;
    pointer-events: none; /* インタラクションを邪魔しない */
    z-index: 0; /* コンテンツより背面 */
  }

  .info-page .info-content {
    flex: 0.9;
  }

  /* ③ フッターにかぶる場合は見切れさせる */
  .info-page .information {
    overflow: hidden;
  }

  /* 追加：右端に縦置き透かし文字 */
  .info-page .information::after {
    content: "To the future, together.";
    position: absolute;
    bottom: 1184px;
    right: -690px;
    transform: rotate(270deg);
    /* transform-origin: bottom right; */
    color: rgba(255, 255, 255, 0.3);
    font-family: Impact, sans-serif;
    font-size: 128px;
    letter-spacing: 12.8px;
    line-height: 1;
    pointer-events: none;
    z-index: 3;
    display: block !important;
    white-space: nowrap;
  }

  .info-page .info-pagination {
    z-index: 1;
    position: relative;
  }
  /* リスト形式をフレックスで横並びに */
  .info-page .info-pagination .page-numbers {
    gap: 2%;
    margin: 0;
  }

  .info-page .info-pagination .page-numbers .current {
    border: 2px solid #fff;
  }

  .info-page .info-pagination .page-numbers a,
  .info-page .info-pagination .page-numbers span {
    background: transparent;
    border: 2px solid #fff;
  }
}

/* ──────────────────────────
   会社情報ページ
────────────────────────── */
.aboutus-page > .info-header-sub .info-header-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 101%;
  height: 100%;
  background: url("../images/company-header.png") no-repeat center;
  background-size: cover;
}

.aboutus-page > .information::after {
  display: none;
}

.aboutus-page .greeting-avatar {
  position: relative;
  width: 250px;
  height: 250px;
  margin: 0 auto 45px;
}
.aboutus-page .greeting-avatar img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.aboutus-page .greeting-avatar .greeting-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-4deg);
  pointer-events: none;
  width: 320px;
  height: auto;
}

.greeting-overlay.pc-only {
  display: none;
}

.aboutus-page .greeting-name {
  text-align: center;
  margin-top: 16px;
}
.aboutus-page .greeting-title {
  color: #fff;
  font-family: "Gothic A1", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 33px; /* 183.333% */
  letter-spacing: 1.8px;
  margin: 0;
}
.aboutus-page .greeting-person {
  color: #fff;
  font-family: "Gothic A1", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 33px; /* 137.5% */
  letter-spacing: 2.4px;
  margin: 4px 0 0;
}

.aboutus-page .greeting-text {
  margin-top: 24px;
  color: var(--white, #fff);
  text-align: justify;
  font-family: "Gothic A1", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 33px; /* 183.333% */
  letter-spacing: 1.8px;
}

/* 事業案内 */
.aboutus-page > .aboutus {
  background-image: url("../images/aboutus-page-back.png");
}

.aboutus-page .aboutus-header {
  margin-bottom: 30px;
}

.aboutus .business-content {
  display: flex;
  justify-content: center;
  padding: 40px 16px; /* 上下 padding はお好みで */
}

.aboutus .business-box {
  background: rgba(255, 255, 255, 0.85);
  padding: 32px;
  max-width: 800px; /* 横幅上限。不要なら削除 */
  width: 100%;
  box-sizing: border-box;
}

.aboutus .business-text {
  margin: 0;
  color: #000;
  text-align: center;
  font-family: "Hiragino Mincho ProN", serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5; /* 通常の「normal」より少し広め */
  letter-spacing: 2.4px;
  white-space: normal;
  /* 長い単語でも改行を許可 */
  overflow-wrap: break-word;
  word-break: break-all;
}

/* 影 */
.aboutus-page .aboutus::before {
  content: "";
  position: absolute;
  top: 99px;
  left: 0;
  width: 100%;
  height: 6%;
  box-shadow: -9px 20px 16px 20px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  z-index: 0;
}

/* 下部切り抜き */
.aboutus-page > .business-section {
  -webkit-clip-path: polygon(0 0, 100% 0, 250% 85%, 0 100%);
  clip-path: polygon(0 0, 100% 0, 250% 68%, 0 100%);
}

/* 企業情報 */
.company-section > .aboutus {
  background-image: url("../images/aboutus-page-back2.png");
  background-color: var(--blue_1, #29abe2);
  background-blend-mode: multiply;
  padding-bottom: 140px;
}

/* 白背景のラッパー */
.company-section .aboutus .company-info {
  background: rgba(255, 255, 255, 0.85);
  padding: 32px;
  margin: 40px auto 0;
  max-width: 800px; /* 必要に応じて調整 */
  width: calc(100% - 32px);
  box-sizing: border-box;
}

/* 各項目を縦並びに */
.company-section .aboutus .company-info-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-bottom: 1px solid var(--black, #000);
  padding: 8px 0;
}

/* ラベルは上部ブロック表示＆下マージン＋元のフォント指定 */
.company-section .aboutus .company-info-label {
  display: block;
  margin-bottom: 4px;
  color: var(--black, #000);
  font-family: "Gothic A1", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 30px; /* 200% */
  letter-spacing: 1.5px;
}

/* 値もブロック表示＋元のフォント指定 */
.company-section .aboutus .company-info-value {
  display: block;
  color: var(--black, #000);
  font-family: "Gothic A1", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 30px; /* 166.667% */
  letter-spacing: 1.8px;
}

/* About Us テンプレート内の Greeting（情報）セクションだけを最前面に */
.aboutus-page > section.information {
  position: relative;
  z-index: 3;
}

/* About Us テンプレート内の Business セクションだけを中間レイヤーに */
.aboutus-page > section.aboutus.business-section {
  position: relative;
  z-index: 2;
}

/* Company セクション（company-section 配下）だけを最背面に */
.company-section > section.aboutus {
  position: relative;
  z-index: 1;
}

/* Company セクション（company-section 配下）の ::before を完全に消す */
.company-section > section.aboutus::before {
  content: none !important;
  display: none !important;
  box-shadow: none !important;
}

/* ===========================
   SP版投稿詳細用スタイル
   =========================== */
body {
  background-color: #fff !important; /* ← 必ず白などに戻す */
}

.single-post {
  width: 100%;
  max-width: 1440px; /* これで1440px以上に広がらない */
  margin: 0 auto;
  padding-bottom: 2%;
  background-color: var(--blue_1, #29abe2);
}

.single-post .info-header {
  margin: 0 auto 60px;
  padding-top: 120px;
}

.post-content {
  margin: 0 3%;
  padding: 4%;
  background-color: #fff;
}
.post-title {
  font-family: "Gothic A1", sans-serif;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 2px;
  margin: 12px 0;
  padding-bottom: 10px;
  border-bottom: solid 1px #000;
}

/* メタ情報（日付＋カテゴリ）横並び */
.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px 0;
  flex-wrap: wrap;
}

/* 日付 */
.post-date {
  font-family: "Gothic A1", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #000;
  letter-spacing: 1.4px;
}

/* タグのスタイル（.info-tags と .tag） */
.post-category.info-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.post-category.info-tags .tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  height: 22px;
  border: 1px solid #29abe2;
  color: #000;
  font-family: "Gothic A1", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.3px;
  background-color: transparent;
  border-radius: 2px;
}

.post-body {
  color: var(--white, #000);
  text-align: justify;
  font-family: "Gothic A1", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 33px;
  letter-spacing: 1px;
  overflow-wrap: break-word;
  word-break: break-all;
}

.post-slider {
  width: 100%;
  max-width: 800px;
  margin: 24px auto;
}
.post-slider img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 500px;
  object-fit: contain;
}

.swiper-button-next,
.swiper-button-prev {
  color: #fff !important;
}

.swiper-wrapper {
  position: relative;
  align-items: center;
}

@media screen and (min-width: 1024px) {
  .post-content {
    margin: 9% 7%;
    padding: 4%;
  }
}

/* ==============================
   PC 用メディアクエリ（1024px以上）
   会社情報ページ
   ============================== */
@media screen and (min-width: 1024px) {
  /* モバイル用オーバーレイを隠す */
  .greeting-overlay:not(.pc-only) {
    display: none;
  }
  /* PC用オーバーレイを表示する */
  .greeting-overlay.pc-only {
    display: block;
    width: 218% !important;
    transform: translate(-50%, -50%) rotate(3deg) !important;
  }

  .aboutus-page .greeting-text {
    text-align: center;
    line-height: 33px;
  }

  .greeting {
    margin-bottom: 4%;
  }

  .aboutus-page .greeting-text {
    width: max-content;
    margin: 33px auto;
  }
}

/* ==============================
   PC 用メディアクエリ（768px以上1024px未満用）
   会社情報ページ
   ============================== */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .aboutus-page .greeting-text {
    margin: 6%;
  }

  .aboutus .business-box {
    background: rgba(255, 255, 255, 0.85);
    padding: 32px;
    max-width: 566px; /* 横幅上限。不要なら削除 */
    width: 100%;
    box-sizing: border-box;
  }
}

/* ==============================
   影用メディアクエリ
   ============================== */
@media screen and (max-width: 767px) {
  .aboutus::before {
    transform: skewY(-13deg);
  }
}

@media screen and (min-width: 768px) {
  .aboutus::before {
    transform: skewY(-7deg);
  }

  .aboutus-page .aboutus::before {
    transform: skewY(-4.5deg);
  }
}

@media screen and (min-width: 1024px) {
  .aboutus::before {
    transform: skewY(-6deg);
    top: 8%;
  }
  .aboutus-page .aboutus::before {
    height: 4%;
    transform: skewY(-6deg);
  }
}

@media screen and (min-width: 1300px) {
  .aboutus::before {
    transform: skewY(-5deg);
    top: 0.5%;
  }

  .aboutus-page .aboutus::before {
    height: 2%;
  }
}

@media screen and (min-width: 1440px) {
  .aboutus::before {
    transform: skewY(-4.5deg);
    top: 5%;
  }

  .aboutus-page .aboutus::before {
    transform: skewY(-5deg);
  }
}
.company-section .aboutus {
  /* 要素自体にかかっているクリップを無効化 */
  clip-path: none !important;
  -webkit-clip-path: none !important;
}
