@charset "utf-8";

:root {
  --ink: #171717;
  --muted: #666;
  --line: #eee;
  --indigoblue: #1a237e;
  --chip: #f6f6f6;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(0, 0, 0, .06)
}

.container {
  /* width: min(1120px, 92vw); */
  margin-inline: auto;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 2vw, 16px)
}

.row {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 16px);
  flex-wrap: wrap
}

.muted {
  color: var(--muted)
}


/*******************************************************
front-page.php #hero
*******************************************************/
.hero {
  position: relative;
  min-height: 55vh;
  background: #000;
  color: #fff;
  display: grid;
  place-items: center;
  height: 50vh;
}

.hero .hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden
}

.hero .hero-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
}

.hero .hero-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .72
}

.hero .hero-slider .slide.is-active {
  opacity: 1
}

.hero__pagination {
  position: absolute;
  inset: auto 0 24px 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 3
}

.hero__dot {
  width: 3px;
  height: 3px;
  /* border-radius: 50%; */
  background: rgba(255, 255, 255, .5);
  border: none;
}

.hero__dot.is-active {
  background: #fff
}

.hero__center {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
}

.hero_font-size {
  font-size: 3.5rem;
  font-weight: 600;
}

.kiriya-badge {
  display: inline-block;
  padding: .55rem 1rem;
  border: 2px solid #fff;
  border-radius: 999px;
  font-weight: 800;
  text-align: center;
  letter-spacing: .3em;
  background: rgba(0, 0, 0, .25);
  font-size: 1.8rem;
}

.kiriya-badge:last-child {
  margin-right: -0.3em;
}

.side-menu {
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  color: #fff;
  z-index: 2
}

.side-menu ul {
  display: grid;
  gap: 8px
}

.side-menu a {
  display: inline-block;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  padding: .45rem .7rem;
  border-radius: 999px;
  font-size: 13px
}



@media (min-width:1024px) {
  .side-menu {
    display: block
  }
}

@media (max-width:900px) {
  .hero_font-size {
    font-size: 2.0rem;
    padding: 0 10px;
    margin-top: 20px;
  }
}


/*******************************************************
front-page.php 会社の想いの部分
*******************************************************/

section#top-omoi {
    padding-top: 80px;
}

section#top-omoi h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 1.6em;
  margin-top: 40px;
  font-size: 38px;
  line-height: 1.25;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.25rem;
}

section#top-omoi h2:before {
  position: absolute;
  bottom: -1.8rem;
  left: 22%;
  text-transform: uppercase;
  content: 'THOUGHTS';
  margin: auto;
  line-height: 26px;
  font-family: "Roboto", system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: .12em;
  color: #00819d;
  font-size: 18px;
}


.hk-intro {
  width: min(1100px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  align-items: center;
}

.hk-intro__media {
  flex: 0 0 min(260px, 16%);
}

.hk-intro__img {
  width: 100%;
  height: auto;
  display: block;
}

.hk-intro__body {
  flex: 1;
  text-align: left;
  width: 100%;
}

.hk-intro__title {
  margin: 0 0 10px;
  line-height: 1.4;
}

.hk-intro__text {
  margin: 0;
  line-height: 1.9;
}

/* SP：縦並び */
@media (max-width: 767px) {
  section#top-omoi {
    padding-top: 20px;
}

  .hk-intro {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hk-intro__media {
    flex-basis: auto;
    width: 100%;
  }

  .hk-intro__img {
    width: 80%;
    height: auto;
    display: block;
  }

  section#top-omoi h2 {
    font-size: 28px;
  }

  section#top-omoi h2:before {
    left: 17%;
    font-size: 16px;
  }

  #top-features h2 {
    font-size: 28px;
  }

  #top-features h2:before {
    left: 41%;
    font-size: 16px;
  }

  .hk-intro__body {
    width: 100%;
}
}



/*******************************************************
front-page.php #news
*******************************************************/
.news {
  background: #fff;
  padding-bottom: 60px;
}

.news__head {
  display: flex;
  align-items: center;
  gap: 18px
}

.news__list {
  display: grid;
  gap: 16px;
  margin-top: 14px
}

.news__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff
}

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

.newsList__item {
  border-bottom: 1px solid rgba(0, 0, 0, .15);
}

.newsList__link {
  display: flex;
  gap: 20px;
  align-items: baseline;
  padding: 14px 0;
  text-decoration: none;
  color: inherit;
}

.newsList__date {
  flex: 0 0 auto;
  font-weight: 600;
  color: #00819d;
  width: 60px;
}

.newsList__cat {
  flex: 0 0 auto;
  font-size: .85em;
  padding: 2px 8px;
  border: 1px solid rgba(0, 0, 0, .25);
  width: 100px;
  text-align: center;
}

.newsList__title {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 1件目だけ padding-top を消す */
.newsList__item:first-child .newsList__link {
  padding-top: 0;
}

/* NEWS一覧をスクロール可能にする */
.news__body {
  max-height: 220px;
  /* ← 好きな高さに調整 */
  overflow-y: auto;
  padding-right: 6px;
  /* スクロールバー分の逃げ */
}

/* SP：縦並び */
@media (max-width: 767px) {
  .newsList__link {
    display: flex;
    gap: 6px;
    flex-direction: column;
  }

  .news__body {
    max-height: 230px;
  }
}



/*******************************************************
front-page.php #fiber
*******************************************************/
.fiber {
  padding: 120px 0 160px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fiber .container {
  position: relative;
  max-width: 9999px;
  width: 100%;
}

.fiber .bg-square-gray {
  position: absolute;
  right: 0;
  top: 30%;
  background-color: #f7f7f7;
  /* background-color: rgba(26, 35, 126,.1); */
  z-index: 4;
  width: 70vw;
  height: 15em;
}

.fiber .inner {
  position: relative;
  z-index: 5;
  max-width: 960px;
  width: 80vw;
  margin: 0 auto;
}

.fiber h2 {
  font-size: clamp(20px, 2.6vw, 26px);
  margin: 0px 0 50px 0;
  text-align: center;
  letter-spacing: 0.05em;
}

.fiber p {
  /* max-width: 80ch; */
  margin-inline: auto;
  line-height: 1.8;
  font-size: 1rem;
}

/*******************************************************
front-page.php #about
*******************************************************/
.about {
  position: relative;
  padding: 72px 0;
  background: #f7f7f7;
  overflow: hidden
}

.about .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: .15;
}

.about .veil {
  position: absolute;
  inset: auto 0 0 0;
  top: 18%;
  height: 56%;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(2px)
}

.about__inner {
  position: relative;
  z-index: 2
}

.about__h {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.4;
  color: var(--indigoblue);
  /* letter-spacing: 0.1em; */
}

.about__p {
  max-width: 80ch;
  color: #333;
  letter-spacing: 0.05em;
  margin-left: 20ch;
  line-height: 2em;
}

.about__side {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: .2em;
  color: #333;
  font-weight: 700
}

.about__layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  align-items: center;
}

@media (max-width:900px) {
  .about__layout {
    display: grid;
    gap: 0;
  }

  .about__side {
    writing-mode: horizontal-tb;
    transform: none;
    order: -1
  }

  .about__p {
    max-width: 100vw;
    margin-left: 0;
  }
}


/*******************************************************
front-page.php  work　施工実績
*******************************************************/
/* 共通（モバイルファースト） */
.works {
  padding: 80px 0;
}

#works {
  width: 100%;
  background: #f8f7f2;
}

#works .worksBox {
  width: 100%;
}

#works .worksBox .inner {
  display: flex;
  flex-direction: column;
  /* 画像 → テキストの順ならここを変える */
  width: 100%;
}

#works .worksBox .inner .inner-text p {
  border-left: 0.5px solid #1a237E;
  margin-left: 0;
  padding-left: 1em;
  margin-top: 2em;
}

/* テキスト・画像はまずは普通にブロックで */
#works .worksBox .inner .inner-text,
#works .worksBox .inner .inner-img {
  position: static;
  /* ← デフォルトは通常フロー */
  width: 100%;
}

/* スマホ用の余白だけ整える */
#works .worksBox .inner .inner-text {
  background-color: #f7f7f7;
  padding: 32px 20px;
}

#works .worksBox .inner .inner-img img {
  width: 100%;
  display: block;
}

#works .worksBox:nth-child(even) .inner {
  flex-direction: column-reverse;
}

/* PCレイアウト：992px以上のときだけ絶対配置をオン */
@media screen and (min-width: 992px) {

  #works .worksBox .inner {
    position: relative;
    /* 子 absolute の基準にする */
    min-height: 300px;
    /* 親の高さを確保 */
    margin-bottom: 80px;
  }

  /* ---- デフォルト（奇数：テキスト左／画像右） ---- */
  #works .worksBox .inner .inner-text {
    position: absolute;
    top: 40px;
    left: 0;
    z-index: 4;
    width: 65vw;
    background-color: #f7f7f7;
    padding: 40px 60px 40px calc((100% - 1200px)/2);
  }

  #works .worksBox .inner .inner-img {
    position: absolute;
    top: 0;
    right: calc((100% - 1200px)/2);
    z-index: 5;
    width: 30vw;
    max-width: 480px;
  }

  #works .worksBox .inner .inner-img img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* ---- 偶数番目：左右反転（テキスト右／画像左） ---- */
  #works .worksBox:nth-child(even) .inner .inner-text {
    left: auto;
    right: 0;
    /* テキストを右側に寄せる */
    padding: 40px calc((100% - 1200px)/2) 40px 60px;
    /* 必要なら文字寄せも変えられます：
           text-align: left のままでもOK */
  }

  #works .worksBox:nth-child(even) .inner .inner-img {
    right: auto;
    left: calc((100% - 1200px)/2);
    /* 画像を左側に */
  }
}

/* 中間ブレイクポイント（幅992〜1439） */
@media screen and (min-width: 992px) and (max-width: 1439.98px) {

  /* 奇数：今までどおり */
  #works .worksBox .inner .inner-text {
    padding: 40px 10vw;
  }

  #works .worksBox .inner .inner-img {
    right: 10vw;
  }

  /* 偶数：左右反転verの調整 */
  #works .worksBox:nth-child(even) .inner .inner-text {
    padding: 40px 10vw;
    /* 左右どちらでも 10vw に */
  }

  #works .worksBox:nth-child(even) .inner .inner-img {
    left: 10vw;
    right: auto;
  }
}

@media screen and (min-width:1440px) {
  #works .worksBox .inner {
    min-height: 370px;
  }

  /* ---- デフォルト（奇数：テキスト左／画像右） ---- */
  #works .worksBox .inner .inner-img {
    position: absolute;
    top: 0;
    right: 10vw;
    z-index: 5;
    width: 30vw;
    max-width: 480px;
  }

  #works .worksBox .inner .inner-text {
    position: absolute;
    top: 120px;
    left: 0;
    z-index: 4;
    width: 65vw;
    background-color: #f7f7f7;
    padding: 40px 10vw;
  }

  /* ---- 偶数番目：左右反転（テキスト右／画像左） ---- */
  #works .worksBox:nth-child(even) .inner .inner-text {
    left: auto;
    right: 0;
    /* テキストを右側に寄せる */
    padding: 40px 10vw;
    /* 必要なら文字寄せも変えられます：
           text-align: left のままでもOK */
  }

  #works .worksBox:nth-child(even) .inner .inner-img {
    right: auto;
    left: 10vw;
    /* 画像を左側に */
  }
}

/* ===== 1600px以上：舞台を固定して、以降はpxでレイアウト ===== */
@media screen and (min-width: 1600px) {

  #works .worksBox .inner {
    width: 1440px;
    margin: 0 auto 80px;
    position: relative;
    min-height: 420px;
  }

  #works .worksBox .inner .inner-img {
    position: absolute;
    top: 0;
    width: 480px;
    z-index: 5;
  }

  #works .worksBox .inner .inner-text {
    position: absolute;
    top: 90px;
    /* 重なり量 */
    z-index: 3;
    /* 画像より下 */
    background: none;
    /* 背景は擬似要素 */
    padding: 40px 60px;
  }

  #works .worksBox .inner .inner-text::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #f7f7f7;
    z-index: -1;
  }

  /* ===== 奇数（1つ目）：画像 右 / テキスト 左 ===== */
  #works .worksBox:nth-child(odd) .inner .inner-img {
    right: 0;
    left: auto;
  }

  #works .worksBox:nth-child(odd) .inner .inner-text {
    left: 0;
    right: auto;
    width: 936px;
  }

  /* 背景：左端まで伸ばしつつ、画像側へ少し潜らせる（右に少し） */
  #works .worksBox:nth-child(odd) .inner .inner-text::before {
    left: calc(-1 * ((100vw - 1440px) / 2));
    /* 画面左端まで */
    right: -40px;
    /* 画像の下に少しだけ入れる */
  }

  /* ===== 偶数（2つ目）：画像 左 / テキスト 右 ===== */
  #works .worksBox:nth-child(even) .inner .inner-img {
    left: 0;
    right: auto;
  }

  #works .worksBox:nth-child(even) .inner .inner-text {
    right: 0;
    left: auto;
    width: 936px;
  }

  /* 背景：右端まで伸ばしつつ、画像側へ少し潜らせる（左に少し） */
  #works .worksBox:nth-child(even) .inner .inner-text::before {
    right: calc(-1 * ((100vw - 1440px) / 2));
    /* 画面右端まで */
    left: -40px;
    /* 画像の下に少しだけ入れる */
  }
}

/*******************************************************
front-page.php  featured　強み
*******************************************************/

.featured {
  display: grid;
  gap: 28px;
  margin: 20px 0
}

.feature {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: center
}

.feature:nth-child(2n) {
  grid-template-columns: .9fr 1.1fr
}

.feature .card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow)
}

.feature .text {
  display: grid;
  gap: 10px
}

.feature .meta {
  font-size: 12px;
  color: var(--muted)
}

@media (max-width:900px) {
  .feature {
    grid-template-columns: 1fr
  }
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 28px 0
}

@media (max-width:900px) {
  .thumbs {
    grid-template-columns: repeat(2, 1fr)
  }
}

.thumbs figure {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid #222;
  background: #111;
  color: #fff
}

.btn--ghost {
  background: #fff;
  color: #111;
  border-color: #111;
  width: 200px;
}


/*******************************************************
front-page.php  instagram
*******************************************************/
#insta-feed {
  /* background-color: #f7f7f7; */
  padding: 100px 0;
  margin: 0 auto 70px auto;
  display: flex;
  flex-direction: column;
  max-width: 960px;
  align-items: center;
}

#insta-feed a {
  margin-top: 40px;
}

/* ==================================================
   定額制注文住宅（画像のレイアウト再現）
================================================== */
.hk-aboutIntro {
  background: #fff;
}

.hk-aboutIntro__inner {
  width: min(1100px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 70px;
  align-items: start;
}

/* 左：kicker（横線＋HOUSE STYLIST） */
.hk-aboutIntro__kicker {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 10px;
}

.hk-aboutIntro__line {
  width: 70px;
  height: 1px;
  background: #111;
  flex: 0 0 auto;
}

.hk-aboutIntro__label {
  font-family: "Roboto", system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: .12em;
  color: #00819d;
  font-size: 18px;
}

/* 左：見出し */
.hk-aboutIntro__title {
  margin: 0;
  font-size: 38px;
  line-height: 1.25;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.25rem;
}

.hk-aboutIntro__subtitle {
  display: block;
  margin-top: 10px;
  font-family: "Roboto", system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: .14em;
  font-size: 16px;
  color: #666;
}

/* 右：本文 */
.hk-aboutIntro__body p {
  margin: 0;
  font-size: 16px;
  line-height: 2.1;
  color: #222;
  padding-bottom: 15px;
}

/* 右：ボタン */
/* CTAボタンを縦並びにする */
.hk-aboutIntro__cta {
  display: flex;
  flex-direction: column;
  /* ← 縦並び */
  align-items: flex-end;
  /* ← 右寄せ（画像の雰囲気に合わせる） */
  gap: 16px;
  /* ← ボタン間の余白 */
}

.hk-aboutIntro__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  height: 68px;
  background: #8f9aa7;
  /* 画像の青グレー寄せ */
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .06em;
}

.hk-aboutIntro__btn:hover {
  opacity: .9;
}

/* =========================
   SP
========================= */
@media (max-width: 768px) {
  .hk-aboutIntro {
    padding: 56px 0;
  }

  .hk-aboutIntro__inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hk-aboutIntro__title {
    font-size: 28px;
  }

  .hk-aboutIntro__body p {
    font-size: 14px;
    line-height: 2.0;
  }

  .hk-aboutIntro__cta {
    justify-content: flex-start;
  }

  .hk-aboutIntro__btn {
    width: 100%;
    max-width: 360px;
    height: 62px;
  }

  .hk-aboutIntro__cta {
    /* align-items: flex-start; /* ← 左寄せ */
    align-items: center;
    /*← 中央寄せにしたいならこちら */
  }
}


/* 手動sliderのcss指示　*/

.hk-slick-slider {
  /*width: min(100%, 1000px);　←左右の幅を持たせたい場合はここを表示させる*/
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.hk-slick-slider .slick-slide {
  margin: 0 10px;
}

.hk-slick-slider .slick-center {
  opacity: 1;
  transform: scale(1);
}

.hk-slick-slider img {
  width: 100%;
  height: auto;
  display: block;
}


/* ---- #reform と#worksレイアウト調整 ---- */

/* =========================
   REFORM（#reform）だけレイアウト変更
   ラフ：上に見出し＋説明、下にカード3つ横並び
========================= */

/* 1) 2カラムをやめて縦積みにする */
#works .hk-aboutIntro__inner {
  display: block !important;
  /* 既存がflex/gridでも強制上書き */
}

/* 見出し・本文をフル幅に */
#works .hk-aboutIntro__head,
#works .hk-aboutIntro__body {
  width: 100% !important;
  max-width: none !important;
}

/* 見出し下の余白 */
#works .hk-aboutIntro__head {
  margin-bottom: 12px;
}

/* 説明文 */
#works .reform__lead {
  margin: 0 0 18px;
  line-height: 1.9;
}


section#reform {
  background: #f8f7f2;
}



/* =========================
   WORKS：画像＋タイトル縦並び
========================= */

.worksStack {
  margin: 0 auto;
  padding-top: 10px;
}

.worksStack__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  /* 各事例の間隔 */
}

/* 1件 */
.worksStack__item {
  margin: 0;
}

/* リンク全体 */
.worksStack__link {
  display: block;
  text-decoration: none;
  color: inherit;
}



/* 施工事例：画像の高さを揃える */
#works .worksStack__link img {
  width: 100%;
  height: 250px;
  /* ← 好きな高さに調整（例：380〜460px） */
  object-fit: cover;
  /* 枠いっぱいにトリミング */
  display: block;
  transition: transform 0.3s ease;
}


/* ホバーで少し動かす（控えめ） */
@media (hover:hover) {
  .worksStack__link:hover img {
    opacity: 0.6;
    transition: 0.8s;
  }
}

/* li の黒丸を消す */
#works .worksStack__list {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
  margin-bottom: 40px;
}


/* タイトル（画像の下） */
.worksStack__title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .04em;
  background: rgb(137 130 94 / 60%);
  padding: 12px;
  color: #fff;
  text-align: center;
}

/* 下の「詳しく見る」 */
.worksStack__cta {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.worksStack__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid rgba(0, 0, 0, .35);
  border-radius: 999px;
  text-decoration: none;
  color: inherit;
}

@media (hover:hover) {
  .worksStack__btn:hover {
    transform: translateY(-1px);
  }
}

#works .hk-aboutIntro__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

#works .hk-aboutIntro__btn {
  width: 350px;
}

@media (max-width: 768px) {
  .worksStack__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 32px;
  }
}

/* =========================
   NEWS（ラフ通り：左見出し / 右一覧）
========================= */
.news__inner {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;

  display: grid;
  grid-template-columns: 240px 1fr;
  column-gap: 48px;
  align-items: start;
}

/* 左：見出し */
.news__head {
  padding-top: 6px;
}

.news__en {
  margin: 0 0 8px;
  letter-spacing: .08em;
  font-weight: 700;
}

.news__jp {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.3;
}

.news__more {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  color: #00819d;
  font-weight: 700;
  padding-top: 35px;
}

.news__more:hover {
  opacity: .75;
}

/* 右：一覧 */
.news__list {
  list-style: none;
  /* ← liの黒い「・」消す */
  margin: 0;
  padding: 0;
  border-top: 1px solid #ddd;
}

.news__item {
  border-bottom: 1px solid #ddd;
}

.news__link {
  display: block;
  padding: 18px 0;
  text-decoration: none;
  color: inherit;
}

.news__link:hover {
  opacity: .8;
}

.news__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}

.news__date {
  font-size: 14px;
  letter-spacing: .02em;
  color: #555;
}

.news__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #ccc;
  background: #fff;
}

.news__tag.is-info {
  border-color: #999;
}

.news__tag.is-event {
  border-color: #666;
}

.news__title {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

/* SP：縦積み */
@media (max-width: 768px) {
  .news__inner {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .news__head {
    padding-top: 0;
  }
}

.news-mini__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #ddd;
}

.news-mini__item {
  border-bottom: 1px solid #ddd;
}

.news-mini__link {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 14px 0;
  text-decoration: none;
  color: inherit;
}

.news-mini__date {
  font-size: 14px;
  color: #666;
  white-space: nowrap;
}

.news-mini__title {
  line-height: 1.6;
}


/* =========================
  お家づくりの流れ＆会社概要の指示内容
========================= */
section#top-abou {
  padding: 60px 0;
}

.Aboutbox {
  display: flex;
  justify-content: space-between;
  font-size: x-large;
  width: 92%;
  margin: 0 auto;
  max-width: 840px;
  margin-bottom: 50px;
}

.About {
  display: flex;
  border-bottom: 1px solid #0f0f0f;
  width: 45%;
  justify-content: space-between;
  color: #0f0f0f;
  font-size: 18px;
  text-decoration: none;
}

.About:hover {
  opacity: .6;
}

@media (max-width: 768px) {
  .Aboutbox {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
  }

  .About {
    width: 100%;
    margin-bottom: 30px;
  }

  section#top-abou p {
    padding: 0;
  }
}



/* =========================
  ハウス倉敷の特徴と保証の指示内容
========================= */

#top-features {
  padding: 30px 0;
}

#top-features h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 1.6em;
  margin-top: 40px;
  font-size: 38px;
  line-height: 1.25;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.25rem;
}

#top-features h2:before {
  position: absolute;
  bottom: -1.8rem;
  left: 42%;
  text-transform: uppercase;
  content: 'ABOUT';
  margin: auto;
  line-height: 26px;
  font-family: "Roboto", system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: .12em;
  color: #00819d;
  font-size: 18px;
}

#top-features .imagesBox {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  margin: 25px auto 0;
}

#top-features .images {
  width: calc((100% / 3));
  padding: 100px 50px;
  text-decoration: none;
}

.kodawari01 {
  background: url(../image/tokucho3.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 230px;
}

.kodawari02 {
  background: url(../image/tokucho1.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 230px;
}

.kodawari03 {
  background: url(../image/tokucho4.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 230px;
}

.kodawari {
  text-align: start;
  font-size: 20px;
  letter-spacing: 0.16em;
  line-height: 23px;
  margin-bottom: 15px;
  color: white;
}

.left {
  text-align: left;
}

#top-features .images:hover {
  opacity: 0.6;
  transition: 0.8s;
}

@media screen and (max-width: 767px) {
  #top-features .imagesBox {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    margin: 25px auto;
    flex-direction: column;
  }

  #top-features .images {
    margin: 10px auto;
    width: 100%;
    height: 140px;
    background-position: center;
    background-size: cover;
    box-sizing: border-box;
    padding-left: 25px;
    padding-top: 45px;
    padding-bottom: 53px;
  }


  #top-features h2 {
    font-size: 28px;
  }

  #top-features h2:before {
    left: 41%;
    font-size: 16px;
  }
}