@charset "UTF-8";
/* ================================================
   common
================================================ */
body {
  margin: 0;
  padding: 0;
  color: #333;
  font-size: 1rem;
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Sans", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
  -webkit-font-smoothing: antialiased;
}

p {
  line-height: 1.7;
}

a {
  color: #333;
  text-decoration: none;
}

ul {
  padding: 0;
}

/*fluid image*/
img {
  width: 100%;
  height: auto;
}

.wp-block-embed iframe {
  max-width: unset;
  width: 100%;
}

header #nav-btn:hover {
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
}

ul li {
  list-style-type: none;
}

.clearfix:after {
  display: block;
  clear: both;
}

.clearfix {
  zoom: 1;
}

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

.align-left {
  text-align: left;
}

.align-right {
  text-align: right;
}

.br-pc {
  display: block;
}

.br-sp {
  display: none;
}

@media (max-width: 781px) {
  .br-pc {
    display: none;
  }
  .br-sp {
    display: block;
  }
}
@media (max-width: 781px) {
  .flexd-reverse {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
  }
}
/* ================================================
   fluid system
================================================ */
/* 全体の幅 */
.bg {
  background-color: #f8f8f8;
}

.contents,
#news {
  max-width: 1260px;
  margin: 0 auto;
  padding: 5rem 30px 3.25rem;
}

#info,
.footer-links,
.f-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 3rem 30px;
}

@media (max-width: 767px) {
  .contents,
  #news {
    max-width: 1260px;
    margin: 0 auto;
    padding: 3rem 20px 3.25rem;
  }
  #info,
  .footer-links,
  .f-inner {
    max-width: 1260px;
    margin: 0 auto;
    padding: 2rem 20px;
  }
}
/* ================================================
   Heading
================================================ */
h1 {
  margin-top: 0;
  font-size: 3rem;
}

h2 {
  margin-top: 0;
  font-size: 2.25rem;
}

h3 {
  margin: 0.5em 0;
  font-size: 1.5rem;
}

@media (max-width: 767px) {
  h1 {
    margin-top: 0;
    font-size: 2rem;
  }
  h2 {
    margin-top: 0;
    font-size: 1.75rem;
  }
  h3 {
    margin: 0.5em 0;
    font-size: 1.25rem;
  }
}
/* ================================================
   layout
================================================ */
header {
  position: fixed;
  height: 68px;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: rgba(255, 255, 255, 0.9);
  width: 100%;
}

/* =================================================
   Header band behavior
   - Default: band visible
   - Front page (desktop): transparent at top, band appears after scroll
================================================= */
/* Smooth transition for band */
header {
  background-color: rgba(255, 255, 255, 0.9);
  -webkit-transition: background-color 0.25s ease;
  transition: background-color 0.25s ease;
}

/* Front page: start transparent (PC + mobile) */
body.home header {
  background-color: transparent !important;
}

body.home.is-scrolled header {
  background-color: rgba(255, 255, 255, 0.9) !important;
}

/* Search button */
header .search-btn,
.search-btn {
  position: absolute;
  top: 20px;
  right: 10px;
  z-index: 10002;
  border: none;
  background: transparent;
}
header .search-btn img,
.search-btn img {
  width: 25px;
  height: 25px;
}

/* Place the search item in the nav row (desktop/tablet) */
#global-nav ul li.nav-search-item {
  float: left;
}

#global-nav ul li.nav-search-item .search-btn {
  margin: 12px 0 0;
}

.search-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 520px;
  max-width: calc(100vw - 24px);
  padding: 16px;
  font-size: 1.125rem;
  z-index: 10000;
}

.search-panel form {
  margin: 0;
}

.search-panel input[type=search],
.search-panel input[type=text] {
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 30px;
  -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
          box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Overlay for nav/search */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 9000;
}

body.is-nav-open #nav-overlay,
body.is-search-open #nav-overlay {
  display: block !important;
}

/* Off-canvas nav (mobile) */
@media (max-width: 948px) {
  #global-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 0; /* closed */
    max-width: 360px;
    background: rgba(255, 255, 255, 0.98);
    overflow-x: hidden;
    -webkit-transition: width 0.25s ease;
    transition: width 0.25s ease;
    z-index: 9500;
    padding-top: 0; /* keep background from top; offset items via inner UL */
    -webkit-box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12);
            box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12);
  }
  /* open state (JS adds .open-menu to #global-nav) */
  #global-nav.open-menu {
    width: 84vw;
  }
  #global-nav ul {
    float: none;
    margin: 0;
    padding: 60px 0 0 !important; /* push menu items below header/button */
  }
  #global-nav ul li {
    width: 100%;
    float: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }
  #global-nav ul li a {
    padding: 18px 16px;
    background-color: transparent;
  }
  /* Mobile search area inside the drawer (under menu items) */
  .nav-search-mobile {
    padding: 16px;
  }
  .nav-search-mobile form {
    margin: 0;
  }
  .nav-search-mobile input[type=search],
  .nav-search-mobile input[type=text] {
    width: 100%;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    background: #fff;
  }
  /* Keep the header hamburger/close button above the drawer */
  header #nav-btn {
    z-index: 10001;
  }
  /* Avoid tap-area overlap: push search button left on mobile */
  header .search-btn,
  .search-btn {
    right: 70px;
  }
  #global-nav ul li.nav-search-item {
    display: none;
  }
  /* On mobile, keep the search icon and use the same modal */
  header .search-btn {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
  }
  #search-panel {
    display: block;
  }
}
/* Ensure overlay works even if [hidden] exists (JS toggles hidden attr) */
#nav-overlay[hidden] {
  display: none;
}

#search-panel[hidden] {
  display: none;
}

header .header-inner {
  position: relative;
  max-width: 1260px;
  padding: 0 30px;
  margin: 0 auto;
}

header #logo {
  float: left;
  margin: 0;
  line-height: 1;
  color: #1d2088;
}

header #logo img {
  padding: 0;
  width: 193px;
  height: 22px;
}

header #nav-btn {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 46px;
  height: 46px;
  border-radius: 3px;
  border: 0;
  padding: 0;
  background: white url(../images/bg_nav_btn.png?2026) 0 0 no-repeat;
  background-size: 92px 46px;
  cursor: pointer;
}

header #nav-btn .nav-btn__text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 948px) {
  header .header-inner {
    padding: 0 10px;
  }
  /* Show Menu/Close label on mobile (JS swaps text) */
  header #nav-btn .nav-btn__text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
    text-align: center;
    font-size: 10px;
    line-height: 1;
    color: #333;
  }
}
#nav-overlay[hidden] {
  display: none;
}

#search-panel[hidden] {
  display: none;
}

/* Prevent background scroll while drawer/modal is open */
body.is-nav-open,
body.is-search-open {
  overflow: hidden;
}

/* Ensure close icon state while drawer is open */
body.is-nav-open header #nav-btn {
  background-position: -46px 0;
}

header #nav-btn.show {
  background-position: -46px 0;
}

#global-nav {
  margin: 0;
  padding: 0;
}

#global-nav ul {
  float: right;
  margin: 0 40px 0 0;
  padding: 0;
}

#global-nav ul li {
  float: left;
}

#global-nav ul li a {
  margin: 0;
  padding: 25px 12px;
  display: block;
  font-size: 0.875rem;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

#global-nav ul li a:hover {
  color: #666;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
}

/* Drawer-only search (mobile) */
.nav-search-mobile {
  display: none;
}

@media (max-width: 948px) {
  .nav-search-mobile {
    display: block;
  }
}
/* Phone Phone Phone Media Queries for Phone Phone Phone */
@media (max-width: 948px) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 65px;
  }
  header #nav-btn {
    display: block;
  }
  /* On mobile, keep the search icon and use the same modal */
  header .search-btn {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
  }
  #search-panel {
    display: block;
  }
  header #logo {
    margin-left: 10px;
    float: none;
  }
}
.grecaptcha-badge {
  visibility: hidden;
}

.wpcf7 h2 {
  font-size: 1.2rem;
  text-align: left;
  padding-top: 0.5rem;
  line-height: 1;
}
.wpcf7 h2 span {
  margin-left: 1rem;
  vertical-align: 3px;
  font-size: 0.8rem;
  background-color: #3366cc;
  color: #fff;
  padding: 0.5rem 1rem;
}
.wpcf7 select {
  padding: 8px;
  border: 1px solid #ccc;
}
.wpcf7 .wpcf7-list-item:last-child {
  margin: 0;
}
.wpcf7 .wpcf7-list-item {
  margin: 0 1rem 0 0;
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: #3366cc; /* フォーカス時の枠線色 (青色) */
}
.wpcf7 [type=checkbox] {
  width: 16px; /* チェックボックスの幅 */
  height: 16px; /* チェックボックスの高さ */
  border: 1px solid #333; /* 囲みのボーダー */
  vertical-align: text-bottom;
}

.cookiet {
  font-size: 17px;
  margin-top: 5px;
}

.cookiep {
  font-size: 15px;
  margin-bottom: 0;
}

.cn-close-icon {
  top: 25px !important;
}

.cookie-notice-container #cn-notice-buttons {
  display: block;
}

.grecaptcha-badge {
  visibility: hidden;
}

#news h1,
#news h2 {
  text-align: center;
}

.news-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 2rem;
}
.news-list li {
  width: 33.3333%;
}

@media (max-width: 767px) {
  .news-list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .news-list li {
    width: 100%;
  }
}
.info-list li {
  padding: 0.5rem 0;
}
.info-list li a {
  color: #333;
  text-decoration: none;
}
.info-list li a span.cat {
  background-color: #3366cc;
  color: #fff;
  padding: 0.25rem 1rem;
  font-size: 0.75rem;
  border-radius: 20px;
  font-weight: bold;
  margin-right: 0.5rem;
}

/* ===== Support Tabs (sw2) ===== */
.sw2-supportTabs {
  clear: both;
  display: flow-root; /* ← これ重要 */
  --bg: #1d2088; /* 背景 */
  --bg2: #6b7280; /* タブ帯 */
  --tab: #6b7280;
  --tabActive: #1d2088;
  --text: #fff;
  --border: rgba(255, 255, 255, 0.18);
  --radius: 8px;
  --gap: 24px;
  color: var(--text);
  background: var(--bg);
  overflow: hidden;
}
.sw2-supportTabs a {
  color: #fff;
}

/* tab bar */
.sw2-supportTabs__nav {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  background: var(--bg2);
}

/* radio hidden (but still accessible) */
.sw2-supportTabs__input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* tab label */
.sw2-supportTabs__tab {
  display: block;
  padding: 14px 16px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  cursor: pointer;
  background: var(--tab);
  border-bottom: 1px solid var(--border);
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.sw2-supportTabs__tab:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -2px;
}

/* active tab (CSS only)
   Note: labels are inside .sw2-supportTabs__nav, inputs are siblings above.
*/
#sw2-tab-1:checked ~ .sw2-supportTabs__nav label[for=sw2-tab-1],
#sw2-tab-2:checked ~ .sw2-supportTabs__nav label[for=sw2-tab-2] {
  background: var(--tabActive);
}

/* panels */
.sw2-supportTabs__panels {
  padding: 22px 22px 26px;
}

.sw2-supportTabs__panel {
  display: none;
}

/* show panel by checked */
#sw2-tab-1:checked ~ .sw2-supportTabs__panels #sw2-panel-1 {
  display: block;
}

#sw2-tab-2:checked ~ .sw2-supportTabs__panels #sw2-panel-2 {
  display: block;
}

/* layout */
.sw2-supportTabs__grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr var(--gap) 1fr;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}

.sw2-supportTabs__grid--single {
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
}

/* cards */
.sw2-supportCard {
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  background: rgba(0, 0, 0, 0.06);
}

.sw2-supportCard--center {
  text-align: center;
}

.sw2-supportCard__lead {
  font-size: 2rem;
  font-weight: 800;
  margin: 4px 0 8px;
}

.sw2-supportCard__h {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 2px 0 10px;
}

.sw2-supportCard__desc {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.95;
}

.sw2-supportCard__links a {
  color: #fff;
  text-decoration: underline;
  font-weight: bold;
}

/* actions (purchase panel) */
.sw2-supportCard__actions {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 18px 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 16px;
}

.sw2-supportAction {
  display: -ms-grid;
  display: grid;
  gap: 6px;
  -ms-flex-line-pack: start;
      align-content: start;
  padding: 14px 14px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
}

.sw2-supportAction:hover {
  background: rgba(255, 255, 255, 0.12);
}

.sw2-supportAction__title {
  font-size: 1.5rem;
  font-weight: 800;
}
.sw2-supportAction__title img {
  margin-top: 0.5rem;
  width: 60px;
  height: auto;
}

.sw2-supportAction__meta {
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0.95;
  font-weight: bold;
}

/* responsive */
@media (max-width: 720px) {
  .sw2-supportTabs__grid {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
  .sw2-supportCard__actions {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}
/* ================================================
   Footer links (footer-nav)
================================================ */
.footer-links__list {
  margin: 0;
  padding: 0;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1fr);
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 40px;
}

.footer-links__col {
  margin: 0;
  padding: 0;
}

.footer-links__head {
  font-weight: 800;
  margin: 0 0 12px;
  line-height: 1.4;
}

.footer-links__items {
  margin: 0;
  padding: 0;
}

.footer-links__items > li {
  margin: 0 0 10px;
}

.footer-links__items > li:last-child {
  margin-bottom: 0;
}

.footer-links__items a {
  display: inline-block;
  line-height: 1.6;
}

@media (max-width: 948px) {
  .footer-links__list {
    -ms-grid-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}
@media (max-width: 540px) {
  .footer-links__list {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .footer-links__head {
    margin-bottom: 8px;
  }
  .footer-links__items > li {
    margin-bottom: 8px;
  }
}
.f-inner h1 {
  font-size: 1.125rem;
}
.f-inner {
  text-align: center;
}
.f-inner .footer-social-icons {
  margin-top: 12px;
}
.f-inner .footer-social-icons a {
  display: inline-block;
  margin: 0 6px;
}
.f-inner .footer-social-icons a img {
  width: 24px;
  height: 24px;
}

.search-results .box_wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 1rem;
}
.search-results .box_wrapper .thumb {
  width: 100px;
}
.search-results .box_wrapper .thumb img {
  width: 100%;
  height: auto;
}
.search-results .box_wrapper p {
  margin: 0;
}
.search-results .box_wrapper span {
  font-size: 0.875rem;
  color: #666;
  padding-left: 1rem;
}

.search #section-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 100px;
}