/*
Theme Name: box-kyoto
Author: box kyoto
Description: original theme
Version: 1.0.0
Text Domain: box-kyoto
*/

/* =========================================================
   Base / Tokens（最小限の設計変数）
   - ここだけで色/余白/フォントの基準を管理できる
========================================================= */
:root {
  --color-text: #333;
  --color-theme: #033059;

  --font-base: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* アンカー位置調整（ヘッダー高さ） */
  --scroll-offset-pc: 8vh;
  --scroll-offset-sp: 4vh;
}

/* =========================================================
   HTML / Body
   - font-size はユーザー設定尊重（reset側で100%推奨）
   - scroll-behavior は reduce-motion を尊重
========================================================= */
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--font-base);
  line-height: 2;
  font-weight: 500;
  color: var(--color-text);
  background: #fff;
}

/* =========================================================
   Anchor offset（固定ヘッダー対策）
========================================================= */
@media (min-width: 768px) {
  html {
    scroll-padding-top: var(--scroll-offset-pc);
  }

  [id] {
    scroll-margin-top: var(--scroll-offset-pc);
  }
}

@media (max-width: 767px) {
  [id] {
    scroll-margin-top: var(--scroll-offset-sp);
  }
}

/* =========================================================
   Layout helpers
========================================================= */
.container {
  max-width: 100%;
  margin: 0 auto;
  overflow-x: clip;
  /* hidden より安全（横スクロール抑制） */
}

.flex-wrap {
  display: flex;
  flex-wrap: wrap;
}

.flex-wrap.sb {
  justify-content: space-between;
}

p.center {
  text-align: center;
}

p.mb {
  margin-bottom: .7em;
}

/* =========================================================
   Utilities（表示制御）
   - 既存クラスを維持しつつ、ブレークポイント統一（767基準）
========================================================= */
.pc_block {
  display: block;
}

.pc_inlineblock {
  display: inline-block;
}

.sp_block,
br.sp_block,
.sp_inlineblock {
  display: none !important;
}

@media (max-width: 767px) {
  .pc_block {
    display: none !important;
  }

  .pc_inlineblock {
    display: none !important;
  }

  br.sp_block {
    display: block !important;
  }

  .sp_block {
    display: block !important;
  }

  .sp_inlineblock {
    display: inline-block !important;
  }

  body {
    line-height: 1.7;
  }
}

/* =========================================================
   Accessibility
========================================================= */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* =========================================================
   Links
   - hover を「PCのポインタがある環境だけ」に限定（スマホ誤発火防止）
========================================================= */
@media (hover: hover) and (pointer: fine) {
  a:hover {
    opacity: .7;
    transition: opacity .3s;
  }
}

/* =========================================================
   Top Button（PC/Tabletのみ表示：JSと連動）
   - スマホは footer固定メニューのTOPを使う前提
========================================================= */
#topBtn {
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s;
}

#topBtn.is-visible {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 767px) {
  #topBtn {
    display: none !important;
  }
}

/* =========================================================
   Footer fixed menu（スマホのみ表示）
========================================================= */
.footer_menu {
  display: none;
}

@media (max-width: 767px) {
  .footer_menu {
    display: block;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 9999;
  }
}

/* =========================================================
   Hamburger / Scroll lock（common.js と連動）
========================================================= */
html.is-scroll-locked {
  overflow: hidden;
}

/* =========================================================
   Sections（この下にあなたの既存CSSをそのまま続けてOK）
========================================================= */

/*---------------------------------------------------------
アニメーション
---------------------------------------------------------*/



/*---------------------------------------------------------
いろどりペイント：ヘッダーCSS 完全版
通常ナビとCTA（電話・LINE・無料相談）を分離して指定
---------------------------------------------------------*/

/*---------------------------------------------------------
ヘッダー本体
---------------------------------------------------------*/

header {
    width: 100%;
    height: 12vh;
    min-height: 8vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background: rgb(255 255 255 / 96%);
    box-shadow: 0 .4vh 1.6vh rgb(0 58 117 / 8%);
}

.header-inner {
        width: 97%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-title-wrap {
       width: 26%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-title-wrap a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-title-wrap img {
    width: 100%;
    max-width: 44vw;
    height: auto;
    display: block;
}

/*---------------------------------------------------------
PCナビ全体
---------------------------------------------------------*/

.g-nav-openbtn {
    display: none;
}

#g-nav {
    width: 70%;
    height: 100%;
}

#g-nav-list,
.g-nav_inner,
.g-nav_box {
    width: 100%;
    height: 100%;
}

#g-navi {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
}

#g-navi > li:not(:first-child):not(.line):not(.contact) {
    margin-left: 3vw;
}

#g-navi > li.line,
#g-navi > li.contact {
    margin-left: 1vw;
}
#g-navi > li.tel,
#g-navi > li.line,
#g-navi > li.contact {
    margin-right: 0;
}

#g-navi > li:not(.tel):not(.line):not(.contact) {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    flex-shrink: 0;
}

#g-navi > li:not(.tel):not(.line):not(.contact) > a {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    color: #003a75;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15vw;
    letter-spacing: .04vw;
    line-height: 1.5;
    white-space: nowrap;
    transition: color .25s;
}

#g-navi > li:not(.tel):not(.line):not(.contact) > a:hover {
    color: #f47a00;
}

#g-navi > li:not(.tel):not(.line):not(.contact) > a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2.8vh;
    width: 44%;
    height: 2px;
    background: #f47a00;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform .25s;
}

#g-navi > li:not(.tel):not(.line):not(.contact) > a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/*---------------------------------------------------------
サービス プルダウン
---------------------------------------------------------*/

#g-navi > li.has-child {
    position: relative;
}

#g-navi > li.has-child > .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 24vw;
    margin: 0;
    padding: .85vw;
    list-style: none;
    background: #fff;
    border: 1px solid rgb(0 102 217 / 14%);
    border-radius: .8vw;
    box-shadow: 0 1.4vh 3vh rgb(0 58 117 / 12%);
    transform: translate(-50%, .8vw);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s, transform .25s, visibility .25s;
    z-index: 1000;
}

#g-navi > li.has-child:hover > .sub-menu,
#g-navi > li.has-child:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

#g-navi > li.has-child > .sub-menu > li {
    width: 100%;
    display: block;
}

#g-navi > li.has-child > .sub-menu > li > a {
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding: .75vw .95vw;
    color: #003a75;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15vw;
    line-height: 1.6;
    letter-spacing: .02vw;
    border-radius: .45vw;
    white-space: nowrap;
    transition: background .25s, color .25s;
}

#g-navi > li.has-child > .sub-menu > li > a:hover {
    background: #edf7ff;
    color: #f47a00;
}

/*---------------------------------------------------------
CTA共通
---------------------------------------------------------*/

#g-navi > li.tel,
#g-navi > li.line,
#g-navi > li.contact {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

/*---------------------------------------------------------
電話番号
---------------------------------------------------------*/

#g-navi > li.tel {
    margin-left: .25vw;
    margin-right: .1vw;
}

#g-navi > li.tel > a.tel-link {
    width: auto;
    height: auto;
    display: block;
    padding: 0;
    color: #003a75;
    text-decoration: none;
    line-height: 1.15;
    white-space: nowrap;
}

#g-navi > li.tel > a.tel-link::before {
    content: "☎";
    display: inline-block;
    margin-right: .35vw;
    color: #f47a00;
    font-size: 1.18vw;
    font-weight: 800;
    position: relative;
    top: .07vw;
}

#g-navi > li.tel > a.tel-link span.number {
    font-family: "Roboto", sans-serif;
       font-size: 2vw;
    font-weight: 800;
    color: #003a75;
    letter-spacing: 0;
}

#g-navi > li.tel > a.tel-link span.time {
        display: block;
    margin-top: .25vh;
    padding-left: 1.65vw;
    font-size: .7vw;
    font-weight: 600;
    letter-spacing: .02vw;
    color: #003a75;
    text-align: center;
}

/*---------------------------------------------------------
LINEボタン
---------------------------------------------------------*/

#g-navi > li.line > a.line-link {
    width: auto;
    height: auto;
        min-width: 10vw;
    display: block;
    box-sizing: border-box;
    padding: .85vh 1.05vw;
    border-radius: .3vw;
    background: #00a63c;
    color: #fff;
    text-decoration: none;
    text-align: center;
        font-size: 1.1vw;
    font-weight: 600;
        line-height: 1.5;
    letter-spacing: .03vw;
    white-space: nowrap;
    transition: opacity .25s, transform .25s;
}

#g-navi > li.line > a.line-link:hover {
    opacity: .86;
    transform: translateY(-.12vw);
}

#g-navi > li.line > a.line-link hr {
    width: 100%;
    height: 1px;
    margin: .5vh 0;
    border: none;
    background: #fff;
}

/*---------------------------------------------------------
無料相談・お見積もりボタン
---------------------------------------------------------*/

#g-navi > li.contact > a.form {
    width: auto;
    height: auto;
        min-width: 10vw;
    display: block;
    box-sizing: border-box;
    padding: .85vh 1.1vw;
    border-radius: .3vw;
    background: #f47a00;
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-size: 1.1vw;
    font-weight: 600;
       line-height: 1.5;
    letter-spacing: .03vw;
    white-space: nowrap;
    box-shadow: 0 .6vh 1.4vh rgb(244 122 0 / 22%);
    transition: opacity .25s, transform .25s;
}

#g-navi > li.contact > a.form:hover {
    opacity: .86;
    transform: translateY(-.12vw);
}

#g-navi > li.contact > a.form hr {
    width: 100%;
    height: 1px;
    margin: .5vh 0;
    border: none;
    background: #fff;
}

/* CTAに通常ナビの線を出さない */
#g-navi > li.tel > a::before,
#g-navi > li.line > a::before,
#g-navi > li.contact > a::before,
#g-navi > li.tel > a::after,
#g-navi > li.line > a::after,
#g-navi > li.contact > a::after {
    content: none;
}

/* 電話アイコンだけ再指定 */
#g-navi > li.tel > a.tel-link::before {
    content: "☎";
}

/*---------------------------------------------------------
SP共通
---------------------------------------------------------*/

.sp_block {
    display: none;
}

.hamburger-close {
    display: none;
}

/*---------------------------------------------------------
スマホ
---------------------------------------------------------*/

@media screen and (max-width: 743px) {

    header {
        height: 9svh;
        min-height: 6.4rem;
        background: rgb(255 255 255 / 98%);
    }

    .header-inner {
        width: 92%;
        height: 100%;
    }

    .site-title-wrap {
        width: 64%;
        height: 100%;
    }

    .site-title-wrap img {
        width: 100%;
        max-width: 23rem;
    }

    .sp_block {
        display: block;
    }

    /*---------------------------------------------------------
    ハンバーガー
    ---------------------------------------------------------*/

    .g-nav-openbtn {
        display: block;
        position: fixed;
        top: 1.9svh;
        right: 4%;
        width: 11.5vw;
        height: 11.5vw;
        z-index: 1002;
        cursor: pointer;
    }

    .openbtn-area {
        width: 100%;
        height: 100%;
        position: relative;
        background: #003a75;
        border-radius: 50%;
        box-shadow: 0 .8vw 2vw rgb(0 58 117 / 18%);
    }

    .openbtn-area span {
        position: absolute;
        left: 27%;
        width: 46%;
        height: .55vw;
        background: #fff;
        border-radius: 999px;
        transition: top .35s, opacity .35s, transform .35s;
    }

    .openbtn-area span:nth-child(1) {
        top: 35%;
    }

    .openbtn-area span:nth-child(2) {
        top: 49%;
    }

    .openbtn-area span:nth-child(3) {
        top: 63%;
    }

    html.nav-open .openbtn-area span:nth-child(1),
    .openbtn-area.active span:nth-child(1) {
        top: 49%;
        transform: rotate(45deg);
    }

    html.nav-open .openbtn-area span:nth-child(2),
    .openbtn-area.active span:nth-child(2) {
        opacity: 0;
    }

    html.nav-open .openbtn-area span:nth-child(3),
    .openbtn-area.active span:nth-child(3) {
        top: 49%;
        transform: rotate(-45deg);
    }

    /*---------------------------------------------------------
    SPナビ本体
    ---------------------------------------------------------*/

    #g-nav {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100dvh;
        min-height: 100svh;
        background: #fff;
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .35s, visibility .35s;
    }

    #g-nav.is-open,
    #g-nav.panelactive,
    html.nav-open #g-nav {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    #g-nav-list {
        width: 100%;
        height: 100dvh;
        min-height: 100svh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .g-nav_inner {
        width: 100%;
        min-height: 100svh;
        padding: 8svh 5vw 5svh;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .g-nav_box {
        width: 100%;
    }

    .g-nav_logo {
        width: 52vw;
        margin: 0 auto 4svh;
        text-align: center;
    }

    .g-nav_logo a {
        display: block;
        width: 100%;
    }

    .g-nav_logo img {
        width: 100%;
        height: auto;
        display: block;
    }

    #g-navi {
        width: 100%;
        height: auto;
        display: block;
        margin: 0;
        padding: 0;
    }

    #g-navi > li:not(.tel):not(.line):not(.contact),
    #g-navi > li.tel,
    #g-navi > li.line,
    #g-navi > li.contact {
        width: 100%;
        height: auto;
        display: block;
        border-bottom: 1px solid rgb(0 58 117 / 12%);
    }

    #g-navi > li:not(.tel):not(.line):not(.contact) > a {
        width: 100%;
        height: auto;
        display: block;
        padding: 2.1svh 0;
        box-sizing: border-box;
        color: #003a75;
        font-size: 4.4vw;
        font-weight: 700;
        line-height: 1.45;
        letter-spacing: .12vw;
        text-align: center;
    }

    #g-navi > li:not(.tel):not(.line):not(.contact) > a::after,
    #g-navi > li.has-child > a::before {
        content: none;
    }

    /*---------------------------------------------------------
    SP サービス下層
    ---------------------------------------------------------*/

    #g-navi > li.has-child {
        padding: 2.4svh 0;
    }

    #g-navi > li.has-child > a {
        padding: 0 0 1.8svh;
        color: #f47a00;
        font-size: 4.9vw;
    }

    #g-navi > li.has-child > .sub-menu {
        position: static;
        width: 100%;
        margin: 0;
        padding: 3vw;
        box-sizing: border-box;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        background: #f4f9ff;
        border: 1px solid rgb(0 102 217 / 12%);
        border-radius: 4vw;
        box-shadow: none;
        display: grid;
        grid-template-columns: 1fr;
        gap: 2vw;
    }

    #g-navi > li.has-child > .sub-menu > li > a {
        padding: 3.2vw 3vw;
        background: #fff;
        border: 1px solid rgb(0 102 217 / 12%);
        border-radius: 2.4vw;
        color: #003a75;
        font-size: 3.8vw;
        font-weight: 700;
        line-height: 1.45;
        text-align: center;
        white-space: normal;
    }

    /*---------------------------------------------------------
    SP 電話・LINE・無料相談
    ---------------------------------------------------------*/

    #g-navi > li.tel,
    #g-navi > li.line,
    #g-navi > li.contact {
        border-bottom: 0;
        margin: 0;
    }

    #g-navi > li.tel {
        margin-top: 2.5svh;
        text-align: center;
    }

    #g-navi > li.tel > a.tel-link {
        display: block;
        width: 88%;
        margin: 0 auto;
        padding: 3vw 2vw;
        box-sizing: border-box;
        background: #f4f9ff;
        border: 1px solid rgb(0 58 117 / 12%);
        border-radius: 3vw;
        text-align: center;
    }

    #g-navi > li.tel > a.tel-link::before {
        margin-right: 1.4vw;
        font-size: 5.3vw;
        top: .4vw;
    }

    #g-navi > li.tel > a.tel-link span.number {
        font-size: 6vw;
    }

    #g-navi > li.tel > a.tel-link span.time {
        margin-top: 1.2vw;
        padding-left: 0;
        font-size: 3vw;
        line-height: 1.5;
    }

    #g-navi > li.line {
        margin-top: 2svh;
    }

    #g-navi > li.contact {
        margin-top: 1.4svh;
    }

    #g-navi > li.line > a.line-link,
    #g-navi > li.contact > a.form {
        display: block;
        width: 88%;
        min-width: 0;
        margin: 0 auto;
        padding: 3.2vw 0;
        border-radius: 100px;
        font-size: 4.2vw;
        line-height: 1.25;
    }

    #g-navi > li.line > a.line-link hr,
    #g-navi > li.contact > a.form hr {
        width: 70%;
        margin: 1.4vw auto;
    }

    .hamburger-close {
        display: block;
        margin-top: 3svh;
        padding: 2svh 0 0;
        color: #003a75;
        font-size: 3.8vw;
        font-weight: 700;
        text-align: center;
        border-bottom: 0 !important;
        cursor: pointer;
    }
}


/*---------------------------------------------------------
メインビジュアル
---------------------------------------------------------*/



/*---------------------------------------------------------
  footer
---------------------------------------------------------*/



/*---------------------------------------------------------
下層ページ
---------------------------------------------------------*/



/*---------------------------------------------------------
サービス
---------------------------------------------------------*/



/*---------------------------------------------------------
会社概要
---------------------------------------------------------*/



/*---------------------------------------------------------
Q&A
---------------------------------------------------------*/


/*---------------------------------------------------------
ブログ一覧
---------------------------------------------------------*/

.page.container.blog .inner {
  max-width: 72%;
  width: 100%;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 7vh 0 10vh;
}

section.blog_wrap {
  width: calc(100% - 30%);
  padding-right: 4rem;
}

article.article-list {
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  margin-bottom: 3vh;
  padding: 3vh 2vh;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-box-shadow: 0px 5px 10px 0px rgb(0 0 0 / 17%);
  box-shadow: 0px 5px 7px 2px rgb(120 120 120 / 22%);
  -ms-flex-pack: distribute;
  justify-content: space-around;
  border: 1px solid #E0E0E0;
}

article.article-list .img-wrap {
  width: 37%;
  height: auto;
  display: -ms-grid;
  display: grid;
  place-items: center;
}

article.article-list .text {
  width: 60%;
  position: relative;
}

article.article-list .text h2 {
  font-size: 1.2rem;
  margin-bottom: .2em;
  line-height: 1.4;
  font-weight: 600;
}

article.article-list a {
  text-decoration: none;
  width: 100%;
}

article.article-list a img {
  width: 100%;
}

.cat-day {
  position: relative;
}

ul.post-categories {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

ul.post-categories a {
  background: #033059;
  display: inline;
  color: #fff;
  padding: .2em 1em;
  margin-right: .5em;
  font-size: .8rem;
}

ul.post-categories li {
  list-style: none;
}

article.article-list p.article-date {
  position: absolute;
  top: 0;
  right: 0;
}

article.article-list .archive-text {
  margin-top: 1vh;
  line-height: 1.6;
}

.pagination {
  margin: 2rem 0;
  text-align: center;
}

.pagination ul {
  font-size: 0;
}

.pagination ul li {
  font-size: 1rem;
  display: inline-block;
  margin-right: .5vw;
}

.pagination ul li:last-child {
  border: 0;
}

.pagination ul li a,
.pagination .current {
  display: block;
  padding: .5vh 1vw;
  border: 1.5px solid #033059;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

i.fas.fa-angle-right,
i.fas.fa-angle-left {
  color: var(--color-theme);
}

.pagination ul li .prev,
.pagination ul li .next {
  border: 0;
}

.pagination ul li a {
  text-decoration: none;
  color: var(--color-theme);
  font-weight: 500;
}

.pagination ul li a:hover {
  opacity: .6;
}

.pagination .current {
  color: #fff;
  background-color: var(--color-theme);
}


/*---------------------------------------------------------
投稿ページ
---------------------------------------------------------*/

span.cat-data a {
  background: #033059;
  display: inline;
  color: #fff;
  padding: .2em 1em;
  margin-right: .5em;
  font-size: .8rem;
}

.single h1 {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: .02vw;
  line-height: 1.6;
}

.article-date {
  text-align: right;
  margin-bottom: 3vh;
  font-size: 1rem;
}

span.st-mymarker-s {
  background: -o-linear-gradient(transparent 70%, #d4dff4 0%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(70%, transparent), color-stop(0%, #d4dff4));
  background: linear-gradient(transparent 70%, #d4dff4 0%);
  font-weight: 700;
}

.fixed-page h2,
.single article h2 {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: .04vw;
  margin: 5vh auto 3vh;
  padding: 2vh 1vw;
  border-left: .25vw solid #033059;
  line-height: 1;
  background-color: #f7f7f7;
}

.fixed-page h3,
.single article h3 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .04vw;
  margin: 3vh auto 3vh;
  padding: 1vh .5vw;
  border-bottom: 2px solid #033059;
}

.fixed-page h4,
.single article .blog-main h4 {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: .04vw;
  margin: 3vh auto 3vh;
  padding: 1vh 1.2vw 0;
  position: relative;
}

.fixed-page h4::before,
.single article h4::before {
  content: "";
  display: block;
  position: absolute;
  top: 1.3vw;
  left: 0;
  width: .7vw;
  height: .7vw;
  background-color: var(--color-theme);
}

.fixed-page h5,
.single article h5 {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: .04vw;
  margin: 3vh auto 3vh;
  padding: 1vh 0 0;
  position: relative;
}

.fixed-page .inner p,
.single article p {
  font-size: 1.2rem;
  font-weight: 400;
  margin-top: 3vh;
  line-height: 2;
}

.fixed-page .inner ul,
.single .blog-main ul,
.fixed-page .inner ol,
.single .blog-main ol {
  margin: 3vh auto 5vh;
  padding: 3vh 1vw 3vh 2.5vw;
  background-color: #f7f7f7;

}

.fixed-page .inner ul ul,
.single .blog-main ul ul {
  margin-top: unset;
  margin-bottom: .7vw;
  margin-left: 0;
}

.fixed-page .inner ul li,
.single .blog-main ul li {
  list-style-type: disc;
  font-size: 1.2rem;
  margin-bottom: .7vh;
}

.fixed-page .inner ol li,
.single .blog-main ol li {
  font-size: 1.2rem;
  margin-bottom: .7vh;
}

.fixed-page .inner ul ul li,
.single .blog-main ul ul li {
  list-style: none;
}

.single article p.box-title {
  position: relative;
  top: 5vh;
  background: #033059;
  color: #fff;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 0 2vw;
  letter-spacing: .1vw;
  margin-top: 0;
}

.fixed-page figure,
.single article figure {
  margin: 3vh 0;
}

.single article p.article-date {
  font-size: 1rem;
  margin-top: 0;
  text-align: right;
}

.page_sns {
  width: 48%;
  margin: 0 auto;
}


.single section.page-mv p.title {
  font-size: 6rem;
  font-weight: 500;
  font-family: "Josefin Sans", sans-serif;
  line-height: .9;
  position: relative;
  z-index: 1;
  text-align: center;
}

.single .contents {
  width: 60%;
  margin: 10vh auto;
}

section.single-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 80%;
  margin: 0 auto;
}

.page.single .inner {
  max-width: 72%;
  width: 100%;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 3vh 0;
}

section.blog_wrap {
  width: calc(100% - 30%);
  padding-right: 3vw;
}

article.article-content {
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 0.5em;
}

article.article-content p.cat-data a {
  background-image: -o-linear-gradient(43deg, #37c1ff, #30bdff);
  background-image: linear-gradient(47deg, #37c1ff, #30bdff);
  display: inline;
  color: #fff;
  padding: 0.5vh 1em;
  border-radius: 50px;
  margin-right: 0.5em;
  font-size: .8rem;
  text-decoration: none;
}

.article-tag {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

section.blog_wrap table {
  margin: 3vh auto 5vh;
}

section.blog_wrap td,
section.blog_wrap th {
  border: 1.5px solid #033059 !important;
  padding: 1vh 1vw;
  font-size: 1.2rem;
}

.article-tag ul {
  margin-bottom: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding-left: 0 !Important;
}

.single .post p.tag {
  background: #333;
  color: #fff;
  text-align: center;
  width: 10%;
  border-radius: 4px;
  font-size: .9rem !important;
  padding: 0 0;
  margin-bottom: 0;
  display: -ms-grid;
  display: grid;
  place-items: center;
}

.single .post .article-tag ul {
  margin-bottom: 0;
  margin-left: 0;
}

.single article .article-tag ul li {
  list-style-type: none;
  list-style: none;
  padding-right: 1em;
  font-size: 1.2rem;
}

.article-tag a {
  text-decoration: none;
  color: var(--color-main);
  font-size: 1.2rem;
}

.article-tag a::before {
  background: no-repeat;
  width: 1.2vw;
  height: 2.2vh;
  background-image: url(https://hp6.veronica9.com/wp-content/uploads/2025/01/tag-n.svg);
  content: '';
  margin-right: .3vw;
  display: inline-block;
  top: .3vh;
  position: relative;
}

.youtube {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 2em;
}

.youtube iframe {
  width: 100%;
  height: 100%;
}

blockquote {
  position: relative;
  border: 1px solid #607D8B;
  border-radius: .5vw;
  padding: 5vh 2vh 1vh;
  background: #f7f7f7;
  margin: 5vh auto;
}

blockquote:before {
  margin-right: 1em;
  display: block;
  position: absolute;
  width: 1.5vw;
  height: 1.5vw;
  background-image: url("https://web6.veronica9.com/wp-content/uploads/2024/05/block-quote.svg");
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  left: 1.5vh;
  top: 1.5vh;
}

blockquote:after {
  margin-right: 1em;
  display: block;
  position: absolute;
  width: 1.5vw;
  height: 1.5vw;
  background-image: url(https://web6.veronica9.com/wp-content/uploads/2024/05/block-quote.svg);
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  right: 0;
  bottom: .5vh;
  -webkit-transform: scale(-1, 1);
  -ms-transform: scale(-1, 1);
  transform: scale(-1, 1);
}

blockquote cite {
  display: block;
  font-size: 1rem;
  text-align: right;
  color: #9e9e9e;
  padding-right: 5vh;
}

.single article blockquote p {
  margin-top: 0;
}

blockquote a {
  display: block;
  text-align: right;
  margin-right: 2vw;
}


nav.page-nav {
  margin: 5vh auto 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.page-nav .prev-link {
  width: 49%;
  text-align: left;
  text-decoration: none;
  position: relative;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: var(--color-main);
  border: 2px solid #033059;
  -webkit-transition: .4s ease-in-out;
  -o-transition: .4s ease-in-out;
  transition: .4s ease-in-out;
  font-size: .85rem;
  line-height: 1.5;
  padding: 1vh .7vw;
  font-weight: 600;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-font-feature-settings: "palt";
  font-feature-settings: "palt";
  letter-spacing: 0.1em;
}

.page-nav .next-link {
  width: 49%;
  text-align: right;
  text-decoration: none;
  position: relative;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: var(--color-main);
  border: 2px solid #033059;
  -webkit-transition: .4s ease-in-out;
  -o-transition: .4s ease-in-out;
  transition: .4s ease-in-out;
  font-size: .85rem;
  line-height: 1.5;
  padding: 1vh .7vw;
  font-weight: 600;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-font-feature-settings: "palt";
  font-feature-settings: "palt";
  letter-spacing: 0.1em;
}

.page-nav .prev-link::before {
  content: "PREV";
  position: absolute;
  top: -.85em;
  left: 0;
  line-height: 1;
  color: var(--color-theme);
  font-size: 1.4rem;
  font-family: var(--font-en);
  letter-spacing: .1vw;
  font-weight: bold;
}

.page-nav .next-link:before {
  content: "NEXT";
  position: absolute;
  top: -.85em;
  right: 0;
  line-height: 1;
  color: var(--color-theme);
  font-size: 1.4rem;
  font-family: var(--font-en);
  letter-spacing: .1vw;
  font-weight: bold;
}

nav.page-nav a:hover {
  background: #ebf9ff;
}

.share {
  margin-bottom: 7vh;
  margin-top: 3vh;
  position: relative;
  z-index: 1;
}

.home .share,
.page-id-711 .share {
  width: 55%;
  margin: 0 auto;
}

.single article .share p {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 0;
  letter-spacing: .15vw;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 600;
  color: var(--color-theme);
  font-family: var(--font-en);
}

.single article .share ul {
  width: 40%;
  margin: 1vh auto 0;
  padding: 0;
  list-style: none;
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  margin-left: auto;
}

.share li {
  width: 31%;
  margin: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.share li a,
.share li button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 2.5vw;
  width: 2.5vw;
  border-radius: 50px;
}

.share li a {
  border-radius: 50px;
}

.share li button {
  border-radius: .1vw;
  width: 3.5vw;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.share li button img {
  width: 66%;
}

.share li a:visited {
  opacity: .6;
  -webkit-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
}

.facebook_share a {
  background-color: #1877f1;
  color: #ffffff;
}

li.facebook_share a img {
  width: 32%;
}

.line_share a {
  background-color: #1dcd00;
  color: #ffffff;
}

li.line_share a img {
  width: 63%;
}

.tweet_share a {
  background-color: #444;
  color: #fff;
}

li.tweet_share a img {
  width: 50%;
}

.share li a:hover {
  opacity: 0.6;
  -webkit-transition: .3s;
  -o-transition: .3s;
  transition: .3s;
}

button.share-url {
  background-color: var(--color-theme);
  color: #ffffff;
}

.url-copied {
  display: none;
  position: absolute;
  bottom: -6vh;
  left: 67%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 1000;
}

.url-copied span {
  background: #033059;
  color: #fff;
  padding: 6px 12px;
  border-radius: 3px;
  font-size: .8rem;
  white-space: nowrap;
}

@media(max-width: 599px) {
  .share li {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  .share li i {
    font-size: 1.3em;
    padding-top: 3px;
  }

  .share li a {
    font-size: .7rem;
  }

  .share li a svg {
    font-size: .95rem;
  }

  .share ul {
    width: 46%;
    margin: 3vw auto 0;
  }

  .share li a {
    height: 9.8vw;
    width: 9.8vw;
  }

  nav.page-nav {
    margin: 5vh 0;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
}


.sidebar {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-width: 0;
  width: 30%;
}



/*---------------------------------------------------------
アーカイブ
---------------------------------------------------------*/


/*---------------------------------------------------------
お問い合わせ
---------------------------------------------------------*/

.table-res-form {
  width: 100%;
  margin-top: 5vh;
}


.table-res-form tr.td_last {
  border: unset;
}

.table-res-form th,
.table-res-form td {
  padding: 3vh 3vh 3vh 0;
}

.table-res-form th {
  font-size: 1.3rem;
  width: 27%;
  text-align: right;
  vertical-align: top;
  font-weight: 500;
}

.table-res-form th span.parentheses {
  font-size: 1rem;
  display: block;
  line-height: 1.5;
  margin-top: 1vh;
}

.table-res-form td {
  vertical-align: middle;
}

.table-res-form .requied {
  font-size: .8em;
  color: #fff;
  display: inline-block;
  padding: .2vh .3vw;
  background: var(--color-theme);
  position: relative;
  top: -1px;
  margin-left: .2vw;
}

.wpcf7 input,
.wpcf7 textarea {
  border: 1px solid #033059 !important;
}

.wpcf7 .wpcf7-submit {
  width: 50% !important;
}

span.wpcf7-form-control.wpcf7-checkbox {
  display: -ms-grid;
  display: grid;
  text-align: left;
  font-size: 1.2rem;
}

span.wpcf7-list-item-label {
  line-height: 1.8;
}

span.wpcf7-list-item.last.has-free-text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

span.wpcf7-list-item.last.has-free-text label {
  width: 12%;
}

span.wpcf7-list-item.last.has-free-text input.wpcf7-free-text {
  width: 30%;
  padding: 0 0.5em;
  height: 25px;
  margin-top: 4px;
}

.table-res-form input[type="text"],
input[type="email"],
textarea,
.wpcf7 input[type="tel"],
select.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required,
select.wpcf7-form-control.wpcf7-select,
.wpcf7-text {
  padding: 0.2em 0.5em;
  height: 2.5vw;
  font-size: 1.2rem;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 0;
  width: 100%;
}

.table-res-form input[type="text"]:focus,
textarea:focus {
  background: #FFF;
  -webkit-box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.5);
}

.wpcf7 input[type="checkbox"] {
  left: -.2vw;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 1.1vw;
  height: 1.1vw;
  border-radius: 0;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  top: -.2vh;
  position: relative;
}

.wpcf7 input[type="checkbox"]:checked {
  background-color: var(--color-theme);
  border-color: var(--color-theme);
  position: relative;
}

.wpcf7 input[type=checkbox]:checked:after {
  content: "";
  display: block;
  width: 1vw;
  height: .5vw;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  -webkit-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  transform: rotate(135deg);
  position: absolute;
  left: 1px;
  top: 1px;
  z-index: 1;
}

textarea.wpcf7-form-control.wpcf7-textarea {
  height: 16em;
  padding: 0.5em;
}


.table-res-form input[type=submit] {
  position: relative;
  padding: .5vh 0;
  color: #fff;
  background: var(--color-theme);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: .2em;
  -webkit-transition: .5s;
  -o-transition: .5s;
  transition: .5s;
  border: 1.5px solid #fff !important;
  border-radius: 0;
}

.table-res-form input[type=submit]:hover {
  -webkit-box-shadow: none;
  box-shadow: none;
  border: 1.5px solid #033059 !important;
  background: #ffffff;
  color: var(--color-theme);
}

span.wpcf7-spinner {
  display: none;
}

tr.td_last {
  text-align: center;
}

tr.td_last td {
  padding: 1.5em 0;
}

.home tr.td_last td {
  padding: 0;
}

span.wpcf7-not-valid-tip {
  color: #E91E63;
  text-align: center;
  display: block;
  font-size: 1rem;
}

.wpcf7 form .wpcf7-response-output {
  margin: 2vh auto 2vh !important;
  padding: .5em !important;
}

form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #e91e63 !important;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #E91E63 !important;
}

.wpcf7-response-output {
  text-align: center;
  color: #e91e63;
  margin-top: 2em;
  padding: 0.5em;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

select {
  -webkit-appearance: auto;
  -moz-appearance: auto;
  appearance: auto;
  border: .5px solid #333 !important;
}

.screen-reader-response {
  display: none;
}

p.pp {
  text-align: center;
}

p.pp a {
  color: var(--color-main);
  text-decoration: none;
  font-size: 1.2rem;
}

p.pp a:hover {
  opacity: 0.6;
}

.contact_text_bottom {
  text-align: center;
  margin-top: 3vh;
  font-size: 1rem;
}

/*---------------------------------------------------------
固定ページ
---------------------------------------------------------*/
.fixed-page {
  margin-top: 12vh;
}

.fixed-page .inner {
  width: 55%;
  margin: 0 auto;
  padding: 7vh 0 10vh;
}

.fixed-page h1 {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: .02vw;
  line-height: 1.8;
}

.fixed-page a {
  text-decoration: underline;
  color: var(--color-theme);
}

.breadcrumb a {
  text-decoration: none;
}

/*---------------------------------------------------------
404 ページ
---------------------------------------------------------*/
.error404 main {
  text-align: center;
  padding: 7vh 0 15vh;
}

.error404 main h2 {
  font-size: 2rem;
  margin-bottom: 3vh;
  color: var(--color-theme);
}

.error404 main p {
  font-size: 1.3rem;
}

.error404 main div {
  margin-top: 5vh;
}

.error404 main div a {
  width: 20%;
  padding: .7vh 0;
  display: block;
  text-align: center;
  margin: 0 auto;
  background: #033059;
  color: #fff;
  font-size: 1.2rem;
  letter-spacing: .05vw;
  font-weight: 500;
  position: relative;
}

/* =========================================================
   Smartphone ( <= 767px )
========================================================= */
@media (max-width: 767px) {

  body {
    line-height: 1.7;
  }

  /* ------------------------------
     Display Utilities
  ------------------------------ */
  .pc_block,
  .pc_inlineblock {
    display: none !important;
  }

  .sp_block,
  br.sp_block {
    display: block !important;
  }

  .sp_inlineblock {
    display: inline-block !important;
  }

  /* ------------------------------
     Header
  ------------------------------ */
  header {
    position: relative;
  }

  .site-title-wrap {
    width: 100%;
  }

  .site-title-wrap img {
    width: 68%;
    margin: 0 auto;
  }

  /* ------------------------------
     TOP Button
     - SPでは非表示（footer固定バーを使用）
  ------------------------------ */
  #topBtn {
    display: none !important;
  }

  /* =====================================================
     Footer Fixed Menu (SP only)
  ===================================================== */
  .footer_menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
  }

  ul.floating {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    background: rgb(3 48 89 / 92%);
    border-top: 1px solid #ffe3af;
  }

  ul.floating li {
    padding: 2svh 0;
    text-align: center;
    border-right: 1px solid #ffe3af;
  }

  ul.floating li:last-child {
    border-right: none;
  }

  ul.floating a,
  ul.floating .hamburger {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4em;
    color: #ffe3af;
    font-size: 3.4vw;
    font-weight: 500;
    line-height: 1;
  }

  ul.floating svg {
    width: 5.5vw;
    height: auto;
  }

  /* =====================================================
     Hamburger Button (SP)
  ===================================================== */
  .g-nav-openbtn {
    display: block;
    position: absolute;
    top: 3vw;
    right: 3%;
    width: 48px;
    height: 48px;
    z-index: 10000;
    cursor: pointer;
  }

  .g-nav-openbtn span {
    position: absolute;
    left: 12px;
    width: 50%;
    height: 2px;
    border-radius: 2px;
    transition: all .4s;
  }

  /* =====================================================
     Global Navigation (SP)
     - JSで .is-open / html.nav-open 制御
  ===================================================== */
  nav#g-nav {
    position: fixed;
    inset: 0;
    background: #033059;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform .35s ease;
    z-index: 9999;
  }

  nav#g-nav.is-open {
    transform: translateX(0);
  }

  html.nav-open {
    overflow: hidden;
  }

  nav#g-nav ul {
    width: 80%;
    text-align: center;
  }

  nav#g-nav li {
    padding: 1.4svh 0;
  }

  nav#g-nav a {
    font-size: 4.6vw;
    font-weight: 500;
    letter-spacing: .12em;
    color: #fff;
    display: block;
  }

  nav#g-nav a:hover {
    opacity: .7;
  }

  nav#g-nav .hamburger {
    margin-top: 4svh;
    padding: .6em 1.8em;
    border-radius: 50px;
    background: #fff;
    color: #033059;
    font-size: 3.6vw;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
}


/* =========================================================
   Tablet Base ( 768px – 1366px )  ※iPad Pro含む
========================================================= */
@media (min-width: 768px) and (max-width: 1366px) {

  /* SP固定バーはタブレットでは非表示 */
  .footer_menu {
    display: none !important;
  }

  /* TOP Button（タブレットでは表示） */
  #topBtn {
    display: grid;
    place-items: center;
  }
}


/* =========================================================
   Tablet Portrait ( 768px – 1366px )
========================================================= */
@media (min-width: 768px) and (max-width: 1366px) and (orientation: portrait) {

  /* 例：縦向きは余白広め・1カラム寄り */
  .inner {
    width: 86%;
    margin-left: auto;
    margin-right: auto;
  }

  /* 例：ブログは縦向きでサイドバーを落とす */
  .blog_wrap {
    width: 100%;
    padding-right: 0;
  }

  .sidebar {
    display: none;
  }
}


/* =========================================================
   Tablet Landscape ( 768px – 1366px )
========================================================= */
@media (min-width: 768px) and (max-width: 1366px) and (orientation: landscape) {

  /* 例：横向きは情報量を増やす（2カラム） */
  .inner {
    width: 92%;
    margin-left: auto;
    margin-right: auto;
  }

  .blog_wrap {
    width: calc(100% - 30%);
    padding-right: 3vw;
  }

  .sidebar {
    display: block;
    width: 30%;
  }
}


/* =========================================================
   PC ( >= 1367px )
========================================================= */
@media (min-width: 1367px) {

  /* SP固定バーはPCでは不要 */
  .footer_menu {
    display: none !important;
  }

  /* TOP Button（PC表示） */
  #topBtn {
    display: grid;
    place-items: center;
  }

  /* ハンバーガーボタンは通常PCで非表示（必要なら削除OK） */
  .g-nav-openbtn {
    display: none;
  }
}


/* =========================================================
   Large Desktop ( >= 1920px )
========================================================= */
@media (min-width: 1920px) {
  body {
    font-size: 1.05rem;
  }
}