/*!
Theme Name: sa-theme
Author: samurai-adways
*/
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: rgba(0, 0, 0, 0)
}

body {
    line-height: 1
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block
}

ul,
ol {
    list-style: none
}

blockquote,
q {
    quotes: none
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: rgba(0, 0, 0, 0)
}

input,
select {
    vertical-align: middle
}

* {
    box-sizing: border-box
}

html {
    font-size: 62.5% !important
}

body {
    font-size: 1.4rem;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    color: #293337;
    word-break: break-all;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    min-width: 280px
}

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

img,
svg {
    vertical-align: bottom;
    width: 100%;
    height: auto
}

p+p {
    margin-top: 2em
}

select,
button,
input[type=text],
input[type=email],
input[type=submit],
input[type=search],
input[type=tel],
input[type=date],
textarea {
    appearance: none;
    border-radius: 0;
    border: none;
    font-family: "Noto Sans JP", sans-serif;
    width: 100%;
    background: none;
    padding: 0;
    margin: 0;
	resize: none !important;      /* ユーザーが横方向に広げられないように */
  	overflow-y: auto !important;  /* 縦スクロールを表示 */
  	overflow-x: hidden !important;/* 横スクロールは不要 */
  	max-width: 100% !important;   /* 横幅が伸びないよう固定 */
}

select,
input[type=text],
input[type=email],
input[type=search],
input[type=tel],
input[type=date],
textarea {
    font-size: 1.6rem;
    border: 1px solid #d9d9d9;
    min-height: 60px;
    padding: 10px 15px
}

input::placeholder,
textarea::placeholder {
    color: #d9d9d9
}

.hTplSerif {
    font-family: "Noto Serif JP", serif;
    font-weight: 600
}

.hTplSerif>span {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 900
}

.moreArrow {
    display: inline-block;
    font-size: 1rem;
    font-weight: 900;
    position: relative;
    padding-right: 20px
}

@media(min-width: 1000px) {
    .moreArrow {
        font-size: 1.2rem
    }
}

.moreArrow::after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    background-image: url("img/common/icon_arrow.svg");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: auto 100%;
    position: absolute;
    top: calc(50% - 4px);
    right: 0
}

@media(min-width: 1000px) {
    .moreArrow::after {
        width: 10px;
        height: 10px;
        top: calc(50% - 5px)
    }
}

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

@media(min-width: 1000px) {
    .flexWrapperPc {
        display: flex;
        flex-wrap: wrap;
        align-items: start
    }
}

.textSerif {
    font-family: "Noto Serif JP", serif;
    font-weight: 600
}

.reason .intro {
    background-color: #fff;
    padding: 40px 0
}

@media(min-width: 1000px) {
    .reason .intro {
        padding: 60px 0
    }
}

.reason h2 {
    font-size: 2.4rem;
    text-align: center
}

@media(min-width: 1000px) {
    .reason h2 {
        font-size: 6rem;
        text-align: left;
        display: flex;
        align-items: end;
        max-width: calc(1200px + 10%);
        margin: 0 auto;
        padding: 0 5%
    }
}

.reason h2>span {
    display: block;
    font-size: 1.2rem;
    text-align: center;
    color: #0095d8;
    margin-top: 15px
}

@media(min-width: 1000px) {
    .reason h2>span {
        font-size: 3rem;
        text-align: left;
        margin: 0 0 0 15px
    }
}

.reason h2+p {
    font-size: 1.4rem;
    line-height: 1.6;
    margin: 30px auto 0;
    max-width: calc(600px + 10%);
    padding: 0 5%;
}

@media (min-width: 360px) and (max-width: 999px){
	.reason h2+p {
	text-align: center;
	}
}

@media(min-width: 1000px) {
    .reason h2+p {
        font-size: 1.6rem;
        margin: 45px auto 0;
        max-width: calc(1200px + 10%);
        padding: 0 5%
    }
	/* HTMLで挿入したスマホ専用の改行タグをPCでは非表示にする */
    .reason h2+p br.sp {
        display: none;
    }
}

.reason ul {
    padding: 0 5% 40px;
    max-width: calc(600px + 10%);
    margin: 0 auto
}

@media(min-width: 1000px) {
    .reason ul {
        padding: 60px 0;
        max-width: 1080px;
        display: flex;
        flex-wrap: wrap;
        position: relative
    }

    .reason ul::before,
    .reason ul::after {
        content: "";
        display: block;
        width: 50%;
        height: 1px;
        position: absolute;
        top: calc(50% + 60px)
    }

    .reason ul::before {
        left: 0;
        background-color: #dbf0fa
    }

    .reason ul::after {
        right: 0;
        background-color: #ecf7fc
    }
}

.reason ul li {
    position: relative;
    padding-top: 40px
}

@media(min-width: 1000px) {
    .reason ul li {
        width: 50%;
        padding: 60px 40px
    }

    .reason ul li:nth-of-type(odd) .base {
        color: #dbf0fa
    }

    .reason ul li:nth-of-type(even) .base {
        color: #ecf7fc
    }
}

.reason ul li+li {
    margin-top: 40px
	
}

@media(min-width: 1000px) {
    .reason ul li+li {
        margin-top: 0
    }
}

.reason ul li+li::before,
.reason ul li+li::after {
    content: "";
    display: block;
    width: 50%;
    height: 1px;
    position: absolute;
    top: 0
}

@media(min-width: 1000px) {

    .reason ul li+li::before,
    .reason ul li+li::after {
        display: none
    }
}

.reason ul li+li::before {
    left: 0;
    background-color: #dbf0fa
}

.reason ul li+li::after {
    right: 0;
    background-color: #ecf7fc
}

.reason ul li .base {
    position: absolute;
    top: 20px;
    right: 0;
    color: #ecf7fc
}

@media(min-width: 1000px) {
    .reason ul li .base {
        top: 40px;
        right: 40px
    }
}

.reason ul li h3 {
    font-size: 1.8rem;
    font-weight: 900;
    text-align: right
}

@media(min-width: 1000px) {
    .reason ul li h3 {
        font-size: 2rem
    }
}

.reason ul li h3>span {
    display: block;
    font-size: 10rem;
    font-family: "Noto Serif JP", serif;
    margin-top: -5px
}

@media(min-width: 1000px) {
    .reason ul li h3>span {
        font-size: 12rem;
        margin-top: -10px
    }
}

.reason ul li .inner {
    position: relative;
    z-index: 2
}

.reason ul li .inner p {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-top: 30px
}
/* ------------------------------------- */
/* --- トップページ .reason p 特定語句の色変更 --- */
/* ------------------------------------- */

/* .reason ul li .inner p 内の .highlight クラスに色を適用 */
#top .reason ul li .inner p .highlight {
    color: #0095d8; /* ★ご希望のカラーコードに変更してください（例: オレンジ）★ */
    font-weight: bold; /* 必要に応じて太字も追加できます */
}

.reason ul li .inner p br {
    display: none
}

@media(min-width: 1000px) {
    .reason ul li .inner p br {
        display: block
    }
}

.reason ul li h4 {
    font-size: 2.4rem;
    font-family: "Noto Serif JP", serif;
    line-height: 1.5
}

@media(min-width: 360px) {
    .reason ul li h4 {
        font-size: 3rem
    }
}

@media(min-width: 1000px) {
    .reason ul li h4 {
        min-height: 90px;
        display: flex;
        align-items: center
    }
}

.reason ul li h4>span {
    color: #0095d8
}

/* ----------------------------------------------------- */
/* --- トップページ（#top）専用のスマートフォン向け修正 (max-width: 999px) --- */
/* ----------------------------------------------------- */
@media (max-width: 999px) {
    
    /* 1. フォントサイズの変更（h4>span） */
    #top .reason ul li h4 > span {
		font-size: 2.4rem;
    }
	
	/* 2. Reason 1と2の改行幅（行間）を狭くする */
    #top .reason ul li h4,
    #top .reason ul li h4 span {
    	line-height: 1.2;
    }

    /* 3. Reason 3と4のh4のみマージンを設定し、accordionを押し下げる */
    
    /* Reason 3（3番目のli）の中のh4にマージンを設定 */
    #top .reason ul li:nth-child(3) h4 {
        margin-top: 0;
        margin-bottom: 65px; /* ★Reason 3/4のずれ込み解消用の間隔★ */
        padding: 0;
    }
    
    /* Reason 4（4番目のli）の中のh4にマージンを設定 */
    #top .reason ul li:nth-child(4) h4 {
        margin-top: 0;
        margin-bottom: 65px; 
        padding: 0;
    }

    /* 4. h4の直後にある.accordionの上マージンをリセットし、h4のマージンを優先させる */
    /* このリセットもReason 3と4のみに適用されます */
    #top .reason ul li:nth-child(3) h4 + .accordion,
    #top .reason ul li:nth-child(4) h4 + .accordion {
        margin-top: 0; /* accordionの上部マージンをリセット */
    }

    /* 5. 最後の要素の食い込み防止（Reason 4の直後の要素との間隔） */
    /* 必要に応じて、Reason 4のli要素自体に下マージンを設定します */
    #top .reason ul li:last-child {
        margin-bottom: 35px; /* 下部要素との間隔（例） */
    }
    
    /* 6. 食い込み防止のためにli内部の最後の要素のマージンは0を維持 */
    #top .reason ul li:last-child :last-child {
    	margin-bottom: 0;	
    }
    
    /* 7. リストマーカーの崩れと要素の左ずれを防ぐ（もし必要であれば） */
    #top .reason ul li {
        list-style-position: inside;	
        padding-left: 1.5em;	 	
    }
}

dl.dlTpl {
    border: 1px solid #d9d9d9
}

@media(min-width: 1000px) {
    dl.dlTpl {
        display: flex;
        flex-wrap: wrap;
        font-size: 1.6rem
    }
}

dl.dlTpl dt {
    font-weight: 600;
    padding: 10px 15px;
    background-color: #f5f5f5
}

@media(min-width: 1000px) {
    dl.dlTpl dt {
        width: 200px;
        display: flex;
        align-items: center;
        padding: 20px;
        border-right: 1px solid #d9d9d9
    }
}

dl.dlTpl dt.advanced {
    background-color: #293337;
    color: #fff
}

dl.dlTpl dd {
    line-height: 1.6;
    padding: 15px;
    border-top: 1px solid #d9d9d9
}

@media(min-width: 1000px) {
    dl.dlTpl dd {
        width: calc(100% - 200px);
        padding: 20px
    }
}

@media(min-width: 1000px) {
    dl.dlTpl dd:first-of-type {
        border-top: none
    }
}

dl.dlTpl dd+dt {
    border-top: 1px solid #d9d9d9
}

#header {
    height: 50px;
    width: 100%;
    padding: 0 5%;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 11;
    background-color: #fff;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, .08)
}

@media(min-width: 1000px) {
    #header {
        height: 150px;
        padding: 0;
        flex-wrap: wrap
    }
}

#header .logo {
    height: 30px
}

@media(min-width: 1000px) {
    #header .logo {
        height: 40px;
        width: 246px;
        margin: 20px 0 0 5%
    }
}

#header .logo a {
    display: block;
    height: 100%
}

#header .logo img {
    width: auto;
    height: 100%
}

#header .inquiry {
    display: 
}

@media(min-width: 1000px) {
    #header .inquiry {
        width: calc(90% - 246px);
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        margin: 20px 5% 0 auto;
        padding-left: 20px
    }

    #header .inquiry .address {
        margin: 0 auto 0 0;
        font-size: 1.2rem;
        line-height: 1.4
    }

    #header .inquiry .tel {
        height: 40px
    }

    #header .inquiry .tel .tel_inner {
        display: block;
        height: 100%;
        text-align: right;
        cursor: pointer
    }

    #header .inquiry .tel .tel_inner .tel_decoration {
        padding-left: 30px;
        margin-bottom: 0;
        font-size: 2.3rem;
        font-weight: 600;
        color: #293337;
        display: block;
        background-image: url("img/common/icon_tel.svg");
        background-repeat: no-repeat;
        background-position: 0 0;
        background-size: contain
    }

    #header .inquiry .tel .tel_inner .tel_text {
        display: inline-block;
        font-size: 1.2rem;
        font-weight: 600;
        line-height: 1;
        text-decoration: underline;
        background-image: url("img/common/icon_arrow.svg");
        background-repeat: no-repeat;
        background-position: 0 1px;
        background-size: auto 12px;
        padding-left: 16px
    }

    #header .inquiry .mail {
        width: 220px;
        height: 40px;
        margin-left: 20px
    }

    #header .inquiry .mail a {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        font-size: 1.2rem;
        font-weight: 600;
        color: #fff;
        background-color: #006fa8;
        overflow: hidden;
        position: relative
    }

    #header .inquiry .mail a::after {
        content: "";
        display: block;
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background-color: #706291;
        transition: transform 600ms cubic-bezier(0.8, 0, 0.2, 1) 0s;
        transform: scale(0, 1);
        transform-origin: right top
    }

    #header .inquiry .mail a:hover::after {
        transform-origin: left top;
        transform: scale(1, 1)
    }

    #header .inquiry .mail a>span {
        position: relative;
        z-index: 2
    }

    #header .inquiry .mail a>span {
        height: 100%;
        padding-left: 25px;
        background-image: url("img/common/icon_mail.svg");
        background-repeat: no-repeat;
        background-position: 0 50%;
        background-size: auto 18px;
        display: flex;
        align-items: center
    }
}

@media(max-width: 999px) {
    #header .inquiry {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        margin: 20px 5% 20px auto;
        padding-left: 5px
    }

    #header .inquiry .address {
        margin: 0 auto 0 0;
        font-size: 0.8rem;
        line-height: 1.4
    }

    #header .inquiry .tel {
        display: none
    }

    #header .inquiry .tel .tel_inner {
        display: none
    }

    #header .inquiry .tel .tel_inner .tel_decoration {
        display: none
    }

    #header .inquiry .tel .tel_inner .tel_text {
        display: none
    }

    #header .inquiry .mail {
        display: none
    }

    #header .inquiry .mail a {
        display: none
    }

    #header .inquiry .mail a::after {
        display: none
    }

    #header .inquiry .mail a:hover::after {
        display: none
    }

    #header .inquiry .mail a>span {
        display: none
    }

    #header .inquiry .mail a>span {
        display: none
    }
}

#header .nav {
    width: 100%;
    height: calc(100% - 50px);
    background-color: rgba(255, 255, 255, .9);
    position: fixed;
    top: 50px;
    right: -100%;
    opacity: 0;
    transition: all 600ms 0s ease;
    z-index: 10
}

@media(min-width: 360px) {
    #header .nav {
        width: 50%
    }
}

@media(min-width: 1000px) {
    #header .nav {
        width: 100%;
        height: 70px;
        background-color: rgba(0, 0, 0, 0);
        position: static;
        top: auto;
        right: auto;
        opacity: 1;
        border-top: 1px solid #d9d9d9;
        margin-top: 20px;
    }
}

#header .nav.active {
    opacity: 1;
    right: 0
}

#header .nav ul {
    padding: 30px 0 0 15px
}

@media(min-width: 1000px) {
    #header .nav ul {
        padding: 0;
        display: flex;
        height: inherit
    }
}

@media(min-width: 1000px) {
    #header .nav ul li {
        width: 16.6666666667%;
        height: 100%
    }
}

#header .nav ul li+li {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #d9d9d9
}

@media(min-width: 1000px) {
    #header .nav ul li+li {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
        border-left: 1px solid #d9d9d9
    }
}

#header .nav ul li a {
    font-size: 1.4rem;
    font-family: "Noto Serif JP", serif
}

@media(min-width: 1000px) {
    #header .nav ul li a {
        text-align: center;
        display: block;
        height: inherit;
        padding-top: 20px
    }
}

#header .nav ul li a::after {
    content: attr(data-desc);
    display: block;
    font-size: 1rem;
    font-weight: 900;
    font-family: "Noto Sans JP", sans-serif;
    color: #0095d8;
    margin: 10px 0 0 0
}

@media(min-width: 1000px) {
    #header .nav ul li a::after {
        width: 100%;
        margin: 7px 0 0 0;
        transition: all 300ms 0s ease
    }
}

@media(min-width: 1000px) {
    #header .nav ul li a:hover::after {
        color: #706291
    }
}

#header .button {
    position: absolute;
    top: 9px;
    right: 5%;
    width: 32px;
    height: 32px;
    z-index: 11
}

@media(min-width: 1000px) {
    #header .button {
        display: none
    }
}

#header .button>span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #0095d8;
    position: absolute;
    left: 0;
    transition: all 300ms 0s ease
}

#header .button>span:nth-of-type(1) {
    top: calc(50% - 4px)
}

#header .button>span:nth-of-type(2) {
    top: calc(50% + 4px)
}

#header .button.active>span {
    top: calc(50% - 1px);
    left: calc(50% - 16px)
}

#header .button.active>span:nth-of-type(1) {
    transform: rotate(-45deg)
}

#header .button.active>span:nth-of-type(2) {
    transform: rotate(45deg)
}

main {
    position: relative;
    margin-top: 50px
}

@media(min-width: 1000px) {
    main {
        margin-top: 150px
    }
}

main::before,
main::after {
    content: "";
    display: block;
    width: 50%;
    height: 100%;
    background-color: #ecf7fc;
    position: absolute;
    top: 0;
    z-index: -1
}

main::before {
    background-color: #ecf7fc;
    left: 0
}

main::after {
    background-color: #dbf0fa;
    right: 0
}

main#info {
    height: calc(100vh - 100px);
    text-align: center;
    position: relative
}

@media(min-width: 1000px) {
    main#info {
        height: calc(100vh - 360px)
    }
}

main#info>.inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%)
}

main#info p {
    font-size: 1rem;
    line-height: 1.75;
    white-space: nowrap
}

main#info p.num {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1
}

main#info p.num span {
    font-size: 1rem;
    display: block;
    margin-top: 10px
}

#footer {
    padding: 40px 5% 80px
}

@media(min-width: 1000px) {
    #footer {
        padding: 60px 5% 20px
    }
}

#footer .nav ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center
}

@media(min-width: 1000px) {
    #footer .nav ul {
        justify-content: center
    }
}

#footer .nav ul li {
    margin: 10px 15px 10px 0;
    padding-right: 15px;
    position: relative
}

#footer .nav ul li a {
    font-size: 1.2rem;
    color: #9da3a7
}

@media(min-width: 1000px) {
    #footer .nav ul li a:hover {
        text-decoration: underline
    }
}

#footer .nav ul li::after {
    content: "";
    display: block;
    width: 1px;
    height: 1em;
    background-color: #9da3a7;
    position: absolute;
    top: 0;
    right: 0
}

#footer .nav ul li:last-of-type {
    margin-right: 0;
    padding-right: 0
}

#footer .nav ul li:last-of-type::after {
    display: none
}

#footer .logo {
    width: 246px;
    margin: 40px auto 10px
}

#footer .logo a {
    display: block;
    height: 100%
}

#footer small {
    display: block;
    font-size: 1rem;
    text-align: center;
    color: #9da3a7
}

#footer .inquiry {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    padding: 0 3%;
    overflow: hidden
}

@media(min-width: 1000px) {
    #footer .inquiry {
        display: none
    }
}

#footer .inquiry .tel {
    width: 157px;
    min-width: 157px;
    height: 40px
}

#footer .inquiry .tel .tel_inner {
    display: block;
    height: 100%;
    font-size: 1rem;
    text-align: right
}

#footer .inquiry .tel .tel_inner .tel_decoration {
    padding-left: 25px;
    margin-bottom: 3px;
    font-size: 2rem;
    font-weight: 600;
    display: block;
    background-image: url("img/common/icon_tel.svg");
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: contain
}

#footer .inquiry .tel .tel_inner .tel_text {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: underline;
    background-image: url("img/common/icon_arrow.svg");
    background-repeat: no-repeat;
    background-position: 0 1px;
    background-size: auto 12px;
    padding-left: 16px
}

#footer .inquiry .mail {
    width: 180px;
    height: 40px;
    margin: 0 0 0 10px
}

#footer .inquiry .mail a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background-color: #006fa8
}

#footer .inquiry .mail a>span {
    height: 100%;
    padding-left: 18px;
    background-image: url("img/common/icon_mail.svg");
    background-repeat: no-repeat;
    background-position: 0 50%;
    background-size: auto 14px;
    display: flex;
    align-items: center
}

#footer .inquiry .mail a>span>span {
    display: none
}

@media(min-width: 360px) {
    #footer .inquiry .mail a>span>span {
        display: inline
    }
}

.cta {
    padding: 40px 0;
    background-color: #003366
}

@media(min-width: 1000px) {
    .cta {
        padding: 60px 0
    }
}

.cta>h2 {
    color: #fff;
    font-family: "Noto Serif JP", serif;
    font-size: 2rem;
    text-align: center;
    line-height: 1.6
}

@media(min-width: 360px) {
    .cta>h2 {
        font-size: 2.4rem
    }

    .cta>h2 .ssize {
        display: none
    }
}

@media(min-width: 1000px) {
    .cta>h2 {
        font-size: 3.6rem
    }
}

.cta>ul {
    margin-top: 30px
}

@media(min-width: 1000px) {
    .cta>ul {
        margin: 60px auto 0;
        display: flex;
        align-items: center;
        max-width: 720px;
        position: relative
    }
}

@media(min-width: 1000px) {
    .cta>ul::after {
        content: "";
        display: block;
        height: 100%;
        width: 1px;
        background-color: #425157;
        position: absolute;
        top: 0;
        left: 50%
    }
}

.cta>ul>li.tel {
    max-width: 240px;
    margin: 0 auto;
    cursor: pointer
}

@media(min-width: 1000px) {
    .cta>ul>li.tel {
        max-width: none;
        width: 50%;
        margin: 0 40px 0 0
    }
}

.cta>ul>li.tel .tel_inner {
    display: block;
    height: 100%;
    font-size: 1.3rem;
    text-align: center;
    color: #fff
}

@media(min-width: 1000px) {
    .cta>ul>li.tel .tel_inner {
        text-align: center
    }
}

.cta>ul>li.tel .tel_inner .tel_decoration {
    padding-left: 40px;
    margin-bottom: 10px;
    font-size: 3rem;
    font-weight: 600;
    display: block;
    background-image: url("img/common/icon_tel.svg");
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: contain
}

@media(min-width: 1000px) {
    .cta>ul>li.tel .tel_inner .tel_decoration {
        padding-left: 55px;
        font-size: 4rem
    }
}

.cta>ul>li.tel .tel_inner .tel_text {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: underline;
    background-image: url(img/common/icon_arrow_02.svg);
    background-repeat: no-repeat;
    background-position: 0 1px;
    background-size: auto 12px;
    padding-left: 20px
}

.cta>ul>li.mail {
    width: 300px;
    margin: 30px auto 0
}

@media(min-width: 1000px) {
    .cta>ul>li.mail {
        max-width: none;
        width: 50%;
        margin: 0 0 0 40px
    }
}

.cta>ul>li.mail .decoration {
    font-size: 1.3rem;
    text-align: center;
    color: #fff;
    margin-top: 15px
}

@media(min-width: 1000px) {
    .cta>ul>li.mail .decoration {
        margin-top: 10px
    }
}

.cta>ul>li.mail a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    background-color: #006fa8
}

@media(min-width: 1000px) {
    .cta>ul>li.mail a {
        overflow: hidden;
        position: relative
    }

    .cta>ul>li.mail a::after {
        content: "";
        display: block;
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background-color: #706291;
        transition: transform 600ms cubic-bezier(0.8, 0, 0.2, 1) 0s;
        transform: scale(0, 1);
        transform-origin: right top
    }

    .cta>ul>li.mail a:hover::after {
        transform-origin: left top;
        transform: scale(1, 1)
    }

    .cta>ul>li.mail a>span {
        position: relative;
        z-index: 2
    }
}

.cta>ul>li.mail a>span {
    height: 100%;
    padding: 0 25px 0 30px;
    background-image: url("img/common/icon_mail.svg");
    background-repeat: no-repeat;
    background-position: 0 50%;
    background-size: auto 22px;
    display: flex;
    align-items: center;
    position: relative
}

.cta>ul>li.mail a>span::after {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    position: absolute;
    top: calc(50% - 7px);
    right: 0;
    background-image: url(img/common/icon_arrow_02.svg);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 100% auto
}

.wp-pagenavi {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    max-width: 600px;
    margin: 40px auto 0;
    font-size: 1.4rem;
    line-height: 1
}

@media(min-width: 1000px) {
    .wp-pagenavi {
        max-width: none
    }
}

.wp-pagenavi .pages {
    display: flex;
    align-items: center;
    height: 40px;
    color: #0095d8;
    border: 1px solid #0095d8;
    padding: 0 15px;
    margin: 5px 5px 5px 0;
    font-weight: 900
}

.wp-pagenavi .page {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    margin: 5px;
    font-weight: 600;
    color: #0095d8;
    border: 1px solid #0095d8
}

@media(min-width: 1000px) {
    .wp-pagenavi .page {
        transition: all 150ms 0s ease
    }

    .wp-pagenavi .page:hover {
        background-color: #706291;
        color: #fff;
        border-color: #706291
    }
}

.wp-pagenavi .current {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    font-weight: 900;
    background-color: #0095d8;
    color: #fff;
    margin: 5px
}

.wp-pagenavi .extend {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    font-weight: 600;
    color: #0095d8
}

#top .hero {
    height: 335px;
    background-image: url("img/top/top_bg_01.jpg");
    background-repeat: no-repeat;
    background-position: 50% 0;
    background-size: auto 100%;
    overflow: hidden
}

@media(min-width: 1000px) {
    #top .hero {
        height: 670px;
        background-position: 50% 50%;
        background-size: cover
    }
}

#top .hero .inner {
    height: 100%;
    position: relative
}

@media(min-width: 1000px) {
    #top .hero .inner {
        max-width: 1200px;
        margin: 0 auto
    }
}

#top .hero h1 {
    font-family: "Noto Serif JP", serif;
    font-size: 2rem;
    letter-spacing: .2em;
    line-height: 1.7;
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    margin-left: .2em
}

@media(min-width: 360px)and(max-width: 999px) {
    #top .hero h1 {
        font-size: 2.4rem
		left: 0px;
        margin-left: -10px;
    }
}

@media(min-width: 1000px) {
    #top .hero h1 {
        font-size: 4rem;
        letter-spacing: .2em;
        top: 110px;
        left: 60px;
        transform: translateX(0);
        margin-left: 0
    }
}

#top .hero h1>span.first {
    color: #003854
}

#top .hero h1>span.second {
    color: #FF943E
}

#top .hero h1>span.third {
    color: #006fa8
}

#top .hero .inquiry {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: calc(50% + 121px)
}

@media(min-width: 1000px) {
    #top .hero .inquiry {
        bottom: 170px;
        left: 0;
        width: 578px
    }
}

#top .hero .inquiry>a {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #006fa8;
    color: #fff;
    height: 40px;
    font-size: 1rem
}

@media(min-width: 360px) {
    #top .hero .inquiry>a {
        font-size: 0
    }
}

@media(min-width: 1000px) {
    #top .hero .inquiry>a {
        height: 80px;
        font-size: 2rem;
        overflow: hidden;
        position: relative
    }

    #top .hero .inquiry>a::after {
        content: "";
        display: block;
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background-color: #706291;
        transition: transform 600ms cubic-bezier(0.8, 0, 0.2, 1) 0s;
        transform: scale(0, 1);
        transform-origin: right top
    }

    #top .hero .inquiry>a:hover::after {
        transform-origin: left top;
        transform: scale(1, 1)
    }

    #top .hero .inquiry>a>span {
        position: relative;
        z-index: 2
    }
}

#top .hero .inquiry>a>span+span {
    font-weight: 600;
    border-left: 1px solid #fff;
    margin-left: 10px;
    padding: 0 15px 0 10px;
    position: relative
}

@media(min-width: 360px) {
    #top .hero .inquiry>a>span+span {
        margin-left: 15px;
        padding: 0 25px 0 15px
    }
}

@media(min-width: 1000px) {
    #top .hero .inquiry>a>span+span {
        margin-left: 30px;
        padding: 0 40px 0 30px
    }
}

#top .hero .inquiry>a>span+span::after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    position: absolute;
    top: calc(50% - 5px);
    right: 0;
    background-image: url("img/common/icon_arrow_02.svg");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 100% auto
}

@media(min-width: 360px) {
    #top .hero .inquiry>a>span+span::after {
        width: 16px;
        height: 16px;
        top: calc(50% - 8px)
    }
}

@media(min-width: 1000px) {
    #top .hero .inquiry>a>span+span::after {
        width: 20px;
        height: 20px;
        top: calc(50% - 10px)
    }
}

#top .topics {
    color: #fff;
    font-size: 1.2rem;
    background-color: #003366;
    padding: 30px 5%
}

@media(min-width: 1000px) {
    #top .topics {
        font-size: 1.4rem;
        padding: 40px 5%;
        max-width: 1080px;
        margin: -90px auto 0;
        display: flex;
        position: relative;
        z-index: 2
    }
}

#top .topics h2 {
    font-size: 1.8rem;
    font-weight: 900;
    text-align: center
}

@media(min-width: 1000px) {
    #top .topics h2 {
        white-space: nowrap
    }
}

#top .topics ul {
    max-width: 600px;
    margin: 30px auto 0
}

@media(min-width: 1000px) {
    #top .topics ul {
        max-width: none;
        margin: 0 0 0 40px;
        width: 100%
    }
}

#top .topics ul li+li {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #425157
}

@media(min-width: 1000px) {
    #top .topics ul li+li {
        margin-top: 20px;
        padding-top: 20px
    }
}

#top .topics ul li a {
    display: flex;
    flex-wrap: wrap
}

@media(min-width: 1000px) {
    #top .topics ul li a {
        flex-wrap: nowrap
    }
}

@media(min-width: 1000px) {
    #top .topics ul li a:hover .title {
        text-decoration: none
    }
}

#top .topics ul li .date {
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    height: 20px;
    margin-right: 10px;
    display: flex;
    align-items: center
}

@media(min-width: 1000px) {
    #top .topics ul li .date {
        font-size: 1.4rem;
        height: 25px;
        margin-right: 20px
    }
}

#top .topics ul li .category {
    min-width: 60px;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    background-color: #0095d8;
    height: 20px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px
}

@media(min-width: 1000px) {
    #top .topics ul li .category {
        font-size: 1.1rem;
        height: 25px;
        margin-right: 20px;
        padding: 0 10px
    }
}

#top .topics ul li .title {
    width: 100%;
    line-height: 1.6;
    text-decoration: underline;
    margin-top: 10px
}

@media(min-width: 1000px) {
    #top .topics ul li .title {
        width: auto;
        margin-top: 0
    }
}

#top .focus {
    padding: 40px 0
}

@media(min-width: 1000px) {
    #top .focus {
        padding-top: 80px;
		padding-bottom: 120px;
    }
}

#top .focus h2 {
    font-size: 2.4rem;
    text-align: center
}

@media(min-width: 1000px) {
    #top .focus h2 {
        font-size: 6rem
    }
}

#top .focus h2>span {
    display: block;
    font-size: 1.2rem;
    color: #0095d8;
    margin-top: 15px
}

@media(min-width: 1000px) {
    #top .focus h2>span {
        font-size: 3rem;
        margin-top: 40px
    }
}

#top .focus ul {
    display: flex;
    flex-wrap: wrap;
    margin: 40px auto 0;
    padding: 0 5%;
    max-width: calc(600px + 10%)
}

@media(min-width: 1000px) {
    #top .focus ul {
        margin-top: 60px;
        max-width: calc(1200px + 10%)
    }
}

#top .focus ul li {
    width: 50%;
    font-size: 1.2rem;
    position: relative
}

@media(min-width: 1000px) {
    #top .focus ul li {
        width: 25%;
        font-size: 1.4rem;
        background: linear-gradient(to bottom right, #0095d8, #706291)
    }
}

#top .focus ul li>a {
    display: block;
    height: 100%;
    padding: 30px 0 40px;
    position: relative;
    background-color: #fff;
    border-left: 1px solid #f5f5f5;
    border-top: 1px solid #f5f5f5
}

@media(min-width: 1000px) {
    #top .focus ul li>a {
        padding: 40px 0 52px;
        transition: all 300ms 0s ease
    }

    #top .focus ul li>a:hover {
        transform: translate(-15px, -15px)
    }
}

#top .focus ul li h3 {
    font-size: 1rem;
    font-weight: 900;
    text-align: center;
    color: #0095d8
}

#top .focus ul li h3>span {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 3px;
    font-family: "Noto Serif JP", serif;
    color: #293337
}

@media(min-width: 1000px) {
    #top .focus ul li h3>span {
        font-size: 2.4rem;
        margin-top: 6px
    }
}

#top .focus ul li .icon {
    display: block;
    width: 60px;
    height: 60px;
    margin: 15px auto
}

@media(min-width: 1000px) {
    #top .focus ul li .icon {
        width: 80px;
        height: 80px
    }
}

#top .focus ul li h4 {
    font-family: "Noto Serif JP", serif;
    font-size: 1.2rem;
    line-height: 1.4;
    min-height: 35px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center
}

@media(min-width: 360px) {
    #top .focus ul li h4 {
        min-height: 45px;
        font-size: 1.8rem;
		line-height: 1.2;
		font-weight: 600;
    }
}

@media(min-width: 1000px) {
    #top .focus ul li h4 {
        min-height: 55px;
        font-size: 2.0rem;
		line-height: 1.3 !important;
		font-weight: 600
    }
}

#top .focus ul li p {
    margin-top: 15px;
    padding: 0 15px;
    font-size: 1rem;
    line-height: 1.4;
    color: #999
}

@media(min-width: 1000px) {
    #top .focus ul li p {
        font-size: 1.2rem;
        line-height: 1.6;
        padding: 0 40px
    }
}

#top .focus ul li .moreArrow {
    position: absolute;
    bottom: 15px;
    right: 15px
}

@media(min-width: 1000px) {
    #top .focus ul li .moreArrow {
        bottom: 20px;
        right: 20px
    }
}

#top .about {
    padding: 0 0 40px
}

@media(min-width: 1000px) {
    #top .about {
        padding: 0 0 120px
    }
}

#top .about .intro {
    overflow: hidden;
    padding: 60px 0 90px;
    background-image: url("img/top/top_bg_02.jpg");
    background-repeat: no-repeat;
    background-position: 50% 0;
    background-size: cover
}

@media(min-width: 1000px) {
    #top .about .intro {
        padding: 120px 0 140px
    }
}

#top .about .intro h2 {
    font-family: "Noto Serif JP", serif;
    font-size: 2rem;
    letter-spacing: .2em;
    color: #fff;
    text-align: center;
    margin-bottom: 40px
}

@media(min-width: 360px) {
    #top .about .intro h2 {
        font-size: 2.4rem
    }
}

@media(min-width: 1000px) {
    #top .about .intro h2 {
        font-size: 4rem;
        margin-bottom: 80px
    }
}

#top .about .intro p {
    font-family: "Noto Serif JP", serif;
    font-size: 1.1rem;
    line-height: 2.4;
    color: #fff;
    text-align: center
}

@media(min-width: 360px) {
    #top .about .intro p {
        font-size: 1.4rem
    }
}

@media(min-width: 1000px) {
    #top .about .intro p {
        font-size: 1.6rem;
        line-height: 3.2;
        letter-spacing: .4em
    }
}

@media(min-width: 1000px) {
    #top .about .intro p>.msize {
        display: none
    }
}

#top .about ul {
    padding: 0 5%;
    margin: 0 auto 0;
    max-width: calc(400px + 10%)
}

@media(min-width: 1000px) {
    #top .about ul {
        margin: 0 auto 0;
        max-width: calc(1080px + 10%);
        display: flex;
        flex-wrap: wrap
    }
}@media(min-width: 1000px) {
    #top .about ul>li {
        display: flex;
        width: 33.3333333333%;
        background: linear-gradient(to bottom right, #0095d8, #706291)
    }
}

#top .about ul>li+li {
    margin-top: 15px
}

@media(min-width: 1000px) {
    #top .about ul>li+li {
        margin-top: 0
    }
}

#top .about ul>li>a {
    display: block;
    height: 100%;
    background-color: #fff;
    padding-bottom: 40px;
    position: relative
}

@media(min-width: 1000px) {
    #top .about ul>li>a {
        border-left: 1px solid #f5f5f5;
        border-top: 1px solid #f5f5f5;
        padding-bottom: 52px;
        transition: all 300ms 0s ease
    }

    #top .about ul>li>a:hover {
        transform: translate(-15px, -15px)
    }
}

#top .about ul>li .img {
    display: block
}

#top .about ul>li h3 {
    margin-top: 15px;
    text-align: center;
    font-size: 1.8rem
}

@media(min-width: 1000px) {
    #top .about ul>li h3 {
        margin-top: 30px;
        font-size: 2.8rem
    }
}

#top .about ul>li h3>span {
    display: block;
    font-size: 1rem;
    color: #0095d8;
    margin-top: 10px
}

@media(min-width: 1000px) {
    #top .about ul>li h3>span {
        font-size: 1.4rem;
        margin-top: 20px
    }
}

#top .about ul>li p {
    margin-top: 15px;
    padding: 0 15px;
    font-size: 1.2rem;
    line-height: 1.4;
    color: #999
}

@media(min-width: 1000px) {
    #top .about ul>li p {
        margin-top: 30px;
        font-size: 1.2rem;
        line-height: 1.6;
        padding: 0 40px
    }
}

#top .about ul>li .moreArrow {
    position: absolute;
    bottom: 15px;
    right: 15px
}

@media(min-width: 1000px) {
    #top .about ul>li .moreArrow {
        bottom: 20px;
        right: 20px
    }
}

#top .access {
    background-color: #fff;
    padding: 40px 5%;
    max-width: 600px;
    margin: 0 auto
}

@media(min-width: 1000px) {
    #top .access {
        padding: 60px 40px;
        max-width: 1200px;
        display: flex;
        margin-bottom: 120px
    }
}

@media(min-width: 1000px) {
    #top .access .head {
        width: 50%;
        padding-right: 40px
    }
}

#top .access .head>h2 {
    font-size: 2.4rem;
    text-align: center
}

@media(min-width: 1000px) {
    #top .access .head>h2 {
        font-size: 4.4rem;
        text-align: left;
        display: flex;
        align-items: end
    }
}

#top .access .head>h2>span {
    display: block;
    font-size: 1.2rem;
    color: #0095d8;
    margin-top: 15px
}

@media(min-width: 1000px) {
    #top .access .head>h2>span {
        font-size: 2.2rem;
        margin: 0 0 0 15px
    }
}

#top .access .head>dl {
    margin-top: 40px;
    line-height: 1.6
}

@media(min-width: 1000px) {
    #top .access .head>dl {
        margin-top: 70px;
        display: flex;
        flex-wrap: wrap
    }
}

#top .access .head>dl>dt {
    font-size: 1.8rem;
    font-weight: 600
}

@media(min-width: 1000px) {
    #top .access .head>dl>dt {
        width: 120px;
        border-bottom: 1px solid #d9d9d9;
        margin-bottom: 40px;
        padding-bottom: 40px
    }

    #top .access .head>dl>dt:last-of-type {
        margin-bottom: 0
    }
}

#top .access .head>dl>dd {
    margin-top: 15px
}

@media(min-width: 1000px) {
    #top .access .head>dl>dd {
        margin: 0 0 40px;
        width: calc(100% - 120px);
        border-bottom: 1px solid #d9d9d9;
        padding: 0 0 40px 0
    }

    #top .access .head>dl>dd:last-of-type {
        margin-bottom: 0
    }
}

#top .access .head>dl>dd p+p {
    margin-top: 1.5em
}

#top .access .head>dl>dd p.supplement>span {
    font-size: 1.4rem;
    padding: 15px 0 0 0;
    line-height: 1.5
}

#top .access .head>dl>dd p.supplement {
    font-size: 1rem;
    border-top: 1px solid #d9d9d9;
    padding: 15px 0 0 0;
    line-height: 1.5
}

#top .access .head>dl>dd p .bold_text {
    font-weight: 600;
    display: block;
    margin-bottom: 1em
}

#top .access .head>dl>dd+dt {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #d9d9d9
}

@media(min-width: 1000px) {
    #top .access .head>dl>dd+dt {
        margin-top: 0;
        padding-top: 0;
        border-top: none
    }
}

#top .access .map {
    margin-top: 40px
}

@media(min-width: 1000px) {
    #top .access .map {
        width: 50%;
        margin-top: 0
    }
}

#top .access .map>a {
    display: inline-block;
    margin: 15px 0 0 15px;
    text-decoration: underline
}

.lower .head {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff
}

@media(min-width: 1000px) {
    .lower .head {
        height: 200px
    }
}

.lower .head h1 {
    font-size: 2.6rem;
    text-align: center
}

@media(min-width: 360px) {
    .lower .head h1 {
        font-size: 2.4rem
    }
}

@media(min-width: 1000px) {
    .lower .head h1 {
        font-size: 4rem
    }
}

.lower .head h1>span {
    font-size: 1.5rem;
    color: #0095d8;
    display: block;
    margin-top: 15px
}

@media(min-width: 1000px) {
    .lower .head h1>span {
        font-size: 2rem;
        margin-top: 20px
    }
}

.lower .inner {
    padding: 40px 5%
}

@media(min-width: 1000px) {
    .lower .inner {
        padding: 60px 5%;
        max-width: calc(1200px + 10%);
        margin: 0 auto
    }
}

.lower .categories {
    max-width: 600px;
    margin: 0 auto 40px
}

@media(min-width: 1000px) {
    .lower .categories {
        max-width: none;
        margin: 0 0 0 auto;
        order: 2;
        width: calc(30% - 40px);
        position: sticky;
        top: 190px
    }
}

.lower .categories h2 {
    font-size: 1.8rem;
    font-weight: 900;
    background-color: #fff;
    color: #0095d8;
    padding: 15px;
    margin-bottom: 5px
}

.lower .categories ul {
    display: flex;
    flex-wrap: wrap
}

.lower .categories ul li {
    margin: 10px 10px 0 0
}

.lower .categories ul li a {
    display: block;
    background-color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 10px 10px
}

@media(min-width: 1000px) {
    .lower .categories ul li a {
        transition: all 150ms 0s ease
    }

    .lower .categories ul li a:hover {
        background-color: #706291;
        color: #fff
    }
}

.lower .archives {
    max-width: 600px;
    margin: 0 auto
}

@media(min-width: 1000px) {
    .lower .archives {
        max-width: none;
        margin: 0;
        order: 1;
        width: 70%
    }
}

@media(min-width: 1000px) {
    .lower .archives ul li {
        background: linear-gradient(to bottom right, #0095d8, #706291)
    }
}

.lower .archives ul li a {
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    padding: 20px 15px;
    border-left: 1px solid #f5f5f5;
    border-top: 1px solid #f5f5f5
}

@media(min-width: 1000px) {
    .lower .archives ul li a {
        padding: 40px;
        transition: all 300ms 0s ease
    }

    .lower .archives ul li a:hover {
        transform: translate(-15px, -15px)
    }

    .lower .archives ul li a:hover .title {
        text-decoration: none
    }
}

.lower .archives ul li .date {
    font-weight: 600;
    white-space: nowrap;
    height: 24px;
    margin-right: 10px;
    display: flex;
    align-items: center
}

.lower .archives ul li .category {
    min-width: 60px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    background-color: #0095d8;
    height: 24px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px
}

.lower .archives ul li .title {
    width: 100%;
    line-height: 1.6;
    text-decoration: underline;
    font-size: 1.6rem;
    margin-top: 15px
}

.lower .article {
    max-width: 600px;
    margin: 0 auto
}

@media(min-width: 1000px) {
    .lower .article {
        max-width: none;
        margin: 0;
        order: 1;
        width: 70%
    }
}

.lower .article h1 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.4
}

@media(min-width: 1000px) {
    .lower .article h1 {
        font-size: 3rem;
        line-height: 1.6
    }
}

.lower .article .time {
    margin: 20px 0;
    color: #999
}

@media(min-width: 1000px) {
    .lower .article .time {
        margin: 40px 0
    }
}

.lower .article .thumb {
    margin: 20px 0 0 0
}

@media(min-width: 1000px) {
    .lower .article .thumb {
        margin: 40px 0 0 0
    }
}

.lower .article .post {
    background-color: #fff;
    padding: 40px 15px;
    line-height: 1.75;
    font-size: 1.6rem
}

@media(min-width: 1000px) {
    .lower .article .post {
        padding: 60px 40px
    }
}

.lower .article .post a {
    text-decoration: underline
}

.lower .article .post strong {
    font-weight: 600;
    background-color: #f9eb95
}

.lower .article .back {
    margin-top: 40px;
    font-weight: 900;
    text-align: center
}

@media(min-width: 1000px) {
    .lower .article .back {
        margin-top: 60px
    }
}

.lower .article .back a {
    display: inline-block;
    padding-right: 25px;
    background-image: url(img/common/icon_arrow.svg);
    background-repeat: no-repeat;
    background-position: 100% 50%;
    background-size: auto 100%
}

.lower .page {
    padding: 40px 5%
}

@media(min-width: 1000px) {
    .lower .page {
        padding: 60px 5%
    }
}

.lower .page p {
    font-size: 1.4rem;
    line-height: 1.75
}

@media(min-width: 1000px) {
    .lower .page p {
        font-size: 1.6rem
    }
}

.lower .page p+p {
    margin-top: 2em
}

.lower .page p.intro {
    font-size: 1.6rem
}

@media(min-width: 1000px) {
    .lower .page p.intro {
        font-size: 1.8rem;
        padding: 0 40px
    }
}

.lower .page p.intro+* {
    margin-top: 40px
}

@media(min-width: 1000px) {
    .lower .page p.intro+* {
        margin-top: 60px
    }
}

.lower .page p.introSerif {
    font-family: "Noto Serif JP", serif;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: .2em;
    line-height: 1.8;
    margin: 0 auto 40px;
    max-width: 600px
}

@media(min-width: 1000px) {
    .lower .page p.introSerif {
        font-size: 2.4rem;
        text-align: center;
        margin: 0 0 60px 0;
        max-width: none
    }
}

.lower .page p.introSerif>br {
    display: none
}

@media(min-width: 1000px) {
    .lower .page p.introSerif>br {
        display: block
    }
}

.lower .page .basic {
    max-width: 600px;
    margin: 0 auto
}

@media(min-width: 1000px) {
    .lower .page .basic {
        max-width: 840px
    }
}

.lower .page .wrapper {
    background-color: #fff;
    padding: 40px 15px
}

@media(min-width: 1000px) {
    .lower .page .wrapper {
        padding: 60px 40px
    }
}

.lower .page dl.basicDl dt {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.75
}

@media(min-width: 1000px) {
    .lower .page dl.basicDl dt {
        font-size: 1.8rem
    }
}

.lower .page dl.basicDl dd {
    margin-top: 20px;
    padding-bottom: 40px;
    border-bottom: 1px solid #d9d9d9
}

@media(min-width: 1000px) {
    .lower .page dl.basicDl dd {
        margin-top: 40px;
        padding-bottom: 60px
    }
}

.lower .page dl.basicDl dd+dt {
    margin-top: 40px
}

@media(min-width: 1000px) {
    .lower .page dl.basicDl dd+dt {
        margin-top: 60px
    }
}

.lower .page dl.basicDl dd>.basicUl {
    padding: 0 0 0 15px
}

@media(min-width: 1000px) {
    .lower .page dl.basicDl dd>.basicUl {
        padding: 0 0 0 40px
    }
}

@media(min-width: 1000px) {
    .lower .page dl.contactDl {
        display: flex;
        flex-wrap: wrap
    }
}

.lower .page dl.contactDl dt {
    font-size: 1.6rem;
    font-weight: 600;
    position: relative;
    padding-left: 50px
}

@media(min-width: 1000px) {
    .lower .page dl.contactDl dt {
        font-size: 1.8rem;
        width: 250px;
        border-bottom: 1px solid #d9d9d9;
        padding-top: 25px
    }
}

.lower .page dl.contactDl dt::before {
    content: "任意";
    display: block;
    width: 40px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    line-height: 16px;
    color: #fff;
    background-color: #293337;
    position: absolute;
    top: 0;
    left: 0
}

@media(min-width: 1000px) {
    .lower .page dl.contactDl dt::before {
        top: 28px
    }
}

.lower .page dl.contactDl dt.require::before {
    content: "必須";
    background-color: #cd4557
}

.lower .page dl.contactDl dd {
    margin-top: 20px;
    padding-bottom: 40px;
    border-bottom: 1px solid #d9d9d9;
    position: relative
}

@media(min-width: 1000px) {
    .lower .page dl.contactDl dd {
        margin-top: 0;
        padding-bottom: 60px;
        width: calc(100% - 250px)
    }
}

.lower .page dl.contactDl dd+dt {
    margin-top: 40px
}

@media(min-width: 1000px) {
    .lower .page dl.contactDl dd+dt {
        margin-top: 60px
    }
}

@media(min-width: 1000px) {
    .lower .page dl.contactDl dd+dt+dd {
        margin-top: 60px
    }
}

.lower .page dl.contactDl dd select,
.lower .page dl.contactDl dd input[type=text],
.lower .page dl.contactDl dd input[type=tel],
.lower .page dl.contactDl dd input[type=date] {
    max-width: 255px
}

.lower .page ul.basicUl {
    line-height: 1.75
}

.lower .page ul.basicUl li {
    position: relative;
    padding-left: 20px
}

.lower .page ul.basicUl li::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background-color: #0095d8;
    position: absolute;
    top: .5em;
    left: 0
}

.lower .page ul.basicUl li+li {
    margin-top: 15px
}

.lower .page ul.basicUl+* {
    margin-top: 40px
}

@media(min-width: 1000px) {
    .lower .page ul.basicUl+* {
        margin-top: 60px
    }
}

.lower .page *+ul.basicUl {
    margin-top: 40px
}

@media(min-width: 1000px) {
    .lower .page *+ul.basicUl {
        margin-top: 60px
    }
}

.lower .page .submit {
    max-width: 200px;
    margin: 40px auto 0;
    background-color: #006fa8;
    padding: 15px 0
}

@media(min-width: 1000px) {
    .lower .page .submit {
        margin-top: 60px;
        overflow: hidden;
        position: relative
    }

    .lower .page .submit::after {
        content: "";
        display: block;
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background-color: #706291;
        transition: transform 600ms cubic-bezier(0.8, 0, 0.2, 1) 0s;
        transform: scale(0, 1);
        transform-origin: right top
    }

    .lower .page .submit:hover::after {
        transform-origin: left top;
        transform: scale(1, 1)
    }

    .lower .page .submit>span {
        position: relative;
        z-index: 2
    }
}

.lower .page .submit input[type=submit] {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 600
}

.lower .hTplPage {
    font-size: 2rem;
    font-family: "Noto Serif JP", serif;
    padding: 0 0 20px 0;
    margin: 0 0 40px;
    position: relative;
    overflow: hidden
}

@media(min-width: 1000px) {
    .lower .hTplPage {
        font-size: 3.6rem;
        margin: 0 0 60px 0;
        padding-bottom: 40px
    }
}

.lower .hTplPage::after {
    content: "";
    display: block;
    width: 50%;
    height: 2px;
    background-color: #dbf0fa;
    position: absolute;
    bottom: 0;
    left: 0
}

/* ------------------------------------- */
/* 1. 全ての下層ページ共通設定 (スマホ表示のデフォルトを4.0remに変更) */
/* ------------------------------------- */
.lower .hTplPage>span {
    font-size: 4.0rem; /* ★その他下層ページは4.0rem★ */
    color: #dbf0fa;
    position: absolute;
    bottom: 0px;
    left: 5px;
    z-index: -1;
    white-space: nowrap
}

/* ------------------------------------- */
/* 2. 弁護士紹介ページ（.lawyer-page）専用設定 (スマホ表示 1.8rem) */
/* ------------------------------------- */
/* .lawyerTpl を含めて、優先度を上げ、両弁護士のspanを1.8remに上書きする */
.lower.lawyer-page .lawyerTpl .hTplPage > span:last-child {
    font-size: 1.8rem; /* ★弁護士紹介ページは1.8remに上書き★ */
}

@media(min-width: 1000px) {
    
    /* ------------------------------------- */
    /* 1. 【最重要】レイアウトの上書き (全幅表示の強制) */
    /* ------------------------------------- */
    /* .lower.lawyer-pageを持つ要素（ページ全体のコンテナ）の中央寄せと最大幅の制限を解除 */
    .lower.lawyer-page {
        margin: 0 !important;       /* 左右のマージンを無効化 */
        max-width: none !important; /* 最大幅の制限を解除 */
        width: 100vw;               /* 画面幅全体に強制的に広げる */
        
        /* 画面いっぱいに広げる際に、中央寄せのマージンを打ち消すためのテクニック */
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }

    /* 2. 全ての下層ページ共通設定 (他の下層ページは8.0remを維持) */
    .lower .hTplPage>span {
        font-size: 8.0rem;
        bottom: 0px;
        left: 10px;
    }
    
    /* 3. 弁護士紹介ページ専用のフォントサイズ設定 (3.6remに上書き) */
    /* セレクタに.lawyerTplを含めることで、優先度を上げ、両弁護士のspanをターゲットにする */
    .lower.lawyer-page .lawyerTpl .hTplPage > span:last-child {
        font-size: 3.6rem; 
        /* 必要であれば、bottom, leftもここで上書きできますが、変更がなければ記述不要です */
    }
    
}

.lower#single .categories {
    max-width: 600px;
    margin: 40px auto 0
}

@media(min-width: 1000px) {
    .lower#single .categories {
        max-width: none;
        margin: 0 0 0 auto
    }
}

.lower#about .greeting {
    max-width: 600px;
    margin: 0 auto
}

@media(min-width: 1000px) {
    .lower#about .greeting {
        max-width: 1200px
    }
}

.lower#about .greeting h3 {
    font-size: 2.4rem;
    font-family: "Noto Serif JP", serif;
    letter-spacing: .2em;
    line-height: 1.7;
    margin: 0 0 40px 0
}

@media(min-width: 1000px) {
    .lower#about .greeting h3 {
        font-size: clamp(3.6rem, 5vw, 4rem);
        margin: 60px 0 60px 0;
        position: relative;
        z-index: 2
    }
}

.lower#about .greeting h3>br {
    display: none
}

@media(min-width: 1000px) {
    .lower#about .greeting h3>br {
        display: block
    }
}

@media(min-width: 1000px) {
    .lower#about .greeting .greetingWrapper {
        position: relative
    }
}

.lower#about .greeting .img {
    height: 60vw
}

@media(min-width: 1000px) {
    .lower#about .greeting .img {
        width: 60%;
        max-width: 600px;
        height: 600px;
        position: absolute;
        top: -120px;
        right: 0
    }
}

.lower#about .greeting .img>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0
}

.lower#about .greeting .img p.textSerif {
    display: none
}

@media(min-width: 1000px) {
    .lower#about .greeting .img p.textSerif {
        display: block;
        font-size: 3rem;
        text-align: right;
        margin-top: 30px
    }
}

@media(min-width: 1000px) {
    .lower#about .greeting .img p.textSerif>span {
        display: inline-block;
        font-size: 1.5rem;
        margin-right: 10px
    }
}

@media(min-width: 1000px) {
    .lower#about .greeting .message {
        width: 60%;
        max-width: 600px;
        min-height: 600px;
        position: relative;
        z-index: 2
    }
}

.lower#about .greeting .message p {
    font-size: 1.6rem
}

.lower#about .greeting .message p.textSerif {
    font-size: 1.8rem;
    text-align: right
}

@media(min-width: 1000px) {
    .lower#about .greeting .message p.textSerif {
        display: none
    }
}

.lower#about .overview {
    margin: 40px auto 0;
    max-width: 600px
}

@media(min-width: 1000px) {
    .lower#about .overview {
        margin-top: 60px;
        max-width: 1200px
		
    }
}

/* ------------------------------ */
/* .overview 上部の画像2枚（PC用）のレイアウト設定 */
/* ------------------------------ */
@media(min-width: 1000px) {
   	.overview-photos {
        display: flex; 
        justify-content: flex-start; 
        width: 100vw; /* 【最重要修正】画面幅全体（ビューポート）に強制的に広げる */
        position: relative; /* 子要素の位置基準を設定（必要に応じて） */
        left: 50%; /* 左端から中央に移動 */
        transform: translateX(-50%); /* 中央から左に半分ずらし、位置を固定 */
        height: 500px; 
        margin-bottom: 60px; 
    }
    
    .overview-photos img {
        width: 50% !important; 
        height: 100% !important; 
        object-fit: cover !important; 
        margin: 0 !important; 
    }
}

/* ------------------------------ */
/* .overview 上部の画像2枚（スマホ用）のレイアウト設定 */
/* ------------------------------ */
	.overview-photos {
   	 	/* 画像を縦に並べる（display: blockがデフォルトなので、特に指示は不要） */
    	margin-bottom: 30px; /* 見出しとの間に少し余白を空ける */
}

	.overview-photos img {
    	width: 100%; /* 画像を画面いっぱいに表示 */
    	height: 250px; /* ★統一したい任意の高さ（例: 250px）に指定 */
		object-fit: cover; /* 画像が歪まず、要素からはみ出る部分をカットして表示 */
}
	.overview-photos img:first-child {
    	margin-bottom: 20px; /* 1枚目の画像と2枚目の画像の間隔 */
}

@media(min-width: 1000px) {
    .lower#about .overview .wrapper {
        max-width: 1080px;
        margin: 0 auto
    }
}

.lower#about .overview h3 {
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
    background-color: #293337;
    color: #fff;
    padding: 10px 0;
    margin: 0 auto 40px;
    max-width: 150px
}

@media(min-width: 1000px) {
    .lower#about .overview h3 {
        margin: 0 auto 60px
    }
}

.lower#about .overview dl {
    line-height: 1.6
}

.lower#about .overview dl>dt {
    font-weight: 600
}

@media(min-width: 1000px) {
    .lower#about .overview dl>dt {
        width: 120px
    }
}

.lower#about .overview dl>dd {
    margin-top: 15px
}

@media(min-width: 1000px) {
    .lower#about .overview dl>dd {
        margin-top: 0;
        width: calc(100% - 120px)
    }
}

.lower#about .overview dl>dd+dt {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #d9d9d9
}

@media(min-width: 1000px) {
    .lower#about .overview dl>dd+dt+dd {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #d9d9d9
    }
}

.lower#about .overview dl+dl {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #d9d9d9
}

@media(min-width: 1000px) {
    .lower#about .overview dl+dl {
        margin-top: 0;
        padding-top: 0;
        border-top: none
    }
}

@media(min-width: 1000px) {
    .lower#about .overview dl:nth-of-type(1) {
        padding-right: 40px
    }
}

@media(min-width: 1000px) {
    .lower#about .overview dl:nth-of-type(2) {
        padding-left: 40px
    }
}

@media(min-width: 1000px) {
    .lower#about .overview .flexWrapperPc {
        padding: 40px 0;
        position: relative
    }
}

@media(min-width: 1000px) {
    .lower#about .overview .flexWrapperPc::after {
        content: "";
        display: block;
        width: 1px;
        height: 100%;
        background-color: #d9d9d9;
        position: absolute;
        top: 0;
        left: 50%
    }
}

@media(min-width: 1000px) {
    .lower#about .overview .flexWrapperPc dl {
        width: 50%;
        display: flex;
        flex-wrap: wrap
    }
}

.lower#about .overview .flexWrapperPc+h3 {
    margin-top: 40px
}

@media(min-width: 1000px) {
    .lower#about .overview .flexWrapperPc+h3 {
        margin-top: 60px
    }
}

.lower#about .access {
    margin: 40px auto 0;
    max-width: 600px
}

@media(min-width: 1000px) {
    .lower#about .access {
        margin-top: 60px;
        max-width: 1200px
    }
}

.lower#about .access .map {
    height: 400px
}

.lower#about .access .map iframe {
    width: 100%;
    height: 100%
}

.lower#lawyer .lawyerTpl {
    max-width: 600px;
    margin: 0 auto
}

@media(min-width: 1000px) {
    .lower#lawyer .lawyerTpl {
        max-width: 1200px;
    }
}

.lower#lawyer .lawyerTpl+.lawyerTpl {
    margin-top: 40px
}

@media(min-width: 1000px) {
    .lower#lawyer .lawyerTpl+.lawyerTpl {
        margin-top: 60px
    }
}

.lower#lawyer .hTplPage .rubi {
    font-size: 1.2rem;
    font-family: "Noto Serif JP", serif;
    color: #293337;
    position: static;
    margin-left: 10px
}

@media(min-width: 1000px) {
    .lower#lawyer .hTplPage .rubi {
        font-size: 1.6rem
    }
}

@media(min-width: 1000px) {
    .lower#lawyer .lawyerTplWrapper {
        display: flex
    }
}

.lower#lawyer .lawyerTplWrapper .img {
    height: 60vw
}

@media(min-width: 1000px) {
    .lower#lawyer .lawyerTplWrapper .img {
        height: 600px;
        width: 50%
    }
}

.lower#lawyer .lawyerTplWrapper .img>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0 0
}

@media(min-width: 1000px) {
    .lower#lawyer .lawyerTplWrapper .img>img {
        object-position: 50% 0
    }
}

@media(min-width: 1000px) {
    .lower#lawyer .lawyerTplWrapper .profile {
        width: 50%
    }
}

.lower#lawyer .lawyerTplWrapper .profile>h3 {
    font-size: 2rem;
    font-family: "Noto Serif JP", serif;
    letter-spacing: .2em;
    line-height: 1.6;
    margin: 0 0 60px 0;
    text-align: center;
    padding: 40px 0 0 0
}

@media(min-width: 1000px) {
    .lower#lawyer .lawyerTplWrapper .profile>h3 {
        font-size: 3rem;
        margin: 60px 0 80px 0;
        padding: 0
    }
}

.lower#lawyer .lawyerTplWrapper .profile>dl {
    padding: 40px 0;
    position: relative
}

@media(min-width: 1000px) {
    .lower#lawyer .lawyerTplWrapper .profile>dl {
        padding: 40px
    }
}

.lower#lawyer .lawyerTplWrapper .profile>dl::before {
    content: "PROFILE";
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: #0095d8;
    position: absolute;
    top: -1em;
    left: 50%;
    transform: translateX(-50%)
}

@media(min-width: 1000px) {
    .lower#lawyer .lawyerTplWrapper .profile>dl::before {
        font-size: 2.4rem
    }
}

.lower#lawyer .lawyerTplWrapper .profile>dl>dt {
    font-size: 1rem
}

.lower#lawyer .lawyerTplWrapper .profile>dl>dd {
    margin-top: 5px;
    font-size: 1.2rem;
    line-height: 1.6
}

@media(min-width: 1000px) {
    .lower#lawyer .lawyerTplWrapper .profile>dl>dd {
        font-size: 1.4rem
    }
}

.lower#lawyer .lawyerTplWrapper .profile>dl>dd+dt {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #293337
}

.lower#lawyer .message {
    padding-top: 80px;
    position: relative
}

@media(min-width: 1000px) {
    .lower#lawyer .message {
        margin: 60px auto 0;
        max-width: 1080px;
        display: flex;
        padding: 120px 40px 60px
    }
}

.lower#lawyer .message::before {
    content: "MESSAGE";
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: #d9d9d9;
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%)
}

@media(min-width: 1000px) {
    .lower#lawyer .message::before {
        font-size: 3rem;
        top: 50px
    }
}

@media(min-width: 1000px) {
    .lower#lawyer .message>div {
        width: 50%
    }
}

@media(min-width: 1000px) {
    .lower#lawyer .message>div:nth-of-type(1) {
        padding-right: 40px;
        border-right: 1px solid #d9d9d9
    }
}

@media(min-width: 1000px) {
    .lower#lawyer .message>div:nth-of-type(2) {
        padding-left: 40px
    }
}

.lower#fee .lTxt {
    display: inline-block;
    font-size: 2rem;
    font-weight: 600
}

.lower#fee .sTxt {
    display: inline-block;
    font-size: 1rem
}

.lower#fee ul.feeList {
    margin-top: 40px
}

@media(min-width: 1000px) {
    .lower#fee ul.feeList {
        max-width: 1080px;
        margin: 60px auto 0
    }
}

.lower#fee ul.feeList>li .feeListInner {
    background: linear-gradient(to bottom right, #0095d8, #706291)
}

.lower#fee ul.feeList>li .feeListHead {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    position: relative;
    border-top: 1px solid #f5f5f5;
    border-left: 1px solid #f5f5f5;
    background-color: #fff
}

@media(min-width: 1000px) {
    .lower#fee ul.feeList>li .feeListHead {
        padding: 20px 40px;
        cursor: pointer;
        transition: all 300ms 0s ease
    }

    .lower#fee ul.feeList>li .feeListHead:hover {
        transform: translate(-15px, -15px)
    }
}

.lower#fee ul.feeList>li .feeListHead::before {
    content: "";
    width: 2px;
    height: 10px;
    background-color: #0095d8;
    position: absolute;
    top: calc(50% - 5px);
    right: 19px;
    transition: all 300ms 0s ease;
    z-index: 2
}

@media(min-width: 1000px) {
    .lower#fee ul.feeList>li .feeListHead::before {
        height: 20px;
        top: calc(50% - 10px);
        right: 49px
    }
}

.lower#fee ul.feeList>li .feeListHead::after {
    content: "";
    width: 10px;
    height: 2px;
    background-color: #0095d8;
    position: absolute;
    top: calc(50% - 1px);
    right: 15px;
    z-index: 2
}

@media(min-width: 1000px) {
    .lower#fee ul.feeList>li .feeListHead::after {
        width: 20px;
        right: 40px
    }
}

.lower#fee ul.feeList>li .feeListHead.open::before {
    transform: rotate(90deg)
}

.lower#fee ul.feeList>li .feeListHead .icon {
    width: 40px;
    height: 40px
}

@media(min-width: 1000px) {
    .lower#fee ul.feeList>li .feeListHead .icon {
        width: 80px;
        height: 80px
    }
}

.lower#fee ul.feeList>li .feeListHead h3 {
    margin-left: 15px;
    font-size: 1.4rem;
	line-height: 1.2;
	font-weight: 600;
    font-family: "Noto Serif JP", serif
}

@media(min-width: 1000px) {
    .lower#fee ul.feeList>li .feeListHead h3 {
		font-size: 1.8rem !important;
        margin-left: 40px;
		line-height: 1.3;
		font-weight: 600;
    }
}

.lower#fee ul.feeList>li .feeListHead h3>span {
    display: block;
    font-size: 1rem;
    margin-top: 5px;
    color: #0095d8
}

@media(min-width: 1000px) {
    .lower#fee ul.feeList>li .feeListHead h3>span {
        font-size: 1.2rem;
        margin-top: 10px
    }
}

.lower#fee ul.feeList>li .body {
    display: none;
    padding: 40px 15px;
    background-color: #fff;
    border-top: 5px solid #f5f5f5
}

@media(min-width: 1000px) {
    .lower#fee ul.feeList>li .body {
        padding: 60px 40px
    }
}

.lower#fee ul.feeList>li .body h4 {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0 0 15px;
    position: relative;
    padding-left: 23px;
    line-height: 1.4
}

@media(min-width: 1000px) {
    .lower#fee ul.feeList>li .body h4 {
        font-size: 2rem;
        margin: 0 0 40px
    }
}

.lower#fee ul.feeList>li .body h4::before {
    content: "";
    display: block;
    width: 10px;
    height: 2px;
    background-color: #0095d8;
    position: absolute;
    top: calc(.75em - 2px);
    left: 0
}

.lower#fee ul.feeList>li .body *+h4 {
    margin-top: 40px
}

@media(min-width: 1000px) {
    .lower#fee ul.feeList>li .body *+h4 {
        margin-top: 60px
    }
}

.lower#fee ul.feeList>li .body .link {
    text-align: center;
    margin-top: 40px
}

@media(min-width: 1000px) {
    .lower#fee ul.feeList>li .body .link {
        margin-top: 60px
    }
}

.lower#fee ul.feeList>li .body .link>a {
    font-size: 1.6rem;
    font-weight: 600;
    display: inline-block;
    padding-right: 25px;
    background-image: url(img/common/icon_arrow.svg);
    background-repeat: no-repeat;
    background-position: 100% 50%;
    background-size: auto 100%
}

@media(min-width: 1000px) {
    .lower#fee ul.feeList>li .body .link>a {
        font-size: 1.8rem;
        padding-right: 30px
    }
}

.lower#fee ul.notes {
    margin-top: 15px;
    font-size: 1rem;
    line-height: 1.6
}

@media(min-width: 1000px) {
    .lower#fee ul.notes {
        margin-top: 40px;
        font-size: 1.2rem
    }
}

.lower#fee ul.notes>li {
    position: relative;
    padding-left: 10px
}

.lower#fee ul.notes>li::before {
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 5px;
    background-color: #293337;
    position: absolute;
    top: .7em;
    left: 0
}

.lower#fee .feeBasic {
    max-width: 600px;
    margin: 40px auto 0
}

@media(min-width: 1000px) {
    .lower#fee .feeBasic {
        max-width: 1200px;
        margin-top: 60px
    }
}

.lower#fee .feeBasic dl.dlHead {
    display: none
}

@media(min-width: 1000px) {
    .lower#fee .feeBasic dl.dlHead {
        display: flex;
        margin-top: 40px;
        border: 1px solid #d9d9d9;
        border-left: none
    }
}

@media(min-width: 1000px) {
    .lower#fee .feeBasic dl.dlHead dt {
        background-color: #f5f5f5;
        line-height: 1.6;
        font-size: 1.8rem;
        font-weight: 600;
        width: 33.3333333333%;
        padding: 20px;
        border-left: 1px solid #d9d9d9
    }
}

.lower#fee .feeBasic dl.dlTpl {
    margin-top: 15px
}

@media(min-width: 1000px) {
    .lower#fee .feeBasic dl.dlTpl {
        margin-top: 0;
        border-top: none;
        border-left: none
    }
}

@media(min-width: 1000px) {
    .lower#fee .feeBasic dl.dlTpl dt {
        display: none
    }
}

@media(min-width: 1000px) {
    .lower#fee .feeBasic dl.dlTpl dt.advanced {
        display: none
    }
}

.lower#fee .feeBasic dl.dlTpl dt.advanced+dd {
    display: none
}

@media(min-width: 1000px) {
    .lower#fee .feeBasic dl.dlTpl dt.advanced+dd {
        display: block
    }
}

@media(min-width: 1000px) {
    .lower#fee .feeBasic dl.dlTpl dd {
        width: 33.3333333333%;
        border: none;
        border-left: 1px solid #d9d9d9
    }
}

.lower#fee .feeBasic .wrapper {
    max-width: 1080px;
    margin: 0 auto
}

.lower#fee .feeField {
    max-width: 600px;
    margin: 40px auto 0
}

@media(min-width: 1000px) {
    .lower#fee .feeField {
        max-width: 1200px;
        margin-top: 60px
    }
}

.lower#fee .reason {
    max-width: 600px;
    margin: 0 auto
}

@media(min-width: 1000px) {
    .lower#fee .reason {
        max-width: 1200px;
        margin-top: 60px
    }
}

.lower#fee .reason ul {
    padding: 0
}

@media(min-width: 1000px) {
    /* 費用ページの .reason リストの区切り線位置を調整 */
    .lower#fee .reason ul::before,
    .lower#fee .reason ul::after {
        top: 50%; /* ここで費用ページだけ 50% に上書き */
    }
}

@media(min-width: 1000px) {
	/* フォントサイズの変更 */
    .lower#fee .reason ul li h4>span {
        font-size: 3rem !important; /* ★ご希望のサイズに変更してください (例: 1.2rem)★ */
		line-height: 1.5 !important;
    }
}

.lower#fee .reason ul li .inner {
    padding: 0
}

@media (min-width: 360px) and (max-width: 999px) {
    /* ... 既存の 360px 以上のスマホ向けCSS ... */
    
    /* ------------------------------------- */
    /* --- 費用ページ（#fee）専用のスマートフォン向け修正 --- */
    /* ------------------------------------- */

    /* 1. フォントサイズの変更（確実な適用） */
    /* 既存のh3/pタグの設定を上書きするために、詳細度の高いセレクタを使用 */
    .lower#fee .reason ul li h4>span {
        font-size: 2.4rem; /* ★ご希望のサイズに変更してください (例: 1.2rem)★ */
    }
	
	/* A. 行間（改行幅）を狭くする */
    /* h4/span要素のline-heightを変更します */
    .lower#fee .reason ul li h4,
    .lower#fee .reason ul li h4 span {
        line-height: 1.2; /* 例: 1.2。ご希望に応じて1.0〜1.4の間で調整してください */
    }

    /* 2. Reason 4の食い込み解消と下部余白の確保 */
    /* 最後のli要素の直下に30pxの余白を設けて、次の要素との間隔を空ける */
    .lower#fee .reason ul li:last-child {
        /* li自体のマージンを下に追加します */
        margin-bottom: 35px; /* ★下部要素との間隔（30pxは例）★ */
    }

    /* 3. 食い込み防止のためにli内部の最後の要素のマージンは0を維持 */
    .lower#fee .reason ul li:last-child :last-child {
        margin-bottom: 0; 
    }
    
    /* 4. リストマーカーの崩れと要素の左ずれを防ぐ */
    .lower#fee .reason ul li {
        list-style-position: inside; 
        padding-left: 1.5em;        
    }
	
	/* Reason 3 の li の下に、追加の余白（間隔）を設定 */
    /* これでReason 4以降が下に押し下げられます */
    .lower#fee .reason ul li:nth-child(3) {
        margin-bottom: 75px; /* ★デフォルトの li 間隔 + 追加したい間隔 を設定 (例: 60px)★ */
    }
    
    /* (補足) h4要素の上下マージンを制御 */
    /* Reason 1〜4 すべての項目でh4の余白を統一し、テキスト位置の不均一を防ぎます */
    .lower#fee .reason ul li h4 {
        margin-top: 0;
        margin-bottom: 10px; /* h4の下に適切な間隔を設定 */
        padding: 0;
    }
}

.lower#service .serviceListWrapper {
    max-width: 600px;
    margin: 0 auto
}

@media(min-width: 1000px) {
    .lower#service .serviceListWrapper {
        max-width: 1200px
    }
}

@media(min-width: 1000px) {
    .lower#service ul.serviceList {
        display: flex;
        flex-wrap: wrap
    }
}

.lower#service ul.serviceList>li {
    background: linear-gradient(to bottom right, #0095d8, #706291)
}

@media(min-width: 1000px) {
    .lower#service ul.serviceList>li {
        width: 33.3333333333%
    }
}

.lower#service ul.serviceList>li a {
    display: block;
    background-color: #fff;
    height: 100%;
    padding: 15px 30px 15px 15px;
    border-top: 1px solid #f5f5f5;
    border-left: 1px solid #f5f5f5;
    background-image: url("img/common/icon_arrow.svg");
    background-repeat: no-repeat;
    background-position: calc(100% - 15px) 50%;
    background-size: 16px 16px
}

@media(min-width: 1000px) {
    .lower#service ul.serviceList>li a {
        padding: 40px 40px 35px 40px;
        background-position: calc(100% - 25px) 50%;
        cursor: pointer;
        transition: all 300ms 0s ease
    }

    .lower#service ul.serviceList>li a:hover {
        transform: translate(-15px, -15px)
    }
}

.lower#service ul.detail {
    margin-top: 10px;
    font-size: 1.2rem;
    color: #999;
    display: flex;
    flex-wrap: wrap
}

@media(min-width: 1000px) {
    .lower#service ul.detail {
        margin-top: 15px
    }
}

.lower#service ul.detail>li {
    margin: 5px 5px 5px 0;
    padding-right: 5px;
    border-right: 1px solid #d9d9d9
}

.lower#service .listHead {
    display: flex;
    flex-wrap: wrap;
    align-items: center
}

.lower#service .listHead .icon {
    width: 60px;
    height: 60px
}

.lower#service .listHead h3 {
    width: calc(100% - 60px);
    padding-left: 15px;
    font-size: 1.6rem;
	line-height: 1.2
}

@media(min-width: 1000px) {
    .lower#service .listHead h3 {
		line-height: 1.3;
        font-size: 1.8rem;
		font-weight: 600
    }
}

.lower#service .listHead h3>span {
    display: block;
    font-size: 1rem;
    color: #0095d8;
    margin-top: 7px
}

@media(min-width: 1000px) {
    .lower#service .listHead h3>span {
        margin-top: 10px
    }
}

.lower#tplService .worries {
    padding-top: 40px
}

@media(min-width: 1000px) {
    .lower#tplService .worries {
        padding-top: 60px
    }
}

.lower#tplService .worries h2 {
    font-size: 2rem;
    font-family: "Noto Serif JP", serif;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: .2em;
    padding: 0 5%;
    text-align: center
}

@media(min-width: 1000px) {
    .lower#tplService .worries h2 {
        font-size: 3rem
    }
}

.lower#tplService .worries p.intro {
    font-size: 1.6rem;
    font-family: "Noto Serif JP", serif;
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: .2em;
    margin: 10px auto 0;
    padding: 0 5%;
    max-width: calc(600px + 10%)
}

@media(min-width: 1000px) {
    .lower#tplService .worries p.intro {
        font-size: 2.4rem;
        text-align: center;
        margin: 20px 0 0 0;
        max-width: none
    }
}

.lower#tplService .worries p.intro br {
    display: none
}

@media(min-width: 1000px) {
    .lower#tplService .worries p.intro br {
        display: block
    }
}

.lower#tplService .worries ul {
    max-width: 600px;
    margin: 40px auto 0;
    padding: 17px 5% 30px;
    background-color: #fff;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, .08);
    position: relative;
    counter-reset: count 0
}

@media(min-width: 1000px) {
    .lower#tplService .worries ul {
        max-width: 1080px;
        margin-top: 60px;
        margin-bottom: 60px;
        padding-top: 30px;
        padding-bottom: 60px;
        box-shadow: none
    }
}

.lower#tplService .worries ul::before {
    content: "CHECK LIST";
    display: block;
    font-size: 1.6rem;
    font-weight: 900;
    text-align: center;
    color: #fff;
    background-color: #003854;
    padding: 7px 15px;
    position: absolute;
    top: -15px;
    left: 0
}

.lower#tplService .worries ul li {
    position: relative;
    padding: 20px 0 20px 40px;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.6;
    z-index: 2;
    border-bottom: 3px dotted #003854
}

@media(min-width: 1000px) {
    .lower#tplService .worries ul li {
        font-size: 2.8rem;
        padding: 30px 0 30px 50px
    }
}

.lower#tplService .worries ul li::before {
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    border: 3px solid #003854;
    position: absolute;
    top: 24px;
    left: 0
}

@media(min-width: 1000px) {
    .lower#tplService .worries ul li::before {
        top: 44px
    }
}

.lower#tplService .worries ul li::after {
    content: "";
    display: block;
    position: absolute;
    top: 23px;
    left: 4px;
    width: 14px;
    height: 6px;
    border-top: 5px solid #cd4557;
    border-right: 5px solid #cd4557;
    transform: rotate(135deg);
    box-shadow: 1px -3px 0 0 #fff
}

@media(min-width: 1000px) {
    .lower#tplService .worries ul li::after {
        top: 43px
    }
}

.lower#tplService .worries ul li>span::before {
    content: "CHECK";
    display: block;
    position: absolute;
    bottom: 35px;
    right: 0;
    font-size: 1rem;
    font-weight: 900;
    color: #d9d9d9;
    z-index: -1;
    line-height: 1
}

@media(min-width: 1000px) {
    .lower#tplService .worries ul li>span::before {
        bottom: 60px;
        font-size: 1.5rem
    }
}

.lower#tplService .worries ul li>span::after {
    content: "0" counter(count);
    display: block;
    counter-increment: count 1;
    position: absolute;
    bottom: 5px;
    right: 0;
    font-size: 3rem;
    font-family: "Noto Serif JP", serif;
    font-weight: 600;
    color: #d9d9d9;
    z-index: -1;
    line-height: 1
}

@media(min-width: 1000px) {
    .lower#tplService .worries ul li>span::after {
        font-size: 5rem;
        bottom: 10px
    }
}

.lower#tplService .catch {
    background-color: #fff;
    padding-bottom: 40px
}

@media(min-width: 1000px) {
    .lower#tplService .catch {
        padding-bottom: 60px
    }
}

.lower#tplService .catch h2 {
    font-size: 1.6rem;
    font-family: "Noto Serif JP", serif;
    font-weight: 600;
    letter-spacing: .2em;
    line-height: 2;
    margin: 0 0 40px 0;
    text-align: center;
    padding: 20px 0;
    background-image: url("img/common/bg_01.jpg");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    color: #fff
}

@media(min-width: 360px) {
    .lower#tplService .catch h2 {
        font-size: 2rem;
        padding: 40px 0
    }
}

@media(min-width: 1000px) {
    .lower#tplService .catch h2 {
        font-size: 4rem;
        padding: 100px 0;
        margin: 0 0 60px 0
    }
}

.lower#tplService .catch p {
    max-width: calc(600px + 10%);
    margin: 0 auto;
    padding: 0 5%;
    line-height: 1.75
}

@media(min-width: 1000px) {
    .lower#tplService .catch p {
        max-width: calc(1080px + 10%);
        font-size: 1.8rem;
        line-height: 2
    }
}

.lower#tplService .catch p:nth-of-type(2) {
    max-width: 600px;
    padding: 85px 5% 30px;
    margin-top: 20px;
    font-size: 1.6rem;
    font-weight: 600;
    position: relative;
    color: #003854;
    border-top: 3px solid #003854;
    border-bottom: 3px solid #003854
}

@media(min-width: 1000px) {
    .lower#tplService .catch p:nth-of-type(2) {
        max-width: 1080px;
        padding: 120px 5% 60px;
        margin-top: 60px;
        font-size: 2rem
    }
}

.lower#tplService .catch p:nth-of-type(2)::before {
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-top: 3px solid #003854;
    border-right: 3px solid #003854;
    position: absolute;
    top: -17px;
    left: calc(50% - 15px);
    transform: rotate(135deg)
}

.lower#tplService .catch p:nth-of-type(2)::after {
    content: "当事務所の強み";
    display: block;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: .2em;
    white-space: nowrap;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%)
}

@media(min-width: 1000px) {
    .lower#tplService .catch p:nth-of-type(2)::after {
        font-size: 3rem;
        top: 45px
    }
}

.lower#tplService .case {
    max-width: calc(600px + 10%);
    margin: 40px auto 0;
    padding: 0 5%
}

@media(min-width: 1000px) {
    .lower#tplService .case {
        max-width: calc(1200px + 10%);
        margin-top: 60px
    }
}

.lower#tplService .case>ul {
    counter-reset: count 0
}

@media(min-width: 1000px) {
    .lower#tplService .case>ul {
        max-width: 1080px;
        margin: 0 auto
    }
}

.lower#tplService .case>ul>li {
    background-color: #fff;
    padding: 30px 15px 30px
}

@media(min-width: 1000px) {
    .lower#tplService .case>ul>li {
        padding: 40px
    }
}

.lower#tplService .case>ul>li+li {
    margin-top: 15px
}

@media(min-width: 1000px) {
    .lower#tplService .case>ul>li+li {
        margin-top: 40px
    }
}

.lower#tplService .case>ul>li h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #003854;
    line-height: 1.5;
    margin-bottom: 30px;
    padding: 0 0 20px 90px;
    position: relative;
    border-bottom: 1px solid #003854
}

@media(min-width: 1000px) {
    .lower#tplService .case>ul>li h3 {
        font-size: 2.4rem;
        margin-bottom: 40px;
        padding: 0 0 20px 100px
    }
}

.lower#tplService .case>ul>li h3::before {
    content: "CASE";
    display: block;
    position: absolute;
    top: 15px;
    left: 0;
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1
}

@media(min-width: 1000px) {
    .lower#tplService .case>ul>li h3::before {
        top: 17px
    }
}

.lower#tplService .case>ul>li h3::after {
    content: counter(count);
    counter-increment: count 1;
    position: absolute;
    top: 5px;
    left: 35px;
    line-height: 1;
    font-family: "Noto Serif JP", serif;
    font-size: 2.4rem;
    border-right: 2px solid #003854;
    padding: 0 11px 0 0
}

/* 1番目から9番目の項目にのみ適用されるCSS */
.lower#tplService .case>ul>li:nth-child(-n+9) h3::after {
    /* 1〜9番目の項目に対してのみ、「0」を結合して上書き */
    content: "0" counter(count);
}

@media(min-width: 1000px) {
    .lower#tplService .case>ul>li h3::after {
        top: 7px;
        padding: 0 15px 0 0
    }
}

.lower#tplService .case>ul>li p {
    line-height: 1.75
}

@media(min-width: 1000px) {
    .lower#tplService .case>ul>li p {
        font-size: 1.6rem;
        padding: 0 40px
    }
}

.lower#tplService .case>ul>li p.ans {
    border: 2px solid #003854;
    padding: 30px 15px 20px;
    font-weight: 600;
    color: #003854;
    position: relative;
    margin-top: 30px
}

@media(min-width: 1000px) {
    .lower#tplService .case>ul>li p.ans {
        font-size: 1.8rem;
        padding: 30px 20px 20px;
        margin-top: 40px
    }
}

.lower#tplService .case>ul>li p.ans::before {
    content: "POINT";
    display: block;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1;
    background-color: #003854;
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    padding: 5px 10px
}

.lower#tplService .flow {
    max-width: calc(600px + 10%);
    margin: 40px auto;
    padding: 0 5%
}

@media(min-width: 1000px) {
    .lower#tplService .flow {
        max-width: calc(1200px + 10%);
        margin: 60px auto
    }
}

.lower#tplService .flow>ul {
    background-color: #fff
}

@media(min-width: 1000px) {
    .lower#tplService .flow>ul {
        max-width: 1080px;
        margin: 0 auto
    }
}

.lower#tplService .flow>ul>li {
    display: flex
}

.lower#tplService .flow>ul>li .step {
    width: 50px;
    background-color: #0095d8;
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    display: flex;
    justify-content: center;
    position: relative;
    padding: 30px 0 0 0
}

@media(min-width: 1000px) {
    .lower#tplService .flow>ul>li .step {
        width: 100px;
        font-size: 1.7rem;
        padding-top: 40px
    }
}

.lower#tplService .flow>ul>li .step>div>span {
    display: block;
    font-family: "Noto Serif JP", serif;
    font-size: 2.4rem;
    font-weight: 600;
    margin-top: 2px
}

@media(min-width: 1000px) {
    .lower#tplService .flow>ul>li .step>div>span {
        font-size: 4rem
    }
}

.lower#tplService .flow>ul>li .step+div {
    width: calc(100% - 50px);
    padding: 30px 20px
}

@media(min-width: 1000px) {
    .lower#tplService .flow>ul>li .step+div {
        width: calc(100% - 100px);
        padding: 40px
    }
}

.lower#tplService .flow>ul>li .step::after {
    content: "";
    display: block;
    width: 10px;
    height: 20px;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    background-color: #0095d8;
    position: absolute;
    top: 36px;
    right: -9px
}

@media(min-width: 1000px) {
    .lower#tplService .flow>ul>li .step::after {
        top: 54px
    }
}

.lower#tplService .flow>ul>li h3 {
    font-family: "Noto Serif JP", serif;
    font-size: 2.6rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    padding: 0 0 20px 0;
    border-bottom: 1px solid #003854
}

@media(min-width: 1000px) {
    .lower#tplService .flow>ul>li h3 {
        font-size: 4rem;
        margin-bottom: 30px;
        padding-bottom: 30px
    }
}

.lower#tplService .flow>ul>li p {
    line-height: 1.6
}

.lower#tplService .flow>ul>li:nth-of-type(2) .step {
    background: linear-gradient(to bottom, #0095d8, #706291)
}

.lower#tplService .flow>ul>li:nth-of-type(3) .step {
    background-color: #706291
}

.lower#tplService .flow>ul>li:nth-of-type(3) .step::after {
    background-color: #706291
}

.lower#tplService .fee {
    max-width: calc(600px + 10%);
    margin: 40px auto;
    padding: 0 5%
}

@media(min-width: 1000px) {
    .lower#tplService .fee {
        max-width: calc(1200px + 10%);
        margin: 60px auto
    }
}

.lower#tplService .fee .wrapper {
    background-color: #fff;
    padding: 15px 15px 40px
}

@media(min-width: 1000px) {
    .lower#tplService .fee .wrapper {
        max-width: 1080px;
        margin: 0 auto;
        padding: 40px
    }
}

.lower#tplService .fee h3 {
    font-size: 1.6rem;
    font-weight: 600;
    background-color: #293337;
    color: #fff;
    padding: 10px 15px;
    text-align: center;
    margin-bottom: 15px
}

@media(min-width: 1000px) {
    .lower#tplService .fee h3 {
        font-size: 2rem
    }
}

.lower#tplService .fee h4 {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0 0 15px;
    position: relative;
    padding-left: 23px;
    line-height: 1.4
}

@media(min-width: 1000px) {
    .lower#tplService .fee h4 {
        font-size: 2rem;
        margin: 0 0 40px
    }
}

.lower#tplService .fee h4::before {
    content: "";
    display: block;
    width: 10px;
    height: 2px;
    background-color: #0095d8;
    position: absolute;
    top: calc(.75em - 2px);
    left: 0
}

.lower#tplService .fee *+h4 {
    margin-top: 40px
}

@media(min-width: 1000px) {
    .lower#tplService .fee *+h4 {
        margin-top: 60px
    }
}

.lower#tplService .fee .lTxt {
    display: inline-block;
    font-size: 2rem;
    font-weight: 600
}

.lower#tplService .fee .sTxt {
    display: inline-block;
    font-size: 1rem
}

.lower#tplService .fee ul.notes {
    margin-top: 15px;
    font-size: 1rem;
    line-height: 1.6
}

@media(min-width: 1000px) {
    .lower#tplService .fee ul.notes {
        margin-top: 40px;
        font-size: 1.2rem
    }
}

.lower#tplService .fee ul.notes>li {
    position: relative;
    padding-left: 10px
}

.lower#tplService .fee ul.notes>li::before {
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 5px;
    background-color: #293337;
    position: absolute;
    top: .7em;
    left: 0
}

.ajax-loader,
.wpcf7-spinner {
    display: none !important
}

.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    height: 100%
}

.wpcf7-not-valid-tip {
    background-color: #cd4557;
    color: #fff;
    font-size: 1.2rem;
    line-height: 30px;
    padding: 0 10px;
    position: absolute;
    top: -30px;
    right: 0
}

@media(min-width: 1000px) {
    .wpcf7-not-valid-tip {
        right: auto;
        left: 0
    }
}

.wpcf7-not-valid-tip::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 5px 0 5px;
    border-color: #cd4557 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0);
    position: absolute;
    bottom: -5px;
    left: calc(50% - 5px)
}

.wpcf7 form .wpcf7-response-output {
    max-width: 400px;
    margin: 40px auto 0 auto;
    padding: 20px;
    border: none;
    text-align: center;
    font-size: 1.6rem;
    line-height: 1.4;
    border: 1px solid #293337
}

@media(min-width: 1000px) {
    .wpcf7 form .wpcf7-response-output {
        max-width: 500px;
        margin-top: 60px
    }
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    border: 1px solid #cd4557;
    color: #cd4557
}

.wpcf7 form.sent .wpcf7-response-output {
    border: 1px solid #706291;
    color: #706291
}

.tel_popup_modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    z-index: 12
}

.tel_popup_modal.active {
    display: block
}

.tel_popup_modal .tel_popup_modal_inner {
    width: 90%;
    max-width: 600px;
    background-color: #fff;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, .08);
    border-radius: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 30px 15px 15px
}

@media(min-width: 1000px) {
    .tel_popup_modal .tel_popup_modal_inner {
        padding: 60px 30px 30px
    }
}

.tel_popup_modal .tel_popup_modal_inner p {
    font-size: 1.4rem;
    line-height: 1.75
}

@media(min-width: 1000px) {
    .tel_popup_modal .tel_popup_modal_inner p {
        font-size: 1.8rem
    }
}

.tel_popup_modal .tel_popup_modal_inner p+p {
    margin-top: 5px
}

@media(min-width: 1000px) {
    .tel_popup_modal .tel_popup_modal_inner p+p {
        margin-top: 10px
    }
}

.tel_popup_modal .tel_popup_modal_inner .tel_button {
    display: block;
    width: 100%;
    max-width: 150px;
    background-color: #FF943E;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 20px auto 0;
    padding: 15px 0;
    text-align: center;
    overflow: hidden;
    position: relative
}

.tel_popup_modal .tel_popup_modal_inner .tel_button::after {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #F36C21;
    transition: transform 600ms cubic-bezier(0.8, 0, 0.2, 1) 0s;
    transform: scale(0, 1);
    transform-origin: right top
}

.tel_popup_modal .tel_popup_modal_inner .tel_button:hover::after {
    transform-origin: left top;
    transform: scale(1, 1)
}

.tel_popup_modal .tel_popup_modal_inner .tel_button>span {
    position: relative;
    z-index: 2
}

.tel_popup_modal .tel_popup_modal_close {
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.2rem;
    font-weight: 900;
    color: #006fa8;
    border: 1px solid #006fa8;
    padding: 5px
}

@media(min-width: 1000px) {
    .tel_popup_modal .tel_popup_modal_close {
        top: 30px;
        right: 30px
    }
}

/* 注意事項 ボックス */
.notice-box {
    background: #f5f7fa;
    border: 0px solid #d5dbe3;
    padding: 20px 20px 15px;
    margin: 60px 0px 0px;
}

/* 見出し部分（ご注意事項＋必読） */
.notice-header {
    display: flex;
    align-items: center;
    justify-content: center;
    /* ← 全体を中央揃えにする */
    margin-bottom: 12px;
    gap: 12px;
    /* 少し広めに */
}

/* ご注意事項（太字） */
.notice-header strong {
    font-size: 2rem;
    font-weight: 600;
    /* しっかり太く */
    color: #293337;
}

/* 必読タグ（右側に表示） */
.required-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 1.2rem;
    color: #be4f5a;
    /* 赤文字 */
    border: 2px solid #be4f5a;
    /* しっかり赤枠 */
    font-weight: 600;
    /* 強調 */
}

/* 箇条書き部分 */
.notice-list {
    margin: 0;
    list-style: none;
    padding-left: 0;
}

.notice-list li {
    margin-bottom: 18px;
    line-height: 1.5;
    color: #293337;

    /* 先頭に「・」、2行目以降を字下げ */
    text-indent: -0.65em;
    padding-left: 1em;
}

.notice-list li::before {
    content: "・";
    display: inline-block;
    margin-right: 4px;
}

/* 
=========================================
   全体フォントを Noto Sans JP に統一
=========================================
*/

body,
button,
input,
select,
textarea,
p,
span,
a,
h1,
h2,
h3,
h4,
h5,
h6,
dl,
dt,
dd,
li {
    font-family: "Noto Sans JP", sans-serif !important;
}

/*********************************************
 * CTAボタン：背景色とホバー色の統一
 * 通常色：#FF943E
 * ホバー色：#F36C21
 *********************************************/

/* ------------------------------ */
/* ① ヘッダー CTA（Mail） */
/* ------------------------------ */
#header .inquiry .mail a {
    background-color: #FF943E !important;
}

#header .inquiry .mail a::after {
    background-color: #F36C21 !important;
}

/* ------------------------------ */
/* ② フッター固定CTA（Mail） */
/* ------------------------------ */
#footer .inquiry .mail a {
    background-color: #FF943E !important;
}

#footer .inquiry .mail a::after {
    background-color: #F36C21 !important;
}

/* ------------------------------ */
/* ③ トップページの大きい CTA */
/* ------------------------------ */
#top .hero .inquiry>a {
    background-color: #FF943E !important;
}

#top .hero .inquiry>a::after {
    background-color: #F36C21 !important;
}

/* ------------------------------ */
/* ④ セクション .cta 内の CTA（Mail） */
/* ------------------------------ */
.cta>ul>li.mail a {
    background-color: #FF943E !important;
}

.cta>ul>li.mail a::after {
    background-color: #F36C21 !important;
}

/* ------------------------------ */
/* ⑤ Reservation内：送信ボタン */
/* ------------------------------ */
.lower .page .submit {
    background-color: #FF943E !important;
}

.lower .page .submit::after {
    background-color: #F36C21 !important;
}

.lower .page .submit input[type=submit] {
    background: none !important;
    /* 親要素の色をそのまま使う */
    color: #fff !important;
}

/* ------------------------------------- */
/* --- 補足テキスト追加（折り返し希望日 - 4番目） --- */
/* ------------------------------------- */
.lower .page dl.contactDl dt:nth-of-type(4)::after {
    content: "※ご連絡がつきやすい曜日をご選択ください"; /* 「※」を追加 */
    display: block;
    font-size: 1.2rem;
    color: #666;
    margin-top: 6px;
    line-height: 1.4;
    font-weight: 400;
}

/* ------------------------------------- */
/* --- 補足テキスト追加（折り返し希望時間帯 - 5番目） --- */
/* ------------------------------------- */
.lower .page dl.contactDl dt:nth-of-type(5)::after {
    content: "※ご連絡がつきやすい時間帯をご選択ください"; /* 「※」を追加 */
    display: block;
    font-size: 1.2rem;
    color: #666;
    margin-top: 6px;
    line-height: 1.4;
    font-weight: 400;
}

/*
--- ご相談内容の補足テキスト追加（※800文字以内 - 7番目） --- 
*/
.lower .page dl.contactDl dt:nth-of-type(7)::after {
    content: "※800文字以内でご入力ください";
    display: block;
    font-size: 1.2rem;
    color: #666;
    margin-top: 6px;
    line-height: 1.4;
    font-weight: 400;
}

/* 
=========================================
スマホ時だけ CTAボタン内のフォントサイズ調整
=========================================
*/
@media (max-width: 768px) {
  .hero .inquiry a span {
    font-size: 1.2rem; /* ←お好みに調整OK */
  }
}

