/*
Theme Name:  Yu
Theme URI:
Author:
Author URI:
Description: 優 -you ワンカラム Web サイトテンプレート
Version:     1.0.0
Text Domain: yu
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* ================================================
   リセット
   ================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ================================================
   ベーススタイル
   ================================================ */
html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  line-height: 1.75;
  min-height: 100dvh;
    font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 400;
  font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.3;
}

a {
  /* color: ;        ← 相談して設定 */
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ================================================
   コンテナ（90%幅）
   ================================================ */
.container {
  width: 90%;
  margin-inline: auto;
}

/* ================================================
   ヘッダー
   全ページ共通。position:absolute でヒーロー画像の上に重ねて表示し、
   ヒーローの無い下層ページでは .page-banner 側で上部余白を確保する。
   ================================================ */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 350;
  width: 100%;
}

/* スクロール後：90%幅フローティング */
.site-header.is-scrolled {
  position: fixed;
  top: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  background:#FFFFFF;
  border-radius:30px;
  padding:0.5rem 1rem;
}

.site-header.is-scrolled .site-logo img{
    height:50px;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header.is-scrolled .container {
  width: 100%;
}

/* ── ロゴ ── */

.site-logo{
display:inline-flex;
}
.site-logo img{
    height:80px;
}

/* ================================================
   下層ページ見出し（ページバナー）
   ヒーローの無いページでは .site-header が absolute で
   最上部に重なるため、ヘッダー分の上余白を確保する。
   ================================================ */
.page-banner {
  padding: 9rem 0 3rem;
  background-color: #fdf5f9;
  text-align: center;
}

.page-banner .news-date {
  margin-top: 0.5rem;
  color: #666;
}

@media (max-width: 768px) {
  .page-banner {
    padding: 7rem 0 2.5rem;
  }
}


/* ================================================
   PC ナビゲーション
   ================================================ */
.site-nav-pc {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.site-nav a {
  text-decoration: none;
  font-size: 1rem;
  color: #333;
}

.site-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75em 1.75em;
  border-radius: 999px;
  background: #8c1780;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

/* ================================================
   ハンバーガーボタン（768px以下のみ表示）
   ================================================ */
.hamburger-btn {
  position: relative;
  z-index: 301;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.hamburger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.hamburger-btn.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ================================================
   ドロワーナビ（スマホ）
   ================================================ */
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  overflow-y: auto;
  background: #fff;
  padding: 5rem 1.5rem 2rem;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

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

.nav-drawer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.nav-drawer li {
  border-bottom: 1px solid #eee;
}

.nav-drawer a {
  display: block;
  padding: 0.9rem 0;
  text-decoration: none;
  font-size: 1rem;
  color: #333;
}

/* オーバーレイ */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}
.nav-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

/* ================================================
   ヒーロースライダー
   ================================================ */
.hero-slider {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 400px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.slide.is-active {
  opacity: 1;
}
.slide.is-leaving {
  opacity: 0;
}

.slide-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  will-change: transform;
  animation: kb-zoom-in 6s ease-out forwards;
}

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

@keyframes kb-zoom-in {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.12);
  }
}
@keyframes kb-zoom-out {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1);
  }
}


/* テキストオーバーレイ */
.hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.hero-catch,
.hero-title {
  position: relative;
  display: block;
  width: fit-content;
  overflow: hidden;
  padding: 0.4em 0.7em;
  margin-bottom: 0.75rem;
}

.hero-title {
  margin-bottom: 1.25rem;
}

.hero-line-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
  animation: hero-wipe 0.7s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.hero-line-text {
  position: relative;
  z-index: 1;
  display: inline-block;
  opacity: 0;
  animation: hero-fade-up 0.6s ease forwards;
}

.hero-catch .hero-line-text {
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  font-weight: 600;
  color: #222;
}

.hero-title .hero-line-text {
  font-size: clamp(1.75rem, 1.3rem + 2.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a1a;
}

.hero-title .hero-line-text em {
  font-style: normal;
  color: #8c1780;
}

.hero-catch .hero-line-bg {
  animation-delay: 0.2s;
}
.hero-catch .hero-line-text {
  animation-delay: 0.75s;
}
.hero-title .hero-line-bg {
  animation-delay: 0.95s;
}
.hero-title .hero-line-text {
  animation-delay: 1.5s;
}

@keyframes hero-wipe {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-sub {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  opacity: 0;
  animation: hero-fade-up 0.6s ease forwards;
  animation-delay: 2.1s;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* ================================================
   セクション共通
   ================================================ */

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  color: #8c1780;
}

.section-title {
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  margin-bottom: 1rem;
}

.section-body {
  margin-bottom: 2rem;
  color: #333;
}

.divider {
  border: none;
  border-top: 1px solid;
  /* border-color: ; ← 相談して設定 */
}

.section-wrap{
    padding:8rem 0;
}

/* ================================================
   ボタン
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

/* ================================================
   ② お知らせ（NEWS）
   ================================================ */
#news {
  background-color: #FFFFFF;
}

.news-wrap{
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 2rem;
  width:100%;
}


.news-list {
  margin-top: 1.5rem;
}

.news-item {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  border-bottom: 1px solid;
}

.news-date {
  font-size: 0.85rem;
  flex-shrink: 0;
  padding:1.3rem 0;
}

.news-cat {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.4em 0.9em;
  border-radius: 999px;
  background: #fdf5f9;
  color: #8c1780;
  vertical-align: middle;
}

.news-date .news-cat {
  margin-left: 0.6em;
}

.news-body {
  font-size: 0.9rem;
  flex: 1;
  min-width: 0;
  padding:1.3rem 0;
}

.news-more {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #8c1780;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding: 1rem 0 0.15rem 0;
  float:right;
}

.news-back {
  margin-top: 3rem;
}

.news-empty {
  padding: 3rem 0;
  text-align: center;
  color: #666;
}

/* ================================================
   お知らせ一覧ページ（アーカイブ）
   ================================================ */
.news-archive-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}

.news-archive-link {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-archive-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.news-archive-thumb {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 90px;
  border-radius: 12px;
  overflow: hidden;
  background: #fdf5f9;
}

.news-archive-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-archive-thumb-fallback {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #8c1780;
}

.news-archive-body {
  min-width: 0;
  flex: 1;
}

.news-archive-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.news-archive-date {
  font-size: 0.8rem;
  color: #777;
}

.news-archive-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  color: #222;
}

@media (max-width: 600px) {
  .news-archive-thumb {
    width: 84px;
    height: 84px;
  }
  .news-archive-link {
    padding: 0.75rem;
    gap: 0.85rem;
  }
}

/* ページャー（一覧ページ） */
.pagination {
  margin-top: 3rem;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid #e5cfe0;
  background: #fff;
  color: #333;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pagination .page-numbers.current {
  background: #8c1780;
  border-color: #8c1780;
  color: #fff;
  font-weight: 700;
}

.pagination .page-numbers.dots {
  border: none;
  background: none;
}

.pagination a.page-numbers:hover {
  background: #fdf5f9;
  border-color: #8c1780;
}

/* ================================================
   お知らせ本文（entry-content）
   画像は連続で挿入すると自動で2枚ずつ横並びになる。
   ================================================ */
.entry-content {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1rem;
  row-gap: 1.5rem;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.9;
}

.entry-content > *:not(.wp-block-image) {
  flex: 1 1 100%;
  min-width: 0;
}

.entry-content > h2,
.entry-content > h3,
.entry-content > h4 {
  font-weight: 700;
  color: #222;
}

.entry-content > h2 {
  font-size: 1.25rem;
  color: #8c1780;
}

.entry-content > h3 {
  font-size: 1.05rem;
}

.entry-content a {
  color: #8c1780;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.4em;
}

.entry-content p {
  display: flow-root;
}

/* 本文中の画像（クラシックエディタで段落内に直接挿入したimgタグ）
   何枚あっても常に最大50%幅・同じ縦横比で揃える。
   直前にテキストがあっても確実に2枚ずつ並ぶよう float で組む
   （inline-block だと直前のテキスト量によっては横並びが崩れるため）。 */
.entry-content img {
  float: left;
  clear: left;
  width: calc(50% - 0.75rem);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin: 0 0.5rem 0.75rem 0;
  border-radius: 12px;
}

.entry-content img + img {
  clear: none;
}

/* ブロックエディタで「画像」ブロックを entry-content 直下に並べた場合 */
.entry-content > .wp-block-image {
  flex: 0 1 calc(50% - 0.5rem);
  margin: 0;
}

.entry-content > .wp-block-image img {
  border-radius: 12px;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin: 0;
}

.entry-content > .wp-block-image figcaption {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #666;
}

.entry-content .wp-block-gallery {
  flex: 1 1 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  list-style: none;
}

.entry-content .wp-block-gallery .wp-block-image {
  flex: none;
  margin: 0;
}

.entry-content .wp-block-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
}

/* 個別ページ：前の投稿／次の投稿 */
.post-navigation {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.post-navigation .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
  flex: 1 1 260px;
}

.post-navigation a {
  display: block;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  background: #fdf5f9;
  text-decoration: none;
  color: #333;
  transition: background 0.2s ease, transform 0.2s ease;
}

.post-navigation a:hover {
  background: #f5e0ee;
  transform: translateY(-2px);
}

.post-navigation .nav-next a {
  text-align: right;
}

.post-navigation .post-nav-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #8c1780;
}

.post-navigation .post-nav-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.6;
}

/* ================================================
   ③ 事業紹介（写真コラージュ）
   ================================================ */
#about {
  background-color: #fdf5f9;
}

#about-title{
    text-align:center;
}
#about-sub-title{
    text-align:center;
}


.about-photos {
  position: relative;
  width: 100%;
  aspect-ratio: 2.3 / 1;
}

/* コンテナ自体は常時表示し、中の写真を個別にフェードインさせる */
.about-photos.animate-target {
  opacity: 1;
  transition: none;
}

.about-photos p {
  margin: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-photos.is-visible .about-photo-1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}
.about-photos.is-visible .about-photo-2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}
.about-photos.is-visible .about-photo-3 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.75s;
}
.about-photos.is-visible .about-photo-4 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.9s;
}

.about-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 背景となるメイン写真（トリミングせず全体を表示） */
.about-photo-1 {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.about-photo-1 img {
  object-fit: contain;
}

/* 上に重なるアクセント写真 */
.about-photo-2,
.about-photo-3,
.about-photo-4 {
  position: absolute;
  border: 6px solid #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.about-photo-2 {
  top: 6%;
  left: 6%;
  width: 26%;
  aspect-ratio: 4 / 3;
  z-index: 1;
}
.about-photo-3 {
  bottom: 6%;
  left: 38%;
  width: 26%;
  aspect-ratio: 4 / 3;
  z-index: 2;
}
.about-photo-4 {
  top: 6%;
  right: 6%;
  width: 26%;
  aspect-ratio: 4 / 3;
  z-index: 3;
}

@media (max-width: 768px) {
  .about-photos {
    aspect-ratio: 1 / 1;
  }
  .about-photo-2 {
    top: 2%;
    left: 6%;
    width: 42%;
  }
  .about-photo-3 {
    bottom: 2%;
    left: 30%;
    width: 42%;
  }
  .about-photo-4 {
    top: 34%;
    right: 6%;
    width: 42%;
  }
}

.about-text {
  margin-top: 2rem;
}
.about-text p + p {
  margin-top: 1rem;
}

/* ================================================
   ④ 仕事内容（WORKS）
   ================================================ */
#works {
  background-color: #fff4e5;
}

#works-inside{
  background-color: #FFFAF4;
  margin:0 0 1rem 0;
}
#works-inside h3{
    color:#AE5323; 
}
#works-outside{
  background-color: #FCFDFD;   
}
#works-outside h3{
  color: #17406D;   
}

.works-block {
    padding:2rem;
}
.works-block-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.works-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.works-photo-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.works-photo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.works-photo p {
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

.works-photo--placeholder {
}

.works-desc {
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ================================================
   ⑤ 相談支援事業所
   ================================================ */
#consultation {
  background-color: #edf5e7;
}

#consultation-title{
    color:#00767D;
}

.consultation-sub {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.consultation-text p + p {
  margin-top: 1rem;
}

.consultation-image-wrap {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  margin: 2rem 0;
}

.consultation-image-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 260%;
  object-fit: cover;
  will-change: transform;
}

#consultation ul{
    list-style-position: inside;
}
#consultation ul li span{
    color:#00A2A5;
}

@media (max-width: 768px) {
  .consultation-image-wrap {
    height: 260px;
  }
}

/* ================================================
   ⑥ よくあるご質問（FAQ）
   ================================================ */
.faq-list {
  margin-top: 1.5rem;
  border-top: 1px solid #ddd;
}

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

.faq-question {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  list-style: none;
  padding: 1.5rem 2.75rem 1.5rem 0;
}

.faq-question::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  background: #8c1780;
  color: #fff;
}

/* 開閉アイコン（＋／－） */
.faq-question::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: #8c1780;
}

.faq-item[open] .faq-question::after {
  content: "\2212";
}

/* デフォルトの三角を消す */
.faq-question::-webkit-details-marker {
  display: none;
}

.faq-answer {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.8;
  padding: 0 2.75rem 1.5rem 0;
}

.faq-answer::before {
  content: "A";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  background: #1aa6a0;
  color: #fff;
}

/* ================================================
   ⑦ 住所・連絡先（ACCESS）
   ================================================ */
.access-wrap {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 4fr) minmax(0, 4fr);
  gap: 2rem;
  margin-top: 2rem;
}

.access-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.access-logo img{
    width:auto;
    height:80px;
}


.access-address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 2;
}

.map-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  background: #eee;
}

.access-map {
  width: 100%;
}

.access-map iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 600 / 424;
}

.access-detail{
  display: grid;
  grid-template-columns: 20% 80%;
   
}

.access-detail dt{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bd {
  border-top: 1px solid #666666;
  border-bottom: 1px solid #666666;
}


/* ================================================
   contact-form.css — お問い合わせフォーム
   ================================================ */


#contact{
    background:#FDF5F9;
}

/* ================================================
   セクション
   ================================================ */
.contact-section {
}

/* ================================================
   フォームラッパー
   ================================================ */
.contact-card {
}

/* ================================================
   ステップインジケーター
   ================================================ */
.cf-steps {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  list-style: none;
}

.cf-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  flex: 1;
}

.cf-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  border: 2px solid;
  /* color/border-color: ← 相談して設定 */
}

.cf-step.is-active .cf-step-num {
  /* background: ;   ← アクティブ色を相談して設定 */
  /* color: #fff; */
}

.cf-step-line {
  flex: 1;
  height: 1px;
  background: currentColor;
  margin-inline: 0.5rem;
  opacity: 0.2;
}

@media (max-width: 480px) {
  .cf-step-label { display: none; }
}

/* ================================================
   パネル切替
   ================================================ */
.cf-panel {
  display: none;
}

.cf-panel.is-active {
  display: block;
}

/* ================================================
   フォームグループ
   ================================================ */
.cf-group {
  margin-bottom: 1.25rem;
}

.cf-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.cf-required {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  margin-left: 0.4em;
  background:#8C1780;
  color:#FFF;
  padding: 0.4em 1em;
  border-radius: 30px;
}

/* ================================================
   入力フィールド
   ================================================ */
.cf-input,
.cf-textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  font-size: 1rem;
  border: 1px solid;
  border-radius: 30px;
  /* border-color: ; ← 相談して設定 */
  /* background: ;   ← 相談して設定 */
  /* color: ;        ← 相談して設定 */
  /* border-radius: ; ← 相談して設定 */
}

.cf-input:focus,
.cf-textarea:focus {
  outline: none;
  /* border-color: ; ← フォーカス色を相談して設定 */
}

.cf-textarea {
  resize: vertical;
  min-height: 140px;
}

/* ================================================
   エラーメッセージ
   ================================================ */
.cf-error-msg {
  display: none;
  font-size: 1.2rem;
  margin-top: 0.8rem;
  color:#8C1780;
}

.cf-error-msg.is-visible {
  display: block;
}

/* ================================================
   ラジオボタン
   ================================================ */
.cf-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cf-radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  /* border-color: ; ← 相談して設定 */
  /* border-radius: ; ← 相談して設定 */
}

.cf-radio-input {
  accent-color: currentColor;
  /* accent-color: ; ← アクセントカラーを相談して設定 */
}

/* ================================================
   プライバシーポリシー
   ================================================ */
.cf-privacy-box {
  padding: 1rem;
  margin-bottom: 0.75rem;
  max-height: 160px;
  overflow-y: auto;
  font-size: 0.8rem;
  line-height: 1.7;
  border: 1px solid;
  border-radius: 30px;
}

.cf-privacy-box h4 {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.cf-privacy-box p {
  margin-bottom: 0.5rem;
}

.cf-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
}

.cf-checkbox-input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: currentColor;
  /* accent-color: ; ← アクセントカラーを相談して設定 */
}

/* ================================================
   ボタン行
   ================================================ */
.cf-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: flex-end;
}

.cf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.75em 1.75em;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  /* border-radius: ; ← 相談して設定 */
}

.cf-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75em 1.75em;
  border-radius: 999px;
  background: #8c1780;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.cf-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75em 1.75em;
  border-radius: 999px;
  background: #666666;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

/* ================================================
   確認画面テーブル
   ================================================ */
.cf-confirm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.cf-confirm-table th,
.cf-confirm-table td {
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid;
  /* border-color: ; ← 相談して設定 */
}

.cf-confirm-table th {
  width: 35%;
  font-weight: 600;
}

@media (max-width: 520px) {
  .cf-confirm-table th,
  .cf-confirm-table td {
    display: block;
    width: 100%;
  }
  .cf-confirm-table th {
    border-bottom: none;
    padding-bottom: 0.25rem;
  }
}

.cf-confirm-note {
  font-size: 0.85rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border-left: 3px solid;
  /* border-color: ; ← 相談して設定 */
}

/* ================================================
   完了画面
   ================================================ */
.cf-complete {
  text-align: center;
  padding-block: 2rem;
}

.cf-complete-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  border: 2px solid;
  /* color/border-color: ← 相談して設定 */
}

.cf-complete-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

/* ================================================
   サーバーエラー
   ================================================ */
.cf-server-error {
  display: none;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  border: 1px solid;
  /* color/border-color: ← エラー色を相談して設定 */
}

.cf-server-error.is-visible {
  display: block;
}




/* ================================================
   フッター
   ================================================ */
.site-footer {
  padding-block: 2rem;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  margin-bottom: 1rem;
}

.footer-links a {
  text-decoration: none;
  font-size: 0.85rem;
  /* color: ;        ← 相談して設定 */
}

.footer-copy {
  font-size: 0.75rem;
  /* color: ;        ← 相談して設定 */
}

/* ================================================
   テキストアニメーション準備
   ================================================ */
.animate-target {
  opacity: 0;
  transition: opacity 0.6s ease;
}
.animate-target.is-visible {
  opacity: 1;
}

/* ================================================
   フォーカス
   ================================================ */
:focus-visible {
  outline: 2px solid;
  outline-offset: 3px;
}

/* ================================================
   レスポンシブ（768px以下）
   ================================================ */
@media (max-width: 768px) {
  .site-nav-pc {
    display: none;
  }
  .header-tel {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }

  .hero-slider {
    height: 60vh;
  }

  .section-wrap {
    padding-block: 2.5rem;
  }

  .news-wrap {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .works-photos {
    grid-template-columns: repeat(2, 1fr);
  }

  .access-wrap {
    grid-template-columns: 1fr;
  }
}
