/*
Theme Name: Manabi cafe
Theme URI: https://manabicafe-fs.com/
Author: Sugimoto
Description: 自作テーマ
Version: 1.0
*/

/* 一般設定 */
body {
  font-family: 'Rounded Mplus 1c', sans-serif;
  background-color: #ffffff;
  color: #4a4a4a;
  margin: 0;
  padding: 0;
  padding-top: 105px; /* headerの高さ入力。重なり防止 */
}
body.admin-bar header {
  top: 32px; /* WP管理バーの高さ分だけ下げる */
}
/* レシポンシブ設定 */
@media screen and (max-width: 768px) {
.page h2,
.page p {
  margin-inline-start: 1rem;
  margin-inline-end: 1rem;
  margin-block-start: 1rem;
  margin-block-end: 2rem;
}
}

/* ヘッダー設定 */
/* ヘッダー全体のレイアウトをフレックスで整える */
header {
  background-color: #e3ecf1;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
/* ロゴとメニューを横並びにするのはここ！ */
.header-inner {
  display: flex; /* 横並び */
  justify-content: space-between; /* 最初を左端、最後を右端 */
  align-items: center;
  flex-wrap: nowrap;
  padding: 1rem 4rem; /* 上下余白 左右余白 */
  margin: 0 auto;     /* 中央寄せ */
  box-sizing: border-box;
}
/* メニューのスタイル */
.global-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex; /* 横並びにする */
  gap: 1.5rem;     /* メニュー項目の間隔 */
}
.global-nav li a {
  text-decoration: none;
  color: #4a4a4a;
}
.logo {
  max-width: 250px;   /* 任意の幅 */
  height: auto;   /* 高さは自動（縦横比を保つ） */
  display: block; /* ブロック化して中央寄せや余白制御がしやすくなる */
}
.main-logo {
  max-width: 100%;   /* 任意の幅 */
}
.keyvisual {
  width: 100%;
  height: auto;
  object-fit: cover; /* 画像の縦横比を保ちつつ、画面を覆う */
  display: block;
}
.keyvisual-sp {
  display: none;
}
/* ハンバーガー基本スタイル */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 10000;
}
.hamburger span {
  display: block;
  height: 3px;
  background: #333;
  border-radius: 2px;
}

/* レシポンシブ設定 */
@media screen and (max-width: 768px) {
  body.admin-bar header {
    top: 46px; /* WP管理バーの高さ分だけ下げる */
  }
  body {
    padding-top: 95px; /* headerの高さ入力。重なり防止 */
  }
  .header-inner {
    display: flex; /* 横並び */
    align-items: center;
    padding: 1rem 2rem; /* 上下余白 左右余白 */
    gap: 3rem;
  }
  .hamburger {
    display: flex;
  }
  .header-nav {
    display: none;
    position: absolute;
    top: 90px;
    right: 0;
    background: #e3ecf1;
    width: 100%;
    z-index: 999;
  }
  .header-nav.active {
    display: block;
  }

  .global-nav ul {
    flex-direction: column;
    padding: 10px;
    gap: 0.5rem;
  }

  .global-nav li {
    margin: 10px auto;
  }
  .logo-header,
  .logo {
    display: inline-block; /* 幅・高さ指定のために必要 */
    max-width: 300px; /* 任意の狭めたい幅に調整 */
  }
  .keyvisual-sp {
    width: 100%;
    height: auto;
    object-fit: cover; /* 画像の縦横比を保ちつつ、画面を覆う */
    display: block;
  }
  .keyvisual {
    display: none;
  }
}


/* About-usセクション */
.aboutus-section {
  background-color: #fff3f3; /* 背景色を設定 */
  padding: 4rem 2rem;  /* 上下の余白 */
  text-align: center; /* 文章を中央揃え */
  color: #4a4a4a;
}
.aboutus-title {
  max-width: 300px;
  margin: 0 auto; 
}
.aboutus-logo {
  max-width: 100%;   /* 任意の幅 */
  height: auto;   /* 高さは自動（縦横比を保つ） */
  display: block; /* ブロック化して中央寄せや余白制御がしやすくなる */
  margin: 0 auto;
}
.aboutus-title p {
  margin-top: 0rem; /* 上の余白 */
  margin-bottom: 4rem; /* 下の余白 */
  font-size: 1rem;
}
.aboutus-text {
  max-width: 460px;
  margin: 0 auto; 
}
.aboutus-text p {
  font-size: 1.2rem;
  color: #fda0a0;
}
/* 文章と写真のレイアウト設定 */
.aboutus-wrapper {
  position: relative;
  max-width: 800px;
  display: flex; /* 横並びにする */
  justify-content: center; /* 中央揃え */
  align-items: center; /* 垂直方向に中央揃え */
  gap: 3rem; /* 画像と文章の間隔 */
  margin: 0 auto 5rem;
}
.fancy-text-block {
  position: relative;
  max-width: 100%;
  padding: 2rem 0;
}
.fancy-text-block {
  display: block;
  max-width: 440px;
  margin: 0 auto; 
}
.img-top-left {
  position: absolute;
  top: -20px;
  left: -250px;
  width: 160px;
}
.img-top-right {
  position: absolute;
  bottom: 100px;
  right: -230px;
  width: 200px;
}

.aboutus-point { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 10px;
  justify-items: center; /* ← ここをcenter → stretchに */
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}
.aboutus-point45 { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 10px;
  justify-items: center; /* ← ここをcenter → stretchに */
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 5rem; /* 下の余白 */
}

.aboutus-point1,
.aboutus-point2,
.aboutus-point3,
.aboutus-point4,
.aboutus-point5 {
  width: 250px; 
}

.boxed-text {
  border: 4px solid #fdc453;  /* 線の太さと色 */
  padding: 0.5em 1em;      /* 文字と枠の余白 */
  display: inline-block;   /* テキストのサイズに合わせる */
  border-radius: 4px;      /* 角を少し丸める（任意） */
  width: 120px;
}
.boxed-text h3,
.boxed-text p {
  font-size: 1.2em;
  font-weight: normal;
  margin: 0;
}
.boxed-text p {
  color: #ff8cb1;
}

/* POINT 4, 5 コンテナ共通設定 */
.aboutus-point4-container,
.aboutus-point5-container {
  display: flex;
  flex-direction: row;  /* 横並び */
  align-items: center;
  justify-content: center;
  gap: 5rem;
  max-width: 1000px;  /* POINT 1〜3と合わせる */
  margin: 40px auto;
  box-sizing: border-box;
}

/* POINT 4: 画像左／テキスト右（rowのまま） */
/* POINT 5: 画像右／テキスト左（rowのまま） */

/* 画像スタイル共通 */
.img-bottom-left,
.img-bottom-right {
  width: 150px;
  height: auto;
}

/* テキスト幅 */
.aboutus-point4,
.aboutus-point5 {
  max-width: 500px;
}

.aboutus-room-img {
  display: grid; 
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 40px;
  justify-items: center; /* ← ここをcenter → stretchに */
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}
.aboutus-room-img img {
  width: 100%; /* 画像の幅を親の幅に合わせる */
  max-width: 300px; /* 最大幅を指定 */
  height: auto;
  border-radius: 20px;
}
.area-title {
  display: inline-block;     /* テキスト幅に合わせる */
  font-size: 1.2rem;
  border-bottom: 2px solid #333; /* 線の太さと色 */
  margin-bottom: 3rem;
}
.area-title p{
  margin-block-end: 0.5rem;
  font-weight: bold;
}
.image-title {
  margin-bottom: 2rem;
}

/* About-us レシポンシブ設定 */
@media screen and (max-width: 768px) {
  .aboutus-section p{
    margin-inline-start: 0;
    margin-inline-end: 0; 
  }
  .fancy-text-block {
    margin-bottom: 10px;
  }
  .img-top-right {
    position:static;
    max-width: 150px;
    margin-top: 20px;
  }
  .img-top-left {
    position:static;
    max-width: 130px;
  }
  .img-bottom-left {
    display: none;
  }
  .img-bottom-right {
    width: 80%;
    max-width: 150px;
  }
  .aboutus-wrapper {
    position: relative;
    display: block; /* 横並びにする */
    justify-content: center; /* 中央揃え */
    align-items: center; /* 垂直方向に中央揃え */
    gap: 3rem; /* 画像と文章の間隔 */
    margin-bottom: 0; /* 下の余白 */
  }
  .aboutus-point1,
  .aboutus-point2,
  .aboutus-point3 {
    margin-bottom: 20px;
  }
  .aboutus-point,
  .aboutus-room-img,
  .aboutus-point45 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .aboutus-point4-container,
  .aboutus-point5-container {
    flex-direction: column;
    text-align: center;
    margin: 10px auto;
  }
  .aboutus-point4,
  .aboutus-point5 {
      display: block;
      max-width: 100%;
  }
}







/* お知らせセクション */
.news-section {
  padding: 1rem 2rem;  /* 上下の余白 */
  color: #4a4a4a;
}
.news-title {
  max-width: 350px;
  margin: 0 auto; 
}
.news-title img {
  max-width: 100%;   /* 任意の幅 */
  height: auto;   /* 高さは自動（縦横比を保つ） */
  display: block; /* ブロック化して中央寄せや余白制御がしやすくなる */
  margin: 50px auto;
}
.news-text-area {
  margin: 10px auto;
  padding: 10px 10px;
  max-width: 1200px;
  background-color: #fbf5db;
  border-radius: 30px;
}
.recent-posts {
  list-style: none;
  padding: 10px;
  margin: 10px auto;
  max-width: 800px;
  text-align: left;
}
.recent-posts li {
  border-bottom: 1px solid #ccc;
  font-size: 1rem;
  padding: 10px 0; /* 上下に余白を追加 */
}
.recent-posts a {
  text-decoration: none;
  color: #4a4a4a;
}
.recent-posts a:hover {
  text-decoration: underline;
  color: #0073aa;
}
.cat-label {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 1em;
  font-weight: bold;
  margin: 0 10px;
  background-color: #fdc453; /* ボタン背景 */
  color: #ffffff;
}
.more-button {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 100px;
}
.button-link {
  display: inline-block;
  text-decoration: none;
  padding: 8px 25px;
  border-radius: 30px;
  font-size: 1em;
  margin: 0 4px;
  background-color: #fda0a0; /* ボタン背景 */
  color: #ffffff;
}
.button-link:hover {
  background-color: #f76b6b;
  transition: background-color 0.3s ease;
}

.full-width-line {
  border: none;
  border-top: 1px solid #ccc;
  width: 100vw;        /* ビューポート幅に広げる */
  position: relative;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
}

/* メディアセクション */
.media-section {
  padding: 1rem 2rem;  /* 上下の余白 */
  color: #4a4a4a;
}
.media-title {
  max-width: 400px;
  margin: 0 auto; 
}
.media-title img {
  max-width: 100%;   /* 任意の幅 */
  height: auto;   /* 高さは自動（縦横比を保つ） */
  display: block; /* ブロック化して中央寄せや余白制御がしやすくなる */
  margin: 50px auto;
}
.media-text-area {
  margin: 10px auto;
  padding: 10px 10px;
  max-width: 1200px;
  background-color: #f6faee;
  border-radius: 30px;
}
.cat-label-media {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 1em;
  font-weight: bold;
  margin: 0 10px;
  background-color: #a5ccb6; /* ボタン背景 */
  color: #ffffff;
}


/* 活動内容セクション */
.activity-section {
  background-color: #fdfae6; /* 背景色を設定 */
  padding: 1rem 2rem;  /* 上下の余白 */
  text-align: center; /* 文章を中央揃え */
  color: #4a4a4a;
}
.activity-title {
  max-width: 400px;
  margin: 0 auto; 
}
.activity-title img {
  max-width: 100%;   /* 任意の幅 */
  height: auto;   /* 高さは自動（縦横比を保つ） */
  display: block; /* ブロック化して中央寄せや余白制御がしやすくなる */
  margin: 50px auto;
}
.activity-explain{
  margin: 50px auto;
  text-align: center;
}
.activity-explain h2,
.activity-explain p {
    max-width: 610px;
    margin: 2rem auto;     /* 上下に余白＋中央揃え */
    padding: 0 1rem;      /* 横の余白だけに */
    font-size: 1rem;
    text-align: center;
}
.activity-explain h2 {
  color: #ff8cb1;
}
.activity-point { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  column-gap: 3rem;
  justify-items: center; /* ← ここをcenter → stretchに */
  text-align: left;
  font-size: 1rem;
  max-width: 1200px;
  margin: 3rem auto;
  margin-bottom: 1rem;
}
.activity-point1 {
  max-width: 300x;
  margin: 0 auto; 
}
.activity-cloud {
  max-width: 50%;   /* 任意の幅 */
  height: auto;   /* 高さは自動（縦横比を保つ） */
  display: block; /* ブロック化して中央寄せや余白制御がしやすくなる */
  margin: 30px auto;
}
.activity-pic {
  max-width: 100%;   /* 任意の幅 */
  height: auto;   /* 高さは自動（縦横比を保つ） */
  display: block; /* ブロック化して中央寄せや余白制御がしやすくなる */
  margin: 0 auto;
}
.more-button-act {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 8rem;
}
.student-comment {
  max-width: 600px;   /* 任意の幅 */
  height: auto;   /* 高さは自動（縦横比を保つ） */
  display: block; 
  margin: 0 auto;
  margin-bottom: 10rem;
}
.comment-image {
  max-width: 300px;
  margin: 30px auto;
}
.student-comment-img {
  max-width: 100%;
  height: auto;   /* 高さは自動（縦横比を保つ） */
  display: block;
  margin: 30px auto;
}
.comment-title {
  color: #ff8cb1;
  text-align: left;
}
.comment-text {
  margin: 1em auto;     /* 上下に余白＋中央揃え */
  margin-bottom: 4rem;
  text-align: left;
}

/* 活動内容レシポンシブル設定 */
@media screen and (max-width: 768px) {
  .activity-section p,
  .activity-section h2 {
  margin-inline-start: 0;
  margin-inline-end: 0;
  }
  .activity-explain p,
  .activity-explain h2 {
  margin-inline-start: 0;
  margin-inline-end: 0;
  padding: 0 0;
  }
  .activity-point { 
    grid-template-columns: 1fr;
  }
  }


/* スタッフ紹介セクション */
/* オーナー設定 */
.staff-section {
  background-color: white; /* 背景色を設定 */
  padding: 1rem 2rem;  /* 上下の余白 */
  text-align: center; /* 文章を中央揃え */
  color: #4a4a4a;
}
.staff-title {
  max-width: 400px;
  margin: 0 auto; 
}
.staff-title img {
  max-width: 100%;   /* 任意の幅 */
  height: auto;   /* 高さは自動（縦横比を保つ） */
  display: block; /* ブロック化して中央寄せや余白制御がしやすくなる */
  margin: 50px auto;
}
.staff-orner {
  background-color: #f6faee; /* 背景色を設定 */
  border-radius: 30px;
  display: flex;
  justify-content: space-between; /* 最初を左端、最後を右端 */
  margin: 1em auto;     /* 上下に余白＋中央揃え */
  padding: 3em 5em;
  max-width: 1000px;
  align-items: center;
  text-align: left; /* 文章を中央揃え */
  gap: 30px;
  flex-wrap: wrap; /* レスポンシブ対応 */
}
.orner-photo{
  max-width: 280px;
  margin: 0 auto; 
}
.orner-photo img{
  max-width: 100%;
  height: auto;   /* 高さは自動（縦横比を保つ） */
  display: block;
  margin: 30px auto;
}
.orner-title p{
  margin-block-end: 0;
}
.orner-explain{
  max-width: 600px;
}
.orner-name p{
  font-size: 1.5rem;
  margin-block-start: 0;
}
.orner-qualification{
  margin: 2rem auto;
}
.dotted-line {
  border: none;               /* デフォルトのスタイルをリセット */
  border-top: 1px dotted #aaa; /* 点線で上ボーダーを設定 */
  margin: 1rem 0;             /* 上下の余白を調整 */
  width: 100%;                /* 横幅いっぱいに */
}
/* スタッフ */
.staff-teacher {
  display: flex;
  justify-content: space-between; /* 最初を左端、最後を右端 */
  margin: 1em auto;     /* 上下に余白＋中央揃え */
  padding: 5em 5em;
  max-width: 1000px;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap; /* レスポンシブ対応 */
}
.decolation-img img{
  width: 140px;   /* 任意の幅 */
  height: auto;   /* 高さは自動（縦横比を保つ） */
  display: block; /* ブロック化して中央寄せや余白制御がしやすくなる */
  margin: 0 auto;
}
.teacher-photo img{
  width: auto;   /* 任意の幅 */
  border-radius: 100px;
  height: 180px;   /* 高さは自動（縦横比を保つ） */
  display: block; /* ブロック化して中央寄せや余白制御がしやすくなる */
  margin: 20px auto;
}
.teacher-box{
max-width: 270px;
}
.teacher-name{
  font-size: 1rem;
}
.teacher-qualification{
  font-size: 0.8rem;
}

/* スタッフ紹介レシポンシブル設定 */
@media screen and (max-width: 768px) {
  .staff-section p{
    margin-inline-start: 0;
    margin-inline-end: 0; 
  }
  .staff-orner {
    display: block;
    padding: 1em 1em;
  }
  .staff-teacher {
    display: block;
    padding: 1em 1em;
  }
  .teacher-comment p{
  margin-inline-start: 0;
  margin-inline-end: 0;
  }
}



/* 事業案内セクション */
.business-section {
  background-color: #e3ecf1; /* 背景色を設定 */
  padding: 1rem 2rem;  /* 上下の余白 */
  margin-bottom: 3rem auto;
  text-align: center; /* 文章を中央揃え */
  color: #4a4a4a;
}
.business-title {
  max-width: 400px;
  margin: 0 auto; 
}
.business-title img {
  max-width: 100%;   /* 任意の幅 */
  height: auto;   /* 高さは自動（縦横比を保つ） */
  display: block; /* ブロック化して中央寄せや余白制御がしやすくなる */
  margin: 50px auto;
}
.company-info {
  background-color: white; /* 背景色を設定 */
  border-radius: 30px;
  margin: 5em auto;     /* 上下に余白＋中央揃え */
  padding: 3em 5em;
  max-width: 800px;
  align-items: center;
  text-align: left; /* 文章を中央揃え */
}
.company-info ul {
  list-style: none;
  padding-bottom: 2em;
  margin: 1em auto;
  max-width: 700px;
}
.company-info li {
  display: flex;
  padding: 1em 0;
  border-bottom: 1px solid #ccc;
  flex-wrap: wrap; /* レスポンシブ対応 */
}
.company-info .label {
  width: 120px;
  font-weight: bold;
  flex-shrink: 0;
}
.company-info .value {
  flex-grow: 1;
}
.certification{
  font-size: 0.9rem;
  max-width: 400px;
}
.certification-column {
  display: flex;
  justify-content: space-between; /* 最初を左端、最後を右端 */
  margin: 1em auto;     /* 上下に余白＋中央揃え */
  max-width: 500px;
  padding: 0 5em;
  text-align: left; /* 文章を中央揃え */
  flex-wrap: wrap; /* レスポンシブ対応 */
}

/* 事業案内レシポンシブル設定 */
@media screen and (max-width: 768px) {
  .business-section p{
    margin-inline-start: 0;
    margin-inline-end: 0; 
  }
  .company-info {
    background-color: white; /* 背景色を設定 */
    border-radius: 30px;
    margin: 1em auto;     /* 上下に余白＋中央揃え */
    padding: 1rem 0;
  }
  .company-info ul {
    padding: 1rem;
  }.certification{
    margin-top: 20px;
  }
  .certification-column {
    padding: 0 2rem;     /* 上下に余白＋中央揃え */
  }
}


/* クラファンセクション */
.crowd-section {
  background-color: white; /* 背景色を設定 */
  padding: 1rem 2rem;  /* 上下の余白 */
  text-align: left; 
  color: #4a4a4a;
}
.crowd-title-img {
  max-width: 400px;
  margin: 0 auto; 
}
.crowd-title-img img {
  max-width: 100%;
  height: auto;   /* 高さは自動（縦横比を保つ） */
  display: block; /* ブロック化して中央寄せや余白制御がしやすくなる */
  margin: 50px auto;
}
.crowd-box {
  max-width: 600px;   /* 任意の幅 */
  margin: 1em auto;     /* 上下に余白＋中央揃え */
}
.crowd-title {
  color: #ff8cb1;
  font-size: 1.2rem;
}
.crowd-company,
.crowd-person {
  margin-bottom: 3em;     /* 上下に余白＋中央揃え */
}
.crowd-thanks {
  margin-bottom: 5em;     /* 上下に余白＋中央揃え */
}
.LR-LOGO{
  max-height: 1.7rem;
  transform: translate(-0.5rem, 0.5rem); /* 左下に移動 */
}

/* クラファンレシポンシブ設定 */
@media screen and (max-width: 768px) {
  .crowd-section p{
    margin-inline-start: 0;
    margin-inline-end: 0; 
  }
}


/* フッター設定 */
footer {
  background-color: #f6faee;
  padding: 0.5rem 2rem;
  text-align: center;
  color: #6a7775;
}
.footer-contents {
  display: flex; /* 横並び */
  justify-content: space-between; /* 最初を左端、最後を右端 */
  align-items: center;
  flex-wrap: nowrap;
  padding: 0 5rem; /* 上下余白 左右余白 */
  margin: 0 auto;     /* 中央寄せ */
}
.footer-contents-contact {
  flex: 0.5;
}
.footer-contents-sitemap {
  flex: 1;
  min-width: 200px; /* 幅ゼロを防ぐ */
}
.enterprise-logo img {
  max-width: 180px;  /* お好みのサイズに変更可能 */
  height: auto;
  display: block;
  margin: 0 auto;
}
.sns-link {
  display: flex; /* 横並び */
  justify-content: flex-end; /* ← これで右寄せ */
  flex-wrap: nowrap;
  margin: 1em auto;     /* 中央寄せ */
  gap: 20px;
}
.sns-icon img {
  max-width: 40px;  /* お好みのサイズに変更可能 */
  height: auto;
  display: block;
  margin: 0 auto;
}
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex; /* 横並びにする */
  justify-content: center;
  gap: 2rem;     /* メニュー項目の間隔 */
}
footer ul li {
  padding: 0 1rem;
  position: relative;
  color: #6a7775;
}
footer ul li:not(:first-child)::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 25%;
  bottom: 25%;
  width: 1px;
  background-color: #999;
}
.footer-nav li a {
  text-decoration: none;
  color: #6a7775;
}
.divider {
  width: 1px;
  height: 200px; /* 必要に応じて調整 */
  background-color: #999;
}
.contact-message p{
  margin-block-start: 0.5;
  margin-block-end: 0.5;
}
.contact-middle {
  margin-bottom: 2rem;
  color: #fda0a0;
}
.contact-button-f {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 2rem;
  color: #fda0a0;
}
.copyright{
  margin-block-end: 0;
}

/* フッターレシポンシブル設定 */
@media screen and (max-width: 768px) {
  .footer-contents,
  .footer-nav ul {
    display: block;
    padding: 0 0; 
  }
  .sns-link {
    display: flex; /* 横並び */
    justify-content: center; 
    flex-wrap: nowrap;
    margin: 1em auto;     /* 中央寄せ */
    gap: 20px;
  }
  .divider {
    display: none;
  }
  footer ul li:not(:first-child)::before {
    display: none;
  }
  footer ul li {
    margin-bottom: 0.5rem;
  }
  }


/* 個別ページカスタム設定 */
.page-header {
  position: relative;
  width: 100%;
  max-height: 400px;
  overflow: hidden;
}
.page-header img {
  width: 100%;
  height: auto;
  display: block;
}

.page-title-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2.5em;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
  margin: 0;
  padding: 0;
}

.wp-block-columns.is-layout-flex {
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
  gap: 5em;
}
.custom-columns {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 3rem;
}

.custom-separator {
  max-width: 800px;
  margin: 2rem auto;
  border-top: 2px solid #999;
}

.contact-button {
  text-align: center;
  margin: 3rem 0;
  color: #fda0a0;
}

.button-link-contact {
  display: inline-block;
  background-color: #fda0a0;
  color: white;
  padding: 0.8rem 2rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.button-link-contact:hover {
  background-color: #e88c8c;
}



.archive-header {
  position: relative;
  width: 100%;
  max-height: 400px;
  overflow: hidden;
}

.archive-header img {
  width: 100%;
  height: auto;
  display: block;
}

.category-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2.5em;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
  margin: 0;
}

.archive-main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 5rem;
}

.archive-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.archive-posts{
  background-color: #fbf5db;
  border-radius: 20px;       /* ここで角を丸くする */
  padding: 2rem 3rem;
}

.archive-post {
  margin-bottom: 1rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.5rem;
  font-size: 12px; /* お好みのサイズに変更 */
  color: #6a7775; /* 色を変更（グレー系） */
}
.archive-post h2{
  font-size: 1rem;
}

.news-link .archive-main{
  background-color: #fbf5db
}

/* 共通のリンク装飾 */
.news-link, .media-link {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

/* News用の色 */
.news-link .cat-label {
  background-color: #fdc453; /* ボタン背景 */
  color: #ffffff;
}

/* Media用の色 */
.media-link .cat-label {
  background-color: #a5ccb6; /* 緑系 */
  color: #ffffff;
}

.post-title {
  max-width: 800px; /* 任意の最大幅に変更 */
  margin: 0 auto;   /* 自動で中央寄せ */
  text-align: left; /* テキストも中央寄せ */
}
.post-date {
  max-width: 800px; /* 任意の最大幅に変更 */
  margin: 0 auto;   /* 自動で中央寄せ */
  text-align: left; /* テキストも中央寄せ */
}
.post-content {
  margin: 3rem auto;
  display: block;
  max-width: 600px;
}
.post-content h1{
  font-size: 1.5rem;
}  
.lead
 {
  max-width: 700px;
  margin: 3em auto; /* 中央寄せ */
  text-align: center;
}
.action-box,
.note {
  max-width: 700px;
  margin: 0 auto; /* 中央寄せ */
  text-align: center;
}
.contact-form {
  text-align: left;
}
.contact-form p{
  margin-block-start: 0.5em;
  margin-block-end: 0.5em;
}
.form-inner {
  max-width: 700px;
  margin: 0 auto; /* 中央寄せ */
  padding: 0 1rem; /* スマホ対策の余白 */
  box-sizing: border-box;
  text-align: left;
}
.input-box {
  display: flex;
  align-items: center;
  margin-bottom: 1em;
  flex-wrap: wrap; /* レスポンシブ対応 */
}
.label-area {
  display: inline-block; /* 幅を効かせるために必要 */
  width: 150px;
  font-weight: bold;
  margin-right: 1em;
}
.input-area {
  flex: 1;
}
.input-area input,
.input-area textarea {
  width: 100%;
  padding: 0.5em;
  font-size: 1rem;
  border: 1px solid #ccc; /* 境界線を設定 */
  border-radius: 5px;     /* 角を丸める（任意） */
}
.privacy-text{
  margin: 3em 5em;
}

/* 個別ページ　レシポンシブル設定 */
@media screen and (max-width: 768px) {
  .page-header img,
  .archive-header img {
    width: auto;
  }
  .custom-columns {
    padding: 0 1rem;
  }
  .wp-block-spacer {
/*  display: none;*/
  }
  .wp-block-image figure {
    max-width: 95%;
}
.wp-block-columns.is-layout-flex {
  gap: 0em;
  margin: auto;
}
.limit-figure{
  max-width: 70%;
  margin: auto;
}
.has-text-align-center {
  text-align: center;
  margin: 0 1rem;
}
.page table {
  max-width: 90%;
  margin: 0 auto;
  display: block;
}

.archive-main {
  padding: 3rem 1rem;
}
.archive-posts {
  padding: 2rem 1rem;
}
.page-title-overlay {
  font-size: 2em;
}
.input-box {
  display: block;
}
.map-box iframe{
  max-width: 300px;
  width: 100%;
  height: 100%;
}
.map-box {
margin-bottom: 100px;
}
.post-content {
  margin: 3rem 1rem;
}

}




.section {
  padding: 3rem 2rem;
  max-width: 960px;
  margin: auto;
}
.section h2 {
  color: #FFAD60;
  border-bottom: 2px solid #FFAD60;
  padding-bottom: 0.5rem;
}
.two-column {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.two-column div {
  flex: 1;
  min-width: 250px;
}
.cta {
  text-align: center;
  margin-top: 3rem;
}
.cta a {
  display: inline-block;
  background-color: #87CEEB;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
}

/* 固定ページの余白削除 */
.page-main,
.page-header,
.page-content {
  margin: 0 !important;
  padding: 0 !important;
}

/* ヘッダー画像の上下余白削除 */
.page-header img {
  display: block;
  margin: 0;
  padding: 0;
}
