@charset "utf-8";

/*
Theme Name: 九州住宅ローン2.0
Theme URI: https://loan-ai.jp/
Description: loan-ai2.0
*/

@font-face {
    font-family: GenJyuuGothic;
    src: url("./assets/fonts/GenJyuuGothicX-ExtraLight.woff") format("woff");
    font-weight: 100;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: GenJyuuGothic;
    src: url("./assets/fonts/GenJyuuGothicX-Light.woff") format("woff");
    font-weight: 200;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: GenJyuuGothic;
    src: url("./assets/fonts/GenJyuuGothicX-Normal.woff") format("woff");
    font-weight: 300;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: GenJyuuGothic;
    src: url("./assets/fonts/GenJyuuGothicX-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: GenJyuuGothic;
    src: url("./assets/fonts/GenJyuuGothicX-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: GenJyuuGothic;
    src: url("./assets/fonts/GenJyuuGothicX-Bold.woff") format("woff");
    font-weight: 600;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: GenJyuuGothic;
    src: url("./assets/fonts/GenJyuuGothicX-Heavy.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: block;
}

/**************************************
base
**************************************/

/* --- reset --- */
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;
    background: transparent;
    outline: 0;
}

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

html {
    width: 100%;
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    color: #647486;
    font-size: 1.7em;
    line-height: 1;

    /* font-family: "ヒラギノ丸ゴ Pro W4", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "HG丸ｺﾞｼｯｸM-PRO", "HGMaruGothicMPRO"; */

    /* font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif; */

    /* font-family: "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "verdana", sans-serif; */
    font-family: GenJyuuGothic, roboto, "ヒラギノ丸ゴ Pro W4", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "ヒラギノ角ゴ Pro W3", sans-serif;
    font-style: normal;
    font-weight: 500;
}

body,
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
}

.fw100 {
    font-weight: 100;
}

.fw200 {
    font-weight: 200;
}

.fw300 {
    font-weight: 300;
}

.fw400 {
    font-weight: 400;
}

.fw500 {
    font-weight: 500;
}

.fw600 {
    font-weight: 600;
}

.fw700 {
    font-weight: 700;
}

a {
    margin: 0;
    padding: 0;
    background: transparent;
    text-decoration: none;
    vertical-align: baseline;
}

ul {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

table tbody {
    text-size-adjust: 100%;
}

input,
select {
    vertical-align: middle;
}

.wrapper {
    /* opacity: 0; */
    width: 100%;
}

@media screen and (width <=1080px) {
    .wrapper {
        padding-bottom: 80px;
        min-height: calc(100svh - 80px);
    }
}

.contents {
    width: 100%;
}

footer {
    margin-top: auto;
}

.mt_150 {
    padding-top: min(150px, 20vw);
}

#index main {
    padding-bottom: 0;
}

.grecaptcha-badge {
    visibility: hidden;
}

.wpcf7-not-valid-tip {
    margin-top: 10px;
}

.to_top {
    position: fixed;
    right: 50px;
    bottom: 50px;
}

@media screen and (width <=1080px) {
    .to_top {
        position: fixed;
        right: 10px;
        bottom: 90px;
        z-index: 9999;
    }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    transition: top 0.3s ease-in-out;
    background-color: #fff;
    z-index: 9999;
}

header.scrolling {
    top: -80px;
}

main {
    padding-top: 80px;
}

/**************************************
parts
**************************************/
.inner720 {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

@media screen and (width <=720px) {
    .inner720 {
        width: 100%;
        max-width: 720px;
        margin: 0 auto;
    }
}

.inner980 {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
}

@media screen and (width <=980px) {
    .inner980 {
        padding: 0 3%;
        width: 94%;
    }
}

.inner1280 {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

@media screen and (width <=1280px) {
    .inner1280 {
        padding: 0 5%;
        width: 90%;
    }
}

.flex_nw_sb {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.flex_nw_l {
    display: flex;
    flex-wrap: nowrap;
    justify-content: left;
}

.flex_nw_r {
    display: flex;
    flex-wrap: nowrap;
    justify-content: right;
}

.flex_nw_c {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}

.flex_w_l {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}

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

.flex_w_c {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.flex_ai-c {
    display: flex;
    align-items: center;
}

.flex_ai-fs {
    display: flex;
    align-items: flex-start;
}

.flex_ai-fe {
    display: flex;
    align-items: flex-end;
}

.gap10 {
    gap: 10px;
}

.gap15 {
    gap: 15px;
}

.gap20 {
    gap: 20px;
}

.gap25 {
    gap: 25px;
}

.gap30 {
    gap: 30px;
}

.gap40 {
    gap: 40px;
}

.gap50 {
    gap: 50px;
}

.gap3p {
    gap: 3%;
}

.gap5p {
    gap: 5%;
}

.band01 {
    background-color: #003250;
    width: 100%;
    padding: min(50px, 5vw) 0;
}

@media screen and (width <=1080px) {
    .band01 {
        padding: min(80px, 7vw) 0;
    }
}

.bgc_yellow {
    background-color: #fffadc;
}

.page-title {
    background-color: #00b4dc;
    text-align: center;
    color: #fff;
    padding: 50px 0;
}

.sky {
    color: #00b4dc;
}

.orange {
    color: #f15a24;
}

.small {
    font-size: 50%;
}

.large {
    font-size: 200%;
}

@media screen and (width >=481px) {
    .dsp_min_480 {
        display: none;
    }
}

@media screen and (width <=480px) {
    .dsp_max_480 {
        display: none;
    }
}

@media screen and (width >=640px) {
    .dsp_min_640 {
        display: none;
    }
}

@media screen and (width >=860px) {
    .dsp_min_860 {
        display: none;
    }
}

.ti_3em {
    text-indent: -3.4em;
    padding-left: 3.4em;
    display: inline-block;
}

/**************************************
header
**************************************/
header .title {
    padding: 12px 0 12px 70px;
    background: url("./assets/images/main_logo.svg") no-repeat left top 10px;
    background-size: auto 56px;
    height: 56px;
}

@media screen and (width <=1280px) {
    header .title {
        width: calc(100% - 120px);
        margin-right: 2%;
    }
}

@media screen and (width <=480px) {
    header .title {
        padding: 12px 0 12px 60px;
        background-position: left top 14px;
        background-size: auto 48px;
        height: 48px;
    }
}

header .title a {
    font-size: 1.5rem;
    width: 100%;
    font-weight: 300;
    line-height: 1.4em;
    color: #003250;
}

@media screen and (width <=1190px) {
    header .title a {
        font-size: 1.1rem;
    }
}

@media screen and (width <=1080px) {
    header .title a {
        font-size: 1.5rem;
    }
}

@media screen and (width <=540px) {
    header .title a {
        font-size: 1.2rem;
    }
}

header .title img {
    height: 26px;
    margin-top: 6px;
}

@media screen and (width <=1280px) {
    header .title img {
        height: auto;
        width: 100%;
        max-width: 392px;
    }
}

@media screen and (width <=480px) {
    header .title img {
        margin-top: 5px;
    }
}

header .main_nav {
    border-left: solid 1px #003250;
    border-right: solid 1px #003250;
}

@media screen and (width <=1080px) {
    header .main_nav {
        display: none;
    }
}

header .main_nav>ul>li {
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    height: 80px;
    width: 150px;
    position: relative;
    line-height: 0;
}

header .main_nav>ul>li img {
    vertical-align: 5px;
    margin-left: 5px;
    transform: rotate(0);
    transition: all 0.2s;
}

header .main_nav>ul>li:hover img {
    transform: rotate(180deg);
    transition: all 0.2s;
}

header .main_nav .sub {
    display: none;
}

header .main_nav>ul>li:hover .sub {
    width: 100%;
    position: absolute;
    bottom: -197px;
    left: -1px;
    display: flex;
    flex-wrap: wrap;
    transition: 0.5s;
}

header .main_nav>ul>li:hover .sub li {
    background-color: #fff;
    display: block;
    border-left: solid 1px #003250;
    border-right: solid 1px #003250;
    border-bottom: solid 1px #003250;
    transition: all 0.5s ease;
}

header .main_nav>ul>li:hover .sub li:nth-of-type(1) {
    border-top: solid 1px #003250;
}

header .main_nav>ul>li:hover .sub li a {
    font-size: 1.5rem;
    color: #003250;
    padding: 24px 15px;
    display: block;
    width: 120px;
}

header .main_nav>ul>li:hover .sub li a:hover {
    color: #fff;
    background-color: #003250;
}

header .content {
    color: #003250;
}

@media screen and (width <=1080px) {
    header .contact {
        position: fixed;
        left: 0;
        bottom: 0;
        width: calc(100% - 15px);
        z-index: 999;
        background-color: #fff;
        padding-left: 15px;
    }

    header .contact.flex_nw_r {
        justify-content: space-between;
    }
}

header .contact .tel {
    padding: 12px 0;
    min-width: 270px;
    font-size: 1.6rem;
}

@media screen and (width <=480px) {
    header .contact .tel {
        width: calc(100% - 160px);
        min-width: unset;
        font-size: 1.2rem;
        padding: 13px 0 8px;
    }
}

@media screen and (width <=480px) {
    header .contact .tel ._1 img {
        width: 100%;
    }
}

header .contact .tel ._2 {
    vertical-align: middle;
    margin-top: 5px;
}

@media screen and (width <=480px) {
    header .contact .tel ._2.flex_ai-c {
        flex-wrap: wrap;
    }
}

header .contact .tel ._2_1 {
    font-size: 1.1rem;
    display: inline-block;
    border: solid 1px #003250;
    padding: 3px 6px;
    margin-right: 8px;
}

@media screen and (width <=480px) {
    header .contact .tel ._2_1 {
        font-size: 0.8rem;
        padding: 3px 4px;
        margin-right: 5px;
    }
}

header .contact .tel ._2_2 {
    font-size: 75%;
}

@media screen and (width <=480px) {
    header .contact .tel ._2_2 {
        font-size: 100%;
        padding-left: 40px;
    }
}

header .contact li a {
    display: block;
    width: 80px;
    height: 80px;
}

header .contact .mail a {
    background: url("./assets/images/icon_mail_white.svg") no-repeat center #003250;
    background-size: auto 20px;
}

header .contact .line a {
    background: url("./assets/images/icon_line.svg") no-repeat center #06c755;
    background-size: auto 29px;
}

/* モバイルメニュー */
.menu-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 1999;
    background-color: #fff;
    cursor: pointer;
}

@media screen and (width >=1081px) {
    .menu-btn {
        display: none;
    }
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
    content: "";
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #00b4dc;
    position: absolute;
}

.menu-btn span::before {
    bottom: 8px;
}

.menu-btn span::after {
    top: 8px;
}

#menu-btn-check:checked~.menu-btn span {
    background-color: rgb(255 255 255 / 0%);

    /* メニューオープン時は真ん中の線を透明にする */
}

#menu-btn-check:checked~.menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}

#menu-btn-check:checked~.menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}

#menu-btn-check {
    display: none;
}

.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 80;
    background-color: #3584bb;
}

.menu-content ul {
    padding: 30px 10px 0;
}

.menu-content ul li {
    /* border-bottom: solid 1px #ffffff; */
    list-style: none;
}

.menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color: #fff;
    text-decoration: none;
    padding: 20px 15px 18px 0;
    position: relative;
}

/* .menu-content ul li a::before {
	content: "";
	width: 7px;
	height: 7px;
	border-top: solid 2px #ffffff;
	border-right: solid 2px #ffffff;
	transform: rotate(45deg);
	position: absolute;
	right: 11px;
	top: 16px;
} */

.menu-content {
    width: 100%;
    height: calc(100% - 160px);
    position: fixed;
    top: 80px;
    left: 100%;

    /* leftの値を変更してメニューを画面外へ */
    z-index: 80;
    background-color: #003250;
    transition: all 0.5s;

    /* アニメーション設定 */
}

#menu-btn-check:checked~.menu-content {
    left: 0;

    /* メニューを画面内へ */
}

/**************************************
index
**************************************/
#main_slider {
    height: 45svw;
    max-height: 720px;
    background-image: url("./assets/images/main_image.png"), url("./assets/images/ptn_logo.png");
    background-position: center bottom, 0 0;
    background-size: contain, 40%;
    background-repeat: no-repeat, repeat;
    background-color: none, #00b4dc;
}

@media screen and (width <=480px) {
    #main_slider {
        height: calc(100svh - 160px);
        max-height: unset;
        background-image: url("./assets/images/main_image_sp.png"), url("./assets/images/ptn_logo.png");
        background-position: center bottom, 0 0;
        background-size: contain;
    }
}

#intro {
    position: relative;
    margin-top: -65px;
    line-height: 0;
}

@media screen and (width <=960px) {
    #intro {
        margin-top: 30px;
    }
}

@media screen and (width <=640px) {
    #intro {
        overflow: hidden;
    }
}

@media screen and (width <=620px) {
    #intro .flex_nw_sb {
        flex-wrap: wrap;
    }
}

#intro .text {
    width: 70%;
}

@media screen and (width <=620px) {
    #intro .text {
        width: 100%;
        padding-top: 50px;
    }
}

#intro .text h2 {
    color: #003250;
    text-align: center;
    font-size: 3rem;
    line-height: 1.3em;
    position: relative;
}

@media screen and (width <=620px) {
    #intro .text h2 {
        font-size: 2.5rem;
    }
}

#intro .text h2::before {
    content: url("./assets/images/image_index_002.svg");
    position: absolute;
    top: -50px;
    left: 136px;
    width: 140px;
    height: auto;
    z-index: -100;
}

@media screen and (width <=960px) {
    #intro .text h2::before {
        left: 0%;
        width: 32%;
        top: -60%;
    }
}

#intro .text p {
    color: #00b4dc;
    text-align: center;
    font-size: 5rem;
    line-height: 1.3em;
    font-weight: 700;
    margin-top: 35px;
}

@media screen and (width <=1080px) {
    #intro .text p {
        font-size: 3rem;
    }
}

@media screen and (width <=620px) {
    #intro .text p {
        font-size: 2.5rem;
    }
}

#intro .text p span {
    color: #003250;
}

#intro .text h2+span {
    font-size: 70%;
    font-weight: 600;
    margin-top: 15px;
    display: block;
    text-align: center;
}

#intro .image {
    width: 30%;
    position: relative;
}

@media screen and (width <=620px) {
    #intro .image {
        width: 100%;
        text-align: center;
        z-index: -10;
        margin-top: min(18vw, 95px);
    }
}

#intro .image img {
    width: 100%;
}

@media screen and (width <=620px) {
    #intro .image img {
        width: 65%;
    }
}

#intro .image p {
    bottom: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    position: absolute;
    font-size: 1rem;
    font-weight: 300;
    text-align: center;
}

@media screen and (width <=960px) {
    #intro .image p {
        bottom: 7%;
        width: 100%;
    }
}

@media screen and (width <=620px) {
    #intro .image p {
        bottom: 33%;
        padding-left: 1em;
    }
}

#intro .image .bubble {
    position: absolute;
    top: -3%;
    left: -20%;
    width: 50%;
}

@media screen and (width <=620px) {
    #intro .image .bubble {
        top: -15%;
        left: 15%;
        width: 40%;
    }
}

@media screen and (width <=720px) {
    #intro+.band01 {
        padding: min(50px, 12vw) 0;
    }
}

@media screen and (width <=620px) {
    #intro+.band01 {
        margin-top: -80px;
    }
}

/* お客様の声 */
#index_voice .mask {
    width: 100%;
    overflow: hidden;
    position: relative;
}

#index_voice .mask>.flex_nw_l {
    transition: transform 0.3s ease-in-out;

    /* 自動スクロールを無効化 */

    /* -webkit-animation: autoScroll 30s linear infinite;
	animation: autoScroll 30s linear infinite; */
}

/* アニメーション定義をコメントアウト
@-webkit-keyframes autoScroll {
	0% {
		transform: translateX(0);
	}

	100% {z
		transform: translateX(-100%);
	}
}

@keyframes autoScroll {
	0% {
			transform: translateX(0);
	}

	100% {
		transform: translateX(-100%);
	}
}
*/

#index_voice {
    margin: -100px auto 0;
    background-color: #fffadc;
    border: solid 4px #003250;
    border-radius: 15px;
    width: calc(100% - 208px);
    max-width: 720px;
    position: relative;
    padding: 70px 60px 30px;

    /* padding: 70px 100px 30px;一時的に非表示 */
}

@media screen and (width <=960px) {
    #index_voice {
        margin: 50px auto 0;
    }
}

@media screen and (width <=720px) {
    #index_voice {
        margin: 60px auto 0;
        padding: 40px 35px 30px;
        width: calc(100% - 78px);
    }
}

@media screen and (width <=480px) {
    #index_voice {
        padding: 40px 25px 30px;
        width: calc(100% - 58px);
    }
}

#index_voice h2 {
    color: #fff;
    background-color: #00b4dc;
    border-radius: 50px;
    padding: 15px;
    display: inline-block;
    position: absolute;
    top: -28px;
    width: 480px;
    text-align: center;
    left: 50%;
    transform: translate(-50%, 0);
}

@media screen and (width <=720px) {
    #index_voice h2 {
        width: calc(100% - 30px);
        top: -70px;
    }
}

#index_voice h2::before {
    content: url("./assets/images/deco_001.svg");
    position: absolute;
    width: 120px;
    left: 5px;
    top: -30px;
}

@media screen and (width <=560px) {
    #index_voice h2::before {
        top: -53px;
    }
}

#index_voice .prev,
#index_voice .next {
    /* 一時的に非表示 */
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    cursor: pointer;
    background-color: unset;
    z-index: 10;
}

#index_voice .prev {
    left: 20px;
}

#index_voice .next {
    right: 20px;
}

#index_voice button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media screen and (width <=720px) {

    #index_voice .prev,
    #index_voice .next {
        position: absolute;
        top: unset;
        bottom: 25px;
        transform: translate(-50%, -50%);
    }

    #index_voice .prev {
        left: 40px;
    }

    #index_voice .next {
        left: 80px;
        right: unset;
    }
}

#index_voice .prev img {
    width: 40px;
    position: absolute;
    top: 50%;
    left: 3%;
    transform: translate(0, -50%) rotate(90deg);
}

@media screen and (width <=720px) {
    #index_voice .prev img {
        width: 20px;
    }
}

#index_voice .next img {
    width: 40px;
    position: absolute;
    top: 50%;
    right: 3%;
    transform: translate(0, -50%) rotate(-90deg);
}

@media screen and (width <=720px) {
    #index_voice .next img {
        width: 20px;
    }
}

#index_voice ul {
    transition: transform 0.5s ease;
}

#index_voice ul li {
    width: 100%;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

@media screen and (width <=720px) {
    #index_voice ul li.flex_nw_l {
        flex-wrap: wrap;
        gap: 20px;
    }
}

#index_voice ul li.active {
    opacity: 1;
    transform: translateX(0);
}

#index_voice ul li .thumb {
    width: 20%;
}

@media screen and (width <=960px) {
    #index_voice ul li .thumb {
        width: 130px;
    }
}

@media screen and (width <=720px) {
    #index_voice ul li .thumb {
        width: 100%;
        text-align: center;
    }
}

#index_voice ul li .thumb .image {
    position: relative;
    max-width: 240px;
    display: inline-block;
}

#index_voice ul li .thumb .image img {
    width: 100%;
}

#index_voice ul li .thumb .date {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #00b4dc;
    color: #fff;
    width: calc(100% - 20px);
    padding: 10px;
    text-align: center;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    font-size: 1.4rem;
    line-height: 1.2em;
}

#index_voice ul li .text {
    width: 80%;
    overflow: hidden;
}

@media screen and (width <=960px) {
    #index_voice ul li .text {
        width: calc(100% - 160px);
    }
}

@media screen and (width <=720px) {
    #index_voice ul li .text {
        width: 100%;
    }
}

#index_voice ul li .text .title {
    color: #003250;
    font-size: 2.3rem;
    line-height: 1.2em;
}

#index_voice ul li .text .data {
    color: #00b4dc;
    margin-top: 12px;
    font-size: 1.5rem;
    line-height: 1.4em;
}

#index_voice ul li .text .body {
    border-top: dotted 2px #003250;
    padding-top: 15px;
    color: #003250;
    margin-top: 15px;
    font-size: 1.5rem;
    text-align: justify;
    line-height: 1.9em;
}

#index_voice ul li .text .body a {
    color: #00b4dc;
}

#index_voice .more {
    text-align: right;
    margin-top: 20px;
}

@media screen and (width <=720px) {
    #index_voice .more {
        margin-top: 20px;
    }
}

#index_voice .more a {
    display: inline-block;
    color: #003250;
    background-color: #fff;
    font-size: 1.1rem;
    border: solid 2px #003250;
    padding: 8px 16px 7px;
    border-radius: 30px;
}

/* /お客様の声 */

/* point */
#point {
    margin-top: 80px;
}

#point h2 {
    color: #fff;
    text-align: center;
    font-size: 3.5rem;
    line-height: 1.5em;
}

#point h2 span {
    font-size: 200%;
    color: #fcee23;
}

@media screen and (width <=960px) {
    #point .flex_nw_sb {
        flex-wrap: wrap;
    }
}

#point ul {
    margin-top: 110px;
}

#point ul li {
    width: calc(30% - 30px);
    background-color: #fff;
    border-radius: 8px;
    padding: 50px 15px 30px;
    text-align: center;
    color: #003250;
    font-size: 2.5rem;
    font-weight: 600;
    position: relative;
}

@media screen and (width <=960px) {
    #point ul li {
        width: calc(100% - 30px);
        max-width: 400px;
        margin: 0 auto 120px;
    }

    #point ul li:nth-last-of-type(1) {
        margin: 0 auto 20px;
    }
}

#point ul li p {
    display: inline-block;
    position: relative;
    line-height: 1.2em;
}

#point ul li img.num {
    position: absolute;
    left: -40px;
    top: -80px;
}

@media screen and (width <=960px) {
    #point ul li img.num {
        left: calc(50% - 50px);
        width: 100px;
    }
}

#point ul li strong {
    display: block;
    color: #f15a24;
    font-size: 4rem;
    margin-top: 40px;
}

#point ul li strong span {
    font-size: 280%;
    position: relative;
}

#point ul li strong span small {
    font-size: 20%;
    position: absolute;
    right: -40px;
    bottom: 95px;
    color: #f15a24;
}

#point ul li a {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translate(-50%, -50%);
}

#point .note {
    text-align: right;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 300;
    margin-top: 20px;
}

/* 悩み */
#index_anxiety {
    height: 70vh;
    background: url("./assets/images/image_index_003.jpg") no-repeat center;
    background-size: cover;
    padding: min(70px, 5vw) 0 min(40px, 4vw);
    text-align: right;
}

@media screen and (width <=860px) {
    #index_anxiety {
        background-position: left -25vw center;
    }
}

@media screen and (width <=480px) {
    #index_anxiety {
        background-position: left -40vw center;
    }
}

@media screen and (width <=640px) {
    #index_anxiety {
        text-align: left;
        height: auto;
        padding-top: 30px;
    }
}

#index_anxiety h2 {
    display: inline-block;
    text-align: left;
    color: #fff;
    line-height: 2em;
    text-shadow: 0 0 5px #003250, 0 0 5px #003250, 0 0 5px #003250;
}

@media screen and (width <=640px) {
    #index_anxiety h2 {
        font-size: 3.9vw;
    }
}

@media screen and (width <=480px) {
    #index_anxiety h2 {
        font-size: 5vw;
        color: #fff;
    }
}

#index_anxiety h2 strong {
    font-size: 240%;
    line-height: 1.3em;
}

#index_anxiety h2 .large {
    font-size: 139%;
}

#index_anxiety h2 .small {
    font-size: 60%;
}

#index_anxiety ul {
    display: inline-block;
    width: 70%;
    height: 50vh;
    max-height: 340px;
    position: relative;
    margin-top: 40px;
}

@media screen and (width <=860px) {
    #index_anxiety ul {
        width: 100%;
    }
}

#index_anxiety ul li {
    position: absolute;
}

#index_anxiety ul li img {
    width: 100%;
}

#index_anxiety ul li figcaption[aria-hidden="true"] {
    display: none;
}

#index_anxiety ul li._1 {
    width: 27.3%;
    left: 4.7%;
    top: 9.4%;
}

@media screen and (width <=640px) {
    #index_anxiety ul li._1 {
        width: 34.1%;
        left: 0;
    }
}

@media screen and (width <=480px) {
    #index_anxiety ul li._1 {
        width: 44%;
        left: 0;
    }
}

#index_anxiety ul li._2 {
    width: 32%;
    left: 34.8%;
    top: 0;
}

@media screen and (width <=640px) {
    #index_anxiety ul li._2 {
        width: 40%;
        left: 25%;
        top: -7%;
    }
}

@media screen and (width <=480px) {
    #index_anxiety ul li._2 {
        width: 52%;
    }
}

#index_anxiety ul li._3 {
    width: 30.6%;
    left: 69.1%;
    top: 6.9%;
}

@media screen and (width <=640px) {
    #index_anxiety ul li._3 {
        width: 38.5%;
        left: 62%;
        top: 1%;
    }
}

@media screen and (width <=480px) {
    #index_anxiety ul li._3 {
        width: 50%;
        left: 50%;
        top: 10%;
    }
}

#index_anxiety ul li._4 {
    width: 39.5%;
    left: 30.8%;
    top: 36.1%;
}

@media screen and (width <=640px) {
    #index_anxiety ul li._4 {
        width: 49.4%;
        top: 25%;
        left: 35%;
    }
}

@media screen and (width <=480px) {
    #index_anxiety ul li._4 {
        width: 64%;
        left: 30%;
        top: 30%;
    }
}

#index_anxiety ul li._5 {
    width: 35.6%;
    left: 0;
    top: 65.4%;
}

@media screen and (width <=640px) {
    #index_anxiety ul li._5 {
        width: 44.5%;
        left: 8%;
        top: 48%;
    }
}

@media screen and (width <=480px) {
    #index_anxiety ul li._5 {
        width: 58%;
    }
}

#index_anxiety ul li._6 {
    width: 33.3%;
    left: 38.1%;
    top: 73.4%;
}

@media screen and (width <=640px) {
    #index_anxiety ul li._6 {
        width: 41.6%;
        top: 75%;
        left: 0;
    }
}

@media screen and (width <=640px) {
    #index_anxiety ul li._6 {
        width: 54%;
    }
}

#index_anxiety ul li._7 {
    width: 27.3%;
    left: 72.8%;
    top: 46.9%;
}

@media screen and (width <=640px) {
    #index_anxiety ul li._7 {
        width: 34.1%;
        top: 60%;
        left: 58%;
    }
}

@media screen and (width <=480px) {
    #index_anxiety ul li._7 {
        width: 44%;
        top: 65%;
    }
}

/*  */
#follow {
    padding: 80px 0 60px;
    position: relative;
}

#follow::after {
    content: "";
    width: 100%;
    height: 100%;
    background: url("./assets/images/index_follow_001.png") no-repeat right top;
    background-size: auto 101%;
    opacity: 0.4;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -99;
}

@media screen and (width <=640px) {
    #follow::after {
        content: none;
    }
}

#follow h2 {
    padding: min(50px, 10vw) min(40px, 8vw) min(30px, 10vw);
    border: solid 5px #003250;
    border-radius: 20px;
    background-color: #fff;
    display: inline-block;
    line-height: 1.5em;
    color: #003250;
    text-align: center;
    font-size: 2.3rem;
    position: relative;
}

@media screen and (width <=480px) {
    #follow h2 {
        text-align: left;
        font-size: 2rem;
    }
}

#follow h2::after {
    content: url("./assets/images/deco_002.svg");
    position: absolute;
    right: -28px;
    width: 35px;
    height: 25px;
    top: 50%;
    transform: translate(0, -50%);
}

@media screen and (width <=480px) {
    #follow h2::after {
        right: calc(50% - 12px);
        transform: rotate(90deg);
        top: 100%;
    }
}

#follow h2 strong {
    display: block;
    color: #00b4dc;
    font-size: 300%;
    margin-bottom: min(30px, 5vw);
    line-height: 1.2em;
}

@media screen and (width <=480px) {
    #follow h2 strong {
        font-size: 240%;
        text-align: center;
    }
}

#follow .text {
    color: #003250;
    margin-top: 50px;
    line-height: 1.8em;
    text-align: justify;
}

@media screen and (width <=480px) {
    #follow .text {
        line-height: 2em;
        font-size: 1.5rem;
    }

    #follow .text strong {
        font-size: 1.8rem;
        margin-top: 20px;
        display: inline-block;
    }
}

@media screen and (width <=980px) {
    #follow .text {
        flex-wrap: wrap;
        gap: 0;
    }
}

#follow .text strong {
    font-size: 140%;
}

/* ポイント詳細 */
#index_point li#point_1,
#index_point li#point_2,
#index_point li#point_3 {
    padding: min(50px, 10vw) 0;
}

#index_point li>figure {
    text-align: center;
    margin-bottom: 30px;
}

#index_point h2 {
    text-align: center;
    color: #003250;
    font-size: 3.5rem;
    position: relative;
}

@media screen and (width <=640px) {
    #index_point h2 {
        font-size: 2.1rem;
        line-height: 1.8em;
    }
}

#index_point h2::after {
    content: "";
    height: 30px;
    background-color: #fcee23;
    display: inline-block;
    margin-top: -15px;
    position: absolute;
    bottom: -30%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -99;
}

@media screen and (width <=640px) {
    #index_point h2::after {
        bottom: -50%;
    }

    #index_point #point_2 h2::after {
        bottom: -20%;
    }
}

#index_point #point_1 h2::after {
    width: 500px;
}

#index_point #point_2 h2::after {
    width: 800px;
}

#index_point #point_3 h2::after {
    width: 540px;
}

@media screen and (width <=820px) {

    #index_point #point_1 h2::after,
    #index_point #point_2 h2::after,
    #index_point #point_3 h2::after {
        width: 100%;
    }
}

#index_point h2+p {
    text-align: center;
    color: #003250;
    margin-top: 35px;
    font-size: 2rem;
}

@media screen and (width <=640px) {
    #index_point h2+p {
        text-align: left;
        font-size: 1.6rem;
        line-height: 1.4em;
        margin-top: 25px;
    }
}

#index_point .content {
    background-color: #fffadc;
    border-radius: 15px;
    padding: 80px 50px 50px;
    margin-top: 50px;
    border: solid 5px #003250;
}

@media screen and (width <=640px) {
    #index_point .content {
        padding: 60px 30px 40px;
    }
}

#index_point .content h3 {
    background-color: #00b4dc;
    color: #fff;
    text-align: center;
    padding: 30px 30px 27px;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
    line-height: 1.2em;
}

@media screen and (width <=640px) {
    #index_point .content h3 {
        text-align: left;
        font-size: 3.5rem;
    }
}

#index_point .content h3::after {
    content: url("./assets/images/deco_006.svg");
    position: absolute;
    top: -26px;
    left: 21px;
    width: 60px;
}

#index_point .content h3+p {
    text-align: justify;
    line-height: 1.8em;
    color: #003250;
}

#index_point .content figure {
    margin-top: 30px;
    text-align: center;
}

@media screen and (width <=640px) {

    #index_point #point_1>figure img,
    #index_point #point_2>figure img,
    #index_point #point_3>figure img {
        width: 120px;
    }
}

@media screen and (width <=640px) {
    #index_point .content figure {
        margin-top: 15px;
    }
}

@media screen and (width >=641px) {
    #index_point #point_1 .content img.pc {
        max-width: 980px;
    }

    #index_point #point_1 .content img.sp {
        display: none;
    }
}

@media screen and (width <=640px) {
    #index_point #point_1 .content img.pc {
        display: none;
    }

    #index_point #point_1 .content img.sp {
        max-width: 480px;
    }
}

#index_point #point_1 figure figcaption {
    text-align: center;
    line-height: 1.8em;
    color: #003250;
    margin-top: 30px;
    font-size: 1.5rem;
}

@media screen and (width <=640px) {
    #index_point #point_1 figure figcaption {
        margin-top: 20px;
        text-align: left;
        display: inline-block;
    }
}

#index_point #point_2 ul {
    max-width: 960px;
    margin: 0 auto;
    width: 100%;
}

@media screen and (width <=640px) {
    #index_point #point_2 ul.flex_nw_sb {
        flex-wrap: wrap;
    }
}

#index_point #point_2 li:nth-of-type(odd) {
    width: 25%;
}

@media screen and (width <=640px) {

    #index_point #point_2 li:nth-of-type(odd),
    #index_point #point_2 li {
        width: 100%;
        text-align: center;
    }
}

#index_point #point_2 li:nth-of-type(odd) img {
    width: 100%;
    text-align: center;
}

@media screen and (width <=640px) {
    #index_point #point_2 li:nth-of-type(odd) img {
        max-width: 160px;
    }

    #index_point #point_2 li:nth-of-type(even) img {
        transform: rotate(90deg);
    }
}

#index_point #point_2 figure figcaption {
    color: #003250;
    margin-top: 20px;
    font-size: 1.5rem;
    line-height: 1.6em;
    text-align: center;
}

@media screen and (width <=640px) {
    #index_point #point_2 figure figcaption {
        text-align: center;
    }
}

#index_point #point_2 li:nth-of-type(1) figure figcaption {
    margin-top: 8px;
}

#index_point #point_2 li:nth-of-type(3) figure figcaption {
    margin-top: -5px;
}

#index_point #point_3 figure img {
    max-width: 980px;
}

@media screen and (width >=641px) {
    #index_point #point_3 figure img.pc {
        max-width: 980px;
    }

    #index_point #point_3 figure img.sp {
        display: none;
    }
}

@media screen and (width <=640px) {
    #index_point #point_3 figure img.pc {
        display: none;
    }

    #index_point #point_3 figure img.sp {
        max-width: 240px;
    }
}

/* 解決事例 */
#index_examples {
    background-color: #003250;
    padding: min(80px, 8vw) 0;
    color: #fff;
}

#index_examples dt {
    margin-bottom: 20px;
    font-size: 3rem;
}

#index_examples dt img {
    vertical-align: -8px;
    margin-right: 10px;
}

#index_examples dt span {
    font-size: 60%;
}

#index_examples .examples-content {
    border: solid 3px #fff;
    border-radius: 15px;
    padding: 20px 20px 40px;
}

@media screen and (width <=640px) {
    #index_examples .examples-content {
        padding: 10px 10px 20px;
    }
}

#index_examples .overview {
    background-color: #fff;
    color: #003250;
    border-radius: 10px;
    margin-bottom: 50px;
    line-height: 0;
    padding: 20px 40px 0;
}

@media screen and (width <=900px) {
    #index_examples .overview.flex_nw_sb {
        flex-wrap: wrap;
        align-items: center;
        padding: 20px 40px 30px;
        gap: 20px;
    }
}

#index_examples .overview .image {
    width: 27%;
}

@media screen and (width <=900px) {
    #index_examples .overview .image {
        width: 100%;
        text-align: center;
    }
}

#index_examples .overview .image img {
    width: 100%;
}

@media screen and (width <=900px) {
    #index_examples .overview .image img {
        max-width: 200px;
    }
}

#index_examples .overview .text {
    width: 75%;
}

@media screen and (width <=900px) {
    #index_examples .overview .text {
        width: 100%;
    }
}

#index_examples .overview .text ._1 {
    width: 100%;
}

#index_examples .overview .text ._1_1 {
    color: #fff;
    background-color: #00b4dc;
    margin-right: 10px;
    display: inline-block;
    padding: 15px;
    width: 110px;
    text-align: center;
    border-radius: 30px;
    vertical-align: top;
}

#index_examples .overview .text ._1_2 {
    display: inline-block;
    line-height: 1.5em;
}

#index_examples .examples-content figure {
    text-align: center;
}

@media screen and (width >=641px) {
    #index_examples .examples-content img.pc {
        max-width: 860px;
    }

    #index_examples .examples-content img.sp {
        display: none;
    }
}

@media screen and (width <=640px) {
    #index_examples .examples-content img.pc {
        display: none;
    }

    #index_examples .examples-content img.sp {
        max-width: 480px;
    }
}

#index_examples .examples-content p span {
    display: inline-block;
    text-align: justify;
    line-height: 1.8em;
    margin-top: 40px;
}

/* ご相談の流れ */
#index_flow {
    padding: min(150px, 15vw) 0 min(100px, 10vw);
    overflow: hidden;
}

#index_flow h2 {
    color: #00b4dc;
    font-weight: 500;
    font-size: 4rem;
    position: relative;
    text-align: center;
}

#index_flow h2::after {
    content: "FLOW";
    margin-top: 20px;
    color: #003250;
    border-top: dotted 2px #003250;
    width: 300px;
    position: absolute;
    bottom: -65px;
    left: 50%;
    padding-top: 10px;
    transform: translate(-50%, -50%);
    font-size: 50%;
}

@media screen and (width <=640px) {
    #index_flow ul .flex_nw_l {
        flex-wrap: wrap;
    }

    #index_flow figure {
        width: 100%;
        text-align: center;
    }
}

#index_flow ul {
    margin-top: 100px;
}

#index_flow li:nth-child(odd) {
    border: solid 5px #003250;
    border-radius: 15px;
    padding: min(30px, 8vw);
    color: #003250;
}

@media screen and (width <=640px) {
    #index_flow li:nth-child(odd) {
        padding: 45px min(30px, 8vw) min(30px, 8vw);
    }
}

#index_flow li:nth-child(odd) h3 {
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 2.3rem;
    line-height: 1.3em;
}

#index_flow li:nth-child(odd) p {
    line-height: 1.8em;
}

#index_flow li:nth-child(odd) p span {
    font-size: 80%;
    text-indent: -1em;
    padding-left: 1rem;
    line-height: 1.6em;
    display: inline-block;
    margin-top: 7px;
}

#index_flow li:nth-child(odd) p span strong {
    color: #00b4dc;
    font-weight: normal;
}

#index_flow li:nth-child(odd) img {
    max-width: 200px;
}

#index_flow li:nth-child(even) {
    text-align: center;
    margin: min(30px, 3vw) 0 min(20px, 2vw);
}

#index_flow li:nth-child(even) img {
    width: 50px;
}

/* お問い合わせはコチラ */
.induction {
    background-color: #00b4dc;
    padding: min(80px, 8vw);
}

@media screen and (width <=480px) {
    .induction .inner980 {
        padding: 0;
    }
}

.induction h2 {
    color: #fff;
    text-align: center;
    display: block;
    margin-bottom: 35px;
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2em;
}

@media screen and (width <=480px) {
    .induction h2 {
        font-size: 3rem;
        margin-bottom: 25px;
    }
}

@media screen and (width <=480px) {
    .induction .flex_nw_sb {
        flex-wrap: wrap;
        gap: 10px;
    }
}

.induction ._1 {
    width: 43%;
}

@media screen and (width <=480px) {
    .induction ._1 {
        width: 100%;
    }
}

.induction ._2 {
    width: 57%;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
}

@media screen and (width <=480px) {
    .induction ._2 {
        width: 100%;
        gap: 10px;
    }
}

.induction div img {
    width: 100%;
}

/**************************************
よくある質問
**************************************/
#faq {
    padding-bottom: 100px;
}

#faq ul {
    padding-top: 100px;
}

#faq li {
    padding-bottom: 50px;
    margin-bottom: 50px;
    border-bottom: dotted 3px #003250;
}

@media screen and (width <=640px) {

    #faq .q.flex_nw_l,
    #faq .a.flex_nw_l {
        gap: 15px 20px;
    }
}

@media screen and (width <=480px) {

    #faq .q.flex_nw_l,
    #faq .a.flex_nw_l {
        flex-wrap: wrap;
    }
}

#faq li:nth-last-child(1) {
    padding-bottom: unset;
    margin-bottom: unset;
    border-bottom: unset;
}

#faq .q {
    margin-bottom: 30px;
}

#faq .q ._1,
#faq .a ._1 {
    width: 80px;
    height: 80px;
    color: #fff;
    border-radius: 15px;
    font-weight: bold;
    font-size: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

#faq .q ._1 {
    background-color: #003250;
}

#faq .a ._1 {
    background-color: #f15a24;
}

#faq .q ._2,
#faq .a ._2 {
    width: calc(100% - 80px);
}

@media screen and (width <=480px) {

    #faq .q ._2,
    #faq .a ._2 {
        width: 100%;
    }
}

#faq .q ._2 {
    color: #003250;
    font-size: 2.3rem;
    line-height: 1.5em;
}

#faq .a ._2 {
    color: #f15a24;
    line-height: 1.6em;
    text-align: justify;
}

/**************************************
お客様の声
**************************************/
#voice>div {
    padding: min(100px, 10vw) 0;
}

#voice li {
    width: calc(100% - 80px);
    background-color: #fff;
    border-radius: 10px;
    padding: 40px;
}

@media screen and (width <=640px) {
    #voice li.flex_nw_l {
        padding: 30px;
        flex-wrap: wrap;
        width: calc(100% - 60px);
        gap: 20px;
    }
}

#voice li .image {
    width: 20%;
    min-width: 130px;
}

@media screen and (width <=640px) {
    #voice li .image {
        width: 100%;
        text-align: center;
    }
}

#voice li .image img {
    width: 100%;
}

#voice li .image>div {
    position: relative;
}

@media screen and (width <=640px) {
    #voice li .image>div {
        max-width: 300px;
        display: inline-block;
    }
}

#voice li .image p:nth-of-type(2) {
    position: absolute;
    bottom: 0;
    left: 0;
    width: calc(100% - 20px);
    background-color: #00b4dc;
    color: #fff;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 13px 10px 12px;
    font-size: 1.3rem;
    text-align: center;
}

#voice li .text {
    width: calc(80% - 30px);
}

@media screen and (width <=640px) {
    #voice li .text {
        width: 100%;
    }
}

#voice li .title {
    width: calc(100% - 60px);
}

#voice li .title ._1 {
    color: #003250;
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 1.3em;
}

#voice li .title ._2 {
    color: #00b4dc;
    font-weight: bold;
    font-size: 1.6rem;
    margin-top: 5px;
    line-height: 1.3em;
}

#voice li .open {
    width: 60px;
    text-align: center;
    cursor: pointer;
}

#voice li .open img {
    transition: transform 0.15s ease;
    transform: rotate(0deg);
}

#voice li .open.expand img {
    transform: rotate(180deg);
}

#voice li .open span {
    display: block;
    margin-top: 7px;
    font-size: 1rem;
    color: #647486;
}

#voice li .body {
    width: 100%;
    color: #003250;
    font-size: 1.5rem;
    text-align: justify;
    line-height: 1.67em;
    margin-top: 17px;
    height: 150px;
    overflow: hidden;
    padding-top: 15px;
    border-top: dotted 2px #003250;
}

#voice li .body.expand {
    overflow: unset;
    height: auto;
}

#voice li .posted {
    text-align: right;
    color: #003250;
    font-size: 1.5rem;
    margin-top: 10px;
}

/**************************************
お問い合わせ
**************************************/
#contact {
    padding-bottom: 100px;
}

#contact>.inner1280 {
    padding-top: 100px;
    border-bottom: dotted 2px #003250;
}

#contact_nav {
    margin-bottom: 100px;
}

@media screen and (width <=1080px) {
    #contact_nav.flex_nw_c {
        flex-wrap: wrap;
    }
}

#contact_nav li {
    width: 25%;
    min-height: 320px;
}

@media screen and (width <=1080px) {
    #contact_nav li {
        width: 100%;
        max-width: 640px;
    }
}

#contact_nav li a {
    padding: 40px;
    height: calc(100% - 143px);
    border: solid 5px #003250;
    border-radius: 30px;
    position: relative;
}

#contact_nav li a.recommend::after {
    content: url(assets/images/icon_recommend.svg);
    position: absolute;
    top: -30px;
    right: -35px;
    width: 110px;
}

#contact_nav li h2,
#contact_nav li p {
    text-align: center;
}

#contact_nav li h2 {
    color: #003250;
    font-size: 2.3rem;
    margin-bottom: 30px;
}

#contact_nav li p {
    width: 100%;
    font-size: 1.5rem;
    color: #003250;
}

#contact_nav li .__2 {
    color: #00b4dc;
    line-height: 1.4em;
    font-size: 1.8rem;
    margin-top: 15px;
}

#contact_nav li .__3 {
    margin-top: 15px;
    line-height: 1.5em;
}

#contact_nav li .__3 img {
    width: 100%;
}

#contact_mail {
    padding-top: 80px;
}

#contact_mail h2 {
    text-align: center;
    color: #003250;
    margin-bottom: 20px;
    font-size: 3rem;
}

/* メールで問い合わせ */
#contact #contact_form {
    font-family: "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, verdana, sans-serif;
}

#contact .icon {
    text-align: center;
    margin-bottom: 50px;
}

#contact .guide {
    width: 100%;
    max-width: 720px;
    margin: 0 auto 50px;
}

#contact .guide h3 {
    color: #00b4dc;
    margin-bottom: 15px;
    font-size: 2.2rem;
    line-height: 1.4em;
}

#contact .guide p {
    font-size: 1.5rem;
    text-align: justify;
    line-height: 1.6em;
}

#contact .attention {
    border: dotted 2px #003250;
    border-radius: 8px;
    padding: 20px;
    width: calc(100% - 42px);
    max-width: 530px;
    margin: 0 auto 80px;
    font-family: "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, verdana, sans-serif;
    gap: 20px;
}

@media screen and (width <=640px) {
    #contact .attention.flex_nw_l {
        flex-wrap: wrap;
        gap: 15px;
        padding: 30px 20px 20px;
    }
}

#contact .attention ._1 {
    width: 60px;
}

@media screen and (width <=640px) {
    #contact .attention ._1 {
        width: 100%;
        text-align: center;
    }
}

#contact .attention ._2 {
    width: calc(100% - 60px);
    text-align: justify;
    font-size: 1.5rem;
    line-height: 1.4em;
}

@media screen and (width <=640px) {
    #contact .attention ._2 {
        width: 100%;
    }
}

#contact .attention ._2 strong {
    margin-bottom: 10px;
    font-size: 1.8rem;
    display: block;
}

#contact .attention ._2 a {
    color: #00b4dc;
    text-decoration: underline;
}

.contact_policy {
    overflow-y: scroll;
    height: 300px;
    width: calc(100% - 42px);
    max-width: 640px;
    margin: 50px auto 30px;
    font-size: 1.5rem;
    line-height: 1.5em;
    padding: 30px 20px 20px;
    border: solid 1px #bbb;
    text-align: justify;
}

.contact_policy h3 {
    text-align: center;
    margin-bottom: 15px;
}

#contact_form table {
    border: solid 4px #003250;
}

@media screen and (width <=640px) {
    #contact_form table {
        border-bottom-width: 2px;
    }
}

#contact_form th,
#contact_form td {
    border: solid 2px #003250;
    font-size: 1.6rem;
    color: #003250;
}

@media screen and (width <=640px) {

    #contact_form th,
    #contact_form td {
        display: block;
        margin-top: -2px;
    }
}

#contact_form th {
    background-color: #f2f2f2;
    padding: 20px 50px 20px 15px;
    text-align: left;
    width: 25%;
    position: relative;
    line-height: 1.3em;
}

@media screen and (width <=640px) {
    #contact_form th {
        width: calc(100% - 65px);
        margin-left: -2px;
    }
}

#contact_form th span {
    position: absolute;
    background-color: #f15a24;
    color: #fff;
    top: 50%;
    right: 0;
    transform: translate(-50%, -50%);
    font-weight: normal;
    font-size: 1rem;
    padding: 2px 5px 1px;
    border-radius: 3px;
}

#contact_form td .select-arrow {
    position: relative;
}

#contact_form td .select-arrow::before {
    position: absolute;
    top: 0;
    right: 8px;
    content: "▼";
    font-size: 1.4rem;
}

#contact_form td {
    padding: 10px;
}

@media screen and (width <=640px) {
    #contact_form td {
        width: calc(100% - 20px);
        margin-left: -2px;
        min-height: 40px;
        vertical-align: middle;
    }
}

#contact_form td span.note {
    font-size: 1.2rem;
    line-height: 1.4em;
    text-indent: -1em;
    padding-left: 2em;
    display: inline-block;
    width: calc(100% - 252px);
    vertical-align: middle;
}

@media screen and (width <=640px) {
    #contact_form td span.note {
        display: block;
        margin-top: 8px;
        padding-left: 1em;
        width: calc(100% - 15px);
    }
}

#contact_form td.flex_nw_l {
    border: none;
    border-top: solid 1px #003250;
    margin-top: -1px;
    border-bottom: solid 2px #003250;
}

#contact_form .wpcf7-select {
    width: 240px;
    padding: 12px 5px 10px;
    cursor: pointer;
    border: solid 1px #bbb;
    font-size: 1.6rem;
    outline: 0;
    position: relative;
}

@media screen and (width <=640px) {
    #contact_form .wpcf7-select {
        width: 100%;
    }
}

#contact_form .wpcf7-select::before {
    position: absolute;
    top: 18px;
    right: 16px;
    width: 0;
    height: 0;
    border-width: 10px 5px 0;
    border-style: solid;
    border-color: #eee transparent transparent;
    content: "";
    pointer-events: none;
}

#contact_form input[type="radio"] {
    position: relative;
    width: 20px;
    height: 20px;
    border: 1px solid #003250;
    border-radius: 50%;
    vertical-align: -4px;
    appearance: none;
    cursor: pointer;
}

@media screen and (width <=640px) {
    #contact_form input[type="radio"] {
        margin-top: 10px;
    }
}

#contact_form input[type="radio"]:checked::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #003250;
    content: "";
}

.wpcf7-list-item {
    margin: 0 1em 0 0;
}

#contact_form input[type="text"],
#contact_form input[type="number"],
#contact_form input[type="email"] {
    border: solid 1px #bbb;
    padding: 8px;
    outline: 0;
    width: calc(100% - 18px);
    font-size: 1.6rem;
}

.not_break {
    white-space: nowrap;
}

#contact_form .short input[type="text"],
#contact_form .short input[type="number"],
#contact_form .short input[type="email"] {
    width: 160px;
    margin-right: 10px;
}

#contact_form textarea {
    border: solid 1px #bbb;
    padding: 8px;
    width: calc(100% - 18px);
    height: 300px;
}

@media screen and (width <=640px) {
    #contact_form textarea {
        height: 300px;
    }
}

.wpcf7-not-valid-tip {
    font-weight: bold;
}

#contact .submit {
    text-align: center;
}

#contact .wpcf7-submit {
    color: #fff;
    padding: 18px 100px 17px;
    background-color: #003250;
    font-size: 1.8rem;
    margin: 0 auto;
    display: inline-block;
    border: none;
}

#contact .consent {
    text-align: center;
    margin: 50px auto;
}

#contact .consent a {
    text-decoration: underline;
    color: #00b4dc;
}

#contact #consent {
    cursor: pointer;
    margin-right: 10px;
    position: relative;
    width: 20px;
    height: 20px;
    border: 1px solid #000;
    vertical-align: -6px;
    appearance: none;
}

@media screen and (width <=750px) {
    #contact #consent {
        vertical-align: top;
    }
}

#contact #consent:checked::before {
    position: absolute;
    top: 0;
    left: 5px;
    transform: rotate(50deg);
    width: 6px;
    height: 12px;
    border-right: 2px solid #00b4dc;
    border-bottom: 2px solid #00b4dc;
    content: "";
}

#contact .consent label {
    text-align: left;
    display: inline-block;
    line-height: 1.6em;
    font-weight: bold;
}

@media screen and (width <=750px) {
    #contact .consent label {
        width: calc(100% - 40px);
    }
}

#contact .wpcf7-spinner {
    display: none;
}

/**************************************
プライバシーポリシー
**************************************/
#policy {
    font-size: 1.6rem;
    line-height: 1.8em;
    text-align: justify;
}

#policy>.inner980 {
    padding: min(100px, 15vw) 0;
}

/**************************************
会社概要
**************************************/
#company>.inner980 {
    padding: min(100px, 15vw) 0;
}

#company table {
    width: 100%;
    border: solid 2px #003250;
    font-size: 1.5rem;
}

#company th,
#company td {
    padding: 18px 10px 17px;
    border: solid 1px #003250;
}

#company th {
    width: 30%;
    text-align: left;
    background-color: #eee;
}

@media screen and (width <=640px) {

    #company th,
    #company td {
        display: block;
        width: calc(100% - 22px);
    }
}

/**************************************
footer
**************************************/
footer {
    background-color: #003250;
    color: #fff;
    padding: 30px 0;
}

@media screen and (width <=1080px) {
    footer .flex_nw_sb {
        justify-content: left;
        flex-wrap: wrap;
    }

    footer .flex_nw_sb ._1 {
        order: 2;
    }
}

@media screen and (width <=680px) {
    footer .flex_nw_sb ._1 {
        margin-top: 20px;
        width: calc(100% - 30px);
    }

    footer .flex_nw_sb ._2,
    footer .flex_nw_sb ._2 img {
        width: 100%;
    }
}

footer ul {
    margin-bottom: 15px;
}

@media screen and (width <=1080px) {
    footer ul.flex_nw_l {
        flex-wrap: wrap;
        line-height: 1.6em;
    }
}

footer ul li {
    margin-right: 20px;
}

footer ul li a {
    color: #fff;
    font-size: 1.4rem;
}

footer small {
    font-size: 1.2rem;
}
