/* ******************************************
   component.css
   見出し装飾、パンくず、ボタン、ロゴ、ナビなど小さい部品
****************************************** */
/* ============================
  ヘッダー
=============================== */
/* ヘッダー上段：背景 */
.bg-left {
  background: linear-gradient(to right, #fff267,#f9dd51,   #fff267,#a1811c); /*画像差し替えか？*/
}
.bg-right {
  background-color: var(--color-white);
}

/* ヘッダー下段：ナビリンク装飾 */
.header-nav a::after {
  content: '';
  display: block;
  margin: 0 auto;
  width: 130px;
  height: 3px;
  background: var(--nav-underline);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
  transform-origin: center;
}
.header-nav .current-menu-item a::after {
  background: var(--nav-underline);
  transform: scaleX(1);
}
.header-nav a:hover::after {
  background: rgba(255, 204, 0, 0.5);
  transform: scaleX(1);
}

/* ハンバーガーの見た目 */
.nav-toggle .bar {
  background-color: var(--color-white);
}

/* レスポンシブ：スマホナビの装飾 */
@media (max-width: 768px) {
  .anniv-divider,
  .anniv-title-en {
    display: none;
  }

}
/* レスポンシブ構造768 →1000　メニュー字数増加見切り防止対応 */
@media (max-width: 1000px) {
  .header-nav .menu {
    background-color: rgba(0, 47, 108, 0.8);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  .header-nav .menu a {
    display: block;
    padding: var(--space-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
  }
  .header-nav .menu a::after {
    display: none;
  }  
}

/* 公式サイトへリンク　PC */
.anniv-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.header-rotary-site {
  line-height: 1.2;
}
.header-rotary-site a {
  font-size: 0.75em;
  font-weight: 500;
  color: var(--color-main);
  opacity: 0.75;
  letter-spacing: 0.04em;
}
.header-rotary-site a::after {
  content: "›";   
  margin-left: 0.2em;
  opacity: 0.8;
  font-size: 1.2em;
}
.header-rotary-site a:hover {
  opacity: 1;
}

/* 公式サイトへリンク スマホ*/
.header-nav .is-official-site {
  display: none;
}
@media (max-width: 768px) {
  .header-rotary-site {
    display: none;
  }  
  .header-nav .is-official-site {
    display: block;
  }  
  .header-nav .menu .is-official-site {
    margin-top: .8em;
    margin-bottom: .8em;
    text-align: center;  
  }
  .header-nav .menu .is-official-site > a {
    padding: var(--space-xs);
    font-size: 0.9em;  
    font-weight: 500;
    letter-spacing: 0.05em; 
    text-align: center; 
    border-bottom: none;

    border-radius: 5px;               
    background: var(--color-main);
    opacity: 1;  
  }
}

/* ============================
  フッター
=============================== */
.footer-area {
  background-color: var(--footer-bg);
}

.footer-global-nav ul li a, 
.footer-legal-links ul li a{
  color: var(--footer-link);
  transition: color var(--transition-normal) ease;
}
.footer-global-nav ul li a:hover,
.footer-legal-links ul li a:hover {
  color: var(--footer-link-hover);
}


.footer-rotary-logo-line img {
  margin-bottom: 0;
}
.footer-rotary-logo {
  width: 300px;
  height: auto;
}
.footer-rotary-anniv-image {
  width: 300px;
  height: auto;
  margin-bottom: 0;
}
.copyright p {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .footer-rotary-anniv-image {
    width: 200px;
  }  
}

/* 公式サイトリンク */
.footer-rotary-site {
  margin-top: 8px;  
  line-height: 1.2;
  letter-spacing: -0.02em; 
}
.footer-rotary-site a {
  display: inline-flex;  
  align-items: center;
  gap: 6px;
  font-size: 0.95em;   
  font-weight: 600;  
  color: var(--color-main);  
/*  text-decoration: underline;
  text-underline-offset: 3px;*/
}
.footer-rotary-site a:hover,
.footer-rotary-site a:focus-visible {
  opacity: 0.85;
}


/* ============================
  パンくずリスト
=============================== */
.breadcrumb {
    font-size: 0.85em;
    margin: 1em 0;
}
.breadcrumb span {
    color: var(--color--gray--text);
}  

/* ============================
  ページネーション
=============================== */
.pagination {
    display: flex;
    gap: 0.5em;
    list-style: none;
    padding: 0;
    margin-top: 2em;
    justify-content: center;
}
.pagination li a,
.pagination li span {
    display: inline-block;
    padding: 0.4em 0.8em;
    border: 1px solid var(--color--gray--border);
    border-radius: 4px;
    font-size: 0.9em;
    transition: background 0.3s;
}
.pagination li .current {
    background: var(--pagination--bg);
    color: var(--color--white);
    border-color: var(--pagination--border);
}
.pagination li a:hover {
    background: var(--pagination--bg--hover);
}
@media (max-width: 768px) {
    .pagination li {
    display: none;
    }
    .pagination li.pagination-prev,
    .pagination li.pagination-next,
    .pagination li:has(span.current) {
    display: inline-block;
    }
}

/* ============================
  ページトップに戻るボタン
=============================== */
.arrow-up {
  display:block;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--color-white);
  border-left: 1px solid var(--color-white);
  transform: rotate(45deg);
  position: relative; 
  top: 16px;
  left: 25px;
}
/* ラベル */
.scroll-to-top .label {
  color: var(--color-white);
}

.scroll-to-top {
    position: fixed;
    bottom: 10px;
    right: 10px;
    display: block;
    opacity: 0;
    pointer-events: none;
    width: 60px;
    height: 60px;
    background: rgba(28, 37, 86, 0.7);
    text-align: center;
    line-height: 60px;
    border-radius: 50%;
    z-index: 1000;
    transition: all 0.3s ease;
    transform: translateY(20px); /* 最初下に隠れてる */
}
/* showクラスが付いたときに出現 */
.scroll-to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
/* ホバー時 */
.scroll-to-top:hover {
    background: var(--button-top-bg); 
}
/* iPhone iPadでSafariで1度タッチされたらずっとhoverが残る現象を回避 */
@media (hover: none) {
    .scroll-to-top:hover {
     background: rgba(28, 37, 86, 0.7);
    }
}


/* ============================
  <br> 表示制御（PC/SP切替用）
=============================== */
.br-pc {
  display: inline;
}
.br-sp {
  display: none;
}

@media (max-width: 768px) {
  .br-pc {
    display: none;
  }
  .br-sp {
    display: inline;
  }
}


/* ============================
  トップページ　ヒーローセクション 
=============================== */
.top-hero {
  position: relative;
  width: 100%;
  height: 470px;
  overflow: hidden;  
  display: flex;
  justify-content: center; 
  align-items: center;  
}

.background-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.background-grid {
  position: relative;
  width: 100%;
  height: 60vh; 
  overflow: hidden;
}


.top-hero .overlay {
  position: absolute;
  top: 125px;
  width: 85%;
  height: 250px;
  background-color: rgba(255,255,255,0.85); 
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-hero .overlay-content {
  display: flex;
  align-items: center;
  gap: var(--space-sm); 
}
.top-hero .overlay-content .logo {
  max-width: 200px;
  margin-bottom: 0;
}
.top-hero .overlay-content h1 {
  font-size: var(--font-size-xl);
  letter-spacing: var(--ls-tight);
  color: var(--color-main);
  text-align: left;
  margin: 0;
}

@media (max-width: 768px) {

  .top-hero {
    height: 400px;
  }
  .top-hero .background-grid {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  .top-hero .overlay-content {
    flex-direction: column;   
    align-items: center;      
    text-align: center;    
  }
  .top-hero .overlay-content .logo {
    max-width: 150px;  
  }
  .top-hero .overlay-content h1 {
    text-align: center;         
    line-height: var(--line-height-tight);
  }
}


/* ============================
  サブページ　ヒーローエリア　ページタイトルH1
=============================== */
.subpage-hero {
  position: relative;
  z-index: 0; /* ヘッダーより後ろに */
/*  margin-top: -60px;*/
}

.subpage-hero .hero-visual-area {
/*  padding-top: 60px;*/
  position: relative;
  width: 100%;
  height: 360px;
  background-size: cover;
  background-position: center center;
}
.subpage-hero .hero-visual-area::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
}

.subpage-hero .hero-overlay-box {
  position: absolute;
  top: 200px;
  left: 50%;                    
  transform: translateX(-50%);  
  width: 80%;
  height: 100px;
  background-color: rgba(255,255,255,0.85); 
  display: flex;
  align-items: center;
  justify-content: center;
}



.subpage-hero .hero-title {
  color: var(--color-main);
  font-size: var(--font-size-xl);
  font-weight: 800;
  text-align: center;
  margin: 0;
}
.subpage-hero .hero-subtext-box {
  width: 60%;
  margin-inline: auto;
  margin-top: 0; /* ピッタリくっつける */
/*  background: var(--section-header-bg-gradient);*/
  padding: 0.8rem;
  text-align: center;
/*  color: var(--color-white);*/
  position: relative;
  z-index: 0; 
}
.subpage-hero .hero-subtext {
  margin: 0;
  font-size: 1.2rem;
}



/* ============================
  セクション見出し　右下がり右上がり
=============================== */

/* 互い違い斜めをやめて下線のみに色バリエは同じ */
.full-width-heading {
  padding: 2.5rem 1rem;
  background-color: inherit; 
  text-align: center;
}

.full-width-heading .wrapper {
  max-width: 100%;
  display: flex;
  justify-content: center;
}

.full-width-heading h2 {
  display: inline-block;
  padding: 0.75em 1.5em;
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--color-main-text, #333);
  margin: 0;
/*  width: var(--container-medium); */
width: min(100%, var(--container-medium));
}
.full-width-heading h2::after {
  content: '';
  display: block;
  margin: 0.5rem auto 0;
  width: 100%;
  height: 4px;
  border-radius: 2px;
}

.bg-greeting h2::after { background: linear-gradient(to right, #fff 0%, var(--bg-greeting) 20%, var(--bg-greeting) 80%, #fff 100%); }
.bg-timeline h2::after { background: linear-gradient(to right, #fff 0%, var(--bg-timeline) 20%, var(--bg-timeline) 80%, #fff 100%); }
.bg-future h2::after   { background: linear-gradient(to right, #fff 0%, var(--bg-future) 20%, var(--bg-future) 80%, #fff 100%); }
.bg-project h2::after  { background: linear-gradient(to right, #fff 0%, var(--bg-project) 20%, var(--bg-project) 80%, #fff 100%); }
.bg-video h2::after    { background: linear-gradient(to right, #fff 0%, var(--bg-video) 20%, var(--bg-video) 80%, #fff 100%); }
.bg-voices h2::after   { background: linear-gradient(to right, #fff 0%, var(--bg-voices) 20%, var(--bg-voices) 80%, #fff 100%); }

@media (max-width: 768px) {
  .full-width-heading h2 {
    padding: 0.75em 0;
  }
}


/* ============================
  aboutセクション
=============================== */
.lead-text {
  text-align: center;
  font-size: 1.25rem;   
  line-height: 1.8;
  margin-block: 2rem;
  font-weight: 500;         
  color: var(--color-text-main, #333); 
}


/* ============================
  ご挨拶セクション
=============================== */

/* 各挨拶ブロック共通 */
.greeting-item {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: var(--space-lg);
  margin-bottom: 3rem;
  background-color: var(--bg-greeting-section);
  border-radius: 0 8px 8px 0; /*「左上・右上・右下・左下*/
}

/* テキスト左・画像右 */
.row-normal {
  flex-direction: row;
}

/* 画像左・テキスト右 */
.row-reverse {
  flex-direction: row-reverse;
}

/* テキスト部 */
.greeting-text {
  flex: 1;
  padding: 1.5rem;
}
.greeting-role {
  font-size: 1rem;
  font-weight: bold;
  color: var(--color-text-subtle);
  margin-bottom: var(--space-xxs);
}
.greeting-name {
  font-size: var(--font-size-lg);
  font-weight: bold;
  margin-bottom: var(--space-sm);
}
.greeting-message {
  line-height: var(--line-height-loose);
  font-size: 1rem;
}

/* 画像部 */
.greeting-image {
  flex: 1;
  width: 400px; /* 横幅は固定 or 自動調整 */
  height: 100%;
}

.greeting-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius-md);
  margin-bottom: 0;
  box-shadow: -4px -4px 10px rgba(0, 0, 0, 0.15), 4px 4px 10px rgba(0, 0, 0, 0.2);
}

/* スマホ時：縦並び */
@media (max-width: 768px) {
  .greeting-item {
    flex-direction: column-reverse !important;
    border-radius: 8px 8px 0 0;
    gap: var(--space-sm);
  }
  .greeting-image,
  .greeting-text {
    flex: none;
    width: 100%;
  }
}





/* ============================
  トップページ　ご挨拶　
=============================== */

.greeting {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin: 2rem 0;
  padding: 1.5rem 0; 
}
.greeting:not(:last-child){
  border-bottom: 1px solid #DDE2E8;
  margin-bottom: 1.5rem;       
}
.greeting__left {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.greeting__image img {
  max-width: 90%;
  height: auto;
  border-radius: 8px;
  margin: 0 auto 1rem;
}
.greeting__role {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: .25rem;
  color: var(--color-text-subtle);
}
.greeting__name {
  font-size: 1.3rem;
  margin: 0;
  font-weight: 700;
}
.greeting__right {
  flex: 1;
}

.greeting__message {
  line-height: 1.7;
  font-size: 1rem;
}

/* スマホでは縦並び */
@media (max-width: 768px) {
  .greeting {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .greeting__left {
    flex: none;
    margin-bottom: 1.5rem;
  }
  .greeting__image {
    max-width: 400px;
    width: 80%;
  }
  .greeting__image img {
    max-width: 100%;
  }  
  .greeting__right {
    width: 100%;
  }
  .greeting__message {
    text-align: left;
  }
}



/* ============================
  10年間の歩みタイムラインセクション
=============================== */

.timeline {
  position: relative;
  padding-left: 60px;
  max-width: var(--container-medium);
  margin-left: auto;
  margin-right: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 34px; 
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, gold, darkgoldenrod);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 60px;
  position: relative;
}
/* タイムラインと重ねるためにdivで実装*/
.timeline-marker {
  position: absolute;
  left: -34px;
  top: 10px;
  width: 24px;
  height: 24px;
  background: darkgoldenrod;
  border: 4px solid navy;
  border-radius: 50%;
}
/*タイムラインの最後の「～」*/
.wavy-end {
  position: absolute;
  left: -40px;
  top: 0px; 
  width: 100%;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 20'%3E%3Cpath d='M0 5 C12 0, 24 10, 36 5' stroke='black' stroke-width='2' fill='none'/%3E%3Cpath d='M0 15 C12 10, 24 20, 36 15' stroke='black' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat left center;
  background-size: contain;
}

.timeline-content {
  flex: 1;
  padding-right: 1em;
}
.timeline-content h3 {
  font-size: 2em;
  margin-bottom: 0.3em;
  margin-top: 0;
}

.timeline-photo{
  margin-top: 1.2rem;
  padding: 8px;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.timeline-photo img{
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
  margin-bottom: 0;
}
/* 1枚だけのときは1列＝大きく */
.timeline-photo:not(:has(img:nth-child(2))){
  grid-template-columns: 1fr;
  max-width: 520px; 
  margin-left: auto;
  margin-right: auto;  
}


/* スマホ時：縦並び */
@media (max-width: 768px) {
  .timeline-item {
    flex-direction: column;
  }
  .timeline-photo{
    grid-template-columns: 1fr;
    padding: 0;
  }
  .timeline{
    padding-left: 30px;
  }
  .timeline::before {
    left: 5px;
  }
}


/* ============================
  記念事業セクション
=============================== */

.projects-box {
  max-width: var(--container-medium);
  margin-left: auto;
  margin-right: auto;

}

.project-row {
  display: block;  
  padding-bottom: 2.5rem;           
  margin-bottom: 2.5rem;          
  border-bottom: 1px solid #e6e6e6;   
}
.project-row:last-child{
  border-bottom: none;
  padding-bottom: 0;

}

.project-text {
  flex: 1;
}

.project-title {
  margin-bottom: 1rem;
  line-height: 1.2;
}
/* タイトル１（小） */
.project-title__small {
  display: block;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  opacity: 0.8;
  margin-bottom: 0.3rem;
}
/* タイトル２（大） */
.project-title__main {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
}

.project-image{
  width: 100%;
  margin-top: 1.2rem;
  padding: 8px;

  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 8px;
}

.project-image img{
  width: 100%;
  aspect-ratio: 4 / 3; 
  height: auto;
  object-fit: cover;
  display: block;
  margin-bottom: 0; 
}

.project-image:not(:has(img:nth-child(2))){
  grid-template-columns: 1fr;
  max-width: 520px;   
  margin-left: auto;
  margin-right: auto;   
}


/* スマホ時：縦並び */
@media (max-width: 768px) {
  .project-image{
    grid-template-columns: 1fr; 
    max-width: none;  
    padding: 0;
  }    
}


/* Youtubeの最大幅を設定　*/
.page-id-12 figure.wp-block-embed,
.page-id-12 .wp-block-embed__wrapper {
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
}

/* ============================
  会員の言葉セクション
=============================== */
.member-card {
  margin: 0 auto 4rem;
}

.member-header {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.member-photo {
  width: 170px;
  flex-shrink: 0;
  background: #eee;
  border-radius: 4px;
  overflow: hidden;
}
.member-photo img {
  width: 100%;
  height: auto;
}

.member-profile {
  flex: 1;
  min-width: 240px;
}

.member-profile h3 {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.member-meta,
.member-company {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}

.member-company-info {
  border: 1px solid var(--color-gray);
  padding: 1.5rem;
  background-color: var(--color-gray-lightest);
  margin-top: 2rem;
  font-size: 0.95rem;
}
.member-company-info h4 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 1rem;
  border-left: 4px solid var(--voices-accent);
  padding-left: 0.5em;
}
.member-company-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.7;
}
.member-company-info li {
  margin-bottom: 0.8rem;
}


.member-voice h4 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  position: relative;
}

.member-voice h4::before {
  content: "◆";
  color: var(--voices-accent);
  margin-right: 0.5em;
  font-size: 0.9rem;
}

.member-voice p {
  line-height: 1.8;
  font-size: 0.95rem;
  margin: 0 0 1.5rem;
}

/* スマホ時：縦並び */
@media (max-width: 768px) {
  .member-photo {
    margin: 0 auto;
  }
}

  
/* ============================
  投稿画面　前後ボタン
=============================== */
.post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  font-weight: bold;
  font-size: 0.9em;
}
.prev-post {
  text-align: right;
}
.next-post {
  text-align: left;
}


/* ============================
  「ホームに戻る」「一覧に戻る」ボタン
=============================== */
.button-wrapper {
  text-align: center;
  margin: 4em 0 2em;
  display: flex;
  justify-content: center;
  gap: 1.5em;  
}

.btn-home,
.btn-back {
  display: inline-block;
  background: var(--button-back-bg);  
  color: var(--color-white);
  padding: 0.6em 2em;
  border-radius: 4px; 
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-home:hover,
.btn-back:hover {
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  background: var(--button-back-bg-hover);
}



/* 次へ　前へ　体制に*/
.btn-prev,
.btn-next {
  display: inline-block;
  background: var(--button-back-bg);  
  color: var(--color-white) !important;
  padding: 0.6em 1em;
  border-radius: 4px; 
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-prev:hover,
.btn-next:hover {
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  background: var(--button-back-bg-hover);
}
  

/* ******************************************
   プライバシーポリシー
****************************************** */
.honbun_title {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--policy-accent);
  padding-left: 0.5em;
}


/* ******************************************
   お問い合わせ
****************************************** */

.wpcf7-form {
  font-family: 'Helvetica Neue', 'Segoe UI', sans-serif;
  max-width: var(--container-narrow);
  margin-inline: auto;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  padding: 0.75em;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fdfdfd;
  transition: border-color 0.3s ease;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
  border-color: #a67c52; /* 茶色系に */
  outline: none;
}




/* テーブル調整とラベルと必須マーク */
.wpcf7-form table.inquiry {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1em;
}
.wpcf7-form table.inquiry th,
.wpcf7-form table.inquiry td {
  vertical-align: top;
  padding: 1em;
  border: none;
}
.wpcf7-form table.inquiry th {
  text-align: left;
  padding-bottom: 0.5em;
  color: #555;
  font-weight: normal;
  width: 8em; 
  white-space: nowrap; 
  padding-right: 1em; 
}
.wpcf7-form table.inquiry th .haveto {
  display: inline-block;
  background: #fef6f8; 
  color: #b30038; 
  font-size: 0.75em;
  font-weight: bold;
  padding: 0.1em 0.6em;
  border-radius: 2px;
  margin-left: 0.5em;
  vertical-align: middle;
}

/*チェックボックスとボタン中央寄せ*/
.wpcf7-form .submit-area p {
  text-align: center;
}
/* スピナーのせいでボタン中央寄せがずれるのを回避 */
.wpcf7-form .wpcf7-spinner {
  display: block; 
  margin: 1em auto 0; 
}

/* チェックボックスの説明文 */
.wpcf7-form label {
  font-size: 0.9em;
  color: #666;
}

/* 送信ボタン */
.wpcf7-form button[type="submit"],
.wpcf7-form input[type="submit"] {
  background-color: #8b5e3c;
  color: #fff;
  padding: 0.8em 4em;
  font-size: 1em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 2rem;
}

.wpcf7-form button[type="submit"]:hover,
.wpcf7-form input[type="submit"]:hover {
  background-color: #6f4a2f;
}

/* チェックボックス位置微調整 */
.wpcf7-form input[type="checkbox"] {
  transform: scale(1.2);
  margin-right: 0.5em;
}

/* スマホではラベルと入力欄が縦並び*/
@media (max-width: 768px) {
  .wpcf7-form table.inquiry tr {
    display: block;
    margin-bottom: 1.5em; 
  }
  .wpcf7-form table.inquiry th,
  .wpcf7-form table.inquiry td {
    display: block;
    width: 100%;
    padding: 0.2rem;
  }
  .wpcf7-form table.inquiry th {
    margin-bottom: 0.3em;
  }
  .wpcf7-form table.inquiry th p,
  .wpcf7-form table.inquiry td p {
    margin-bottom: 0;
  }  
}


/* ******************************************
   会員インタビュー
****************************************** */

/* ========== 枠（カード） ========== */
.member-list-wrap{
  border:1px solid #D6DBE1;     
  border-radius:12px;
  background:#F6F8FA;            
  transition:border-color .2s, box-shadow .2s, background .2s;
  overflow: clip;
  margin-bottom:1rem;
}
.member-list-wrap.is-open{
  border-color:#C5CCD5;
  background:#fff; 
  box-shadow:0 8px 18px rgba(0,0,0,.06);
}
.member-interview-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ========== ヘッダー（トグル） ========== */
.toggle-member-list{
  width:100%;
  display:flex; 
  align-items:center;
  gap:.75rem;
  padding:.7rem 1rem;
  background:#ECEFF3;            /* 枠色系の中間色 */
  color:#1f2937;
  font-weight:700;
  border:0;
  /* 下線はボーダーでなく inset シャドウにして“二重線”回避 */
  box-shadow: inset 0 -1px 0 #DDE2E8;
  border-radius:12px 12px 0 0;
  cursor:default;              
  pointer-events:none;          
}

.member-list-wrap.is-open .toggle-member-list{ background:#F6F8FA; }

.toggle-member-list .icon-left {
  display:flex;
  align-items:center;
  font-size:18px;
}
.toggle-member-list .label {
  font-size:0.85rem;
}

/* 右側の＋／－アイコン */
.toggle-member-list::after{
  content:"+";
  display:grid; place-items:center;
  width:28px; height:28px; border-radius:50%;
  background:#fff; color:#4b5563;
  border:1px solid #D6DBE1;
  font-size:18px; line-height:1;
  display:none;
}
.member-list-wrap.is-open .toggle-member-list::after{ content:"–"; }



.member-list {
  width : 280px;
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  grid-auto-rows: 3rem;
  gap: 0.5rem;
  padding: 0.5rem; 
  align-items: start;  
}

.member-list .member-btn{
  display:block; width:100%;
  text-align:center;
  padding: .8rem 1rem;
  border-radius:10px;
  border:1px solid #E1E6EC;
  background:#F9FBFC;
  color:#111827;
  font-weight:600;
  font-size: 0.85rem;
  transition: box-shadow .15s, border-color .15s, transform .05s, background .15s;
}
.member-list .member-btn:hover{
  background:#fff;
  box-shadow:0 3px 10px rgba(0,0,0,.06);
}
.member-list .member-btn.active{
  border-color:#9aa8b8;
  background:#EEF4FF;                     /* 選択中の淡青 */
  box-shadow: 0 0 0 3px rgba(69,100,160,.15);
}

/* 既存の「ボタンの下線」や「横ボーダー」を打ち消し（ダブルライン防止） */
.member-list .member-btn + .member-btn{ margin-top:0; }

.member-detail {
  flex: 1;
  padding: 0 1rem 2rem;
}
.member-panel {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 3rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.member-panel {
  display: none;
}
.member-panel.active {
  display: block;
}
.member-panel .intro-area img {
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.member-panel .intro-area {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin: 1.5rem 0;
}
/* 活動写真1～4 */
.activity-photo {
  margin: 2rem 0; 
  text-align: center;
}
.activity-photo img {
  max-width: 600px;
  max-height: 400px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.q-block {
  margin-top: 2rem;
}
.q-block h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

/* 吹き出し形式　*/
.qa-bubble-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 4rem;
}

.qa-bubble {
  display: flex;
  align-items: flex-start;
  max-width: 100%;
}

.bubble-label {
  font-weight: bold;
  color: #fff;
  background-color: #888;
  padding: 0.3rem 0.9rem;
  border-radius: 1rem;
  white-space: nowrap;
}

.qa-bubble.q {
  flex-direction: column;
  justify-content: flex-start;
}
.qa-bubble.a {
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}

.qa-bubble.q .bubble-content::before,
.qa-bubble.a .bubble-content::before {
  position: absolute;
  top: -1.6em;                   
  z-index: 2;
  width: 2.75em;
  height: 2.25em;
  border-radius: 1rem;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1em;
  left: -0.1em;
}
.qa-bubble.q .bubble-content::before {
  content: "Q";
  background: #b71c1c;   
}
.qa-bubble.a .bubble-content::before {
  content: "A";
  background: #1565c0;  
}

.bubble-content {
  background: #fff;
  padding: 1rem 1.4rem;
  border-radius: 1.2rem;
  line-height: 1.6;
  max-width: 100%;
  width: 90%;
  position: relative;
}

.qa-bubble.q .bubble-content {
  border: 2px solid #b71c1c;
}

.qa-bubble.a .bubble-content {
  border: 2px solid #1565c0;
  align-self: flex-end;
}

/* 吹き出し形式をやめてシンプルに　*/
.qa-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1rem;
}
.qa-q, .qa-a {
  display: flex;
  gap: .5rem;
  margin-bottom: .5rem;
}
.qa-label {
  font-weight: 700;
  color: var(--accent-color, #2b6cb0); /* 青とかにするとQが映える */
  flex-shrink: 0;
}
.qa-a .qa-label {
  color: #e53e3e; /* 赤っぽくしてもいい */
}
.qa-text {
  flex: 1;
}



@media (max-width: 768px) {
  .member-interview-wrapper {
    flex-direction: column;
  }
  .toggle-member-list {
    cursor:pointer;
    pointer-events:auto;
  }
  .toggle-member-list::after{
    display:grid;
  }
  .member-list {
    grid-template-columns: repeat(3, 1fr); /* スマホ: 3列 */
    width : 100%;
  }  

  .member-list.is-collapsed {
    display: none;
  }
  .member-detail {
    order: 2;
    padding: 0;
  }
  .member-panel {
    padding: 1rem;
  }
  .member-panel .intro-area {
    flex-direction: column;
    align-items: center; 
    gap: .5rem;
    margin-bottom: 3rem;
  }  
  .member-panel .bubble-content{
    padding: 1rem 1rem;
  }
}


/* 前後ボタン　*/
.member-nav {
  margin-top: 2rem;
  text-align: center;
  gap: 1rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.member-nav .nav-btn {
  padding: 0.5em 1.5em;
  background-color: #f2f2f2;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.2s;
}

.member-nav .nav-btn:hover {
  background-color: #e6e6e6;
}





/* ******************************************
   投稿一覧　と　投稿詳細　（お知らせ）　以下今のところ未使用
****************************************** */
/* 投稿一覧の説明文 */
.archive-description {
    text-align: center;
    font-size: 1.1rem;
    margin: 0 auto 2em;
}

/* 投稿一覧の1件分の投稿 */
.article-item {
    border-bottom: 1px solid var(--color--gray--border);
    margin-bottom: 15px;
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
}
.article-item:last-child {
    border-bottom: none;
}
.article-item a {
    padding: 0.8rem;
}
.article-item a:hover {
    background-color: var(--color--gray--hover);
    border-radius: 0.4rem;
    transition: background-color 0.3s ease;
}

/* 投稿一覧　サムネイルが無ければ非表示　*/
.article-thumbnail .no-image {
    display: none;
}

/* 投稿ページと投稿一覧共通　日付 */
.article-date {
    display: block;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    color: var(--brand--text--date);
}

/* カード型記事表示 */
.card-layout {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6rem;
}
.post-card {
    border: 1px solid var(--color--gray--border);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* ヘッダ・カテゴリ・タグ */
.article-head {
    margin-bottom: 0.5em;
}

.article-cat {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    margin-top: 0.5em;
}
.article-cat .cat-label {
    background: var(--category--bg);
    color: var(--color--white);
    padding: 0.3em 0.6em;
    border-radius: 3px;
    font-size: 0.85em;
    font-weight: bold;
    transition: background 0.3s;
}
.cat-label:hover {
    background: var(--category--bg--hover);
}

.article-tag {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    margin: 1em 0;
}
.article-tag .tag {
    background: var(--color--gray);
    padding: 0.3em 0.6em;
    border-radius: 10px;
    font-size: 0.8rem;
    transition: background 0.3s;
}
    
/* サイドの最新の投稿一覧 */
.latest-posts-box {
    margin-bottom: 2rem;
    font-size: 0.85rem;
}
.latest-posts-heading {
    margin-bottom: 0.8rem;
    border-left: 4px solid var(--brand--highlight--bg);
    padding-left: 0.5rem;
}
.latest-posts-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.latest-posts-list li {
    border-bottom: 1px dashed var(--color--gray--border);
    padding-bottom: 0.3em;
    margin-bottom: 0.3em;

}
.latest-posts-list a {
    transition: color 0.2s ease;
}

/* サイドのボックス・LINE QR・ナビ */

/* サイドに表示するエリア */
.common-side-area {
    width: 260px; 
    align-self: flex-start; 
}

/* サイドに表示するBOX(共通仕様  詳細*/
.info-box {
    background-color: var(--color--white); 
    border: 1px solid var(--color--gray--border);
    padding: 0.8em;
    margin-bottom: 2em;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

/* サイドに表示するBOX - LINEQR */
.lineqr{
    text-align: center;
    border: 4px solid var(--brand--lineqr--border);
}
.lineqr .side-heading {
    margin-bottom: 0.5em;
    letter-spacing: 0.05em;
}
.lineqr p {
    font-size: 0.9em;
}
.lineqr img {
    display: block;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .lineqr {
        display: none;
    }  
}  

/* サイドに表示するBOX - よくある質問ナビ */
.sticky-wrapper {
    position: sticky;
    top: 2rem;
}

.faq-toc-wrapper {
    font-size: 0.9rem;

    max-height: 80vh;
    overflow-y: auto;
}
.faq-toc-label{
    text-align: center;
}

.faq-toc-heading {
    cursor: pointer;
    font-weight: bold;
    color: var(--brand--secondary);
    margin-top: 1em;
    margin-bottom: 0.5em;
    position: relative;
}
.faq-toc-heading::after {
    content: '▶';
    position: absolute;
    right: 0;
    transition: transform 0.3s ease;
}
.faq-toc-heading.open::after {
    transform: rotate(90deg);
}

.faq-toc-list {
    list-style: none;
    padding: 0 0 0.4rem 0.5rem;
    margin: 0;
    display: none;
}
.faq-toc-list.open {
    display: block;
}
.faq-toc-list li {
    margin-bottom: 0.5rem;
}
  
.faq-toc-list a {
    display: block;
    padding: 0.2rem 0.4rem;
    border-radius: 0.4rem;
    background: transparent;
    transition: background 0.2s ease, color 0.3s;
    position: relative;
    z-index: 100;
}
.faq-toc-list a:hover {
    background: var(--color--gray--hover);
}
@media (max-width: 768px) {
    .faq-toc-wrapper {
        width: 100%;
        order: 1; 
        margin-bottom: 1.5rem;
        position: static;
        max-height: none;
    }
    .sticky-wrapper {
        position: static;
    }
}



/* ******************************************
   一時的ヘッダーフッター（リンク無しで最低限）
****************************************** */
.header-temp-bar{
  border: none;
  border-bottom: 4px solid rgba(0, 47, 108, 0.8);
}


/* ******************************************
   記念事業　申込フォーム ※あとで削除
****************************************** */

.entry-form .form-row{margin:1rem 0}
.entry-form label{display:block;font-weight:700;margin-bottom:.25rem}
.entry-form .haveto{color:#b91c1c;margin-left:.3em}
.form-actions{display:flex;gap:.75rem;margin-top:1rem;justify-content:center;}
/*.real-submit{display:none}  本送信は隠す */

.real-submit{
  position:absolute;
  left:-9999px;
  width:1px; height:1px;
  opacity:0;
  pointer-events:none;
  border:0; padding:0; margin:0;
}


.cf7-preview-modal{
  position: fixed; inset: 0; background: rgba(0,0,0,.35);
  display:none; align-items:center; justify-content:center; z-index: 9999;
}
.cf7-preview-modal.is-open{display:flex}
.cf7-preview-dialog{
  background:#fff; width:min(680px,92vw); padding:1.25rem 1.25rem 1rem; border-radius:.75rem;
  box-shadow:0 10px 30px rgba(0,0,0,.2)
}
.confirm-list{margin:1rem 0}
.confirm-list dt{font-weight:700;margin-top:.6rem}
.confirm-list dd{margin:0 0 .4rem}

/* ===== 最低限のボタンスタイル ===== */
.cf7-preview-btn,
.cf7-preview-send,
.cf7-preview-back{
  display:inline-block;
  padding:.6rem 1rem;
  border-radius:.5rem;
  border:1px solid transparent;
  font-weight:700;
  font-size: 1rem;
  line-height:1;
  cursor:pointer;
}

/* 主ボタン：確認・送信 */
.cf7-preview-btn,
.cf7-preview-send{
  background:#002f6c;
  color:#fff;
  border-color:#002f6c;
}
.cf7-preview-btn:hover,
.cf7-preview-send:hover{ opacity:.9; }

/* サブボタン：修正する */
.cf7-preview-back{
  background:#fff;
  color:#334155;
  border-color:#d1d5db;
}
.cf7-preview-back:hover{ background:#f3f4f6; }

/* 確認モーダルのボタンを横並び */
.cf7-preview-dialog .form-actions{
  display:flex;
  gap:.75rem;
  align-items:center;
  flex-wrap:wrap;
  justify-content: center;
}
.cf7-preview-dialog .form-actions button{
  display:inline-flex !important;
  width:auto !important;
  flex:0 0 auto;
  margin-right: 1rem;
}





/* ******************************************
   記念事業　申込フォーム MW WP Form版 採用
****************************************** */

.mw_wp_form {
  font-family: 'Helvetica Neue', 'Segoe UI', sans-serif;
  max-width: var(--container-narrow);
  margin-inline: auto;
}

.mw_wp_form .note {
  margin: 1rem auto 1rem;
}
.mw_wp_form input[type="text"],
.mw_wp_form input[type="email"],
.mw_wp_form textarea {
  width: 100%;
  padding: 0.75em;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fdfdfd;
  transition: border-color 0.3s ease;
}

.mw_wp_form input[type="text"]:focus,
.mw_wp_form input[type="email"]:focus,
.mw_wp_form textarea:focus {
  border-color: #a67c52; /* 茶色系に */
  outline: none;
}

/* テーブル調整とラベルと必須マーク */
.mw_wp_form table.inquiry {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1em;
  background-color:#f5f5f5;
}
.mw_wp_form table.inquiry th,
.mw_wp_form table.inquiry td {
  vertical-align: top;
  padding: 1em;
  border: none;
}
.mw_wp_form table.inquiry th {
  text-align: left;
  padding-bottom: 0.5em;
  color: #555;
  font-weight: normal;
  width: 8em; 
  white-space: nowrap; 
  padding-right: 1em; 
}
.mw_wp_form table.inquiry th .haveto {
  display: inline-block;
  background: #fef6f8; 
  color: #b30038; 
  font-size: 0.75em;
  font-weight: bold;
  padding: 0.1em 0.6em;
  border-radius: 2px;
  margin-left: 0.5em;
  vertical-align: middle;
}



/*チェックボックスとボタン中央寄せ*/
.mw_wp_form .submit-area {
  text-align: center;
}


/* 表示切り替え */
.mw_wp_form_input   .confirm-only,
.mw_wp_form_input   .complete-only { display: none; }

.mw_wp_form_confirm .input-only,
.mw_wp_form_confirm .complete-only { display: none; }

.mw_wp_form_complete .input-only,
.mw_wp_form_complete .confirm-only { display: none; }

/* 完了画面では全部消したい */
.mw_wp_form_complete .submit-area{ display:none; }

/* 電話番号・LINEのボックスサイズ */
.mw_wp_form .col-lg-4 {
  width: 50%;
}
@media (max-width: 768px) {
  .mw_wp_form .col-lg-4 {
    width: 100%;
  }
}



/* スピナーのせいでボタン中央寄せがずれるのを回避 
.mw_wp_form .wpcf7-spinner {
  display: block; 
  margin: 1em auto 0; 
}*/

/* チェックボックスの説明文 */
.mw_wp_form label {
  font-size: 0.9em;
  color: #666;
}



/* 送信ボタン */
.mw_wp_form button[type="submit"],
.mw_wp_form input[type="submit"] {
  background-color: #8b5e3c;
  color: #fff;
  padding: 0.8em 4em;
  font-size: 1em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 2rem;
}

.mw_wp_form button[type="submit"]:hover,
.mw_wp_form input[type="submit"]:hover {
  background-color: #6f4a2f;
}




.mw_wp_form input[type="submit"].mwf-btn-back {
  background-color: #A9A9A9;
}
.mw_wp_form input[type="submit"].mwf-btn-back:hover {
  background-color: #9F9F9F;
}

/* 確認画面のボタン位置 */
.mw_wp_form_confirm .buttons.confirm-only {
  display: flex; 
  gap: .8rem; 
  justify-content: center;
}
/*選択ボックスの高さ*/
.mw_wp_form .form-select {
  min-height: 3.5rem;
}
/* チェックボックス位置微調整 */
.mw_wp_form input[type="checkbox"] {
  transform: scale(1.2);
  margin-right: 0.5em;
}

.mw_wp_form_confirm .note.confirm-only {
  padding-top:2rem;
  padding-bottom: .5rem;
}
.mw_wp_form_complete {
  padding-top: 2rem;
}


/* スマホではラベルと入力欄が縦並び*/
@media (max-width: 768px) {
  .mw_wp_form table.inquiry tr {
    display: block;
    margin-bottom: 0.5em; 
  }
  .mw_wp_form table.inquiry th,
  .mw_wp_form table.inquiry td {
    display: block;
    width: 100%;
    padding: 0.2rem 1rem;
  }
  .mw_wp_form table.inquiry th {
    margin-top: 0.3em;
  }
  .mw_wp_form table.inquiry th p,
  .mw_wp_form table.inquiry td p {
    margin-bottom: 0;
  }  
  .mw_wp_form_confirm .buttons.confirm-only{
    flex-direction: column;
    align-items: center;
  }
  .mw_wp_form .buttons .btn{
    width: 80%;
  }  
}


/* ******************************************
   記念事業　申込フォームへボタン
****************************************** */
.btn-entry {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    margin: 0 auto 2rem;
    width: min(720px, 92%);
    height: 55px;
    border-radius: 14px;
    border: 3px solid #2A4187;
    font-weight: 800;
    font-size: clamp(1.05rem, 2.2vw, 1.6rem);
    background: #2A4187;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 14px rgba(0, 0, 0, .18);
    transition: transform .08s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.editor-content .btn-entry a{
    color: #fff;
    display: block;
    width: 100%;
    height: 60px;
    text-align: center;
    line-height: 60px;
}

.btn-entry:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, .22);
}


/*　30周年文言をつけてはいけないページ　2760temp*/

.page-template-page-projects-temp2760 .anniv-title-ja{
  font-size : 1.4rem;
}
.page-template-page-projects-temp2760 .anniv-left {
    flex: 0 0 43%;
}


@media (max-width: 768px) {
  .page-template-page-projects-temp2760 .anniv-title-ja{
    font-size : 1.05rem;
  }
  .page-template-page-projects-temp2760 .anniv-title-en {
    display: block;
  }  
  .page-template-page-projects-temp2760 .org-logo {
    display: none;
  }

}




/* ******************************************
   記念式典
****************************************** */


/* ===== 式典・祝賀会 冒頭 ===== */
.anniv-summary {
  max-width: 52rem;
  margin: 3rem auto 4rem;
  padding: 2.2rem 2rem;
  background: #eef6fd;           /* 今の水色を活かす */
  border-radius: 6px;            /* 角はほんのり */
  text-align: center;
  gap: .5rem;
}

.anniv-summary .anniv-date {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.anniv-summary .anniv-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.anniv-summary .anniv-place {
  margin-bottom: 0.9rem;
}

.anniv-summary .anniv-time {
  display: inline-block;
  text-align: left;  
  line-height: 1.8;
}


/* ===== 式典・祝賀会 共通スタイル ===== */

/* 時間ラベル */
.ceremony-section .time-label,
.reception-section .time-label {
  text-align: center;
  font-weight: 600;
  letter-spacing: .06em;
  margin: 2rem 0 1.25rem;
}

/* テーブル共通 */
.agenda-wrap{
  max-width: 28rem;
  margin-inline: auto;
}
.agenda-wrap table.agenda-table{
  width: 100%;
}

.ceremony-section .agenda-table td,
.reception-section .agenda-table td {
  padding: .9em 1em;
  border-bottom: 1px solid #e8e8e8;
}


/* ===== アトラクション ===== */
.attraction-section .band-name {
  margin: 2rem 0 1.5rem;
  font-size: 1.05rem;   
  letter-spacing: 0.15em;
  color: #555;         
  text-align: center;
}

.artist-profile {
  max-width: 44rem;
  margin-inline: auto;
}

.attraction-section .wp-block-columns {
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.attraction-section img {
  border-radius: 4px;
}

.attraction-section p {
  font-size: 0.95em;
  line-height: 1.7;
}

.attraction-section table {
  width: auto;
  margin: 0 auto;
  border-collapse: collapse;
}

.attraction-section td {
  padding: 0.9em 0;
  border-left: none;
  border-right: none !important;
  border-top: none;
  border-bottom: 1px solid #e8e8e8;
}

.attraction-section td:first-child {
  width: 8.5em;
  color: #666;
  font-size: 0.95em;
  letter-spacing: 0.02em;
}



/* ******************************************
   物故会員追悼
****************************************** */
/* 物故会員追悼 */
.memorial{
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1rem 2.5rem;
}
/* 導入文 */
.memorial p{
  line-height: 1.9;
}

.memorial__note{
  margin-top: 1.25rem;
  padding: 1rem;
  background: #f7f7f7;
  border-left: 4px solid #bbb;
  font-size: 0.95rem;
}

/* 見出し */
.memorial__title{
  margin-top: 2.5rem;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}


.memorial__item{
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;

  padding: 0.75rem 0;
  margin-top: 1rem;
  border-bottom: 1px solid #e5e5e5;
}

.memorial__date{
  flex: 0 0 100%;

  display: inline-block;
  width: fit-content;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: #f5f5f5;

  font-size: 0.95rem;
  color: #444;
  font-weight: 600;
}

.memorial__name{
  font-size: 1.1rem;
  font-weight: 600;
}

.memorial__label{
  align-self: center;
  color: #666;      
  font-size: 0.95rem;
}


/* 締め */
.memorial__closing{
  margin-top: 3rem;
  text-align: center;
  font-weight: 600;
}

@media (max-width: 768px) {
  .memorial{
    padding: 1.5rem 0 2.5rem;
  }
}

@media (max-width: 599px){
  figure.wp-block-gallery.has-nested-images.is-layout-flex{
    display: block !important;  
  }

  figure.wp-block-gallery.has-nested-images.is-layout-flex > figure.wp-block-image{
    width: 100% !important; 
    margin: 0 0 12px !important;
  }

  figure.wp-block-gallery.has-nested-images.is-layout-flex > figure.wp-block-image:last-child{
    margin-bottom: 0 !important;
  }
}