/* 
Theme Name: PlusY
Description: PlusYのテーマ
Author: Yoko
Version: 1.0.0
*/

html {
  scroll-behavior: smooth;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #4a2c1a;
}



/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.header__inner {
  width: 100%;
  margin: 0 auto;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logoLink {
  text-decoration: none;
}

.header__logo {
  font-size: 48px;
  font-weight: 600;
  color: #7fb6d9;
}

.header__nav {
  margin-left: auto;
  margin-right: 32px;
}

.header__navList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__navList li {
  margin: 0;
  padding: 0;
}

.header__navList a {
  text-decoration: none;
  color: #6b3f26;
  font-size: 16px;
}

/* ドロワー内のメニュー */
.header__drawerList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.header__drawerList li {
  margin: 0;
  padding: 0;
}

.header__drawerList a {
  display: block;
  text-decoration: none;
  color: #6b3f26;
  padding: 12px 8px;
  font-size: 14px;
  text-align: center;
}

@media (max-width: 768px) {
  .header__nav {
    display: none;
  }

  .header__logo {
    font-size: 24px;
  }
}

/* ハンバーガーボタン（PCでは非表示） */
.header__toggle{
  display:none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

/* 3本線をアニメしやすくする */
.header__toggle{
  position: relative;
  display:none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;         
  cursor: pointer;
}

/* 3本線を中央に「重ねて」置く */
.header__toggleBar{
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;        
  height: 2px;
  background:#6b3f26;
  transform: translate(-50%, -50%);
  transform-origin: 50% 50%;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* 通常時（≡） */
.header__toggleBar:nth-child(1){
  transform: translate(-50%, calc(-50% - 6px));
}
.header__toggleBar:nth-child(2){
  transform: translate(-50%, -50%);
}
.header__toggleBar:nth-child(3){
  transform: translate(-50%, calc(-50% + 6px));
}

/* 開いた時（×） */
.header__toggle[aria-expanded="true"] .header__toggleBar:nth-child(1){
  transform: translate(-50%, -50%) rotate(45deg);
}
.header__toggle[aria-expanded="true"] .header__toggleBar:nth-child(2){
  opacity: 0;
}
.header__toggle[aria-expanded="true"] .header__toggleBar:nth-child(3){
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* SPドロワー */
.header__drawer{
  border-top: 1px solid rgba(107,63,38,0.15);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
}

/* 中央に来る四角い箱 */
.header__drawerNav{
  max-width: 320px;          
  margin: 16px auto 24px;    
  padding: 24px 16px 20px;
  display: grid;
  gap: 12px;

  background: #fff;         
  border-radius: 8px;
}

/* メニューリンク：中央寄せ */
.header__drawerLink{
  text-decoration: none;
  color: #6b3f26;
  padding: 12px 8px;
  font-size: 14px;
  text-align: center;        
}

/* CTAも中央に */
.header__drawerCta{
  margin: 12px auto 0;     
  background:#f6a623;
  color:#fff;
  text-decoration:none;
  padding: 12px 16px;
  border-radius:4px;
  font-size:14px;
  display:inline-flex;
  align-items:center;
  justify-content: center;
  gap:8px;
}


/* ===== SP切り替え ===== */
@media (max-width: 768px){
  .header__nav{ display:none; }
  .header__contact{ display:none; } 
  .header__toggle{ display:block; }
  .header__logo{ font-size: 24px; }
}


/* Hero */
.hero {
  height: 100vh;
  background-image: url("img/img_hero.jpg"); 
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.35); /* ← 濃さはここ */
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  padding: 320px 32px 0;
}

.hero__title {
  font-size: 32px;
  line-height: 1.8;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .header__nav {
    display: none;
  }
  .hero{
    height: initial;
    padding-top: 64px;
    padding-bottom: 40px;
    aspect-ratio: 1/1;
    object-fit: cover;
  }  

  .hero__title {
    font-size: 18px;
  }
}


/* Concept Section */
.concept {
  width: 100%;
  height: 800px;
  margin: 0 auto;
  background: #fff;
}

.concept__inner {
  height: 100%;
  display: flex;
}

/* left */
.concept__body {
  flex: 0 0 55%;
  padding: 88px 96px 64px 120px;
  display: flex;
  flex-direction: column;
}

.concept__label {
  font-size: 44px;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #7fb6d9;
  margin-bottom: 56px;
}

.concept__heading {
  font-size: 24px;
  font-weight: 700;
  color: #6b3f26;
  margin-bottom: 44px;
}

.concept__catch {
  font-size: 18px;
  font-weight: 700;
  color: #6b3f26;
  line-height: 2.2;
  margin-bottom: 40px;
}

.concept__desc {
  font-size: 14px;
  color: #6b3f26;
  line-height: 2.0;
  max-width: 520px;
}

.concept__nav {
  margin-top: auto;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.concept__navLink {
  text-decoration: none;
  color: #6b3f26;
  font-size: 20px;
  font-weight: 700;
  display: inline-flex;
  align-items: baseline;
  gap: 20px;
}

.concept__navText {
  display: inline-block;
}

.concept__navArrow {
  display: inline-block;
  letter-spacing: 0.06em;
}

/* right */
.concept__media {
  flex: 0 0 45%;
  height: 100%;
  overflow: hidden;
}

.concept__mediaImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 768px) {
  .concept {
    width: 100%;
    height: auto;
  }

  .concept__inner {
    flex-direction: column;
  }

  /* テキスト側 */
  .concept__body {
    flex: none;
    padding: 64px 24px 40px;
  }

  .concept__label {
    font-size: 32px;
    margin-bottom: 32px;
  }

  .concept__heading {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .concept__catch {
    font-size: 14px;
    line-height: 2;
    margin-bottom: 18px;
  }

  .concept__desc {
    font-size: 13px;
    line-height: 2;
    max-width: none;
  }

  /* 下のリンク：余白を詰めて押しやすく */
  .concept__nav {
    margin-top: 28px;      /* auto解除して自然に続ける */
    padding-bottom: 0;
    gap: 12px;
  }

  .concept__navLink {
    font-size: 16px;
    gap: 12px;
  }

  /* 画像側 */
  .concept__media {
    flex: none;
    width: 100%;
    height: 280px;         /* ← 好みで 240〜340 くらい */
  }

  .concept__mediaImg {
    object-position: center;
  }
}


/* Design */
.design {
  height: 1040px;
  background: #fbf3e7;
  position: relative; /* ← タイトルの基準 */
  padding-bottom: 120px;
}

/* セクション中央タイトル */
.design__header {
  position: absolute;
  top: 96px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  /* z-index: 5; */
  margin-bottom: 120px;
}

.design__title {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  color: #7fb6d9;
  line-height: 1.2;
}

.design__subtitle {
  margin-top: 8px;
  font-size: 16px;
  color: #7fb6d9;
  letter-spacing: 0.06em;
}

/* 中身 */
.design__inner {
  max-width: 1440px;
  height: 100%;
  /* margin: 72px auto; */
  padding: 320px 0px 320px 120px ; 
  display: flex;
  gap: 40px;
}

/* 左 */
.design__body {
  flex: 1 1 auto;
}

.design__text {
  max-width: 560px;
  font-size: 14px;
  line-height: 2.0;
  color: #6b3f26;
}

.design__text p + p {
  margin-top: 28px;
}

/* 右カラム */
.design__media {
  flex: 0 0 520px;
  position: relative; /* ← ここ基準 */
  height: 100%;
}

/* 共通 */
.design__img {
  position: absolute;
  display: block;
  object-fit: cover;
  border-radius: 2px;
}

/* 1枚目：320*240 / セクションTOP 248 */
.design__img--1 {
  width: 320px;
  height: 240px;
  top: 28px;      /* 248 - 220 */
  right: 72px;
  z-index: 1;
}

/* 2枚目：392*261 / セクションTOP 424 */
.design__img--2 {
  width: 392px;
  height: 261px;
  top: 204px;     /* 424 - 220 */
  right: 256px;
  z-index: 2;
}

/* 3枚目：240*160 / セクションTOP 664 */
.design__img--3 {
  width: 240px;
  height: 160px;
  top: 444px;     /* 664 - 220 */
  right: 160px;
  z-index: 3;
}

@media (max-width: 768px) {
  .design {
    width: 100%;
    height: auto;
    padding-bottom: 40px;
  }

  /* タイトル：上は少し詰める */
  .design__header {
    top: 56px;
    width: 100%;
    left: 0;
    transform: none;
  }

  .design__title {
    font-size: 36px;
  }

  .design__subtitle {
    font-size: 14px;
  }

  /* 中身：縦積み */
  .design__inner {
    height: auto;
    max-width: 100%;
    padding: 180px 20px 0; /* タイトル分の余白を確保 */
    flex-direction: column;
    gap: 32px;
  }

  /* テキスト幅 */
  .design__text {
    max-width: none;
    font-size: 13px;
    line-height: 2;
  }

  /* 画像：absolute解除して縦並び */
  .design__media {
    flex: none;
    width: 100%;
    height: auto;
    position: static;          /* ← relative解除 */
    display: grid;
    gap: 16px;
  }

  .design__img {
    position: static;          /* ← absolute解除 */
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;       /* ← 240:160 の比率で統一 */
    object-fit: cover;
    border-radius: 2px;
  }

  /* SPでは個別座標が不要になるので無効化（保険） */
  .design__img--1,
  .design__img--2,
  .design__img--3 {
    top: auto;
    right: auto;
    z-index: auto;
  }
}

/* Works */
.works {
  background: #fbf3e7;
}

.works__inner {
  width: 100%;
  margin: 0 auto;
  padding: 96px 120px 120px;
}

.works__heading {
  margin: 0;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #7fb6d9;
}

.works__grid {
  margin-top: 88px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 120px;
  row-gap: 88px;
}

.worksCard {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.worksCard__mediaLink {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: transparent;
  overflow: hidden;
}

.worksCard__img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
}

.worksCard__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.worksCard__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #6b3f26;
  line-height: 1.7;
}

.worksCard__text {
  margin: 0;
  font-size: 12px;
  color: #6b3f26;
  line-height: 1.9;
}

.worksCard__mediaLink:hover .worksCard__img {
  opacity: 0.92;
}

@media (max-width: 1024px) {
  .works__inner {
    padding: 64px 24px 40px;
  }

  .works__grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 48px;
    row-gap: 64px;
  }
}

@media (max-width: 640px) {
  .works__grid {
    grid-template-columns: 1fr;
    row-gap: 48px;
  }
}


/* OnlineAssistant */
.assistant {
  width: 100%;
  margin: 0 auto;
  background: #fff;
}

.assistant__inner {
  height: 100%;
  padding: 120px 0;
}

/* 中央ヘッダー */
.assistant__header {
  text-align: center;
}

.assistant__title {
  margin: 0;
  font-size: 44px;
  font-weight: 700;
  color: #7fb6d9;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.assistant__subtitle {
  margin-top: 8px;
  font-size: 16px;
  color: #7fb6d9;
  letter-spacing: 0.06em;
}

/* 下：左右2カラム */
.assistant__content {
  margin: 120px 120px 0 0;
  display: flex;
  gap: 96px; /* 余白感 */
  align-items: center;
}

/* 左：画像 */
.assistant__media {
  flex: 0 0 640px; /* スクショの印象で大きめ */
  height: 520px;
  overflow: hidden;
}

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

/* 右：文章 */
.assistant__body {
  flex: 1 1 auto;
  min-width: 0;
  color: #6b3f26;
}

.assistant__text {
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 2;
}

.assistant__list {
  margin: 0 0 32px;
  padding-left: 1.2em;
  font-size: 14px;
  line-height: 2.2;
}

.assistant__item {
  margin: 0;
}

.assistant__note {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #6b3f26;
}

/* Responsive（最低限） */
@media (max-width: 1024px) {
  .assistant {
    width: 100%;
    height: auto;
  }

  .assistant__inner {
    padding: 64px 24px 40px;
  }

.assistant__title {
    font-size: 36px;
}

.assistant__subtitle {
    font-size: 14px;
}

  .assistant__content {
    flex-direction: column;
    gap: 40px;
    align-items: stretch;
  }

  .assistant__media {
    flex: none;
    width: 100%;
    height: 360px;
  }
}

/* ServicePrice */
.servicePrice {
  width: 100%;
  margin: 0 auto;
  background: #f2f2f2;
}

.servicePrice__inner {
  height: 100%;
  padding: 96px 120px;
  background: #f2f2f2;
  border-radius: 8px;
}

/* 中央に寄せる“実コンテンツ幅” */
.servicePrice__container {
  max-width: 960px;   /* ← ここを調整 */
  margin: 0 auto;     /* ← 左右中央寄せ */
}


/* 見出し */
.servicePrice__heading {
 text-align: center;
 margin-bottom: 120px;
  font-size: 44px;
  font-weight: 700;
  color: #7fb6d9;
  letter-spacing: 0.06em;
}

/* リスト */
.servicePrice__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* 各行 */
.servicePrice__item {
  display: flex;
  gap: 56px;
  align-items: flex-start;
}

/* 左：画像 */
.servicePrice__image {
  flex: 0 0 240px;
  width: 240px;
  height: 160px; /* ← 240:160 に固定 */
  overflow: hidden;
}

.servicePrice__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* 比率を保ってトリミング */
  display: block;
  border-radius: 2px;
}

/* 右：テキスト */
.servicePrice__body {
  max-width: 560px;
  color: #6b3f26;
}

.servicePrice__title {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
}

.servicePrice__text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
}

.servicePrice__price {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.servicePrise__footer {
    margin-top: 40px;
    font-size: 16px;
    text-align: center;

}

/* Responsive（最低限） */
@media (max-width: 1024px) {
  .servicePrice {
    width: 100%;
    height: auto;
  }

  .servicePrice__inner {
    padding: 64px 24px 40px;
  }

.servicePrice__heading {
    font-size: 36px;
    margin-bottom: 32px;
}

  .servicePrice__item {
    flex-direction: column;
    gap: 24px;
  }

  .servicePrice__image {
    flex: none;
    width: 100%;
  }
}

/* Profile */
.profile {
  width: 100%;
  height: 600px;
  margin: 0 auto;
  background: #f2f2f2; 
}

.profile__inner {
  height: 100%;
  padding: 96px 120px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 左：テキスト */
.profile__body {
  max-width: 560px;
  color: #6b3f26;
}

.profile__heading {
  margin: 0 0 40px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.profile__text {
  margin: 0;
  font-size: 14px;
  line-height: 2;
}

.profile__text--mt {
  margin-top: 28px;
}

/* 右：写真＋背景 */
.profile__media {
  position: relative;
  width: 520px;
  height: 360px;
}

.profile__mediaBg {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 420px;
  height: 260px;
  background: #7fc3da; /* 水色のアクセント */
  z-index: 1;
}

.profile__img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 2;
}

/* Responsive（最低限） */
@media (max-width: 1024px) {
  .profile {
    width: 100%;
    height: auto;
  }

  .profile__inner {
    padding: 64px 24px 80px;
    flex-direction: column;
    gap: 48px;
  }

  .profile__media {
    width: 100%;
    max-width: 480px;
    height: 300px;
  }

  .profile__mediaBg {
    right: -24px;
    bottom: -24px;
    width: 70%;
    height: 50%;
  }
}

/* CTA */
/* ===== CTA ===== */
.cta {
  width: 100%;
  height: 360px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

/* 背景画像 */
.cta::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: url("img/CTA_bg.jpg"); /* ←画像差し替え */
  background-size: cover;
  background-position: center;

  filter: grayscale(70%) brightness(0.5);
  z-index: 1;
}

/* 白の薄いベール */
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  z-index: 2;
}

/* 中身 */
.cta__inner {
  position: relative;
  z-index: 3;

  height: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  text-align: center;
  padding: 0 20px;
}

/* 見出し */
.cta__lead {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}

/* 説明文 */
.cta__text {
  font-size: 14px;
  line-height: 2;
  color: #fff;
  max-width: 560px;
}

/* 安心文 */
.cta__note {
  font-size: 12px;
  color: rgba(255,255,255,0.9);
}

/* 共通ボタン */
.cta__button {
  background: #f6a623;
  color: #fff;
  text-decoration: none;
  padding: 18px 36px;
  border-radius: 4px;
  font-size: 18px;

  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;

  transition: all 0.3s ease;
}

.cta__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

/* アイコン */
.cta__icon {
  display: inline-flex;
  align-items: center;
}

.header__contact {
  padding: 16px 32px;
  font-size: 16px;
  margin-top: 8px;
}


/* ===== SP ===== */
@media (max-width: 768px) {
  .cta {
    height: auto;
  }

  .cta__inner {
    padding: 64px 24px;
    gap: 16px;
  }

  .cta__lead {
    font-size: 18px;
  }

  .cta__text {
    font-size: 13px;
  }

  .cta__button {
    font-size: 16px;
    padding: 16px 32px;
    margin-top: 24px;
  }

  .header__contact {
    display: none;
  }
}

/* footer */
.footer {
  width: 100%;
  background: #7fc3da;
}

.footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  min-height: 240px;
  padding: 56px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

/* ナビ全体 */
.footer__nav {
  width: 100%;
}

/* wp_nav_menu が出す ul */
.footer__navList {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.footer__navList li {
  margin: 0;
  padding: 0;
}

.footer__navList a {
  font-size: 14px;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.footer__navList a:hover {
  opacity: 0.8;
}

/* 下段 */
.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.footer__policy {
  font-size: 12px;
  line-height: 1.6;
  color: #fff;
  text-decoration: none;
}

.footer__policy:hover {
  text-decoration: underline;
}

.footer__copy {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: #fff;
}

@media (max-width: 768px) {
  .footer__inner {
    min-height: auto;
    padding: 40px 20px 32px;
    gap: 28px;
  }

  .footer__navList {
    gap: 20px 24px;
  }

  .footer__navList a {
    font-size: 13px;
  }

  .footer__bottom {
    gap: 12px;
  }
}

@media (max-width: 768px) {
    .br-pc {
        display: none;
    }
}

/* ===== フェードイン ===== */
.fade {
  opacity: 0;
  transform: translate3d(0, 60px, 0);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

/* 左から */
.fade--left {
  transform: translateX(-60px);
}

/* 右から */
.fade--right {
  transform: translateX(60px);
}

/* 下から */
.fade--up {
  transform: translateY(60px);
}

/* 発火後 */
.fade.is-show {
  opacity: 1;
  transform: translateX(0) translateY(0);
}


/* ===== トップページのブログセクション ===== */
.blogTop {
  width: 100%;
  background: #fbf3e7;
  padding: 96px 120px 120px;
}

.blogTop__inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.blogTop__heading {
  margin: 0;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #7fb6d9;
}

.blogTop__grid {
  margin-top: 88px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 120px;
  row-gap: 88px;
}

/* トップ専用カード */
.blogTopCard {
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: 0.3s;
}

.blogTopCard__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.blogTopCard__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
}

.blogTopCard__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.blogTopCard__date {
  margin: 0;
  font-size: 12px;
  color: #999;
  line-height: 1.6;
}

.blogTopCard__title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #6b3f26;
  line-height: 1.7;
}

.blogTopCard:hover .blogTopCard__img {
  opacity: 0.92;
}

.blogTopCard:hover {
  transform: translateY(-4px);
}

/* もっと見る */
.blogTop__cta {
  margin-top: 40px;
  display: flex;
  justify-content: flex-end;
}

.blogTop__button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #6b3f26;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}

.blogTop__button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #6b3f26;
  transition: 0.3s;
}

.blogTop__button::before {
  content: "→";
  font-size: 14px;
  transition: 0.3s;
}

.blogTop__button:hover::before {
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .blogTop {
    padding: 80px 40px 96px;
  }

  .blogTop__grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 48px;
    row-gap: 64px;
  }
}

@media (max-width: 640px) {
  .blogTop {
    padding: 64px 24px 80px;
  }

  .blogTop__grid {
    grid-template-columns: 1fr;
    row-gap: 48px;
  }
}

/* ====ブログ一覧(home.php)===== */
.blog {
  width: 100%;
  background: #fbf3e7;
}

.blog__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 20px 120px;
}

.blog__heading {
  margin: 0;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #7fb6d9;
}

.blog__list {
  margin-top: 72px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.blogCard {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.blogCard__link {
  display: flex;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
}

.blogCard__media {
  flex: 0 0 320px;
}

.blogCard__img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.blogCard__body {
  flex: 1;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.blogCard__title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  color: #6b3f26;
}

.blogCard__excerpt {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #6b3f26;
}

.blogCard:hover {
  transform: translateY(-2px);
  transition: 0.3s;
}

.blogCard:hover .blogCard__img {
  opacity: 0.92;
}

@media (max-width: 768px) {
  .blog__inner {
    padding: 64px 20px 80px;
  }

  .blogCard__link {
    flex-direction: column;
  }

  .blogCard__media {
    flex: none;
  }

  .blogCard__img {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  .blogCard__body {
    padding: 20px;
    gap: 12px;
  }

  .blogCard__title {
    font-size: 18px;
  }

  .blogCard__excerpt {
    font-size: 13px;
  }
}


/* =====ブログ詳細ページ===== */

.single {
  width: 100%;
  background: #fbf3e7;
}

.single__inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 96px 20px 120px;
}

.single__header {
  margin-bottom: 40px;
}

.single__date {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.6;
  color: #999;
}

.single__title {
  margin: 0;
  font-size: 32px;
  line-height: 1.5;
  font-weight: 700;
  color: #6b3f26;
}

.single__thumb {
  margin-bottom: 48px;
}

.single__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.single__content {
  font-size: 15px;
  line-height: 2;
  color: #6b3f26;
}

.single__content p {
  margin: 0 0 1.8em;
}

.single__content h2,
.single__content h3,
.single__content h4 {
  margin: 2.4em 0 0.8em;
  line-height: 1.6;
  font-weight: 700;
  color: #6b3f26;
}

.single__content h2 {
  font-size: 24px;
}

.single__content h3 {
  font-size: 20px;
}

.single__content h4 {
  font-size: 18px;
}

.single__content ul,
.single__content ol {
  margin: 0 0 1.8em 1.5em;
  padding: 0;
}

.single__content li {
  margin-bottom: 0.6em;
}

.single__content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 32px auto;
}

.single__content a {
  color: #7fb6d9;
  text-decoration: underline;
}

.single__content blockquote {
  margin: 32px 0;
  padding: 20px 24px;
  background: #fff;
  border-left: 4px solid #7fb6d9;
}

.single__footer {
  margin-top: 56px;
}

.single__pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.single__prev,
.single__center,
.single__next {
  flex: 1;
}

.single__prev {
  text-align: left;
}

.single__center {
  text-align: center;
}

.single__next {
  text-align: right;
}

.single__prev a,
.single__next a {
  font-size: 14px;
  color: #6b3f26;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}

.single__prev a::after,
.single__next a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #6b3f26;
}

.single__prev a:hover,
.single__next a:hover {
  opacity: 0.7;
}

.single__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #6b3f26;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}


.single__back::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #6b3f26;
}

@media (max-width: 768px) {
  .single__inner {
    padding: 64px 20px 80px;
  }

  .single__title {
    font-size: 24px;
  }

  .single__thumb {
    margin-bottom: 32px;
  }

  .single__content {
    font-size: 14px;
  }

  .single__content h2 {
    font-size: 20px;
  }

  .single__content h3 {
    font-size: 18px;
  }

  .single__content h4 {
    font-size: 16px;
  }

  .single__footer {
    margin-top: 40px;
  }

  .single__pager {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .single__prev,
  .single__center,
  .single__next {
    flex: none;
    width: 100%;
    text-align: center;
  }
}