/* --- Variables & Reset --- */
:root {
  --font-main: 'Noto Sans JP', 'Inter', sans-serif;
  --card-border-width: 0.4em;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-gray-bg);
  color: var(--color-text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
}

body.is-menu-open {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.main {
  max-width: 1440px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .main {
    /* padding-top: 60px; */
  }
}

.manual-search-box {
  margin-block: 15px 30px;
  display: flex;
  justify-content: center;
}
.search-form {
  position: relative;
  max-width: 400px;
}

.search-field {
  padding: 11px;
  border: ridge 2px #0086ab66;
  border-radius: 4px;
  font-size: inherit;
  width: 100%;
}

.search-submit {
  position: absolute;
  right: 3px;
  top: calc(50% - 12px);
  font-size: 20px;
  cursor: pointer;
  border: none;
  color: var(--cocoon-thin-color);
  padding: 0 8px;
  background-color: #ffffff00;
}

.fa {
  display: inline-block;
  font: normal normal normal 14px / 1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.fa-search:before {
  content: '\f002';
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: #fff;
  z-index: 999;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: inherit;
  padding-inline: 30px;
}

.header__logo {
  width: 92px;
}

.header__nav {
}

.header__nav ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__nav ul li {
}

.header__nav ul .--contact a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 190px;
  background: #1f8ecd;
  border-radius: 0.319rem;
  /* min-height: 4.4rem; */
  aspect-ratio: 190 / 44;
  padding: 0 1rem;
  color: #ffffff;
}

.header__nav ul .--contact a::before {
  content: '';
  background: url(../image/ico_mail.svg) no-repeat 50% 50% / contain;
  width: 18px;
  height: auto;
  aspect-ratio: 16.79 / 13.43;
}

.header__nav ul li a {
  padding: 12px;
  font-weight: 500;
}

.header__nav ul .--demo a {
  margin-left: 12px;
  width: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.05rem;
  background: #ffffff;
  border-radius: 0.319rem;
  padding: 0 1rem;
  aspect-ratio: 190 / 44;
  color: #1f8ecd;
  border: 2px solid #1f8ecd;
}

.header__nav ul .--demo a::before {
  content: '';
  background: url(../image/ico_movie.svg) no-repeat 50% 50% / contain;
  width: 18px;
  height: auto;
  aspect-ratio: 16.79 / 13.43;
}

.header__hamburger {
  width: 48px;
  height: 48px;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: none;
  display: none;
}

.header__hamburger--bars {
  position: relative;
  width: 30px;
  height: 25px;
  display: inline-block;
}

.header__hamburger--bars span {
  position: absolute;
  right: 0;
  display: block;
  width: 100%;
  height: 3px;
  background: #000;
}

.header__hamburger--bars span:nth-child(1) {
  top: 0;
}

.header__hamburger--bars span:nth-child(2) {
  top: 45%;
}

.header__hamburger--bars span:nth-child(3) {
  bottom: 0;
}

.header__hamburger.is-open .header__hamburger--bars span:nth-child(1) {
  top: 45%;
  transform: rotate(45deg);
}

.header__hamburger.is-open .header__hamburger--bars span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.is-open .header__hamburger--bars span:nth-child(3) {
  bottom: auto;
  top: 45%;
  transform: rotate(-45deg);
}

.header__hamburger--bars span {
  transition:
    transform 0.25s ease,
    opacity 0.25s ease,
    top 0.25s ease,
    bottom 0.25s ease;
}

.header__hamburger-menu {
  position: fixed;
  top: 100px;
  left: 0;
  background: #fff;
  width: 100%;
  height: 100dvh;
  z-index: 999;
  padding-top: 30px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.header__hamburger-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.header__hamburger-menu--nav {
}

.header__hamburger-menu--nav ul {
}

.header__hamburger-menu--nav li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header__hamburger-menu--nav li::before {
  content: '';
  display: block;
  width: 32px;
  height: 4px;
  background: #4b4137;
}

.header__hamburger-menu--nav a {
  padding: 20px;
  color: #000000;
  font-weight: 700;
  font-size: 18px;
  line-height: 100%;
}

@media (max-width: 1340px) {
  .header__nav {
    display: none;
  }

  .header__hamburger {
    display: flex;
  }
}

@media (max-width: 599px) {
  .header {
    height: 60px;
  }

  .header__inner {
    padding-inline: 10px 26px;
  }

  .header__logo {
    width: 55px;
  }

  .header__hamburger-menu {
    top: 60px;
  }
}

/* --- Manual Section --- */
.manual {
  /* margin-top: 120px; */
}

.manual__inner {
  width: 100%;
  margin-inline: auto;
  padding-inline: 20px;
  position: relative;
}
@media (min-width: 768px) {
  .manual__inner {
    padding-inline: 40px;
  }
}
.manual__title {
  position: relative;
}
@media screen and (min-width: 768px) {
  .manual__title .left_image {
    position: absolute;
    top: 0;
    left: 0;
    width: 20%;
    height: auto;
  }
  .manual__title .right_image {
    position: absolute;
    top: 0;
    right: 0;
    width: 20%;
    height: auto;
  }
}
@media screen and (max-width: 767px) {
  .manual__title .left_image {
    position: absolute;
    top: -100px;
    left: -20px;
    width: 100px;
    height: auto;
  }
  .manual__title .right_image {
    position: absolute;
    bottom: -100px;
    right: -20px;
    width: 100px;
    height: auto;
  }
}

.manual__title {
  margin-top: 60px;
}

.manual__title {
  text-align: center;
}

.manual__title h2 {
  font-size: 38px;
  color: var(--color-brand-navy);
  margin-bottom: 1rem;
}

.manual__title p {
  font-size: 18px;
}

/* =========================
   Manual Videos（iframe直書き用）
========================= */
.manual-videos {
  margin-top: 80px;
  max-width: 800px;
  width: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

/* カード */
.manual-video {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px #0000001f;
  border: 1px solid #0000000f;
}

/* iframeを普通に扱う（←重要） */
.manual-video iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  /* これだけでOK */
  border: 0;
}

/* =========================
   Manual Tabs
========================= */

.manual-sidebar {
  margin-top: 120px;
}

.manual-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  max-width: 1200px;
  margin-inline: auto;
  width: 100%;
  margin-block-start: 40px;
}

/* 通常状態 */
.manual-tab {
  appearance: none;
  border: 1px solid #d6d6d6;
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  line-height: 1.4;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.manual-tab.intro {
  background: #e7b56a;
  color: #fff;
  border: 1px solid #e7b56a;
}
.manual-tab.intro:hover,
.manual-tab.intro.is-active {
  background-color: #fff;
  color: #e7b56a;
  border: 1px solid #e7b56a;
}
.manual-tab.usage {
  background: #9c6fa7;
  color: #fff;
  border: 1px solid #9c6fa7;
}
.manual-tab.usage:hover,
.manual-tab.usage.is-active {
  background: #fff;
  color: #9c6fa7;
  border: 1px solid #9c6fa7;
}
.manual-tab.advanced {
  background: #258abc;
  color: #fff;
  border: 1px solid #258abc;
}
.manual-tab.advanced:hover,
.manual-tab.advanced.is-active {
  background: #fff;
  color: #258abc;
  border: 1px solid #258abc;
}
.manual-tab.administrator {
  background: #35af54;
  color: #fff;
  border: 1px solid #35af54;
}
.manual-tab.administrator:hover,
.manual-tab.administrator.is-active {
  background: #fff;
  color: #35af54;
  border: 1px solid #35af54;
}

/* hover */
.manual-tab:hover {
  border-color: #1f8ecd;
  color: #1f8ecd;
  box-shadow: 0 2px 6px #1f8ecd26;
}

/* active */
.manual-tab.is-active {
  background: #fff;
  border-color: #1f8ecd;
  color: #1f8ecd;
  box-shadow: 0 4px 10px #1f8ecd59;
}

/* focus（キーボード操作対応） */
.manual-tab:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px #ffffff,
    0 0 0 4px #1f8ecd99;
}

.manual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 80px;
}

@media (min-width: 768px) {
  .manual-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .manual-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.manual-card {
  position: relative;
  background: white;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0px 0px 15px -5px #777777;
  display: grid;
  align-items: stretch;
}

/* 下の横帯 */
.manual-card:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  /* 左縦帯と同じ幅 */
  height: var(--card-border-width);
}

.manual-card.intro {
  background:
		/* 左側の縦帯 */ linear-gradient(
      to bottom,
      #e7b56a 0,
      #e7b56a 100%
    )
    0 0 / var(--card-border-width) 100% no-repeat;
}

/* 下の横帯 */
.manual-card.intro:after {
  background: #e7b56a;
}

.manual-card.usage {
  position: relative;
  background:
		/* 左側の縦帯 */ linear-gradient(
      to bottom,
      #9c6fa7 0,
      #9c6fa7 100%
    )
    0 0 / var(--card-border-width) 100% no-repeat;
}

/* 下の横帯 */
.manual-card.usage:after {
  background: #9c6fa7;
}

.manual-card.advanced {
  background:
		/* 左側の縦帯 */ linear-gradient(
      to bottom,
      #258abc 0,
      #258abc 100%
    )
    0 0 / var(--card-border-width) 100% no-repeat;
}

/* 下の横帯 */
.manual-card.advanced:after {
  background: #258abc;
}

.manual-card.administrator {
  background:
		/* 左側の縦帯 */ linear-gradient(
      to bottom,
      #35af54 0,
      #35af54 100%
    )
    0 0 / var(--card-border-width) 100% no-repeat;
}

/* 下の横帯 */
.manual-card.administrator:after {
  background: #35af54;
}

.manual-card .card-more-wrap {
  margin-top: auto;
  position: absolute;
  bottom: 1.5rem;
  right: 1rem;
}

.card-content {
  position: relative;
  padding: 1.25rem;
  padding-top: 30px;
  padding-left: 2rem;
  padding-bottom: 1.5rem;
}
.card-list {
  padding-bottom: 2rem;
}

.card-title {
  font-weight: 700;
  color: #111;
  font-size: 20px;
}

.card-list {
  font-size: 1rem;
  color: #555;
  margin-block-start: 0.5em;
}

.card-list .h3,
.card-list .h4 {
  margin-block-start: 0.5em;
}
.card-list .h3 a,
.card-list .h4 a {
  position: relative;
}

.card-list .h3 a::before,
.card-list .h4 a::before {
  background: #555555;
  content: '';
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 0;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform 0.3s;
}

.card-list .h3 a:hover,
.card-list .h4 a:hover {
  opacity: 0.8;
}

.card-list .h3 a:hover::before,
.card-list .h4 a:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}

.card-list .h3 {
  line-height: 1.4;
  font-weight: normal;
  font-size: 16px;
}

.card-list .h3:hover {
  opacity: 0.7;
}

.card-list .h4 {
  padding-left: 1em;
  font-weight: normal;
  font-size: 14px;
  overflow: hidden;
}

.card-more-wrap {
  margin-top: 10px;
  position: relative;
  margin-top: auto;
  text-align: right;
}

.card-more {
  background: none;
  border: 1px solid #00a1e0;
  color: #00a1e0;
  font-size: 0.8rem;
  padding: 0.4rem 1.2rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
}

.card-more:hover {
  background-color: #00a1e0;
  color: white;
}

.cta {
  margin-top: 200px;
  position: relative;
  padding-block: 80px 70px;
  background: #4b92bb;
  overflow: hidden;
}

.cta::before {
  content: '';
  display: block;
  width: calc((100 / 1440) * 369.5vw);
  height: auto;
  aspect-ratio: 369.5 / 245.5;
  position: absolute;
  top: min(14.91rem, calc((100 / 1440) * 149.1vw));
  left: 0;
  transform: translate(0, 0);
  background: url(../image/cta_bg-1.png) no-repeat 50% 50% / contain;
}

.cta::after {
  content: '';
  display: block;
  width: calc((100 / 1440) * 681vw);
  height: auto;
  aspect-ratio: 681 / 302;
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(0, 0);
  background: url(../image/cta_bg-2.png) no-repeat 50% 50% / contain;
}

.cta__inner {
  position: relative;
  max-width: calc(1200px + 20px * 2);
  width: 100%;
  margin-inline: auto;
  padding-inline: 20px;
  z-index: 10;
}

.cta__heading2 {
  text-align: center;
  font-size: 38px;
  color: #fff;
}

.cta__content {
  margin-top: 86px;
  padding-block: 55px;
  background: #f1fbff;
  border-radius: 1rem;
}

.cta__boxes {
  max-width: 960px;
  width: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 33px;
}

.cta__box {
  width: 33.333%;
}

.cta__box--title {
  font-weight: 700;
  font-size: 15px;
  line-height: 100%;
  text-align: center;
}

.cta__box--button {
  margin-top: 10px;
  display: block;
  font-size: 18px;
  color: #fff;
  width: 100%;
  line-height: 65px;
  border-radius: 0.5rem;
  font-weight: 700;
}

.cta__box--button.--trial {
  background: #f83b3b;
}

.cta__box--button.--contact {
  background: #1f8ecd;
}

.cta__box--button.--demo {
  background: #ffffff;
  border: 3px solid #1f8ecd;
  color: #1f8ecd;
}

.cta__box--button svg {
  position: relative;
  left: -10px;
}

@media (max-width: 1024px) {
  .cta__boxes {
    flex-direction: column;
    padding-inline: 31px;
  }

  .cta__box {
    width: 360px;
    max-width: 100%;
  }
}

/* --- Footer --- */
.footer {
  position: relative;
  margin-block: 70px 15px;
}

.footer__inner {
  max-width: calc(1200px + 20px * 2);
  width: 100%;
  margin-inline: auto;
  padding-inline: 20px;
  display: flex;
  justify-content: space-between;
}

.footer__logo {
  width: 218px;
}

.footer__nav {
  display: flex;
  gap: 80px;
}

.footer__nav ul {
}

.footer__nav li {
}

.footer__nav a {
  padding-block: 12px;
  position: relative;
  display: block;
  font-weight: 500;
  width: 100%;
  font-size: 15px;
  line-height: 100%;
  color: #000000;
  width: fit-content;
}

.copy-right {
  margin-top: 60px;
  text-align: center;
}

@media (max-width: 599px) {
  .footer__inner {
    justify-content: center;
  }

  .footer__logo {
    width: 130px;
  }

  .footer__nav {
    display: none;
  }
}

.single {
  margin-top: 60px;
}

.single__inner {
  margin-top: 80px;
  width: 100%;
  margin-inline: auto;
  /* max-width: 850px; */
  width: 100%;
  /* 追加 */
  padding-inline: 4%;
  max-width: calc(850px + 4% * 2);
}

.single__head {
  padding-left: 25px;
  padding-right: 25px;
}

.single__heading1 {
  font-size: 44px;
}

.single__content {
  margin-top: 40px;
  text-align: left;
}

.smb-section__title {
}

.single p {
  margin-top: 20px;
}

.single a {
  text-decoration: underline;
  color: #1f8ecd;
}

.wp-block-heading {
  margin-top: 40px;
}

.wp-block-image {
  margin-top: 40px;
}

/* 全体設定 */
.smb-box__background {
  border: 2px solid #8bcafe;
  border-radius: 10px;
  background-color: #f3f9ff;
}
.smb-box__body p:first-child {
  margin-top: 0;
}
.wp-block-heading.speech_bubble {
  position: relative;
  padding: 15px;
  border: 1px solid #333;
  background-color: white;
  color: #333;
  font-weight: bold;
  font-size: 26px;
}
.wp-block-heading.speech_bubble:before {
  position: absolute;
  top: 100%;
  left: 50px;
  transform: skew(-25deg);
  height: 15px;
  width: 15px;
  border-right: 3px solid #333;
  background-color: white;
  content: '';
}
.wp-block-heading.underline {
  position: relative;
  display: table;
  text-align: center;
  margin: 0 auto 40px;
  justify-content: center;
}
.wp-block-heading.underline:before {
  content: '';
  width: 80%;
  height: 0.3rem;
  background: linear-gradient(
    90deg,
    #e7b56a -0.25%,
    #9c6fa7 34.97%,
    #258abc 64.98%,
    #35af54 100.1%
  );
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

/* アコーディオン */
.wp-block-accordion:first-child .wp-block-accordion-item {
  border-top: 2px solid #f0f0f0;
}
.wp-block-accordion .wp-block-accordion-item {
  border-bottom: 2px solid #f0f0f0;
}
.wp-block-accordion-item button.wp-block-accordion-heading__toggle {
  position: relative;
  padding: 40px 20px;
}
.wp-block-accordion-item button.wp-block-accordion-heading__toggle:hover {
  padding: 40px 20px;
  text-decoration: none;
  background-color: #f9f9f9;
}
button.wp-block-accordion-heading__toggle:hover
  .wp-block-accordion-heading__toggle-title {
  text-decoration: none;
}
h3.wp-block-accordion-heading button span {
  position: relative;
  padding: 0 20px 0 40px;
}
h3.wp-block-accordion-heading button span:before {
  content: 'Q';
  color: #c9c9c9;
  font-size: 2rem;
  font-weight: 700;
  display: inline-block;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.wp-block-accordion-item button:before {
  content: '';
  background-color: #fe6c47;
  border-radius: 10px;
  width: 4px;
  height: 18px;
  top: 50%;
  transform: translateY(-50%);
  right: 17px;
  position: absolute;
  transform-origin: center center;
  transition: all 0.5s;
}
.wp-block-accordion-item button:after {
  content: '';
  background-color: #fe6c47;
  border-radius: 10px;
  width: 18px;
  height: 4px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
  transform-origin: center center;
}
.wp-block-accordion-item:hover,
.wp-block-accordion-item.is-open {
  background-color: #f9f9f9;
}
.wp-block-accordion-item.is-open button:after {
  transform: rotate(-180deg) translateY(-50%);
}
.wp-block-accordion-item.is-open button:before {
  content: none;
}
.wp-block-accordion-panel {
  padding: 20px 20px 20px 63px;
}
.wp-block-accordion-panel p:first-child {
  margin: 0;
}

/* TimeLine */
.timeline {
  list-style: none;
}
.timeline > li {
  margin-bottom: 60px;
}

/* for Desktop */
@media screen and (min-width: 768px) {
  .timeline {
    margin: 50px auto 0;
  }
  .timeline > li {
    overflow: hidden;
    margin: 0;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .single p.timeline-date {
    width: 200px;
    font-size: 4rem;
    color: #258abc4c;
    font-weight: 700;
    margin-top: 0;
    line-height: 1;
    flex-shrink: 0;
  }
  .timeline-box {
    width: calc(100% - 200px);
  }
  .timeline-content {
    border-left: 3px #258abc4c solid;
    padding-left: 30px;
    position: relative;
    padding-block: 8px 60px;
  }
  .single .timeline-content p {
    margin-top: 0;
    margin-bottom: 1em;
  }
  .timeline-content:before {
    content: '';
    width: 12px;
    height: 12px;
    background: #258abc;
    position: absolute;
    left: -7.5px;
    top: 28px;
    border-radius: 100%;
  }
  .timeline-content ul li {
    list-style-type: disc;
    margin-left: 1em;
  }
  .single .timeline-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
  }
}
@media screen and (max-width: 767px) {
  .timeline {
    margin: 50px auto 0;
    padding: 0 20px;
  }
  .timeline > li {
    overflow: hidden;
    margin: 0;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .single p.timeline-date {
    width: 110px;
    font-size: 2.5rem;
    color: #258abc4c;
    font-weight: 700;
    margin-top: 0;
    line-height: 1;
    flex-shrink: 0;
  }
  .timeline-box {
    width: calc(100% - 110px);
  }
  .timeline-content {
    border-left: 3px #258abc4c solid;
    padding-left: 20px;
    position: relative;
    padding-block: 0px 60px;
  }
  .single .timeline-content p {
    margin-top: 0;
    margin-bottom: 1em;
  }
  .timeline-content:before {
    content: '';
    width: 12px;
    height: 12px;
    background: #258abc;
    position: absolute;
    left: -7.5px;
    top: 19px;
    border-radius: 100%;
  }
  .timeline-content ul li {
    list-style-type: disc;
    margin-left: 1em;
  }
  .single .timeline-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
  }
}

/* Contact Page */
@media screen and (min-width: 768px) {
  .contact_col {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 0 80px;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
  }
  section.contact_fv.sub_top {
    background-image: url('./images/contact_fv.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
  }
  .contact_detail {
    margin: 0 auto 0;
  }
  .contact_detail p.contact_notice {
    text-align: center;
  }
  .contact_detail table.contact_table tr:first-child th {
    border-bottom: none;
  }
  .contact_detail table.contact_table.confirm_table tr:first-child th,
  .contact_detail table.contact_table.confirm_table tr:first-child td {
    padding: 0 0 30px;
  }
  .contact_detail table.contact_table tr:first-child td {
    border-bottom: none;
  }
  .contact_detail table.contact_table tr th {
    padding: 20px 0 0;
  }
  .contact_detail table.contact_table.confirm_table tr th,
  .contact_detail table.contact_table.confirm_table tr td {
    display: block;
    padding: 30px 0;
    width: 100%;
  }
  .contact_detail table.contact_table tr td {
    border-bottom: none;
    padding: 25px 0;
  }
  .contact_detail table.contact_table tr th {
    justify-content: space-between;
  }
  .contact_detail table.contact_table {
    width: 100%;
    margin: 0 auto 30px;
  }
  .confirm_button {
    margin: 0 auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    gap: 0 30px;
  }
  .wpcf7-form-control-wrap input[type='text'],
  .wpcf7-form-control-wrap input[type='email'],
  .wpcf7-form-control-wrap input[type='tel'],
  .wpcf7-form-control-wrap textarea,
  .wpcf7-form-control-wrap ::placeholder {
    line-height: 1;
  }
  .button_section p.submit_button {
    margin: 50px auto 0;
  }
  .confirm_button .button_section p.submit_button {
    margin: 0 auto 0;
  }
}
@media screen and (max-width: 767px) {
  .contact_col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px 0;
  }
  section.contact_fv.sub_top {
    background-image: url('./images/contact_fv.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left;
  }
  .contact_detail {
    margin: 47px auto 0;
    max-width: 768px;
  }
  .contact_detail p.contact_notice {
    text-align: left;
  }
  .contact_detail table.contact_table tr:first-child {
    margin-top: 0;
  }
  .contact_detail table.contact_table tr {
    display: grid;
    gap: 0;
    grid-template-columns: 1fr;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: 20px;
    padding-bottom: 20px;
  }
  .contact_detail table.contact_table tr:first-child th,
  .contact_detail table.contact_table tr:first-child td {
    border-bottom: none;
  }
  .contact_detail table.contact_table tr th,
  .contact_detail table.contact_table tr td {
    border-bottom: none;
    padding: 10px 0;
  }
  .contact_detail table.contact_table tr th span {
    margin-left: 10px;
  }
  .contact_detail table.contact_table {
    width: 100%;
    margin: 60px auto 0;
  }
  .confirm_button {
    display: block;
    margin: 40px auto 0;
  }
  .previous_button input {
    width: calc(100% - 40px);
  }
  .wpcf7-form-control-wrap ::placeholder {
    line-height: 1.5;
  }
  .button_section p.submit_button {
    margin: 50px auto 0;
  }
  .confirm_button .button_section p.submit_button {
    margin: 0 auto 0;
  }
  p.button.orange .btn__text {
    padding: 0 40px 0 0;
  }
}
section.contact .content {
  padding: 40px 20px 0;
}
section.contact .content .contact_txt h2 {
  margin: 0 auto 20px;
  border-left: 5px solid #333;
  padding-left: 20px;
}
.contact_onecol h2 {
  margin: 0 auto 40px;
  text-align: center;
}
.contact_onecol {
  text-align: center;
}
section.contact .content .contact_txt h3 {
  margin: 40px auto 20px;
}
.contact_detail {
  background-color: #f0f0f080;
  border-radius: 10px;
  padding: 20px;
}
ul.check {
  margin: 0 auto 0;
}
ul.check li {
  list-style-type: none;
  padding-left: 25px;
  position: relative;
  margin-bottom: 10px;
}
ul.check li::before {
  content: '';
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 2px;
  width: 15px;
  height: 7px;
  border-left: 3px solid #1f8ecd;
  border-bottom: 3px solid #1f8ecd;
  transform: rotate(-45deg) translateY(-50%);
}
.contact_txt dl dt {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.contact_txt ol li {
  list-style-type: decimal;
  margin-left: 1em;
}
section.contact .subpage_title {
  max-width: initial;
}
section .content table.contact_table tr td {
  width: 100%;
  display: block;
  text-align: left;
}
.contact_detail h3 {
  text-align: center;
  font-size: 1.2rem;
}
.contact_detail h4 {
  margin: 20px auto 10px;
  font-size: 1.1rem;
}
ul.contact_select_links li {
  margin: 40px auto 0;
}
ul.contact_select_links li a {
  display: block;
  width: 100%;
  background-color: #1f8ecd;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  border-radius: 10px;
}
ul.contact_select_links li a.signupdxline_btn {
  background-color: #333;
}
ul.contact_select_links li a:hover {
  opacity: 0.8;
}
.contact_detail table.contact_table tr th {
  font-weight: 700;
  width: 100%;
  font-size: 1rem;
  line-height: 1;
  text-align: left;
  display: block;
}
.contact_detail table.contact_table.confirm_table tr th {
  font-size: 1.75rem;
  line-height: 1;
}
.contact_detail table.contact_table.confirm_table tr td {
  font-size: 1.5rem;
  line-height: 1;
}
.contact_detail table.contact_table tr th span {
  background-color: #e60d32;
  color: #fff;
  text-align: center;
  padding: 4px 1px;
  width: 54px;
  display: inline-block;
  margin-left: 20px;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1;
}
.wpcf7-form-control-wrap input[type='text'],
.wpcf7-form-control-wrap input[type='email'],
.wpcf7-form-control-wrap input[type='tel'],
.wpcf7-form-control-wrap input[type='date'],
.wpcf7-form-control-wrap textarea {
  border: 1px solid #e6e6e6;
  padding: 15px 15px;
  font-size: 1rem;
  width: 100%;
  background-color: #e6e6e6;
  border-radius: 2px;
  font-weight: bold;
}
.wpcf7-form-control-wrap select {
  border: 1px solid #e6e6e6;
  padding: 15px 15px;
  font-size: 1rem;
  width: 100%;
  background-color: #e6e6e6;
  border-radius: 2px;
  font-weight: bold;
  margin-bottom: 20px;
}
.wpcf7-form-control-wrap ::placeholder {
  color: #8c8c8c;
  font-size: 1rem;
  font-weight: bold;
}
.wpcf7-form-control-wrap .wpcf7-acceptance input[type='checkbox'] {
  display: none;
  width: initial;
}
.wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}
.wpcf7-radio .wpcf7-list-item {
  margin: 0 40px 0 0;
}
.wpcf7-list-item-label {
  font-size: 1rem;
  font-weight: bold;
  line-height: 1;
}
.wpcf7-radio .wpcf7-list-item:last-child {
  margin: 0;
}
.wpcf7-acceptance .wpcf7-list-item {
  display: block;
  line-height: 1;
}
.wpcf7-acceptance .wpcf7-list-item + .wpcf7-list-item {
  margin-top: 8px;
}
.wpcf7-acceptance .wpcf7-list-item-label {
  position: relative;
  height: 20px;
  line-height: 20px;
  padding-left: 30px;
  display: inline-block;
}
.wpcf7-acceptance .wpcf7-list-item-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  border: 1px solid #b3b3b3;
  border-radius: 20px;
  background: #fff;
  position: absolute;
  left: 0;
  top: 1px;
  box-sizing: border-box;
}
.wpcf7-acceptance
  input[type='checkbox']:checked
  + .wpcf7-list-item-label::after {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  background-color: #1f8ecd;
  position: absolute;
  left: 3px;
  top: 4px;
  border-radius: 50%;
}
.wpcf7-radio input[type='radio'] {
  opacity: 0;
  position: absolute;
}
.wpcf7-radio .wpcf7-list-item-label {
  cursor: pointer;
  display: flex;
}
.wpcf7-radio .wpcf7-list-item-label::before {
  background: #fff;
  border: 1px solid #b3b3b3;
  border-radius: 100%;
  content: '';
  width: 20px;
  height: 20px;
  margin-bottom: auto;
  margin-right: 10px;
  margin-top: auto;
}
.wpcf7-radio input[type='radio']:checked + .wpcf7-list-item-label::before {
  background-color: #1f8ecd;
  box-shadow: inset 0 0 0 3px #fff;
}
div.button_section {
  display: block;
  text-align: center;
}
div.button_section:first-child {
  margin: 50px 0 0 auto;
}
div.button_section:last-child {
  margin: 50px auto 0 0;
}
div.button_section p.button {
  margin: 15px 0 0;
}
.wpcf7-spinner {
  width: 0;
  height: 0;
  margin: 0;
}
table.contact_table.confirm_table tr {
  border-bottom: 2px solid #b3b3b3;
}
input[type='submit'] {
  background-color: #1f8ecd;
  color: #fff;
  padding: 15px 0;
  width: 300px;
  text-align: center;
  border: none;
  border-radius: 5px;
  box-shadow: none;
}

/* button */
p.button {
  margin: 40px auto 0;
}
p.button a {
  display: inline-block;
  padding: 12px 20px;
  background-color: #409ded;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 16px;
}

/* breadcrumbs */
.breadcrumbs {
  margin: 0 auto 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 0 15px;
  align-items: center;
  justify-content: flex-start;
}
.breadcrumbs li {
  position: relative;
}

.breadcrumbs li:not(:first-child) {
  padding-inline-start: 30px;
}
.breadcrumbs li a,
.breadcrumbs li {
  line-height: 20px;
  margin-block-end: 10px;
}
.breadcrumbs li a:hover {
  text-decoration: none;
}

.breadcrumbs li:not(:first-child):before {
  content: '';
  background-color: #000;
  height: 1px;
  width: 15px;
  display: inline-block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
}

/* 削除予定 */
/* .breadcrumbs li:nth-of-type(3)::before {
  content: '\f02b';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  background-color: transparent;
  width: 15px;
  height: 15px;
  top: 40%;
} */

.manual-pager {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-block: 20px 60px;
}

.prev-link,
.next-link {
  color: #0073aa;
}

/* スマホ時にタイトルを隠す */
@media screen and (max-width: 767px) {
  .manual-pager .pager-title {
    display: none;
  }
}

/* sidebar */
.widget-title {
  text-align: center;
}

.tagcloud {
  display: flex;
  flex-wrap: wrap;
  margin-block: 15px 30px;
}

.tagcloud a {
  border: 1px solid #eee;
  border-radius: 2px;
  color: #333;
  padding: 3px 8px;
  text-decoration: none;
  font-size: 12px;
  margin: 2px;

  transition: all 0.15s ease-in-out;
}
/* ホバー時に淡いグレー（ウィキペディアの表のような挙動） */
.tagcloud a:hover {
  background-color: #f8f9fa;
}

.l-search,
.l-taxonomy {
  padding-inline: 20px;
}
@media screen and (min-width: 768px) {
  .l-search,
  .l-taxonomy {
    padding-inline: 40px;
  }
}
@media screen and (min-width: 120px) {
  .l-search,
  .l-taxonomy {
    margin-block-start: 120px;
  }
}

/* 1. コンテナの余白を詰め、境界を作る */
.list-container {
  display: flex;
  flex-direction: column;
  row-gap: 0 !important; /* 隙間をなくしてリスト化 */
  border-top: 1px solid #dee2e6;
  margin-top: 20px;
}

/* 2. 各記事アイテムの装飾 */
.list-item {
  padding: 10px 15px; /* 上下を詰め、左右に少し余裕を */
  border-bottom: 1px solid #dee2e6; /* 項目間の区切り線 */
  background-color: #fff;
  transition: background-color 0.15s ease-in-out;
}

/* ホバー時に淡いグレー（ウィキペディアの表のような挙動） */
.list-item:hover {
  background-color: #f8f9fa;
}

/* 3. タイトルの装飾（情報の主役） */
.list-item-title {
  font-size: 16px !important; /* 大きすぎず、読みやすいサイズ */
  margin: 0 0 4px 0 !important;
  line-height: 1.3;
}

.list-item-title a {
  color: #0645ad; /* ウィキペディアの伝統的な青 */
  text-decoration: none;
  font-weight: bold;
}

/* ホバー時にアンダーライン（参照性の強調） */
.list-item-title a:hover {
  text-decoration: underline;
}

/* 4. 抜粋文（サブ情報として控えめに） */
.list-item-summary {
  font-size: 13px;
  color: #444;
  line-height: 1.5;
  margin-bottom: 4px;
}

/* 抜粋文の中のpタグの余白もリセット */
.list-item-summary p {
  margin: 0;
}

/* 5. メタ情報（日付など） */
.list-item-meta {
  font-size: 11px;
  color: #72777d; /* ウィキペディアのメタ情報に近いグレー */
}

/* 基本は消す */
.manual-panel {
  height: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

/* クラスがついたら出す */
.manual-panel.js-show {
  height: fit-content;
  visibility: visible;
  opacity: 1;
}

/* 高さを安定させる */
.manual-panels {
  min-height: 500px;
}

/* ページネーション全体のコンテナ */
.nav-links {
  display: flex;
  justify-content: center; /* 中央寄せ */
  gap: 8px; /* ボタン同士の間隔 */
  margin: 40px 0; /* 前後の余白 */
}

/* 共通の数字・次へボタンのスタイル */
.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 5px;
  text-decoration: none;
  border: 1px solid #ddd;
  color: #333;
  background-color: #fff;
  border-radius: 4px; /* 角丸 */
  transition: all 0.3s ease;
  font-size: 14px;
}

/* マウスを乗せた時（リンクがあるものだけ） */
.nav-links a.page-numbers:hover {
  background-color: #f5f5f5;
  border-color: #bbb;
  color: #000;
}

/* 現在表示中のページのスタイル（current） */
.nav-links .page-numbers.current {
  background-color: #333; /* 好きなアクセントカラーに変更 */
  border-color: #333;
  color: #fff;
  font-weight: bold;
}

/* 「次へ」ボタンの幅を少し広げる場合 */
.nav-links .page-numbers.next {
  padding: 0 15px;
  width: auto;
}

/* 「とじる」状態（開いている時）のh3の挙動 */
.manual-card.is-open .h3 a {
  color: #999 !important; /* 好きな色に変更してください */
  pointer-events: none; /* リンクを無効化 */
  cursor: default; /* カーソルを矢印に戻す */
}

.manual-card.is-open .card-list .h3:hover {
  opacity: 1;
}

.time-lien-black {
}

.time-lien-black > .wp-block-group__inner-container {
  display: flex;
  column-gap: 10px;
}

@media screen and (min-width: 768px) {
  .time-lien-black > .wp-block-group__inner-container {
    column-gap: 0px;
  }
}

/* アーカイブページ（タグ一覧など）のタイトルにアイコンを表示 */
.page-title::before {
  content: '\f02b'; /* Font Awesomeのタグアイコン */
  font-family: 'Font Awesome 5 Free'; /* お使いのバージョンに合わせてください */
  font-weight: 900;
  margin-right: 10px;
  display: inline-block;
}

.taxonomy-breadcrumb_nav .page-title::before {
  content: none;
  margin: 0;
}

.single h2.wp-block-heading {
  background-color: #d7efdd;
  padding: 1em 1.5em;
}

.single h3.wp-block-heading {
  border-bottom: 3px solid #d7efdd; /* h2と同じ色の下線 */
  padding: 0.5em 0.2em;
}

.smb-box__background {
  border: none;
  background-color: var(--smb-box--background-color);
}

.wp-block-snow-monkey-blocks-box.smb-box.is-box-blue {
  background-color: #e9f3f8; /* 薄い青 */
  border: 1px solid #258abc; /* 枠線は元の色で引き締める */
}

.wp-block-snow-monkey-blocks-box.smb-box.is-box-yellow {
  background-color: #fdf7f0; /* 薄いベージュ・黄 */
  border: 1px solid #e7b56a;
}

.wp-block-snow-monkey-blocks-box.smb-box.is-box-purple {
  background-color: #f5f1f6; /* 薄い紫 */
  border: 1px solid #9c6fa7;
}

.wp-block-snow-monkey-blocks-box.smb-box.is-box-green {
  background-color: #f2f9f3; /* 背景：#d7efddをさらに薄くした清潔感のある緑 */
  border: 2px solid #d7efdd; /* 枠線：ご指定の緑色 */
}

/* 1. 外側のコンテナとプレーヤー本体のサイズを制限 */
.single .wp-video,
.single .mejs-container,
.single video.wp-video-shortcode {
  max-width: 400px !important; /* 横幅をコンパクトに（スマホ動画ならこれくらいが最適） */
  width: 100% !important;
  /* height: auto !important; */
  max-height: 700px !important; /* 縦に長くなりすぎるのを防ぐ */
  margin: 20px auto !important; /* 中央寄せ */
}

/* 2. MediaElement.js の内部レイヤーも連動させる */
.single .mejs-inner,
.single .mejs-mediaelement,
.single .mejs-layers {
  max-width: 100% !important;
  height: auto !important;
}

/* 3. 埋め込みブロック全体の余白調整 */
.single .wp-block-embed {
  margin: 30px 0 !important;
  text-align: center;
}

/* マニュアル詳細ページ内の画像（図解）を最適化 */
.single .wp-block-image {
  /* margin: 20px auto !important; 前後に余白を作り、中央寄せ */
  /* text-align: center; */
  /* max-width: 475px; */
}

/* 個別記事の本文テキストを詰める */
.single p {
  /* 行間を標準（1.7〜1.8）から 1.5 程度に詰める */
  line-height: 1.5;

  /* フォントサイズもわずかに調整が必要なら（15px〜16px） */
  /* font-size: 15px; */
}

/* リスト（箇条書き）の行間もあわせて調整 */
.single li {
  line-height: 1.5;
}

/* タイトルの上側は空いていても良いという指示への配慮 */
.single h2,
.single h3 {
  margin-top: 2em; /* 見出しの上はしっかり余白を確保 */
}

.my-speech-bubble {
  position: relative;
  border: 1px solid #47585c;
  border-radius: 4px;
}

.my-speech-bubble::before {
  border-top-color: inherit;
  border-width: 10px;
  margin-left: -10px;
  border: solid transparent;
  content: '';
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.my-speech-bubble::after {
  border-top-color: #fff;
  border-width: 9px;
  margin-left: -9px;
  top: 100%;
  left: 50%;
  border: solid transparent;
  content: '';
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.scroll-code {
  max-height: 400px; /* 縦の最大高さ */
  overflow-y: auto; /* 縦スクロールを有効に */
  overflow-x: auto; /* 横スクロールを有効に */
}
