/*--------------------------------------------------------------
Back to top button
--------------------------------------------------------------*/

.btg {
  width: 90%;
  margin: 0 auto;
}

.back-to-top {
  position: fixed;
  display: none;
  background: #0c5c78;
  color: #fff;
  width: 44px;
  height: 44px;
  text-align: center;
  line-height: 1;
  font-size: 36px;
  padding-top: 3px;
  border-radius: 50%;
  right: 15px;
  bottom: 15px;
  transition: background 0.5s;
  z-index: 999;
}
.back-to-top i {
  padding-top: 12px;
  color: #fff;
}
.back-to-top-go {
  margin-top: 20px;
  padding: 10px 0 20px;
  border-top: 1px solid #ccc;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.back-to-top-go li {
  display: block;
  margin: 0;
}

.back-to-top-go li.left {
  margin: 0;
}

.back-to-top-go li.right {
  float: none;
}
.back-to-top-go li a {
  display: inline-block;
  font-size: 14px;
  color: #0c5c78;
}
.back-to-top-go span {
  margin-right: 8px;
}

/*--------------------------------------------------------------
.about-card
--------------------------------------------------------------*/

.about-card {
  border-radius: 10px 10px 4px 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  background: #fff;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.about-card h2 {
  color: #000;
  font-weight: 600;
  font-size: 16px;
  padding: 20px 20px 0;
}

.about-card h2.title {
  margin: 0;
}

.about-card h2 a {
  color: #333;
}

.about-card h2 a:hover {
  color: #088de4;
}

.about-card p {
  font-size: 14px;
  line-height: 24px;
  color: #555;
  margin-bottom: 20px;
  padding: 0 20px;
}

.about-card .date {
  font-size: 12px;
  color: #666;
  padding: 0 20px 20px;
}

.about-card .img {
  position: relative;
}

.about-card .img img {
  border-radius: 10px 10px 0 0;
}
.about-card .btn {
  border-radius: 4px;
  padding: 6px 30px;
  border: 2px solid var(--primary-surface-hover);
  color: var(--primary-surface-hover);
  font-weight: 500;
  font-size: 14px;
  margin: auto 20px 20px;
}

.about-card .btn:hover {
  background-color: var(--primary-surface-hover);
  color: #fff;
}

.about-card-title {
  color: #518ba0;
  text-transform: uppercase;
  text-align: center;
  font-weight: 600;
  font-size: 30px;
  position: relative;
  border-bottom: 1px solid #ccc;
  padding-top: 50px;
  padding-bottom: 35px;
}

.about-card-meta {
  margin: 3px 20px 10px;
}

.about-card-meta-category {
  display: inline-block;
  margin-right: 5px;
  padding: 2px 3px;
  background: #fff;
  border: 1px solid #85abc0;
  border-radius: 8px;
  color: #85abc0;
  font-size: 10px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.2s ease;
}

.flex {
  justify-content: center;
}

/*--------------------------------------------------------------
.badge # attachment design 
--------------------------------------------------------------*/

.badge {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 0 5px 0 50px;
  background-color: #f5f5f5;
  border-radius: 0 10px 10px 0;
}

.badge::before {
  font-family: "shimonita";
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  color: #fff;
  width: 45px;
  height: 50px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 10px 0 0 10px;
  font-weight: normal;
}

.badge p {
  margin: 0 !important;
  line-height: 1 !important;
}

.badge a {
  font-size: 1.3em;
  font-weight: 400;
  color: #0c5c78;
}
.badge-attach::before {
  content: "\e925";
  background: #dd570c;
}

.badge-linkage::before {
  content: "\e926";
  background: #053a90;
}

.badge-route::before {
  content: "\e929";
  background: #0c89dd;
}
.badge a {
  color: #0c5c78;
}

/*--------------------------------------------------------------
.content-block
--------------------------------------------------------------*/

:root {
  --color-B-highlight: #e5dfd3;
}

.content-block {
  width: 92%;
  max-width: 1080px;
  height: auto;
  margin: 0 auto;
}

.content-block > *:first-child {
  margin-top: 0;
}

.content-block > *:last-child {
  margin-bottom: 0;
}

.content-block a {
  color: #0c3a78;
  text-decoration: none;
  border-bottom: 1px solid rgba(12, 58, 120, 0.4);
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}

.content-block a:hover {
  color: #4e8ba8;
  border-bottom-color: transparent;
}

.content-block ul a {
  text-decoration: none;
}

.content-block p {
  color: #444;
  font-size: 120%;
  line-height: 1.8;
}

.content-block p img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}
.content-block .wp-block-columns {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.content-block .wp-block-columns p img {
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

.content-block h1,
.content-block h2 {
  margin-top: 30px;
  margin-bottom: 30px;
  font-weight: 600;
}

h2.trans-title {
  position: relative;
  color: #518ba0;
  font-size: 30px;
  text-transform: uppercase;
  text-align: center;
  padding-top: 55px;
  padding-bottom: 35px;
  font-weight: 600;
  border-bottom: 1px solid #ccc;
}

@media (max-width: 991px) {
  .content-block {
    width: 100%;
  }
  .content-block h1 {
    font-size: 24px;
  }
  h2.trans-title,
  .content-block h2 {
    font-size: 24px;
    padding-bottom: 15px;
  }
  .content-block h3 {
    font-size: 20px;
  }
}

.content-block figure {
  display: block;
  text-align: center;
  margin: 0 auto;
}

.content-block figure img {
  width: 100%;
  height: auto;
}

.content-block figcaption {
  margin-top: 10px;
  margin-bottom: 30px;
  font-size: 16px;
  color: #333;
}

/* ===== 見出しブロック共通（h4–h6） ===== */
.content-block h4,
.content-block h5,
.content-block h6 {
  position: relative;
  padding: 8px 5px 8px 50px;
  font-weight: 500;
  color: #474747;
  border-radius: 0 10px 10px 0;
  margin: 10px 0;
}

/* サイズだけ分ける */
.content-block h4 {
  font-size: 20px;
}
.content-block h5 {
  font-size: 18px;
}
.content-block h6 {
  font-size: 16px;
}

/* event */
.content-block.is-event h4,
.content-block.is-event h5,
.content-block.is-event h6 {
  background: #fdecec;
}

.content-block.is-event h4::before,
.content-block.is-event h5::before,
.content-block.is-event h6::before {
  background: #b10731;
}

.content-block strong {
  color: var(--color-text);
  background: linear-gradient(
    transparent 0%,
    transparent 50%,
    var(--color-B-highlight) 50%,
    var(--color-B-highlight) 100%
  );
}

/* =========================
   content-block list base
========================= */

.content-block ul,
.content-block ol {
  margin: 20px 0;
  padding-left: 40px;
}

.content-block ul {
  list-style: none;
}

.content-block li {
  margin: 10px 0;
  position: relative;
}

.content-block ul li::before {
  font-family: shimonita;
  content: "\e91f";
  position: absolute;
  left: -25px;
  color: #0c5c78;
}

/* =========================
   inside decoration blocks
========================= */

/* =================================
   quote-base（共通構造）
================================= */

.content-block blockquote,
.content-block .quotepin,
.content-block .clipadd {
  font-size: 110%;
}
.content-block blockquote li:last-child,
.content-block .quotepin li:last-child,
.content-block .clipadd li:last-child {
  margin-bottom: 10px;
}
.content-block .clipadd,
.content-block .quotepin,
.content-block blockquote {
  position: relative;
  margin: 15px 0;
  padding: 15px 12px 15px 20px;
  padding-left: 65px;
  box-sizing: border-box;
  font-style: normal;
  color: #464646;
  border-left-width: 50px;
  border-radius: 6px;
}

.content-block .clipadd {
  border: 3px solid #518ba0;
}

.content-block .quotepin {
  border: 3px solid #d39477;
}

.content-block blockquote {
  border: 3px solid #518ba0;
}

.content-block .clipadd::after,
.content-block .quotepin::after,
.content-block blockquote::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 100%;

  border-radius: 2px 0 0 2px;
  z-index: 1;
}
.content-block .clipadd::after {
  background: #518ba0;
}

.content-block .quotepin::after {
  background: #d39477;
}

.content-block blockquote::after {
  background: #518ba0;
  font-weight: 100;
}
.content-block .clipadd::before,
.content-block .quotepin::before,
.content-block blockquote::before {
  position: absolute;
  top: 50%;
  left: 25px;
  transform: translate(-50%, -50%);
  font-family: "shimonita";
  color: #fff;
  font-size: 40px;
  z-index: 2;
}
.content-block .clipadd::before {
  content: "\e927";
}

.content-block .quotepin::before {
  content: "\e926";
}

.content-block blockquote::before {
  content: "\e927";
  font-weight: 100;
}
.content-block .clipadd p,
.content-block .quotepin p,
.content-block blockquote p {
  position: relative;
  margin: 5px 0;
  line-height: 1.7;
  z-index: 1;
}

.content-block blockquote p {
  padding: 12px 0;
  margin: 0;
}

.content-block .clipadd a,
.content-block .quotepin a,
.content-block blockquote a {
  color: #333;
  text-decoration: underline;
}

.content-block .clipadd cite,
.content-block .quotepin cite,
.content-block blockquote cite {
  display: block;
  text-align: right;
  font-size: 0.9em;
  color: #888;
}
.content-block .clipadd ul,
.content-block .quotepin ul,
.content-block blockquote ul {
  margin: 0;
  padding-left: 20px;
}
.content-block blockquote ol,
.content-block .quotepin ol,
.content-block .clipadd ol {
  margin: 0;
  padding-left: 0px;
}
.content-block .clipadd li,
.content-block .quotepin li,
.content-block blockquote li {
  font-size: 110%;
  font-weight: 400;
  margin: 0;
}
.content-block .clipadd ul li,
.content-block .quotepin ul li,
.content-block blockquote ul li {
  padding-left: 10px;
}
.content-block .clipadd ol li,
.content-block .quotepin ol li,
.content-block blockquote ol li {
  list-style-type: decimal;
  padding-left: 0px;
}
.content-block .clipadd ul li::before,
.content-block blockquote ul li::before {
  left: -20px;
}

.content-block .quotepin ul li::before {
  left: -20px;
  color: #a05532;
}
.content-block ol {
  margin: 20px 0 20px 40px;
  padding: 0;
}

.content-block blockquote ol {
  margin-left: 30px;
}

.content-block .clipadd ol,
.content-block .quotepin ol {
  margin-left: 30px;
}

:is(blockquote, .clipadd, .quotepin) :is(h1, h2, h3, p) {
  padding: 0;
}
:is(blockquote, .clipadd, .quotepin) :is(h1, h2) {
  margin: 0 0 20px 0;
}

/* =========================
   wp-block-columns blocks
========================= */

.content-block .wp-block-columns {
  margin: 0;
}

.content-block .wp-block-column {
  min-width: 0;
  word-break: break-word;
}

@media (min-width: 992px) {
  .content-block .wp-block-columns {
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  .content-block .wp-block-column {
    flex: 1 1 0;
  }

  .content-block .wp-block-columns img {
    width: 100%;
    height: auto;
    display: block;
  }
}

@media (max-width: 991px) {
  .content-block p {
    padding: 15px 0;
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 110%;
    color: #333;
  }

  .content-block img {
    width: 100%;
    height: auto;
  }
}

/*--------------------------------------------------------------
route exp
--------------------------------------------------------------*/

.content-block .route p {
  padding: 12px 0px 12px 0px;
  margin-bottom: 20px;
  line-height: 1.8em;
  text-align: initial;
  margin-left: 10px;
}

.content-block .route p a {
  color: #0c5c78;
}
.content-block .route {
  position: relative;
  padding: 0px 5px 0px 40px;
  background-color: #f5f5f5;
  margin-bottom: 10px;
  margin-left: 0px;
  border-radius: 0 10px 10px 0;
}

.content-block .route:before {
  font-family: shimonita;
  content: "\e929";
  font-size: 32px;
  position: absolute;
  color: #fff;
  background: #0c89dd;
  width: 40px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 10px 0 0 10px;
}

.content-block .exp {
  padding: 20px 25px;
  background: #f9f9f9;
  margin-bottom: 15px;
}
.content-block .exp p {
  margin-left: 20px;
}
.exp p:last-child {
  margin-bottom: 0;
}

/* footer links */
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-item {
  display: inline-block;
}

.footer-chip {
  margin: 5px 0;
  padding: 4px 8px;
  background: #b9c8cd;
  border: 1px solid #c5deec;
  border-radius: 8px;
  color: #fff;
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
}

.footer-chip:hover {
  border-color: #e99e9e;
  background: #db7a46;
  color: #fff;
  transform: translateY(-6px);
}

/* アイコン */
.footer-chip::after {
  content: "\e91b";
  font-family: shimonita;
  margin-left: 6px;
}

/* .page-header
--------------------------------*/

.page-header {
  margin-bottom: 30px;
}

.page-header-top {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}
.page-header-heading {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.page-header-heading h1 {
  font-size: 32px;
  font-weight: 700;
}

.page-header-title {
  color: #0c5c78;
  font-weight: 600;
  font-size: 30px;
  margin: 0;
  padding-bottom: 12px;
}

.page-header-icon i {
  background-color: #477f9a;
  font-size: 70px;
  padding: 10px;
  border-radius: 0.75rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  color: #fff;
  transition: 0.3s;
}

.page-header-icon:hover i {
  background-color: #0c5c78;
}
@media (min-width: 769px) {
  .page-header-heading {
    flex: 1;
  }
}
@media (max-width: 768px) {
  .page-header-title {
    padding-bottom: 0px;
    font-size: 28px;
  }
  .page-header-top {
    flex-wrap: wrap;
    gap: 15px;
  }
  .breadcrumb {
    flex: 0 0 100%;
  }
  .page-header-icon i {
    font-size: 30px;
  }
  .page-header-icon {
    margin-top: 10px;
  }
}
/* .breadcrumb 
--------------------------------*/
.breadcrumb {
  width: 100%;
  font-size: 80%;
  color: #b0abab;
  border-top: 1px solid #ccc;
  background-color: transparent;
  border-radius: 0;
}
.breadcrumb.active,
.breadcrumb a {
  color: #b0abab;
}

.breadcrumb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  line-height: 0.5;
}

@media (max-width: 768px) {
  .breadcrumb {
    flex-basis: 100%;
    margin-top: 16px;
  }
}

/* section-local-nav
--------------------------------*/

/* section local nav */
.section-local-nav {
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.section-local-nav-item {
  display: inline-block;
}

@media (max-width: 992px) {
  .section-local-nav {
    display: none;
  }
}

/* reusable nav chip */
.nav-chip {
  margin: 5px 0;
  padding: 4px 8px;
  background: #b9c8cd;
  border: 1px solid #c5deec;
  border-radius: 8px;
  color: #fff;
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
}

.nav-chip::after {
  content: "\e91b";
  font-family: shimonita;
  margin-left: 6px;
}

.nav-chip:hover {
  border-color: #e99e9e;
  background: #db7a46;
  color: #fff;
  transform: translateY(-6px);
}

.nav-chip.is-active {
  background: #0c5c78;
}

/* Sections Header
--------------------------------*/

.section-header {
  text-align: center;
}

.section-header .section-title {
  color: #0c5c78;
  font-weight: 600;
  font-size: 30px;
  position: relative;
}
.section-header .section-title--border {
  padding-bottom: 15px;
  border-bottom: 1px solid #2dabd8;
}
#main .section-header .section-title {
  color: #111;
  text-transform: none;
}
.section-header p {
  text-align: center;
  padding-bottom: 30px;
}
.section-header .primode {
  padding-top: 55px;
  padding-bottom: 35px;
}

/* .icon-menu
--------------------------------*/
.icon-menu-title {
  color: #518ba0;
  text-align: center;
  font-weight: 600;
  font-size: 30px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 35px;
}

.icon-menu-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  gap: 0px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.icon-menu-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: 0.3s;
  padding: 0px 15px 12px 15px;
}

.icon-menu-item a:hover {
  transform: translateY(-6px);
}

.icon-menu-item i {
  color: #96b8c4;
  font-size: 42px;
  left: 30%;
  text-align: center;
  line-height: 1;
}

.icon-menu-item span {
  color: #96b8c4;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.4;
}

/* .sidebar-title
--------------------------------*/

.sidebar-title {
  color: #518ba0;
  text-align: center;
  font-weight: 600;
  font-size: 30px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 35px;
}

/*--------------------------------------------------------------
Google Map
--------------------------------------------------------------*/

.map {
  position: relative;
  padding-bottom: 65%;
  height: 0;
  margin-bottom: 20px;
}

.map iframe,
.map object,
.map embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* map が直後に来る場合だけ余白を詰める */
.tb:has(+ .jmap) {
  margin-bottom: 0;
}

.map-inline {
  margin-top: 0;
  border: 1px solid #ddd;
}

.tb + .map-inline {
  border-top: 0;
}

.map-content {
  margin-top: 20px;
}
.map-break {
  margin: 30px 0;
}

/*--------------------------------------------------------------
geo-related-nav
--------------------------------------------------------------*/

.geo-related-nav {
  margin: 40px 0;
  padding-top: 40px;
  border-top: 1px solid #ccc;
}

.geo-related-link {
  display: inline-block;
  margin: 0 5px 5px 0;
  padding: 4px 10px;
  background: #fff;
  border: 1px solid #85abc0;
  border-radius: 8px;
  color: #85abc0;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.2s ease;
}

.geo-related-link:hover {
  background: #85abc0;
  color: #fff;
}

.geo-related-link.is-active {
  background: #367191;
  color: #fff;
  border-color: #367191;
}

/*-------------- .feature-box .feature-box__title --------------*/

.feature-box {
  position: relative;
  margin: 60px 0 30px 0;
  padding: 0.5em 1em;
  border-radius: 0 10px 10px 10px;
  border: 4px solid #20b283;
}

.feature-box-title {
  position: absolute;
  display: inline-block;
  top: -40px;
  left: -4px;
  padding: 2px 20px;
  line-height: 1.4;
  height: auto;
  font-size: 24px;
  color: #ffffff;
  font-weight: 500;
  border-radius: 10px 10px 0 0;
  background: #20b283;
}
.feature-box p {
  margin: 0;
  padding: 0;
}

.feature-box dl {
  margin: 10px;
  font-size: 120%;
}
.feature-box dt,
.feature-box dd {
  margin: 0;
}

.feature-box dl > div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.feature-box dt {
  flex: 0 0 80px;
  text-align: center;
}

.feature-box dd {
  flex: 1;
  margin: 0;
}
.feature-box dt {
  color: #fff;
  background: #e57185;
  font-weight: 400;
  border-radius: 5px;
  padding: 0 8px;
  width: 80px;
  text-align: center;
}

@media (max-width: 991px) {
  .feature-box-title {
    top: -36px;
    font-size: 20px;
  }
}
