@charset "utf-8";
/* =========================================================
   オーナー様専用サポートサイト / メンテナンスQ&A（/maintenance/）
   - トップページのトンマナに合わせる
     見出し = Cardo(英) + A1明朝(和) センター揃え
     面グレー = #eee（トップページの帯と同色） / 罫線 #e1e1e1
     文字 #2d3134 / サブ #53575a / アクセント #d7000f
     ボタン = トップページ .more_btn2 準拠（枠線1px / 右チェブロン）
   - 読み込み: header.php で is_post_type_archive('maintenance') のときのみ
   ========================================================= */

.ow {
  --ow-text: #2d3134;
  --ow-sub: #53575a;
  --ow-mute: #a6a6a6;
  --ow-line: #e1e1e1;
  --ow-bg: #eee;
  --ow-accent: #d7000f;
  color: var(--ow-text);
}

.ow *,
.ow *::before,
.ow *::after {
  box-sizing: border-box;
}

/* ---------- 文字組み（文節単位でしか折り返さない） ---------- */
.ow-catch > span,
.ow-catch-sub > span,
.ow-service__label > span,
.ow-step__txt > span,
.ow-qa__ttl > span,
.ow-cta__lead > span,
.ow-cta__ttl > span,
.ow-cta__notes span,
.ow-step__link > span {
  display: inline-block;
}

/* PC専用改行 / SP専用改行 */
.ow-br {
  display: inline;
}

.ow-br-sp {
  display: none;
}

/* ---------- キービジュアル 3行目 ---------- */
.ow-hero__sub {
  margin: 14px 0 0;
  padding: 0;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  line-height: 1.6;
}

/* ---------- セクション ---------- */
.ow-sec {
  margin-top: 90px;
}

.ow-sec:first-of-type {
  margin-top: 70px;
}

/* ---------- セクション見出し（トップページ準拠） ---------- */
.ow-h {
  text-align: center;
  color: var(--ow-sub);
  margin: 0 0 40px;
}

.ow-h__no {
  display: block;
  font-family: var(--hb-f-cardo), serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  line-height: 1;
  color: var(--ow-mute);
  margin-bottom: 12px;
}

.mainSection.maintenance h2.ow-h__en {
  font-family: var(--hb-f-cardo), serif;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.25;
  color: var(--ow-sub);
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  background: none;
}

.mainSection.maintenance h2.ow-h__en::before,
.mainSection.maintenance h2.ow-h__en::after {
  content: none;
}

.ow-h__ja {
  font-family: var(--hb-f-a1min), serif;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-indent: 0.14em;
  line-height: 1.6;
  margin: 0;
}

/* ---------- (01) OWNER'S WEB のご紹介 ---------- */
.ow-catch {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 2.05;
  letter-spacing: 0.06em;
  margin: 0 0 0.9em;
}

.ow-catch-sub {
  text-align: center;
  font-size: 13px;
  line-height: 2.1;
  margin: 0 0 38px;
}

.ow-servicebox {
  background: var(--ow-bg);
  padding: 30px;
}

.ow-servicebox__ttl {
  font-family: var(--hb-f-cardo), serif;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  text-align: center;
  color: var(--ow-sub);
  line-height: 1;
  margin: 0 0 22px;
}

ul.ow-service {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--ow-line);
  border: 1px solid var(--ow-line);
}

ul.ow-service > li {
  margin: 0;
  padding: 24px 8px 22px;
  list-style: none;
  background: #fff;
  text-align: center;
}

.ow-ico {
  display: block;
  width: 34px;
  height: 34px;
  margin: 0 auto 12px;
  color: var(--ow-sub);
}

.ow-ico svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ow-service__label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

/* ---------- (02) 登録方法 ---------- */
.ow-stepbox {
  background: var(--ow-bg);
  padding: 30px;
}

.ow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ow-step {
  position: relative;
  margin: 0;
  padding: 24px 16px 26px;
  list-style: none;
  background: #fff;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.9;
}

.ow-step__txt {
  display: block;
}

/* 1→9 の順に下からスライド＋フェードイン（JSで .ow-anim / .is-in を付与） */
.ow-anim .ow-step {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  will-change: opacity, transform;
}

.ow-anim .ow-step.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .ow-anim .ow-step {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.ow-step__no {
  display: flex;
  align-items: center;
  justify-content: center;
  /* SPでは .ow-step が display:flex になりこの丸がフレックスアイテムになる。
     既定の flex-shrink:1 のままだと文章の長いステップで横方向に潰れて
     楕円になるため、縮まないように固定する。 */
  flex: none;
  width: 28px;
  height: 28px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--ow-sub);
  color: #fff;
  font-family: var(--hb-f-cardo), serif;
  font-size: 14px;
  line-height: 1;
}

@media (min-width: 768px) {
  .ow-step:not(:nth-child(3n))::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -14px;
    width: 8px;
    height: 8px;
    border-top: 1px solid #9a9ea1;
    border-right: 1px solid #9a9ea1;
    transform: translate(0, -50%) rotate(45deg);
  }
}

/* ---------- ステップ1（ページ内リンク） ---------- */
.mainSection.maintenance a.ow-step__link {
  display: block;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  text-decoration-color: #b9bcbe;
  transition: text-decoration-color 0.3s ease, opacity 0.3s ease;
}

.mainSection.maintenance a.ow-step__link:hover {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--ow-text);
  opacity: 0.75;
}

.ow-step__link::after {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  margin: 9px auto 0;
  border-right: 1px solid #9a9ea1;
  border-bottom: 1px solid #9a9ea1;
  transform: rotate(45deg);
}

/* ---------- (03) よくある質問（アコーディオン／1ページ目） ---------- */
ul.ow-faq {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul.ow-faq > li.ow-faq__item {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--ow-line);
}

.mainSection.maintenance button.ow-faq__q {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 17px 22px;
  background: #fff;
  border: 0;
  border-radius: 0;
  text-align: left;
  color: var(--ow-text);
  font-family: inherit;
  cursor: pointer;
  transition: background 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}

.mainSection.maintenance button.ow-faq__q:hover {
  background: #fafafa;
}

.ow-faq__mark {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--ow-accent);
  border-radius: 50%;
  color: var(--ow-accent);
  font-family: var(--hb-f-cardo), serif;
  font-size: 15px;
  line-height: 1;
}

.ow-faq__ttl {
  flex: 1 1 auto;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.65;
}

/* ＋／− アイコン */
.ow-faq__ico {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}

.ow-faq__ico::before,
.ow-faq__ico::after {
  content: "";
  position: absolute;
  background: var(--ow-text);
  transition: transform 0.3s ease;
}

.ow-faq__ico::before {
  left: 0;
  top: 6px;
  width: 14px;
  height: 2px;
}

.ow-faq__ico::after {
  left: 6px;
  top: 0;
  width: 2px;
  height: 14px;
}

.ow-faq__item.is-open .ow-faq__ico::after {
  transform: scaleY(0);
}

.ow-faq__a {
  overflow: hidden;
}

/* JSが有効なときだけ閉じる（JS無効時は開いたまま読める） */
.ow-faq--js .ow-faq__a {
  max-height: 0;
  transition: max-height 0.4s ease;
}

.ow-faq__a-inner {
  padding: 22px 22px 24px;
  background: #f6f7f7;
  border-top: 1px solid var(--ow-line);
}

.ow-faq__note {
  margin: 0 0 16px;
  font-size: 12px;
  line-height: 1.85;
  color: var(--ow-sub);
}

ol.ow-steplist {
  margin: 0;
  padding: 0;
  list-style: none;
}

ol.ow-steplist > li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 0;
  padding: 11px 0;
  list-style: none;
  border-bottom: 1px dashed #d8dadb;
}

ol.ow-steplist > li:first-child {
  padding-top: 0;
}

ol.ow-steplist > li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.ow-steplist__no {
  flex: 0 0 auto;
  display: flex;
  align-items: baseline;
  gap: 4px;
  width: 62px;
  padding-top: 3px;
  font-family: var(--hb-f-cardo), serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1;
  color: var(--ow-sub);
}

.ow-steplist__no em {
  font-style: normal;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}

.ow-steplist__txt {
  flex: 1 1 auto;
  font-size: 13.5px;
  line-height: 1.9;
}

.ow-steplist__note {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--ow-sub);
}

/* ---------- (03-2) Q&A一覧（2ページ目以降） ---------- */
.ow-qalist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ow-qalist > li {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.mainSection.maintenance a.ow-qa {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 22px;
  background: #fff;
  border: 1px solid var(--ow-line);
  color: var(--ow-text);
  text-decoration: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.mainSection.maintenance a.ow-qa:hover {
  background: #fafafa;
  border-color: var(--ow-text);
  text-decoration: none;
}

.ow-qa__ico {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  color: var(--ow-accent);
}

.ow-qa__ico svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ow-qa__ttl {
  flex: 1 1 auto;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.65;
}

.ow-qa__ar {
  flex: 0 0 auto;
  width: 7px;
  color: var(--ow-text);
  transition: transform 0.3s ease;
}

.ow-qa__ar svg {
  display: block;
  width: 100%;
  height: auto;
}

a.ow-qa:hover .ow-qa__ar {
  transform: translateX(4px);
}

/* ---------- ページネーション ---------- */
.ow-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.ow-pager > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ow-pager a,
.ow-pager span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--ow-line);
  background: #fff;
  color: var(--ow-text);
  font-family: var(--hb-f-cardo), serif;
  font-size: 15px;
  letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.mainSection.maintenance .ow-pager a:hover {
  background: var(--ow-text);
  border-color: var(--ow-text);
  color: #fff;
  text-decoration: none;
}

.ow-pager .is-current {
  background: var(--ow-text);
  border-color: var(--ow-text);
  color: #fff;
}

.ow-pager .ow-pager__dots {
  min-width: 24px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ow-mute);
}

.ow-pager__nav {
  font-family: var(--hb-f-yugo), sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 700;
  letter-spacing: 0.08em !important;
}

/* ---------- CTA バナー ---------- */
.ow-cta {
  background: var(--ow-bg);
  padding: 44px 34px 40px;
  text-align: center;
  scroll-margin-top: 110px;
}

.ow-cta__lead {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.95;
  margin: 0 auto 26px;
  padding-bottom: 24px;
  border-bottom: 1px solid #dcdcdc;
  max-width: 640px;
}

.ow-cta__ico {
  display: block;
  width: 56px;
  margin: 0 auto 14px;
  color: var(--ow-sub);
}

.ow-cta__ico svg {
  display: block;
  width: 100%;
  height: auto;
}

.ow-cta__ttl {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.7;
  margin: 0;
}

.ow-cta__free {
  margin: 12px 0 0;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.7;
}

.ow-cta .ow-btnwrap {
  margin-top: 24px;
}

.ow-cta__notes {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  font-size: 11.5px;
  line-height: 1.95;
  color: var(--ow-sub);
}

.ow-cta__notes li {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- 一覧ページへ戻る等のテキストリンク ---------- */
.ow-backlink {
  text-align: center;
  margin: 46px 0 0;
  font-size: 13px;
  font-weight: 700;
}

.mainSection.maintenance .ow-backlink a {
  color: var(--ow-sub);
  border-bottom: 1px solid var(--ow-line);
  padding-bottom: 3px;
  text-decoration: none;
}

.mainSection.maintenance .ow-backlink a:hover {
  color: var(--ow-text);
  border-bottom-color: var(--ow-text);
}

/* ---------- ボタン（トップページ .more_btn2 準拠） ---------- */
.ow-btnwrap {
  margin: 34px auto 0;
  max-width: 340px;
}

.ow-btnwrap--wide {
  max-width: 400px;
}

.ow-btnwrap--full {
  max-width: none;
  margin-top: 24px;
}

.mainSection.maintenance a.ow-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 21px 42px;
  border: 1px solid var(--ow-text);
  background: #fff;
  color: var(--ow-text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

a.ow-btn svg {
  position: absolute;
  right: 26px;
  top: calc(50% - 6px);
  width: 8px;
  height: 12px;
  transition: right 0.3s ease;
}

.mainSection.maintenance a.ow-btn:hover {
  background: var(--ow-text);
  color: #fff;
  text-decoration: none;
}

a.ow-btn:hover svg {
  right: 21px;
}

/* 最終CTAは塗りで強調 */
.mainSection.maintenance a.ow-btn--fill {
  background: var(--ow-text);
  border-color: var(--ow-text);
  color: #fff;
}

.mainSection.maintenance a.ow-btn--fill:hover {
  background: #fff;
  color: var(--ow-text);
}

/* ---------- 関連キーワード見出し（一覧ページ） ---------- */
.ow-tagttl {
  text-align: center;
  font-family: var(--hb-f-a1min), serif;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--ow-sub);
  margin: 0 0 24px;
}

/* ---------- SP ---------- */
@media screen and (max-width: 767px) {
  .ow-br {
    display: none;
  }

  .ow-br-sp {
    display: inline;
  }

  .ow-hero__sub {
    margin-top: 8px;
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .ow-sec {
    margin-top: 60px;
  }

  .ow-sec:first-of-type {
    margin-top: 44px;
  }

  .ow-h {
    margin-bottom: 28px;
  }

  .mainSection.maintenance h2.ow-h__en {
    font-size: 26px;
  }

  .ow-h__ja {
    font-size: 13px;
  }

  .ow-catch {
    font-size: 15.5px;
    line-height: 1.95;
  }

  .ow-catch-sub {
    font-size: 12.5px;
    margin-bottom: 26px;
  }

  .ow-servicebox,
  .ow-stepbox {
    padding: 16px;
  }

  ul.ow-service {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  ul.ow-service > li {
    padding: 20px 6px 18px;
  }

  .ow-service__label {
    font-size: 11.5px;
  }

  /* SPは1列の横並びリストに（文字が詰まって変な位置で折り返すのを防ぐ） */
  .ow-steps {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ow-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 14px 15px;
    text-align: left;
    font-size: 12.5px;
    line-height: 1.8;
  }

  .ow-step::after {
    content: none;
  }

  .ow-step__no {
    margin: 3px 0 0;
    width: 24px;
    height: 24px;
    font-size: 13px;
  }

  .mainSection.maintenance a.ow-qa,
  .mainSection.maintenance button.ow-faq__q {
    gap: 12px;
    padding: 15px 14px;
  }

  .ow-faq__mark {
    width: 22px;
    height: 22px;
    font-size: 13px;
  }

  .ow-faq__ttl {
    font-size: 13.5px;
  }

  .ow-faq__a-inner {
    padding: 18px 14px 20px;
  }

  ol.ow-steplist > li {
    display: block;
    padding: 12px 0;
  }

  .ow-steplist__no {
    width: auto;
    padding: 0 0 4px;
  }

  .ow-steplist__txt {
    font-size: 13px;
  }

  .ow-qa__ico {
    width: 22px;
    height: 22px;
  }

  .ow-qa__ttl {
    font-size: 13.5px;
  }

  .ow-pager {
    gap: 6px;
    margin-top: 30px;
  }

  .ow-pager a,
  .ow-pager span {
    min-width: 38px;
    height: 38px;
    padding: 0 8px;
    font-size: 14px;
  }

  .ow-pager__nav {
    font-size: 11.5px !important;
  }

  .ow-cta {
    padding: 28px 18px 26px;
  }

  .ow-cta__lead {
    font-size: 12.5px;
    margin-bottom: 22px;
    padding-bottom: 20px;
  }

  .ow-cta__ico {
    width: 48px;
    margin-bottom: 12px;
  }

  .ow-cta__ttl {
    font-size: 16.5px;
    letter-spacing: 0.02em;
  }

  .ow-cta__free {
    margin-top: 10px;
    font-size: 14px;
  }

  .ow-cta .ow-btnwrap {
    margin-top: 20px;
  }

  .ow-cta__notes {
    margin-top: 18px;
    font-size: 11px;
  }

  .mainSection.maintenance a.ow-btn {
    padding: 17px 30px;
    font-size: 13px;
    letter-spacing: 0.08em;
  }

  a.ow-btn svg {
    right: 18px;
  }

  a.ow-btn:hover svg {
    right: 14px;
  }
}

/* JS無効時のアンカー移動でも固定メニューバーに隠れないようにする保険 */
#ow-toweb{ scroll-margin-top: 100px; }
