/*
Theme Name: SENDAI OHU RC
Theme URI:
Author: One-clue
Author URI: https://www.one-clue.com/
Description: 仙台奥羽ロータリークラブのテーマです
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sendai-ohu-rc
*/

:root {
  /* 基本カラー */
  --color-main: #96a580;     /* 深緑系 */
  --color-accent: #f5a26f;   /* アプリコット */
  --color-hover-accent: #96a580; /* アプリコットホバー時 */
  --color-text: #151515;
  --color-hover-text: #96a580; /* 深緑系 */
  --color-white: #fff;
  --color-black: #151515;
  --color-gray: #f8f7f6;     /* 薄いグレー */
  --color-warm-gray: #efe9e4;  /* 少し濃いグレー */
  --color-pale-green: #e9f3db;
  --color-red: #C7504B;

  /* フォントサイズ（スマホ基準） */
  --font-size-sm: 13px;
  --font-size-base: 15px;
  --font-size-md: 17px;
  --font-size-lg: 20px;
  --font-size-xl: 26px;
  --font-size-sidebar: 15px;

  /* ボタン */
  --btn-bg: var(--color-black);
  --btn-text: var(--color-white);
  --btn-hover-bg: var(--color-main);
  --btn-hover-text: var(--color-white);

  /* padding モバイル　*/
    --section-gap-lg: 60px;
    --section-gap-md: 60px;
    --section-gap-sm: 30px;
    --container-full-gap: 20px;
    --footer-gap-lg: 60px;
    --card-gap: 20px;
    --card-gap-lg: 30px;
}
@media (min-width: 768px) {
  :root {
    --font-size-sm: 14px;
    --font-size-base: 16px;
    --font-size-md: 20px;
    --font-size-lg: 24px;
    --font-size-xl: 32px;
    --font-size-sidebar: 15px;
    --section-gap-lg: 120px; /* PC標準 */
    --section-gap-md: 100px; /* PC狭め */
    --section-gap-sm: 40px;
    --container-full-gap: 60px;
    --footer-gap-lg: 80px;
    --card-gap: min(3vw, 30px);
    --card-gap-lg: min(5vw, 50px);
  }
}

/* ==============================
   ベース設定
============================== */
* {
  margin: 0;
  padding: 0;
}
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic UI', 'Yu Gothic', 'Meiryo', sans-serif;
  color: var(--color-text);
  line-height: 1.6;
  background: var(--color-gray);
  overflow-x: hidden;
  width: 100%;
}
p {
  margin-bottom: 1.5em;
}
a {
  transition: .5s;
  letter-spacing: 0.05em;
  color: var(--color-text);
}
a:hover {
  color: var(--color-hover-text);
  text-decoration: none;
}
a:active {
  color: var(--color-hover-text);
}
a:focus {
  color: var(--color-hover-text);
}
address {
  font-style: normal;
}
img {
  vertical-align: bottom;
}
/* ==============================
   ヘッダー
============================== */
.site-header {
  height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: var(--color-black) 1px solid;
}

.site-title a:hover {
  opacity: .6;
}

.site-logo img {
  height: 40px;
  width: auto;
  display: block;
}

@media (min-width: 768px) {
  .site-header {
    height: auto;
    padding: 15px 0;
  }
  .site-logo img {
    height: 60px;
  }
  .site-header .container-full {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 20px;
  }
}
@media (min-width: 1025px) {
  .site-header {
    padding: 30px 0;
  }
  .site-header .container-full {
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
  }
  .site-logo {
    margin-right: auto;
  }
}

/* ==============================
   ハンバーガー（ボタン）
============================== */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background: var(--color-black);
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: absolute;
  right: 0;
  top: 0;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  margin: 4px 0;
  transition: 0.3s;
  transform-origin: center;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.hamburger.active span:nth-child(2) {
  transform: rotate(-45deg) translate(4px, -4px);
}
.main-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 250px;
  height: 100%;
  background: var(--color-white);
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 1000;
  padding: 80px 0 0;
}
.main-nav.active {
  transform: translateX(0);
}
.main-menu li:not(:last-child) a:hover {
  color: var(--color-hover-text);
}
.main-menu li.current-menu-item a {
  color: var(--color-main);
}
.main-menu li:last-child a {
  background: var(--color-black);
  color: var(--color-white);
  display: block;
  margin: 20px;
  text-align: center;
}
.main-menu li:last-child a:hover {
  background: var(--color-main);
}
.main-nav .main-menu {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 0;
  list-style: none;
}
.main-nav .main-menu a {
  text-decoration: none;
  display: block;
  font-weight: 700;
  color: var(--color-black);
  white-space: nowrap;
  padding: 10px 20px;
}
.main-nav .main-menu a .en {
  display: none;
}

@media (min-width: 768px) {
  .main-nav {
    position: static;
    width: auto;
    height: auto;
    background: none;
    box-shadow: none;
    padding: 0;
    transform: none;
    transition: none;
  }
  .main-nav.active {
    transform: none;
  }
  .main-nav .main-menu {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 30px;
    align-items: center;
  }
  .main-nav .main-menu a {
    line-height: 1;
    padding: 10px 0;
  }
  .main-menu li:last-child a {
    padding: 10px 20px;
    margin: 0;
    text-align: inherit;
  }
  .hamburger {
    display: none;
  }
}
@media (min-width: 1025px) {
  .main-nav .main-menu {
    justify-content: flex-end;
    gap: 10px 30px;
  }
}

/* オーバーレイ */
.overlay {
  position: fixed;
  pointer-events: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999; /* ナビの下、ハンバーガーの下 */
  opacity: 0;
  transition: opacity 0.3s;
}
.overlay.active {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* ==============================
   フッター
============================== */
footer a {
  text-decoration: none;
  color: var(--color-text);
}
footer a:hover {
  color: var(--color-hover-text)
}
.contact-section {
  background: url(img/bg_grn.png);
  padding: var(--section-gap-lg) 0;
  text-align: center;
}
.contact-section p {
  font-size: 1.1em;
  font-weight: 500;
}
.contact-buttons {
  gap: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1em;
}
.footer-inner {
  border-top: var(--color-black) 1px solid;
}
footer .footer-top {
  padding-top: var(--footer-gap-lg);
  padding-bottom: var(--footer-gap-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}
.footer-logo img {
    width: auto;
    height: 40px;
}
.footer-address {
  line-height: 1.8;
}
.footer-address .label {
  font-weight: 700;
}
.footer-menu a {
  font-size: var(--font-size-sm);
  font-weight: 700;
  display: block;
}
.footer-menu a .en {
  display: none;
}
footer li {
  list-style: none;
}
.footer-bottom {
  padding: 30px 0;
}
.sns-links {
  display: flex;
}
.site-info {
  font-size: var(--font-size-sm);
}
.sns-links a {
  display: block;
  background-repeat: no-repeat;
}
.sns-links a:hover {
  opacity: .5;
}
.sns-links .map a {
  background-image: url(img/i_map.svg);
}
.sns-links .fb a {
  background-image: url(img/i_facebook.svg);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.pagetop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: url(img/arrow04_w.svg) no-repeat center / 40% auto;
  background-color: var(--color-main);
  text-indent: 9999px;
  overflow: hidden;
  white-space: nowrap;
  border-radius: 50%;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.pagetop.show {
  opacity: 1;
  pointer-events: auto;
}
.pagetop:hover {
  background-color: var(--color-accent);
}
@media (max-width: 767px) {
  .footer-menu li:not(:last-child) {
    border-bottom: var(--color-black) 1px solid;
  }
  .footer-menu a {
    padding: 1em 20px;
    position: relative;
  }
  .footer-menu a:after {
    content: "";
    display: block;
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;
    background: var(--color-main) url(img/arrow02_w.svg) no-repeat center;
    background-size: 46% auto;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 20px;
    margin: auto;
    transition: .5s;
  }
  .footer-menu a:hover:after {
    background-color: var(--color-black);
  }
  .sns-links {
    gap: 20px;
    margin-bottom: 50px;
  }
  .sns-links a {
    height: 30px;
  }
  .sns-links .map a {
    width: 34px;
  }
  .sns-links .fb a {
    width: 30px;
  }
  .site-info {
    text-align: center;
  }
}
@media (min-width: 768px) {
.contact-buttons {
  gap: 40px;
}
  .footer-logo img {
    height: 80px;
  }
  .footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 2em;
  }
  .footer-middle {
    padding: 40px 60px;
  }
  .footer-bottom {
    padding: 60px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
  }
  .sns-links {
    gap: 30px;
  }
  .sns-links a {
    height: 40px;
  }
  .sns-links .map a {
    width: 46px;
  }
    .sns-links .fb a {
    width: 40px;
  }
}
/* ==============================
   ページ共通
============================== */
.apricot {
  color: var(--color-accent);
}
.green {
  color: var(--color-main);
}
.red {
  color: var(--color-red);
}
ul + h3 {
  margin: 3em 0 1.5em;
}
.align-center {
  text-align: center;
}
.margin-b20 {
  margin-bottom: 20px;
}
.container {
  padding: 0 20px;
  max-width: 1120px;
  margin: 0 auto;
  box-sizing: border-box;
}
.container-full {
   padding-left: var(--container-full-gap);
   padding-right: var(--container-full-gap);
}
main section:not(.join-section):not(.top-slider) {
  padding: var(--section-gap-lg) 0;
}
.section-title {
  font-size: var(--font-size-xl);
  letter-spacing: .1em;
}
.section-title:not(.title-wrapper .section-title):not(.news-section .section-title) {
  margin-bottom: 1em;
}
.section-title .en {
  font-size: var(--font-size-sm);
  display: block;
  color: var(--color-main);
}
.section-title + p {
  font-weight: 500;
}
.p-tight {
  margin-bottom: 0;
}
.intro-title {
  margin-bottom: 1em;
}
.btn_icon {
  background: var(--btn-bg);
  color: var(--btn-text);
  width: 90%;
  max-width: 400px;
  text-decoration: none;
  font-weight: 700;
  font-size: var(--font-size-md);
  padding: .5em 1.5em;
  letter-spacing: 0.1em;
  display: flex;
  justify-content: center;
}
.btn_icon:hover {
  background: var(--btn-hover-bg);
}
.btn_icon.btn_tel span {
  background-image: url(img/i_tel.svg);
}
.btn_icon.btn_mail span {
  background-image: url(img/i_mail.svg);
}
.btn_icon span {
  display: inline-block;
  padding: .5em 0 .5em 42px;
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 30px auto;
}
.page-header {
  padding: 60px 0;
  border-bottom: var(--color-black) 1px solid;
}
.page-header .container-full{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  row-gap: 1em;
  list-style: none;
}
.breadcrumb-list a {
  color: var(--color-text);
  text-decoration: none;
}
.breadcrumb-list a:hover {
  color: var(--color-hover-text);
}
.breadcrumb-list .en {
  display: none;
}
.breadcrumb-list span {
  font-weight: 700;
  font-size: var(--font-size-sm);
}
.breadcrumb-list li:first-child {
  display: flex;
  align-items: center;
}
.breadcrumb-list li + li {
  display: inline-block;
  border-radius: 20px;
  background: var(--color-warm-gray);
  margin-left: 19px;
  position: relative;
}
.breadcrumb-list li:not(:first-child) a {
  display: block;
  padding: 5px 10px;
}
.breadcrumb-list li + li span.current-item {
  padding: 5px 10px;
}
.breadcrumb-list li + li span {
  display: inline-block;
  line-height: 1.2;
}
.breadcrumb-list li + li span:not(.post-post) {
  white-space: nowrap;
}
.breadcrumb-list li + li span.post-post {
  white-space: normal;
}
.breadcrumb-list li + li:before {
  content: "";
  display: block;
  width: 7px;
  height: 11px;
  background: url(img/arrow03_grn.svg) no-repeat center;
  background-size: contain;
  position: absolute;
  top: 0;
  left: -13px;
  bottom: 0;
  margin: auto;
}
.page-title {
  letter-spacing: .1em;
}
.page-title .en {
  display: block;
  color: var(--color-main);
  font-size: var(--font-size-sm);
}
.border-top {
  border-top: var(--color-black) 1px solid;
}
p.catchcopy {
  font-size: var(--font-size-lg);
  font-weight: 700;
  position: relative;
  padding-left: 1.5em;
  letter-spacing: 0.1em;
}
p.catchcopy:before {
  content: "●";
  color: var(--color-accent);
  width: 1em;
  display: block;
  position:  absolute;
  top: 0;
  left: 0;
}
p.catchcopy span,
p.catchcopy strong {
  display: inline-block;
}
@media (max-width: 767px) {
  .page-header {
    padding-bottom: 30px;
  }
  .page-header .container-full {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }
}
@media (min-width: 768px) {
  .sp {
    display: none;
  }
}
/* ==============================
   トップページ
============================== */
/* ==============================
   スライダー
============================== */
.top-slider {
  padding: var(--section-gap-sm) 0 var(--section-gap-lg) 0;
}
.slick-carousel {
  width: calc(100% - 40px);
  margin: 0 20px;
}
.slick-carousel img {
  width: 100%;
  display: block;
  border-radius: 0 20px;
}
.slick-slide {
  position: relative;
}
.slick-slide:before {
  content: "";
  display: block;
  width: calc(100% - 20px);
  height: calc(100% - 22px);
  border-radius: 0 0 0 18px;
  border-left: 2px solid var(--color-white);
  border-bottom: 2px solid var(--color-white);
  position: absolute;
  left: 10px;
  top: 10px;
}
.slick-dots {
  position: absolute;
  bottom: -36px;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
  gap: 1.5em;
  list-style: none;
  z-index: 10;
}
.slick-dots li button {
  border: none;
  background: var(--color-main);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  text-indent: 9999px;
  transition: .3s;
}
.slick-dots li.slick-active button,
.slick-dots li button:hover {
  background: var(--color-accent);
}

/* ==============================
   events-section
============================== */
.events-section {
  position: relative;
  overflow: visible;
}
.events-bg {
  position: absolute;
  inset: 0;
  background: url(img/bg_grn.png);
  clip-path: polygon(
    0% 60px,
    9% 20px,
    27% 10px,
    65% 25px,
    87% 10px,
    100% 35px,
    100% 100%,
    0% 100%
  );
  z-index: -1;
}
.events-section:before {
  content: "";
  display: block;
  position: absolute;
  background: url(img/hiker.svg) no-repeat center/contain;
  width: 37px;
  height: 47px;
  left: 10vw;
  top: -20px;
  z-index: 0;
}
.events-section:after {
  content: "";
  display: block;
  position: absolute;
  background: url(img/txt_events.svg) no-repeat center/contain;
  width: 52px;
  height: 22px;
  right: 10vw;
  top: -10px;
  z-index: 0;
}
.events-section .container-full {
  position: relative;
  z-index: 1;
}
.events-section .title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin-bottom: 20px;
}
.events-section .title-wrapper .txt-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 30px;
}
.events-section .title-wrapper .txt-box p {
  margin-bottom: 0;
}
.more {
  width: 9em;
}
.more a {
  display: block;
  color: var(--btn-text);
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: var(--font-size-sm);
  background: var(--btn-bg) url(img/arrow_w.svg) no-repeat right 10px center / 32px auto;
  padding: 5px 3.8em 5px .7em;
}
.more a:hover {
  background-color: var(--btn-hover-bg);
}
.events-section .more {
  position: absolute;
  right: 20px;
  top: 0;
}
.event-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--card-gap);
}
.event-card {
  background: var(--color-white);
  padding: var(--card-gap) var(--card-gap) 80px var(--card-gap);
  position: relative;
}
.event-cards .card {
  background: var(--color-white);
  padding: var(--card-gap) var(--card-gap) 75px var(--card-gap);
  position: relative;
}
/* 481px?1024pxは2カラム */
@media (min-width: 481px) and (max-width: 1024px) {
  .event-cards {
    grid-template-columns: 1fr 1fr;
  }
}
/* フロント: ボタンは右下固定。h2との間隔はカードの下パディング(75px)で確保 */
.event-cards .card .card-btn {
  position: absolute;
  right: 0;
  bottom: 0;
}
.event-date {
  font-weight: 700;
}
.date-main {
  font-size: var(--font-size-lg);
}
.event-cards .card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 1em;
  padding: 0;
  margin-bottom: 20px;
}
.event-thumb img {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  margin: auto;
}
.event-card a,
.project-section .btn a {
  text-decoration: none;
  width: auto;
}
.card-image,
.event-thumb {
  width: 100%;
  aspect-ratio: 4 / 2.8;
  overflow: hidden;
}
.card-image img,
.event-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.event-title {
  margin: 20px 0 12px;
}
.event-title a {
  color: var(--color-text);
  text-decoration: none;
}
.event-title a:hover {
  color: var(--color-hover-text);
}
.card-category a,
.post-category a {
  display: inline-block;
  padding: 4px 10px;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 15px;
  font-size: 0.85em;
  font-weight: 500;
  letter-spacing: .05em;
  text-decoration: none;
}
.event-category .cat-name a {
  display: inline-block;
  padding: 4px 10px;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 15px;
  font-size: 0.85em;
  font-weight: 500;
  letter-spacing: .05em;
  text-decoration: none;
  line-height: 1.3;
}
.event-category .cat-name a:hover {
  background: var(--color-hover-accent);
}
.event-link {
  position: absolute;
  right: 0;
  bottom: 0;
}
.event-link a {
  display: block;
}
.btn {
  text-align: center;
}
.btn a {
  display: inline-block;
  max-width: 100%;
}
.btn:not(.project-section .btn) a {
  min-width: 300px;
}
.event-link a,
.btn a,
.card-btn {
  font-weight: 700;
  color: var(--btn-text);
  background: var(--btn-bg) url(img/arrow_w.svg) no-repeat right 20px center / 40px auto;
  padding: 15px 76px 15px 20px;
  text-align: center;
  text-decoration: none;
}
.event-link a:hover,
.btn a:hover,
.card-btn:hover {
  background-color: var(--btn-hover-bg);
  color: var(--color-white);
}
@media (min-width: 481px) {
  .events-section .title-wrapper .txt-box {
    padding-right: 140px;
  }
}
/* ==============================
   project-section（参加しよう）
============================== */
.project-section {
  position: relative;
}
.project-section:before,
.project-section:after {
  content: "";
  display: block;
  position: absolute;
}
.project-section:before {
  background: url(img/tree.svg) no-repeat;
}
.project-section:after {
  background: url(img/txt_efforts.svg) no-repeat;
}
.home .project-section .section-title {
  text-align: center;
}
.project-section ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.project-section ul li {
  border: var(--color-black) 1px solid;
  background: var(--color-white);
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.project-section .btn {
  margin-top: auto;
  text-align: right;
}
.project-section ul li img {
  max-width: 100%;
}
.project-section ul li > img {
  margin-bottom: 20px;
}
.project-section ul li p {
  padding: 0 var(--card-gap);
}
.project-section ul h3 {
  padding: var(--card-gap) var(--card-gap) .8em var(--card-gap);
  font-size: var(--font-size-lg);
  position: relative;
  margin-left: 1.5em;
  line-height: 1.4;
  letter-spacing: .08em;
}
.project-section ul h3:before {
  content: "●";
  color: var(--color-accent);
  display: block;
  width: 1em;
  position: absolute;
  left: -0.4em;
  top: var(--card-gap);
}
.project-section ul h3 span {
  display: inline-block;
}
.project-section ul h3 + a {
  display: block;
  padding: 0 var(--card-gap) 20px var(--card-gap);
}

/* project-category 内の要素がはみ出さないようにする */
.project-category-description {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.project-category-description img,
.project-category-description iframe,
.project-category-description video,
.project-category-description table,
.project-category-description pre,
.project-category-description .wp-block-image,
.project-category-description .wp-block-embed {
  max-width: 100% !important;
  height: auto !important;
}

/* スマートフォン用の基本設定 */
@media (max-width: 767px) {
  html, body {
    width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
  }

  .container {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .main-content {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .project-category-description {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .project-category-description img,
  .project-category-description iframe,
  .project-category-description video {
    max-width: 100% !important;
    height: auto !important;
  }
}

/* ==============================
   news-section（お知らせ）
============================== */
.news-section .container {
  display: flex;
  flex-direction: column;
  gap: 0 20px;
}
.news-section .section-header {
  position: relative;
}
.news-section .more {
  position: absolute;
  right: 0;
  top: 0;
}
.news-list li {
  display: grid;
  grid-template-columns: 1fr;
  list-style: none;
  padding: 2em 0;
  border-bottom: var(--color-black) 1px solid;
  width: 100%;
  gap: 1em;
}
.news-list li a {
  text-decoration: none;
}
.news-list .news-category a {
  display: inline-block;
  padding: 4px 10px;
  font-size: .85em;
  font-weight: 500;
  letter-spacing: .05em;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 15px;
  line-height: 1.3;
  text-align: center;
  min-width: 8em;
}
.news-list .news-category a:hover {
  background: var(--color-hover-accent);
}
.news-list .news-link {
  color: var(--color-text);
}
.news-list .news-link:hover {
  color: var(--color-hover-text);
}
.news-list .news-link:hover .news-title {
  text-decoration: underline;
}

/* ==============================
   join-section（参加しよう）
============================== */
.join-section {
  background-color: var(--color-main);
  color: var(--color-white);
}
.join-section .section-title .en {
  color: var(--color-white);
}
.join-link {
  text-align: center;
}
.join-link a {
  width: 300px;
  display: inline-block;
  text-align: center;
}
.join-link a:hover {
  background-color: var(--color-accent);
}
.join-section .join-text {
  padding: var(--section-gap-md) var(--container-full-gap);
}
.join-desc {
  font-weight: 500;
}
.join-image_sp {
  position: relative;
  margin-bottom: 20px;
}
.join-image_sp:before {
  content: "";
  display: block;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border-radius: 0 0 0 18px;
  border-left: 2px solid var(--color-white);
  border-bottom: 2px solid var(--color-white);
  position: absolute;
  left: 10px;
  bottom: 10px;
}
.join-image_sp:after {
  content: "";
  display: block;
  width: 40%;
  height: 50px;
  background: url(img/txt_joinus.svg) no-repeat left top / contain;
  position: absolute;
  left: 40px;
  top: 20px;
}
.join-image_sp img {
  max-width: 100%;
  border-radius: 0 20px;
}
.join-image_pc {
  display: none;
}

/* ==============================
   PC用スタイル
============================== */
@media (min-width: 768px) {
  /* スライダー */
  .slick-carousel {
    width: 100%;
    margin: 0;
  }
  .slick-carousel img {
    border-radius: 0 30px;
  }
  .slick-slide {
    padding: 0 10px;
  }
  .slick-slide:before {
    border-radius: 0 0 0 26px;
    top: 22px;
    left: 22px;
    width: calc(100% - 50px);
    height: calc(100% - 36px);
  }
  .slick-dots {
    bottom: -46px;
  }
  .slick-dots li button {
    width: 16px;
    height: 16px;
  }

  /* events-section: handled below for >=1025px */
  .events-bg {
    clip-path: polygon(
      0% 12.1%,
      9.2% 4%,
      27.3% 0%,
      64.9% 5%,
      86.3% 0%,
      100% 7%,
      100% 100%,
      0% 100%
    );
  }
  .events-section .more {
    position: static;
  }
  .events-section:before {
    width: 74px;
    height: 94px;
  }
  .events-section:after {
    width: 104px;
    height: 44px;
  }
  .event-card {
    padding: var(--card-gap) 16px 70px 16px;
  }
  .event-cards .card {
    padding: 16px var(--card-gap) 75px var(--card-gap);
  }

  /* project-section */
  .project-section ul {
    grid-template-columns: 1fr 1fr;
  }

  /* news-section */
  .news-section .container {
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
  }
  .news-section .more {
    position: static;
    margin-top: 20px;
  }
  .news-list {
    flex: 0 1 70%;
  }
  .news-list li {
    grid-template-columns: 10em 1fr;
  }
  .news-list .news-link {
    display: grid;
    grid-template-columns: 6em 1fr;
  }

  /* join-section */
  .join-container {
    display: flex;
  }
  .join-text {
    flex: 2 1 0%;
  }
  .join-link {
    text-align: left;
  }
  .join-link a {
    text-align: left;
  }
  .join-image_pc {
    flex: 1.42 1 0%;
    display: block;
    background-image: url(img/join-us.jpg);
    background-repeat: no-repeat;
    background-position: right top;
    background-size: cover;
    position: relative;
  }
  .join-image_pc img {
    display: block;
    position: absolute;
    left: 50px;
    top: 20px;
    width: 134px;
    height: 58px;
  }
  .join-image_sp {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .date-numbers {
    font-size: var(--font-size-lg)!important;
    line-height: 1.2;
  }
  .event-link a {
    padding: 12px 76px 12px 20px;
  }
}

/* 1025px以上は3カラム */
@media (min-width: 1025px) {
  .event-cards {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* ==============================
   下層ページ共通
============================== */
.h2-title-smaller {
  font-size: var(--font-size-md);
  margin-bottom: .7em;
}
.page-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding-top: var(--section-gap-md);
}
.page-links li a {
  border-radius: 30px;
  background:  var(--color-white);
  display: block;
  color: var(--color-text);
  font-weight: 500;
  padding: 1em 2em;
  position: relative;
  white-space: nowrap;
  border: 1px solid var(--color-black);
  text-decoration: none;
}
.page-links li a:before {
  content: "●";
  color: var(--color-main);
  display: block;
  font-size: 8px;
  width: 8px;
  height: 8px;
  position: absolute;
  left: 10px;
  top: 22px;
}
.page-links li a:hover {
  background: var(--color-pale-green);
}
.page-links li a:hover:before {
  color: var(--color-accent);
}
.two-column-box {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: min(40px, 5vw);
}
.two-column-box.two-column-box--image-left .image {
  flex: 1 1 40%;
  text-align:  center;
}
.two-column-box.two-column-box--image-left .text {
  flex: 1 1 60%;
}
.two-column-box.two-column-box--half .box {
  flex: 0 0 calc(50% - 20px);
}
.box-title {
  margin-bottom: 1em;
  letter-spacing: .1em;
}
.two-column-box .image,
.two-column-box .text {
  flex: 1 1 100%;
}
.two-column-box .image img {
  width: 100%;
  height: auto;
  border-radius: 0 20px 0 20px;
}
.two-column-box .image img.cover-img {
  object-fit: cover;
}
.table-box {
  margin-bottom: 2em;
  border-top: 1px solid var(--color-black);
}
.table-row {
  display: flex;
}
.table-row .title {
  flex: 0 0 200px;
  font-weight: 500;
  background: #f1f1f1;
  border-bottom: 1px solid var(--color-black);
  border-left: 1px solid var(--color-black);
  padding: 1em;
}
.table-row .title span {
  display: inline-block;
}
.table-row .content {
  flex: 1;
  min-width: 0;
  border-right: 1px solid var(--color-black);
}
.table-row .content > div {
  padding: 1em;
  border-left: 1px solid var(--color-black);
  border-bottom: 1px solid var(--color-black);
}
@media (max-width: 480px) {
  .page-links {
    flex-direction: column;
    gap: 0;
  }
  .page-links li a {
    border-radius: 0;
  }
  .page-links li:not(:last-child) a {
    border-bottom: 0;
  }
  .table-box {
    border-top: 0;
  }
  .table-row {
    display: block;
    margin-bottom: 2em;
    border-top: 1px solid var(--color-black);
  }
  .table-row .title {
    flex: 0 0 auto;
    padding: 0.8em 1em;
    border-right: 1px solid var(--color-black);
  }
}
@media (min-width: 481px) and (max-width: 767px) {
  .two-column-box {
    flex-direction: column;
  }
  .two-column-box .image,
  .two-column-box .text {
    flex: 1 1 100%;
  }
  .two-column-box .image img {
    height: auto;
  }
}
@media (min-width: 768px) {
  .two-column-box {
    flex-direction: row;
    gap: 40px;
  }
  .two-column-box.two-column-box--image-left .image {
    flex: 1 1 40%;
    text-align: center;
  }
  .two-column-box.two-column-box--image-left .text {
    flex: 1 1 60%;
  }
  .two-column-box.two-column-box--half .box {
    flex: 0 0 calc(50% - 20px);
  }
  .two-column-box .image img.cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
@media (min-width: 1200px) {
  .two-column-box {
    gap: 48px;
  }
}

/* ==============================
   組織と活動　ABOUT SRC
============================== */
.company-table {
  display: grid;
  grid-template-columns: 8em 1fr;
  margin-bottom: var(--section-gap-sm);
}
.company-table dt,
.company-table dd {
  border-bottom: 1px solid var(--color-black);
  padding: 2em 0;
}
.company-table dt {
  text-align: left;
  font-weight: 700;
}
.company-table a {
  color: var(--color-black);
  text-decoration: none;
}
.company-table dd span {
  display: inline-block;
}
.googlemap {
  width: 100%;
  height: 400px;
  border: 0;
  margin-bottom: 2em;
}
.about_access ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  flex-direction: column;
  gap: max(30px, 3vw);
}
.about_access .car {
  background-image: url(img/i_car.svg);
}
.about_access .train {
  background-image: url(img/i_train.svg);
}
.about_access .bus {
  background-image: url(img/i_bus.svg);
}
.about_access ul li {
  padding-top: 36px;
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 30px;
}
.about_access h3 {
  margin-bottom: .8em;
}
.about_access p {
  margin-bottom: 0;
}
.about_access p span {
  display: inline-block;
}
.greeting-section .image img {
  max-width: 100%;
  width: 260px;
}
.president-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1em;
  font-weight: 500;
}
.president-info .tenure {
  letter-spacing: .1em;
  font-weight: 700;
}
.president-info .role-name {
  font-size: 120%;
  font-weight: 700;
  letter-spacing: .1em;
}
.activity-list {
  list-style: none;
}
.activity-list li {
  border-bottom: 1px solid var(--color-black);
  padding: .5em 0;
}
.activity-list a {
  display: block;
  padding: 1em 1em 1em 1.5em;
  color: var(--color-text);
  text-decoration: none;
  position: relative;
  background: url(img/i_pdf.svg) no-repeat right 20px center / auto 2em;
}
.activity-list a:hover {
  color: var(--color-hover-text);
}
.activity-list a:before {
  content: "";
  display: block;
  width: 10px;
  height: 4px;
  border-radius: 2px;
  background: var(--color-main);
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  transition: .3s;
}
.activity-list a:hover:before {
  background: var(--color-accent);
}
.activity-list a .new {
  display: inline-block;
  font-weight: 700;
  color: var(--color-accent);
  margin-left: .5em;
  font-size: var(--font-size-sm);
}
.activity-section .box-title {
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .company-table {
    grid-template-columns: max(200px, 20%) 1fr;
  }
  .company-table dt {
    text-align: center;
  }
  .about_access ul li {
    padding-top: 50px;
    background-position: center top;
    background-size: 36px;
    text-align: center;
  }
  .about_access ul {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .about_access h3 {
    margin-bottom: .5em;
  }
}
@media (max-width: 480px) {
  .company-table {
    grid-template-columns: 1fr;
  }
  .company-table dt {
    padding-bottom: 0;
    border: 0;
  }
  .company-table dd {
    padding-top: 1em;
  }
  .greeting-section .image img {
    width: 260px;
  }
}
/* ==============================
   入会案内　membership
============================== */
.numbered-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.numbered-list li {
  position: relative;
  background: var(--color-white);
  padding: 50px var(--card-gap) var(--card-gap) var(--card-gap);
  transition: transform 0.3s ease;
  border-radius: 0 30px;
}
.number {
  font-size: 32px;
  font-weight: 900;
  color: var(--color-accent);
  font-family: roboto,sans-serif;
  position: absolute;
  left: -10px;
  top: -10px;
  width: 80px;
  height: 60px;
  vertical-align: top;
  line-height: 1;
}
.numbered-list h3 {
  line-height: 1.4;
  margin-bottom: 16px;
}
.numbered-list li p:last-child {
  margin-bottom: 0;
}
.numbered-list li img {
  margin-bottom: 16px;
}
.dotted-list {
  list-style: none;
}
.dotted-list li {
  border-bottom: 1px solid var(--color-black);
  padding: 1.5em 0 1.5em 1.5em;
  position: relative;
}
.dotted-list li:before {
  content: "";
  display: block;
  width: 10px;
  height: 4px;
  border-radius: 2px;
  background: var(--color-main);
  position: absolute;
  left: 0;
  top: 2.2em;
}
.bordered-list dt {
  border: 1px solid var(--color-black);
  display: inline-block;
  padding: .5em 1em;
  margin-bottom: 1em;
  min-width: 12em;
  text-align: center;
  font-weight: 700;
}
.bordered-list dd {
  margin-bottom: 2em;
}
.bordered-list li {
  margin-bottom: .5em;
}
.flow-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.flow-list li {
  position: relative;
  background: var(--color-white);
  padding: 40px var(--card-gap);
  transition: transform 0.3s ease;
  border-radius: 0 30px;
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  gap: 30px 0;
}
.flow-list li:not(:last-child):after {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  background: url(img/arrow03_grn.svg) no-repeat center;
  background-size: contain;
  transform: rotate(90deg);
  position: absolute;
  right: 0;
  left: 0;
  bottom: -40px;
  margin: auto;
}
.flow-list .contact-buttons {
  gap: 20px;
}
.flow-list .btn_icon {
  width: auto;
}
.flow-list .step {
  font-size: 32px;
  font-weight: 900;
  color: var(--color-accent);
  font-family: roboto,sans-serif;
  position: absolute;
  left: -10px;
  top: -10px;
  width: 80px;
  height: 60px;
  vertical-align: top;
  line-height: 1;
}
.flow-list li p:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .numbered-list .number {
    font-size: 60px;
    left: -20px;
    top: -20px;
  }
  .numbered-list {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .numbered-list li {
    flex: 1 1 calc(33.333% - 40px);
    margin-top: calc(var(--i, 0) * 80px);
  }
    /* リストが増えたら続けて --i を設定 */
  .numbered-list li:nth-child(1) { --i: 0; }
  .numbered-list li:nth-child(2) { --i: 1; }
  .numbered-list li:nth-child(3) { --i: 2; }
  .numbered-list li:nth-child(4) { --i: 3; }
  .flow-list li {
    display: grid;
    grid-template-columns: 200px 1fr;
  }
  .flow-list li .list__detail {
    justify-self: start;
  }
  .flow-list .contact-buttons {
    justify-content: start;
  }
  .flow-list .step {
    font-size: 60px;
    left: -20px;
    top: -20px;
  }
}
/* =====================================
   お知らせ news　プロジェクト　projects
===================================== */
.container-news,
.container-project {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 60px;
  align-items: start;
}
.main-content > article {
  padding-top: var(--section-gap-lg);
}
.widget-area ul {
  list-style: none;
  margin-bottom: 2.5em;
}
.widget-area ul a {
  text-decoration: none;
  color: var(--color-text);
  padding: 1em 0;
  border-bottom: 1px solid var(--color-black);
  display: block;
  font-size: var(--font-size-sidebar);
}
.widget-area ul a:hover,
.widget-area ul .current-cat a {
  color: var(--color-hover-text);
}
.widget-title {
  font-size: var(--font-size-base);
  margin-bottom: .5em;
}
.container-news .cards,
.container-project .cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
.container-news .cards:not(.news-category + .cards),
.main-content > .news-category {
  padding-top: var(--section-gap-lg);
}
.container-news .cards .card,
.container-project .cards .card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-black);
  position: relative;
  padding-bottom: 75px;
}
.container-news .cards .card .card-btn,
.container-project .cards .card .card-btn {
  position: absolute;
  right: 0;
  bottom: 0;
}
.container-news .cards .card-body,
.container-project .cards .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.container-news .cards .card-meta,
.post-meta {
  display: flex;
  align-items: center;
  gap: 1em;
}
.container-news .cards .card-meta,
.container-project .cards .card-meta {
  padding: 20px;
}
.post-meta {
  margin-bottom: .5em;
}
.card-category a,
.post-category a {
    display: inline-block;
    padding: 4px 10px;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 500;
    letter-spacing: .05em;
    text-decoration: none;
    line-height: 1.3;
}
.card-category a:hover,
.post-category a:hover {
  background: var(--color-hover-accent);
}
.container-news .cards .card img,
.container-project .cards .card img {
  max-width: 100%;
}
.container-news .card-title {
  padding: 0 20px 20px 20px;
  line-height: 1.2;
  margin-bottom: 20px;
}
.container-project .card-title {
  padding: 16px 20px 0 20px;
  line-height: 1.2;
  margin-bottom: 0;
}
.event-cards .card-title {
  line-height: 1.2;
  padding: 16px 0 0 0;
  margin-bottom: 0; /* 下パディングでボタンとの20pxを担保 */
}
.event-cards .card-title a {
  font-size: var(--font-size-md);
}
.card-title a {
  color: var(--color-text);
  text-decoration: none;
  font-size: var(--font-size-md);
}
.card-title a:hover {
  color: var(--color-hover-text);
}
.card-btn {
  margin-top: auto;
  align-self: end;
  display: block;
}
.archive .news-category,
.tax-project_category .project-category  {
  margin-bottom: 2em;
}
.news-category > span,
.project-category > span {
  border-bottom: 1px solid var(--color-black);
  display: inline-block;
  padding-bottom: .5em;
  font-weight: 700;
}
.news-category > span span,
.project-category > span span {
  font-size: var(--font-size-md);
  display: inline-block;
  padding-left: .5em;
}
.nav-links {
  display: flex;
  justify-content: center;
  gap: .5em;
  margin-top: var(--section-gap-sm);
}
.nav-links span,
.nav-links a {
  display: block;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--color-white);
}
.nav-links span {
  background: var(--color-accent);
}
.nav-links a {
  background: var(--color-main);
  text-decoration: none;
}
.nav-links .prev,
.nav-links .next {
  text-indent: 9999px;
  overflow: hidden;
}
.nav-links .prev,
.nav-links .next {
  background: var(--color-main) url(img/arrow04_w.svg) no-repeat center / 40% auto;
}
.nav-links .prev {
  transform: rotate(-90deg);
}
.nav-links .next {
  transform: rotate(90deg);
}
.post-content {
  padding: var(--section-gap-sm) 0 var(--section-gap-md);
  margin-bottom: var(--section-gap-sm);
  border-bottom: 1px solid var(--color-black);
}
.post-content h2 {
  margin-bottom: 1em;
}
.post-navigation {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.post-navigation a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
}
.post-navigation a:hover {
  color: var(--color-hover-text);
}
.post-content img {
  max-width: 100%;
  /* margin-bottom: 20px; */
}
.date-numbers {
  font-size: var(--font-size-xl);
  display: inline-block;
}
.container-project .post-meta .event-date .date-numbers {
  padding-left: .3em;
}
.container-project .project-title {
  border-bottom: 1px solid var(--color-black);
  padding-bottom: 1em;
}
.project-content {
  padding-bottom: var(--section-gap-md);
  margin-bottom: 1em;
}
.project-content h2 {
  margin-bottom: 1em;
}
.single-project .project-content {
  border-bottom: 1px solid var(--color-black);
}
.tax-project_category article.project {
  border-top: 1px solid var(--color-black);
  padding-top: 1em;
}

.tax-project_category .container-project .lower-meta {
  margin-bottom: 16px;
}
.main-content > .project-category {
  padding-top: var(--section-gap-lg);
}
.container-project .lower-meta {
  padding: 1em 0;
  margin-bottom: var(--section-gap-sm);
  display: flex;
  justify-content: flex-end;
}
.container-project .project-section ul {
  gap: 30px;
}
.container-project .project-section .btn {
  width: auto;
}
.projects .project-section ul h3 + a {
  padding-left: 0;
  padding-right: 0;
}
.project-category-description {
  background: var(--color-white);
  border-radius: 0 30px;
  padding: var(--card-gap);
  margin-bottom: var(--section-gap-md);
}
.project-category-description h2 span {
  border-bottom: 1px solid var(--color-black);
  margin-bottom: var(--card-gap);
  padding-bottom: .3em;
  display: inline-block;
  font-size: var(--font-size-xl);
}
.project-category-description .box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  place-items: center;
}
.project-category-description .image {
  text-align: center;
}
.project-category-description img {
  max-width: 100%;
}
.project-category-description a {
  color: var(--color-text);
}
.project-category-description a:hover {
  color: var(--color-hover-text);
  text-decoration: none;
}
.project-category-description .two-column-box {
  align-items: center;
  gap: 0 20px;
}
.circle-list {
  margin: 0 0 .8em 20px;
}
.circle-list li::marker {
  color: var(--color-main);
}
.post-content .circle-list {
  margin-bottom: 1.5em;
}
.post-content .circle-list li {
  margin-bottom: .7em;
}
.youtube-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%; /* 16:9 */
}
.youtube-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.two-column {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  place-items: center;
  margin-bottom: 1.5em;
}
.info-box {
  margin-bottom: 1.5em;
}
.info-box {
  border: 1px solid var(--color-black);
}
.info-box dt {
  font-weight: 700;
  background-color: var(--color-main);
  color: var(--color-white);
  padding: 20px;
  text-align: center;
  font-size: var(--font-size-md);
  letter-spacing: .05em;
}
.info-box dd {
  padding: var(--card-gap);
}
.image-and-text {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 1.5em;
}
.image-and-text .image {
  flex: 0 0 30%;
}
.image-and-text .text {
  flex: 1 1 auto;
}
p.bold-large {
  font-size: var(--font-size-md);
  font-weight: 700;
}
.two-column img + p {
  margin-top: 1em;
}
.list_latest-info {
  list-style: none;
  margin: 4vw;
}
.list_latest-info li {
  border-bottom: 1px solid var(--color-black);
}
.list_latest-info li a {
  display: block;
  padding: 20px 60px 20px 0;
  background: url(img/arrow_b.svg) no-repeat right center / 40px auto;
  text-decoration: none;
}
.list_latest-info li a:hover {
  background-image: url(img/arrow_grn.svg);
}
@media (min-width: 768px) {
  .two-column {
    grid-template-columns: 1fr 1fr;
  }
  .widget-title {
    text-align: center;
  }
  .container-news,
  .container-project {
    grid-template-columns: 1fr 220px;
  }
  .container-news .cards .card-meta,
  .container-project .cards .card-meta {
    justify-content: space-between;
  }
  .main-content {
    padding-bottom: var(--section-gap-lg);
  }
}
@media (min-width: 860px) {
  .container-news .cards,
  .container-project .cards {
    grid-template-columns: 1fr 1fr;
  }
}
/* /projects の参加しようカード: 481px?768px は2カラム */
@media (min-width: 481px) and (max-width: 768px) {
  .container-project .cards {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .two-column {
    grid-template-columns: 1fr;
  }
  .image-and-text {
    flex-direction: column;
  }
  .post-meta.upper-meta {
    flex-wrap: wrap;
    gap: 0 1em;
  }
}
/* ==============================
   /projects プロジェクト一覧 上書き（768px?859pxは1カラム）
   後勝ちのため、ファイル後方に配置
============================== */
@media (min-width: 768px) and (max-width: 859px) {
  .projects .project-section ul {
    grid-template-columns: 1fr;
  }
}
/* =============================
   お問合せ　contact
============================= */
.contact .page-content .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact .page-content h2 {
  font-size: var(--font-size-base);
}
.contact .page-content dl dt {
  background: var(--color-white);
  border-radius: 0 30px 0 0;
  padding: var(--card-gap-lg);
  margin-top: var(--card-gap-lg);
  text-align: center;
  font-size: 115%;
  font-weight: 700;
}
.contact .page-content dl dd {
  background: var(--color-white);
  border-radius: 0 0 0 30px;
  padding: 0 var(--card-gap-lg) var(--card-gap-lg) var(--card-gap-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact .page-content dl .box {
  background: var(--color-black);
  padding: var(--card-gap) 0;
  text-align: center;
  width: 100%;
}
.contact .page-content dl .box .text {
  color: var(--color-white);
  padding: 20px;
}
.contact .page-content dl .box .contact-button {
  display: flex;
  justify-content: center;
}
.contact .page-content dl .box .contact-button a span {
  white-space: nowrap;
}



/* 20251114_お問い合わせボタン修正 */
.btn_icon:hover {
  color: var(--color-white);
}

/* 20251117_イベント日付の自由テキスト対応 */
.date-numbers small {
  font-size: var(--font-size-base);
}
.post-meta .date-numbers small,
.widget-area .event-date small {
  font-size: inherit;
}
