@charset "utf-8";
/*
Theme Name: procaddy
Theme URI: https://procaddy.or.jp/
Author: KOGMA
Author URI: https://kogma.work/
Description:本テーマに含まれるPHPファイルはGPLライセンスに基づき配布されています。ただし、CSS/JS/画像/フォント/テンプレートHTML構造はすべて一般社団法人日本プロキャディ協会の著作物であり、複製・再利用・商用利用・再配布を一切禁止します。
Version: 1.0
Text Domain: procaddy
*/

/* 全体のリセットと基本設定 */
/* ========================= */

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  margin: 0;
  padding: 0;
  font-size: 16px;
  color: var( --text-color);
}

a {
  color: var(--link-color);
  text-decoration: none;
}

a:hover {
  color: var(--primary-color);
}
.underline a  {
  text-decoration: underline;
}
.underline a:hover  {
  text-decoration: none;
}
.container {
  max-width: 1280px;
  width: 90%;
  margin: 0 auto;
  padding: 0;
  position: relative;
}

img {
  transition: all 500ms ease-out;
  width: 100%;
  height: auto;
}

:root {
  --primary-color: #37554e;
  /* メインカラー */
  --secondary-color: #111;
  /* サブカラー（CTAボタンなど） */
  --link-color: #1f286f;
  --text-color: #111;
  /* 主要なテキストカラー */
  --text-light: #666;
  /* サブテキスト */
  --background-color: #fff;
  /* メイン背景色 */
  --body-background: #f6f8f9;
  --border-color: lightgray;
  /* 境界線 */
  --navi-bg: #f5f5f5;
  /* ナビ選択時やthなどの背景 */
  /* オーバーレイ背景 */
  /* ボックスシャドウ */
  --color-gray: gray;
  --color-wh: #fff;
}

.primary {
  background: var(--primary-color);
}


/* メインカラー*/

.secondary {
  background: var(--primary-color);
}


/* サブカラー*/

h1,
h2,
h3,
h4 {
  font-weight: normal;
  letter-spacing: .1em;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.center-title {
  text-align: center;
}

.lum-lightbox.lum-open {
  display: block;
  z-index: 9999;
}

.lum-lightbox-inner img {
  max-height: 1000px;
  width: auto;
  height: 90%;
  object-fit: cover;
}
@media (max-width: 767px) {
h1{font-size: 1.1em;}
h2,h3{font-size: 1em;}
}
/* ヘッダー */
/* ========================= */

.site-header {
  border-bottom: 1px solid var(--border-color);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: rgba(0, 0, 0, 0.0509803922) 0px 5px 5px;
  z-index: 100;
  background-color: #fff;
}
.site-header .site-title {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
}

.site-header .site-title a {
  text-decoration: none;
}

.site-header .site-logo img {
  max-width: 130px;
  height: auto;
}

.site-branding {
  padding: 10px 0;
}
.site-home-flm {
  display: flex;
  flex-wrap:wrap;
}
.site-top-text {
  color: var(--color-gray);
  padding: 0;
  font-size: .85em;
}
/* ヘッダー画像のスタイル */

.header-image {
  background-size: cover;
  background-position: center;
  min-height: 75vh;
  margin-top: 155px;
  position: relative;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.header-image.loaded {
  opacity: 1;
}

/* メインテキストのスタイル */

.header-main-text {
  position: absolute;
  max-width: 450px;
  width: 50%;
  margin: 0 auto;
  top: 170px;
  left: 0;
  text-align: center;
  right: 0;
  font-size: 40px;
  text-shadow: 2px 2px 4px rgb(0 0 0 / 99%);
  transition: opacity 1s ease-in-out 0.5s;
}

.header-main-text.loaded {
  opacity: 1;
}
.header-main-text span.top-jpca{font-size: 120px;font-family: arial;font-weight: 800;line-height: 1;letter-spacing: 5px;}
/* サブテキストのスタイル */
.sub-jpca {font-size: 24px;display: block;max-width: 350px;5: 500;margin: 0 auto;margin-bottom:10px;}
.header-sub-text {
  position: absolute;
  top: 490px;
  margin: 0 auto;
  width: 90%;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 19px;
  text-shadow: 2px 2px 4px rgb(0 0 0 / 99%);
  transition: opacity 1s ease-in-out 1s;
}

.header-sub-text.loaded {
  opacity: 1;
}

.header-slider {
  position: relative;
  width: 100%;
  height: 800px;
  overflow: hidden;
  margin-top: 83px;
}

.header-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fade 12s infinite;
}

.header-slider .s1 {
  animation-delay: 0s;
}

.header-slider .s2 {
  animation-delay: 4s;
}

.header-slider .s3 {
  animation-delay: 8s;
}

@keyframes fade {
  0% {
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  45% {
    opacity: 1;
  }
  65% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.content-scroll {
  position: absolute;
  right: 50%;
  bottom: 5%;
}

.content-scroll a span {
  position: absolute;
  bottom: 13%;
  left: 50%;
  width: 30px;
  height: 50px;
  margin-left: -15px;
  border: 2px solid #fff;
  border-radius: 50px;
  box-sizing: border-box;
  z-index: 2;
}

.content-scroll a span::before {
  position: absolute;
  top: 10px;
  left: 50%;
  content: '';
  width: 6px;
  height: 6px;
  margin-left: -3px;
  background-color: #fff;
  border-radius: 100%;
  -webkit-animation: sdb 2s infinite;
  animation: sdb 2s infinite;
  box-sizing: border-box;
}

@keyframes sdb {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    transform: translate(0, 20px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@media (max-width: 1023px) {
.site-header,.site-header .container {height: 100px;position: unset;}
  .header-slider {margin-top: 0;height: 500px;}
  .site-branding {
    padding: 15px 0 10px;
}
  
  .header-main-text {
    top: 50px;
    font-size: 30px;
}
  .header-main-text span.top-jpca {
    font-size: 100px;
}
  .header-sub-text {
    top: 325px;
}

.menu-top-container ul {
    padding-left: 14%;
}

}

/* パンくず */
/* ========================= */

.breadcrumb {
  background: var(--navi-bg);
  margin-top: 82px;
}

.breadcrumb ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  font-size: .85em;
  max-width: 1280px;
  width: 90%;
  margin: 10px auto;
}

.breadcrumb li::after {
  content: " > ";
  margin: 0 5px;
}

.breadcrumb li:last-child::after {
  content: "";
}
@media (max-width: 1023px) {
.breadcrumb {
    margin-top: 0;
}}
@media (max-width: 767px) {
.breadcrumb ul{font-size:12px;margin: 5px auto;width: 96%;}
.breadcrumb li::after {margin: 0 1px;}
}
/* ナビゲーションメニュー */
/* ========================= */

.site-navigation {
  margin-top: 19px;
}

ul.nav-menu {
  bottom: 18px;
  margin: 0;
  position: absolute;
  display: table;
  width: 80%;
  right: 0;
  border: 1px solid var(--border-color);
  border-right: 0;
  border-width: 0 1px 0 0;
  border-collapse: collapse;
}

.nav-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: table;
  width: 100%;
  border: 1px solid var(--border-color);
  border-width: 0 1px 0 0;
  border-right: 0;
}

.nav-menu li {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  border-left: 1px solid var(--border-color);
}
.nav-menu li:first-child,.nav-menu li:last-child {
  border-left: 0;
}

.nav-menu a {
  text-decoration: none;
  padding: 5px 15px;
  display: block;
  font-size: .85em;
  color: var(--text-color);
  letter-spacing: 0.15em;
  transition: background 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

#menu-btn-check {
  display: none;
}

.nav-menu li {
  position: relative;
}
.menu-icon-instagram > a {
  display: inline-block;
  background-image: url('https://procaddy.or.jp/jpca/wp-content/themes/procaddy/inc/Instagram_Glyph.png');
  background-size: contain;
  background-repeat: no-repeat;
  text-indent: -9999px; /* ラベルを隠す */
  overflow: hidden;
}
/* ▼ サブメニュー（デフォルトで非表示） */

.nav-menu .sub-menu {
  position: absolute;
  left: 0;
  top: 100%;
  padding: 0;
  margin: 0;
  display: none;
  z-index: 1000;
}

/* サブメニュー内のリンク */

.nav-menu .sub-menu li {
  width: 100%;
  display: block;
  border-left: none;
}

.nav-menu .sub-menu a {
  padding: 15px 5%;
  background-color: var(--navi-bg);
  color: var(--text-color);
  display: block;
  width: 90%;
  min-width: 200px;
  border-right: 0;
  border-top: 1px solid var( --color-wh);
  border-bottom: 1px solid var( --border-color);
}

.nav-menu .sub-menu a:hover {
  background-color: var(--primary-color);
  color: var(--color-wh);
  border-right: 0;
}

/* ▼ ホバーでサブメニューを表示 */

.nav-menu li:hover>.sub-menu {
  display: block;
}

/* ▼ モバイル対応（最大幅767pxでクリック時に表示） */

@media (max-width: 767px) {
  .nav-menu {
    flex-direction: column;
  }
  .nav-menu li {
    position: static;
  }
  .nav-menu .sub-menu {
    position: static;
    display: none;
    width: 100%;
  }
  
  /* JavaScript でクラスを追加したときに表示する */
  .nav-menu .sub-menu.open {
    display: block;
  }
}

/* 1023px以下でメニューを非表示に */

@media (max-width: 1023px) {
  .nav-menu a:hover {
  background-color: unset;
  color: var(--text-color);
}

  .site-navigation {
    margin-top: 0;
  }
  /* ハンバーガーメニューのボタン */
  .menu-btn {
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    height: 58px;
    width: 58px;
    padding: 20px;
    justify-content: center;
    align-items: center;
    z-index: 999;
    background: color(srgb 1 1 1 / 0.61);
    cursor: pointer;
    border-radius: 0 0 0 5px;
  }
	
  /* ハンバーガーメニューの3本線 */
  .menu-btn span,
  .menu-btn span::before,
  .menu-btn span::after {
    content: '';
    display: block;
    height: 3px;
    width: 30px;
    border-radius: 3px;
    background-color: var(--text-color);
    position: absolute;
    transition: 0.3s;
  }
  .menu-btn span::before {
    bottom: 10px;
  }
  .menu-btn span::after {
    top: 10px;
  }

  #menu-btn-check:checked~.menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
  }
  #menu-btn-check:checked~.menu-btn span{
   background-color: color(srgb 1 1 1 / 0);
   }
  #menu-btn-check:checked~.menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
  }
  #menu-btn-check:checked~.menu-content {
    left: 20%;
  }
  .menu-close-overlay {
  display: none;
}

#menu-btn-check:checked ~ .menu-close-overlay {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
}
  .menu-content {
    width: 80%;
    height: 100%;
    position: fixed;
    padding-top: 50px;
    top: 0;
    left: 100%;
    z-index: 99;
    background-color: color(srgb 1 1 1);
    transition: all 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .menu-content ul {
    padding: 20px;
    list-style: none;
    text-align: center;
    top: 100px;
    width: 90%;
    margin-right: 5%;
    border-left: none;
    border-right: none;
  }
  .menu-content ul li {
    display: block;
    border-bottom: 1px solid var(--border-color);
    border-left: none;
  }
  .menu-content ul li a {
    display: block;
    font-size: 1em;
    text-decoration: none;
    padding: 5%;
    transition: 0.3s;
  }

    .menu-content ul li.menu-icon-instagram {
 text-align: center;
 border: none;
 }
    .menu-content ul li.menu-icon-instagram a{
  display: inline-block;
  padding: 15px;
  margin-top: 20px;
  }
   .menu-item-has-children .sub-menu {
    display: none;
    padding-left: 20px;
  }
   .submenu-toggle:checked + .submenu-label + .sub-menu {
    display: block;
  }
  .submenu-label {
    display: block;
    cursor: pointer;
    padding: 5% 5%;
    font-weight: bold;
    background: transparent;
    color: #fff;
  }

  /* オプション：矢印変化なども可能 */
  .submenu-toggle:checked + .submenu-label::after {
    content: '▲';
    float: right;
  }
  .submenu-label::after {
    content: '▼';
    float: right;
  }
.nav-menu .menu-item-has-children>a::after {
    content: " ▼";
    font-size: 14px;
  }
}
@media (max-width: 767px) {
  .content-scroll{
    display: none;
  }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after {
        height: 2px;
        width: 25px;
    }
  .site-top-text{display: none;}
  .menu-btn {
    height: 28px;
    width: 28px;
    padding: 10px;
    z-index: 999;
  }
  .menu-btn span::before {
    bottom: 9px;
  }
  .menu-btn span::after {
    top: 9px;
  }
  .site-header, .site-header .container {
        height: 50px;
        position: unset;
    }
.site-branding {
        padding: 15px 0 10px;
    }
  .site-header .site-logo img{
        max-width: 35%;
    }
  .header-slider {height: 250px;}
  .header-main-text {
    top: 50px;
    font-size: 18px;
    width: 70%;
}
  .sub-jpca {
    display: none;
}
  .header-main-text span.top-jpca {
    font-size: 40px;
    display: block;
    margin-bottom: 10px;
}
  .header-sub-text {
    top: 160px;
    font-size: 14px;
    width: 55%;
}
}


/* トップページ */
/* ========================= */

.custom-fixed-pages-section {
  padding: 60px 0 150px;
  animation: fadeIn 1s ease-in-out;
}

.bg-white {
  background-color: #fff;
}

.bg-gray {
  background-color: #f7f7f7;
}

.section-title {
  font-size: 3em;
  text-align: center;
  margin: 30px 0;
}

.section-description {
  text-align: center;
  margin: 60px 0;
}

.fixed-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.fixed-page-item {
  padding: 0;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
  text-align: center;
  position: relative;
}

.fixed-page-thumb:hover {
  opacity: .85;
}

.fixed-page-thumb img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
}

.fixed-page-title {
  font-size: 1.2em;
  0: AUTO 100PX;
  position: absolute;
  margin: 0;
  bottom: 5px;
  left: 0;
  border-radius: 0 0 8px 8px;
  padding: 30px 0;
  color: var(--color-wh);
  background: rgb(0 0 0 / 32%);
  right: 0;
}

.custom-post-section {
  padding: 60px 20px;
}
.custom-post-readmore,
.read-more-link {
  margin-top: 60px;
  text-align: center;
}

.custom-post-readmore a,
.read-more-link a {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--color-wh);
  padding: 20px 10%;
  border-radius: 4px;
  text-decoration: none;
}

.custom-post-readmore a:hover,
.read-more-link a:hover {
  background-color: var(--secondary-color);
}

.new-posts-section {
  padding: 60px 0;
}

.new-posts-section .post-grid,
.archive .post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.post-item {
  background: var(--navi-bg);
  padding-bottom: 20px;
  border-radius: 10px;
}

.bg-gray .post-item {
  background: var(--background-color);
}

.post-thumb img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.post-item p {
  width: 90%;
  margin: 10px 5%;
}

.post-item:hover {
  opacity: .8;
}

.post-meta {
  color: #888;
  width: 90%;
  margin: 20px 5% 10px 5%;
}

.post-cat {
  margin-right: 10px;
}

.post-title {
  font-size: 16px;
  font-weight: bold;
  width: 90%;
  margin: 10px 5%;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  justify-content: center;
  margin: 2em 0;
  font-size: 1em;
}

.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5em 0.9em;
  background: var(--navi-bg);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  min-width: 1em;
  height: 1.4em;
}

.nav-links .page-numbers:hover {
  background: var(--primary-color);
  color: var(--color-wh);
}

.nav-links .page-numbers.current {
  background: var(--primary-color);
  color: var(--color-wh);
  pointer-events: none;
}

@media screen and (max-width: 1365px) {
.fixed-page-thumb img {
    height: 300px;
}
  }
@media screen and (max-width: 1023px) {
.custom-fixed-pages-section .container {
 width: 90%;
}
.fixed-page-thumb img {
    height: 200px;
}
  }
/* モバイル時のみカルーセル化 */

@media screen and (max-width: 767px) {
  .custom-post-readmore, .read-more-link {
    margin-top: 10px;
}
  .custom-post-readmore a, .read-more-link a {
    padding: 10px 10%;
}
  .custom-fixed-pages-section {
    padding: 30px 0;
}
  .container {
    width: 90%;
  }
  .section-title {
    font-size: 1.4em;
    margin: 10px 0;
}
  .section-description {
    margin: 20px auto;
    width:80%
}
  .section-description p.box-sub-title {
    margin: 0 auto;
}
  .fixed-page-thumb img {
    max-height: 150px;
}
  .fixed-page-grid {
    display: grid;
    max-width: 250px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin:0 auto;
    gap: 20px;
}
  .new-posts-section .post-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-right: 20px;
    padding-bottom: 16px;
  }
  .post-item {
    flex: 0 0 auto;
    font-size: .8em;
    scroll-snap-align: start;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }
  .post-thumb img {
    width: 100%;
    height: 150px;
  }
  .post-meta,
  .post-title,
  .post-excerpt {
    padding: 0;
  }
  .post-item p {
    margin: 10px auto;
  }
  .post-title {
    margin: 10px auto 5px;
    font-size: 1em;
  }
  
}
@media screen and (max-width: 500px) {
  .content h1.archive-title {
        margin: 10px auto 30px;
        text-align: center;
    }
 .post-item {
    max-width:80%;
    margin: 0 auto;
  }
  }
/* メインコンテンツ */
/* ========================= */

.content>* {
  max-width: 1280px;
  margin: 20px auto;
  width: 90%;
}

.content>.alignfull {
  max-width: 100%;
  width: 100%;
}

.content>.alignwide {
  max-width: 1366px;
  width: 90%;
}
.single-postnavi {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 1.5em auto;
  color: var(--primary-color);
  font-size: 0.95em;
}
.single-postnavi li::after {
  content: "/";
  margin: 0 0.6em;
  color: var(--primary-color);
}
.single-postnavi li:last-child::after {
  content: "";
}

.single-post .content ,.page .content{
  width: 90%;
  max-width: 900px;
}

.content {
  padding-top: 30px;
  padding-bottom: 60px;
  font-weight: 100;
  line-height: 1.8;
  margin: auto;
  flex: 1;
}
.page .content h1.wp-block-heading {
  font-size: 2rem;
  text-align: center;
  color: #5a857b;
  font-weight: 400;
  margin-bottom: 1.5em;
  line-height: 1.4;
}
.page .content h1 {
  width: 90%;
}
.page .content h2.wp-block-heading {
  font-size: 1.6rem;
  border-left: 6px solid #37554e;
  padding-left: 0.75em;
  margin-top: 2em;
  margin-bottom: 1em;
}
.page .content h2.wp-block-heading span {font-size: 2rem;color: #37554e;}
.page .content h3.wp-block-heading {
  font-size: 1.3rem;
  margin-top: 1.8em;
  margin-bottom: 0.8em;
  color: #37554e;
}

.page .content ul.wp-block-list {
  list-style: disc inside;
  margin-bottom: 1.5em;
}

.page .content .wp-block-columns {
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
  margin-top: 1.5em;
  margin-bottom: 2em;
}

.page .content .wp-block-column {
  flex: 1 1 300px;
  text-align: center;
}
.page .content .wp-block-columns.usugray .wp-block-column {
  text-align: left;
  background: #f5f5f5;
  padding: 0 5% 7%;
  border-radius: 10px;
}
.wp-block-button__link:hover{
  opacity:.85;
}
.page .content .wp-block-image img {
  transition: transform 0.3s;
}

.page .content .wp-block-image img:hover {
  transform: scale(1.05);
}

.page .content .wp-block-table {
  width: 90%;
  border-collapse: collapse;
  margin: 1.5em auto;
  font-size: 0.95rem;
}

.page .content .wp-block-table th,
.page .content .wp-block-table td {
  border: 1px solid #ddd;
  padding: 0.75em;
  text-align: center;
}

.page .content .wp-block-table th {
  background-color: #f3f3f3;
  color: #007b5e;
  font-weight: bold;
}

.page .content .wp-block-table tr:nth-child(even) td {
  background-color: #f9f9f9;
}
.wp-block-buttons>.wp-block-button {
    min-width: 250px;
}
.news-section {
  padding: 60px 20px 150px;
}

.news-section .container {
  max-width: 900px;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.news-date {
  white-space: nowrap;
}

.news-cat {
  display: inline-block;
  border: 1px solid var(--border-color);
  padding: 2px 8px;
  font-size: 12px;
  border-radius: 4px;
}

.news-title {
  flex: 1;
  text-decoration: none;
}

.news-title:hover {
  text-decoration: underline;
}

.news-readmore {
  text-align: right;
  margin-top: 20px;
}

.news-readmore a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 4px;
  position: relative;
  text-decoration: none;
}

.news-readmore a:before {
  font-family: "dashicons";
  content: "\f345";
  left: -5px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.content.listing-archive .archive-title {
  text-align: center;
}

.listing-archive .archive-title a {
  font-size: 16px;
  position: absolute;
  right: 0;
  top: 50%;
  letter-spacing: normal;
  transform: translateY(-50%);
}

.listing-archive .archive-title a:before {
  font-family: "dashicons";
  content: "\f345";
  left: -15px;
  position: absolute;
  top: 5px;
}

.content h1 {
  margin: 40px auto;
  position: relative;
  color: var(--primary-color);
  word-break: break-word;
  white-space: normal;
}
.single-listing .content h1 {
  margin: 40px auto 10px;
}
.about-section {
  padding: 60px 0;
  text-align: center;
}

.about-section .section-title span {
  display: block;
  font-size: 14px;
  letter-spacing: 2px;
  color: #aaa;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.about-section .section-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  display: block;
  margin: 20px auto 0;
  border-radius: 2px;
}

.about-section .section-description {
  white-space: pre-line;
  padding: 0 20px;
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-flm {
  margin-top: 80px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.about-flm-button {
  display: inline-block;
}

.about-flm-button .btn-default {
  display: inline-block;
  padding: 40px 0;
  width: 400px;
  background-color: var(--primary-color);
  color: #fff;
  font-size: 1.2em;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgb(136 136 136 / 20%);
}

.about-flm-button .btn-default:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}
.oto-encryption-badge {
  display: flex;
  align-items: flex-start;
  background-color: #f0f7ff;
  border: 1px solid #0073aa;
  padding: 16px;
  max-width: 780px;
  margin-top: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  font-family: 'Segoe UI', sans-serif;
}

.oto-encryption-badge img {
  margin-right: 16px;
  width: 120px;
  height: auto;
}

.oto-encryption-text {
  font-weight: 350;
  font-size: .9em;
}

@media screen and (max-width: 767px) {
  .oto-encryption-badge {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .oto-encryption-badge img {
    width: 100px;margin-bottom:10px;
  }

  .oto-encryption-text {
    font-size: 0.75rem;
  }
  .content h1 {
    margin: 10px auto;
}
  .page .content ul.wp-block-list {padding-left: 0;}
  .page .content h1.wp-block-heading{
    font-size: 1.2rem;
    font-weight: 400;
}
  .page .content h2.wp-block-heading {
  font-size: 1.2rem;
  margin-top: 1em;
  margin-bottom: 1em;
}

.page .content h3.wp-block-heading {
  font-size: 1rem;
  margin-top: 1em;
  margin-bottom: 0.8em;
  color: #005344;
}
  .about-flm-button {
    width: 100%;
}
  
.about-flm {
    margin-top: 30px;
}
  .about-flm-button .btn-default {
    width: 100%;
    padding: 20px 0;
    font-size: .8em;
}
  .news-item {
    flex-wrap: wrap;
    gap: 10px;
}
  .news-title {
    flex: unset;
    width: 100%;
}
.news-section, .custom-post-section, .about-section,.new-posts-section {
    padding: 30px 0;
}}
/* ログイン時表示 */
/* ========================= */
.logged-in .wrapper {
  padding-top: 50px;
}

.logged-in .site-header {
  padding-top: 35px;
}
.logged-in .breadcrumb {
  padding-top: 35px;
  margin-top: 0;
}

.home.logged-in .content {
  padding-top: 0;
}

.logged-in .header-image,
.logged-in .header-slider {
  margin-top: 36px;
}

.home.logged-in .content {
  padding-top: 0;
}
@media screen and (max-width: 1023px) {
 .logged-in .wrapper,.logged-in .site-header,.logged-in .breadcrumb {
    padding-top: 0;
}
.logged-in .header-image,
.logged-in .header-slider {
  margin-top: 0;
}
.logged-in .menu-btn {
    margin-top: 45px;
    }
  }
/* カスタムフィールドリスト */
/* ========================= */

.listing-template-default .listing-meta {
  margin-top: 0;
}

.listing-template-default .listing-custom-fields {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--border-color);
  border-top: none;
  margin-top: 0;
  padding: 0;
}

.listing-custom-fields {
  padding: 5px 0;
  border-bottom: none;
}

.listing-template-default .listing-custom-fields li {
  display: flex;
  width: 50%;
  border-top: 1px solid var(--border-color);
}

.listing-template-default .listing-th {
  width: 195px;
  letter-spacing: .1em;
  padding: 10px;
  background-color: var(--body-background);
}

.listing-template-default .listing-td {
  width: 50%;
  padding: 10px;
  background-color: var(--background-color);
}
.listing-td .text-value {
  font-size: .8em;
  margin-left: 5px;
}
.listing-template-default .listing-custom-fields li.wide-cats {
  width: 100%;
}

.listing-template-default .listing-custom-fields li.wide-cats .listing-td {
  width: 73%;
  padding: 10px;
}

.seven-td {
  padding: 10px 1.5%;
  width: auto;
}

.seven-td a:hover {
  text-decoration: underline;
}
@media screen and (max-width: 1179px) {
.listing-template-default .listing-th {
  width: 185px;
}
}
@media screen and (max-width: 1023px) {
.listing-template-default .listing-th {
  width: 140px;
}
}
/* Contact form 7 */
/* ========================= */

.wpcf7 form {
  padding: 80px 10%;
  border-radius: 15px;
  margin: 50px auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}

.wpcf7 input[type="text"], .wpcf7 input[type="url"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"] {
  background-color: var(--body-background);
  line-height: 1.5;
  padding: 8px 12px;
  width: 85%;
  border-radius: 4px;
  border: none;
}

table.CF7_table,table {
  width: 100%;
  margin: 0 auto;
}

.single .entry-content table.CF7_table,
.page .entry-content table.CF7_table {
  display: table;
}

.CF7_table ::placeholder {
  color: #797979;
}

.CF7_req {
  font-size: .7em;
  padding: 2px 10px;
  letter-spacing: .1em;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50px;
  margin-right: 1em;
}

.CF7_unreq {
  font-size: .9em;
  padding: 5px;
  background: #bdbdbd;
  color: #fff;
  border-radius: 3px;
  margin-right: 1em;
}
.wpcf7 input.wpcf7-submit {
  background-color: var(--primary-color);
  border: 0;
  color: #fff;
  padding: 10px 10%;
  border-radius: 5px;
  font-size: 1.2em;
  margin: 0 auto;
}

.wpcf7 input.wpcf7-submit:hover {
  opacity: .8;
}

.CF7_btn {
  text-align: center;
  margin-top: 20px;
}

.wpcf7-spinner {
  width: 0;
  margin: 0;
}
@media screen and (min-width: 768px) {
  .CF7_table th {
    width: 25%;
    /*横幅*/
    text-align: left;
    border-bottom: 1px solid var(--border-color);
  }
  .CF7_table td {
    border-bottom: 1px solid var(--border-color);
    padding: 28px 0;
  }
}

@media screen and (max-width: 767px) {
  .wpcf7 form {
    padding: 0;
    border-radius: 15px;
    margin: 50px auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}
.CF7_req, .oto_req {margin-right: 5px;}
  .CF7_table tr, .CF7_table td, .CF7_table th {
    display: block;
    line-height: 2em;
  }
  .CF7_table td {
    padding: 5%;
    width: 90%;
  }
  .CF7_table th {
    background: var(--navi-bg);
    text-align: left;
    padding-left: 10px;
    font-size: .8em;
  }
  .wpcf7 input[type="text"], .wpcf7 input[type="url"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea {
    width: 90%;
    border: 1px solid var(--border-color);
  }
  .CF7_btn {
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
}
  .wpcf7 input.wpcf7-submit {
    padding: 10px 15%;
    font-size: .8em;
}
}
/* フッター */
/* ========================= */

.site-footer {
  text-align: center;
  padding: 60px 0 0;
  position: relative;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  border-top: none;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

.back-to-top {
  position: fixed;
  right: 45px;
  bottom: 50px;
  z-index: 100;
}

.back-to-top .dashicons {
  font-size: 34px;
}

.copy {
  padding: 10px 0;
  background: var(--navi-bg);
}

.footer-widgets {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  max-width: 1280px;
  z-index: 100;
  margin: 0 auto 60px;
}

.footer-column {
  flex: 1 1 26%;
  min-width: 250px;
  padding: 0 2%;
  text-align: left;
}

.footer-column h3 {
  margin-bottom: 50px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 10px;
  font-size: 15px;
}

/* カテゴリウィジェット */

.widget_categories ul.wp-block-categories {
  padding-left: 0;
  margin: 0 auto;
}

.widget_categories ul.wp-block-categories li {
  background: var(--navi-bg);
  padding: 5%;
  border-radius: 8px;
}

.widget_categories ul.wp-block-categories li ul li {
  margin-bottom: 0;
  padding: 5px 5px 5px 15px;
}

.widget_categories ul.wp-block-categories li ul.children {
  padding: 5px 5px 5px 15px;
}

.widget_categories ul.wp-block-categories li ul.children ul.children {
  padding: 0 0 0 15px;
}

.widget_categories ul.wp-block-categories li ul.children ul.children li {
  padding: 5px 0 0 15px;
}

/* 最新記事ウィジェット */

.widget_recent_entries ul.wp-block-latest-posts__list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.wp-block-latest-posts__post-title {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
}

.wp-block-latest-posts__featured-image {
  float: left;
  margin-right: 10px;
}

.wp-block-latest-posts__featured-image img {
  border-radius: 4px;
  max-width: 75px;
  max-height: 75px;
}
@media (max-width: 1023px) {
  .back-to-top {
    right: 28px;
    bottom: 70px;
}}
@media (max-width: 768px) {
  .footer-widgets {
    flex-direction: column;
    padding: 15px;
  }
  .footer-column {
    flex: 1 1 100%;
    margin-bottom: 20px;
  }
  }
@media (max-width: 767px) {
  .site-footer {
    padding: 30px 0 0;
}
}

/* カスタム投稿ページ */
/* ========================= */

.single-listing .post-tags span a {
  background: var(--background-color);
  border: 1px solid var(--border-color);
  padding: 2px 10px;
  color: var(--text-color);
  font-size: 14px;
  letter-spacing: 0;
  line-height: 2.2;
  border-radius: 5px;
  margin: 0 2px;
  white-space: nowrap;
}
.single-listing .post-tags span a:hover {
  background: var(--navi-bg);
  border: 1px solid var(--navi-bg);
}
.single-listing .content>* {
  max-width: 1000px;
}

.custom-text-content,
.listing-honbun {
  margin: 50px auto 80px;
}

#toiawasesaki {
  margin: 20px 0;
  width: 100%;
}

.contact-box {
  margin: 0 auto 20px auto;
  text-align: center;
}

.contact-box-in {
  margin: 30px auto 0;
  text-align: center;
}

.contact-box-title {
  font-size: 2rem;
  text-align: center;
  margin-top: 40px;
  padding-bottom: 10px;
  font-weight: 500;
  width: 100%;
}

.contact-box-left {
  width: 100%;
}

.contact-box-tel {
  font-size: 2rem;
  margin-top: 10px;
  padding-bottom: 10px;
}

.contact-box-right {
  width: 100%;
  padding-top: 5%;
}

.single-listing .content .listing-map-flame {
  margin: 50px auto;
  padding: 20px 0;
  background: var(--body-background);
  max-width: 100%;
  width: 100%;
}

.single-listing .content .listing-map-container {
  margin: 50px auto;
  padding: 0;
  max-width: 1000px;
  width: 90%;
}

#listing_map_single {
  box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.05);
}

.listing-map-container p {
  margin: 0 auto;
  padding: 10px 0;
}

.listing-map-container h3 {
  background: var(--primary-color);
  color: var(--color-wh);
  padding: 5px 10px;
  max-width: 100px;
  text-align: center;
  font-size: 1em;
  border-radius: 3px;
  margin: 0;
}

.slide-media,
.thumb-media {
  position: relative;
  overflow: hidden;
}

.slide-media img {
  width: 100%;
  height: 500px;
  object-fit: contain;
}

.swiper-button-prev,
.swiper-button-next {
  display: grid;
  place-content: center;
  width: 3rem;
  height: 3rem;
  cursor: pointer;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  width: .7rem;
  height: .7rem;
  content: "";
  border: solid var(--color-gray);
  border-width: 1px 1px 0 0;
}

.swiper-button-prev::after {
  margin-left: 0.4rem;
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

.swiper-button-next::after {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.swiper-button-disabled {
  pointer-events: none;
  opacity: 0;
}

.single-listing .swiper-container {
  overflow: hidden;
  background: linear-gradient(transparent 25%, rgba(213, 221, 228, 0.2) 20%);
  padding: 20px 0 80px;
  border-radius: 15px;
  width: 100%;
  margin-bottom: 80px;
  max-width: 100%;
  position: relative;
  z-index: 0;
}

.swiper-container .swiper,
.swiper-container .thumb-wrapper {
  max-width: 860px;
  margin: auto;
  width: 90%;
}

.swiper-container .swiper {
  overflow: visible;
  position: relative;
}

.swiper-container .swiper-fade .swiper-slide {
  -webkit-transition-property: opacity, -webkit-transform !important;
  transition-property: opacity, -webkit-transform !important;
  transition-property: opacity, transform !important;
  transition-property: opacity, transform, -webkit-transform !important;
  pointer-events: none;
}

.swiper-container .swiper-fade .swiper-slide-active {
  pointer-events: auto;
}

.swiper-container .swiper-controller {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: 65%;
}

.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  z-index: 9;
  top: 0;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
  bottom: 0;
  background-color: var(--background-color);
  border-radius: 50%;
  margin: auto;
}

.swiper-container .swiper-button-prev {
  right: calc(100% + .5rem);
}

.swiper-container .swiper-button-next {
  left: calc(100% + .5rem);
}

.swiper-container .slide-media {
  display: block;
  border-radius: 4px;
}

.swiper-container .slide-title {
  padding: 10px 0 5px;
  text-align: center;
  font-size: 1em;
}

.swiper-container .slide-type {
  padding: 0 10px;
  border-radius: 15px;
  margin-right: 5px;
  font-size: .85em;
  color: var(--color-wh);
  background: var(--primary-color);
}

.swiper-container .thumb-wrapper {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
}

.swiper-container .thumb-media {
  padding-top: 100%;
  cursor: pointer;
  -webkit-transition: var(--transition);
  transition: var(--transition);
  border-radius: 4px;
}

.swiper-container .thumb-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-container .thumb-media-active {
  -webkit-transform: scale(0.9);
  transform: scale(0.9);
  opacity: 0.3;
  background: var(--text-color);
}

.swiper-container .thumb-media-active img {
  transform: scale(1.1);
}

.swiper-pagination.swiper-pagination-fraction {
  background: rgba(0, 0, 0, 0.41);
  color: var(--background-color);
  border-radius: 20px;
  font-size: 14px;
  left: 45%;
  margin: 0 auto;
  position: absolute;
  text-align: center;
  width: 10% !important;
  min-width: 65px;
  top: 83%;
  z-index: 1;
}

.custom-category-title {
  letter-spacing: .1em;
  border-radius: 3px;
  width: 195px;
  padding: 10px;
  background-color: var(--body-background);
}

.checkbox-value {
  border: 1px solid var(--border-color);
  /* background: var(--navi-bg); */
  line-height: 2.3;
  margin: 0 3px 15px 0;
  font-size: 0.8em;
  padding: 2px 10px;
  white-space: nowrap;
}

ul.single-shozaichi,
ul.listing-three-category-info {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  border: 1px solid var(--border-color);
  border-bottom: none;
}

ul.single-shozaichi li,
ul.listing-three-category-info li {
  display: inline-block;
}

.three-koutu:nth-child(2) {
  margin: 10px 0;
  display: block;
}

.ensen a {
  background: var(--navi-bg);
  font-size: .8em;
  height: 20px;
  padding: 2px 10px;
  margin-right: 5px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.custom-quote {
  position: relative;
  background: var(--navi-bg);
  border-left: 4px solid var(--border-color);
  padding: 10px 15px 10px 40px;
  margin: 10px 0 0;
  font-style: normal;
  display: block;
  font-size: .85em;
  border-radius: 6px;
}

.custom-quote .quote-icon {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 1em;
  color: var(--color-gray);
}
@media screen and (max-width: 1179px) {
.seven-td {
    width: 64%;
}
  .custom-category-title{
    width: 185px;
}
}
@media (max-width: 1023px) {
  .swiper-container {
    padding: 2% 5% 3%;
    width: 90%;
  }
  .listing-template-default .listing-custom-fields li.wide-cats .listing-th,.custom-category-title{width: 138px;}
}

@media (max-width: 767px) {
  .single-listing .post-tags span a {
 font-size: 12px;
}
      .listing-map-flame .listing-map-container #listing_map_single {
 height: 300px !important;
}
  .single-listing .content .listing-map-container {
    margin: 20px auto;
}
  .custom-category-title, .listing-template-default .listing-th{width: 80px;padding: 10px;font-size: 12px;}
  .listing-template-default .listing-custom-fields li.wide-cats .listing-th{width: 90px;}
  .seven-td,.listing-template-default .listing-td{width: 65%;padding: 2.5%;}

  .swiper-container .thumb-wrapper {
    grid-template-columns: repeat(4, 1fr);
  }
  .slide-media img {
    height: 200px;
    margin: 0 auto;
    object-fit: contain;
  }
  .swiper-container .swiper-button-prev {
    right: calc(94%);
  }
  .swiper-container .swiper-button-next {
    left: calc(94%);
  }
  .swiper-container {
    padding: 8% 5% 3%;
  }

}

@media (max-width: 460px) {
  .lum-lightbox-inner img {
    width: 100%;
  }
  .lum-gallery-button:after {
    height: 20px !important;
    width: 20px !important;
  }
}

/* アーカイブページ */
/* ========================= */
.ajax-pagination ul.page-numbers {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 20px 0;
  list-style: none;
}
.ajax-pagination .page-numbers {
  padding: 4px 12px;
  border-radius: 4px;
  text-decoration: none;
}
.ajax-pagination .page-numbers.current {
  background: var(--secondary-color);
  color: #fff;
  font-weight: bold;
}
.listing-sort {
    text-align: center;
}
.listing-count {
    text-align: center;
    font-weight: bold;
}
.sort-item {
    margin-right: 5px;
    position: relative;
    padding: 5px 20px;
    flex-direction: column;
}
.sort-item:last-child .sort-label-text {
    margin-right: 3px;
}
.sort-arrows {
    display: inline-flex;
    position: absolute;
    flex-direction: column;
    width: 20px;
    top: 2px;
    right: 5px;
}
.sort-arrows .dashicons {
    font-size: 22px;
    padding: 0;
    margin: 0;
    height: 8px;
    width: 10px;
}
.sort-arrows .dashicons.active {
    color: #f60;
}
.category-featured-slider {
  position: relative;
  width: 90%;
  height: 400px;
  overflow: hidden;
  border-radius: 10px;
}

.category-featured-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  animation: fadeSlide 15s infinite;
}

.category-featured-slider .slide:nth-child(1) {
  animation-delay: 0s;
}

.category-featured-slider .slide:nth-child(2) {
  animation-delay: 5s;
}

.category-featured-slider .slide:nth-child(3) {
  animation-delay: 10s;
}

@keyframes fadeSlide {
  0% {
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  45% {
    opacity: 1;
  }
  65% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.slide-left {
  width: 50%;
  height: 100%;
}

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

.slide-right {
  width: 50%;
  padding: 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--navi-bg);
}

.slide-title {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.slide-date {
  font-size: 0.9em;
  color: #666;
}

.slide-excerpt {
  font-size: 1em;
  margin-top: 10px;
}
@media (max-width: 767px) {
 
  }
/* カスタム投稿アーカイブページ */
/* ========================= */

.post-categories {position: absolute;bottom: 5px;margin: 0;text-shadow: 0 0 3px rgba(0, 0, 0, 0.8);left: 5px;line-height: 1.8;white-space: nowrap;width: 75%;overflow: hidden;color: #fff;font-size: .85em;}
.post-category{
  margin-left: 10px;
}


@media (max-width: 1366px) {
  .new-posts-section .post-grid, .archive .post-grid{
  max-width: 950px;
  margin: 0 auto;
}
}

@media (max-width: 1023px) {
      .new-posts-section .post-grid, .archive .post-grid {
        gap: 27px;
    }
}

.dropdown-btn:focus,
.dropdown-btn:hover {
  border-color: var(--primary-color);
  box-shadow: 0px 3px 8px var(--border-color);
}

.custom-dropdown {
  position: relative;
  flex: 1;
  background: var(--background-color);
}


@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-btn {
  text-align: center;
  padding: 15px 15px 15px 10px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  transition: all 0.3s ease;
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23000000" d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}
.dropdown-menu {
  display: none;
  position: absolute;
  background: var(--background-color);
  left: 0;
  top: 100%;
  list-style: none;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 1px solid var(--border-color);
  border-top: none;
  overflow: hidden;
}

.dropdown-menu li {
  padding: 10px 15px;
  border-bottom: 1px solid var(--border-color);
  transition: background 0.3s;
}

.dropdown-menu li.child-category {
  padding-left: 31px;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu li:hover {
  background: var(--navi-bg);
}

.custom-dropdown.open .dropdown-menu {
  display: block;
  z-index: 99;
}

@media (max-width: 1023px) {
  .toggle-checkbox:checked + .toggle-search-button + .mobile-search-form {
    display: block;
    margin-top: 25px;
  }

  .toggle-search-button {
    position: relative;
    width: 100%;
    display: inline-block;
  }
  .toggle-search-button .dashicons{
    position: absolute;
    right: 85px;
    top: 30px;
    font-size: 26px;
  }
.toggle-checkbox:not(:checked) + .toggle-search-button::after {
  content: "開く";
  position: absolute;
  right: 43px;
  top: 30px;
}
.toggle-checkbox:checked + .toggle-search-button::after {
  content: "閉じる";
  position: absolute;
  right: 28px;
  top: 30px;
}

}
@media (max-width: 767px) {

.toggle-checkbox:not(:checked) + .toggle-search-button::after {
  right: 28px;
  top: 5px;
}
.toggle-checkbox:checked + .toggle-search-button::after {
  right: 13px;
  top: 5px;
}
.pc {display:none;}
.sp {display:block;}
}
@media (min-width: 768px) {
  .pc {display: block;}
.sp {display:none;}
  }
.member-info-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
}

.member-info-item {
  border-bottom: 1px solid #ddd;
  padding: 1em 0;
}

.member-info-item:last-child {
  border-bottom: none;
}

.member-info-item h2 {
  font-size: 1.1rem;
  margin: 0.2em 0 0.5em;
  line-height: 1.4;
}

.member-info-item h2 a {
  text-decoration: none;
  transition: color 0.2s;
}

.member-info-item .meta {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 0.3em;
}
.label-important {
  display: inline-block;
  background-color: #c0392b;
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  vertical-align: top;
  padding: 0.3em 0.5em;
  border-radius: 4px;
  margin-right: 0.5em;
}
/* モバイル向けの最適化 */
@media (max-width: 600px) {
  .member-info-item {
    padding: 0.8em 0;
  }

  .member-info-item h2 {
    font-size: 1rem;
  }

  .member-info-item .meta {
    font-size: 0.85rem;
  }
}
.post-password-form {
  max-width: 420px;
  margin: 3em auto;
  padding: 2em;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  font-family: 'Helvetica Neue', sans-serif;
  color: #333;
}

.post-password-form p {
  margin: 1em 0;
  line-height: 1.6;
  font-weight: normal;
}
.post-password-form p:last-child {text-align: center;}
.post-password-form label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 0.5em;
}
.post-password-form p:last-child label {
   text-align: left;
}
.post-password-form input[type="password"] {
  padding: 0.65em 0.8em;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.post-password-form input[type="password"]:focus {
  border-color: #0073aa;
  outline: none;
}

.post-password-form input[type="submit"] {
  margin-top: 1em;
  background-color: #0073aa;
  color: #fff;
  border: none;
  padding: 0.65em 1.5em;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.post-password-form input[type="submit"]:hover {
  background-color: #005e8a;
}
.match-columns {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

/* 左右カラム */
.column-left,
.column-right {
  flex: 1;
  min-width: 300px;
}

/* 種別ごとの見出し */
.column-left h2,
.column-right h2 {
  font-size: 1.2em;
  margin-top: 1.2em;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.4rem;
}

/* 各大会ブロック */
.match-block {
  border-bottom: 1px solid #ccc;
  padding: 0 .5em 1em;
  margin-bottom: .5em;
  border-radius: 5px;
}

.match-block h3 {
  font-size: 1rem;
  margin: 0;
}

.match-block p {
  margin: 0 0 .5em;
}

/* テーブル */
.people-table {
  width: 100%;
  margin-top: .5em;
  border-collapse: collapse;
}

.people-table th,
.people-table td {
  border: 1px solid #ccc;
  padding: 0 0.5rem;
  text-align: left;
}

.people-table th {
  background: #d7e3dc;
  font-weight: normal;
  width: 50%;
  font-size: .8em;
}
.people-table th:last-child {
  background: #c9d5dd;
}
button.toggle-people-table {
border:none;
    background: #6bb788;
    color: #fff;
    text-decoration: unset;
    padding: 4px 9px;
    border-radius: 5px;
}
button.toggle-people-table:active {
    background: #4a9265; 
}
.error-404 {
    margin-top: 100px;
}
/* モバイル対応 */
@media screen and (max-width: 780px) {
  .match-columns {
    flex-direction: column;
    gap: 1rem !important;
  }
}
@media screen and (max-width: 767px) {
	.error-404 {
    margin-top: 0;
}
.match-block h3 span,.match-block p span{
  display: none;
}
  .match-block {
    padding: 0 0 1em;
}
  .column-left, .column-right {
    flex: 1;
    min-width: unset;
}
  .people-table th, .people-table td {
    font-size: 13px;
}
  .match-block p {
    margin: 0;
}
  .column-left h2, .column-right h2 {
    font-size: 1.1em;
}

}

.oto-table td span.oto-list-item, .branch-radio-select label {
    margin-right: .5em;
    display: block;
    white-space: nowrap;
}
.oto-step-bar .step.active::before, .oto-step-bar .step.completed::before {
    background: rgb(31 40 111);
}