* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.grecaptcha-badge {
    visibility: hidden;
}

html {
    font-size: 62.5%;
    letter-spacing: 0.15em;
    font-family: "Zen Maru Gothic", sans-serif;
    color: #005B96;
    line-height: 1;
    scroll-behavior: smooth;
    height: 100%;
}

body {
    position: relative;
}

a {
    text-decoration: none;
    color: #005B96;
}

li {
    list-style: none;
}

img {
    max-width: 100%;
}

.br_sp {
    display: none;
}

.br_pc {
    display: block;
}


/*フォントサイズ*/

.txt_xsm {
    font-size: 1.2rem;
}

.txt_sm {
    font-size: 1.4rem;
    line-height: 23px;
}

.txt_rg {
    font-size: 1.6rem;
    line-height: 30px;
}

.txt_md {
    font-size: 2rem;
    line-height: 28px;
}

.txt_xsm,
.txt_sm,
.txt_rg,
.txt_md {
    font-weight: 500;
}

.txt_lg {
    font-size: 2.8rem;
}

.txt_xlg {
    font-size: 3.2rem;
}

.txt_xxlg {
    font-size: 4.8rem;
}

.txt_lg,
.txt_xlg {
    font-weight: bold;
}

.ttl_sm {
    display: block;
    margin: 0 auto 5px auto;
}

.ttl_md {
    margin-bottom: 5px;
}


/*フォントサイズ*/


/*文字の色*/

.blue {
    color: #005b96;
}

.orange {
    color: #FF9C00;
}

.white {
    color: #fff;
}

.brown {
    color: #67471B;
}

.gray {
    color: #595757;
}

.yellow {
    color: #fcee21;
}


/*文字の色*/

.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}


/*背景*/

.cont_bg {
    background: #fff;
    height: auto;
    padding: 50px 0;
}

.bg_blue {
    background: #96E6FF;
}

.bg_skyblue {
    background: #F0FAFF;
}

.bg_navy {
    background: #005b96;
}

.bg_pink {
    background: #ff7bac;
}

.cont_body {
    margin-top: 30px;
}

.cont_inner {
    width: 850px;
    margin: 0 auto;
}


/*テキスト位置*/

.txt_ctr {
    text-align: center;
}


/*枠指定*/

.txt_fr {
    border: 3px solid #005B96;
    border-radius: 5px;
    background: #fff;
    display: inline-block;
    padding: 4px 10px 7px 10px;
}


/*アニメーション*/


/*キラッと光る*/

.btnshine {
    position: relative;
    outline: none;
    overflow: hidden;
}

.btnshine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    /*キラッと光る形状*/
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .3) 100%);
    transform: skewX(-25deg);
}

.btnshine:hover::before {
    animation: shine 0.7s;
}

@keyframes shine {
    100% {
        left: 125%;
    }
}


/*画像ズームイン*/

.zoomIn img {
    transform: scale(1);
    transition: .3s ease-in-out;
}

.zoomIn a:hover img {
    transform: scale(1.2);
}


/*　画像のマスク　*/

.mask {
    display: block;
    line-height: 0;
    overflow: hidden;
}


/*　テキストリンク　*/

.txt_link li a {
    position: relative;
    padding-bottom: 7px;
}

.txt_link li a:hover {
    opacity: 0.7;
}

.txt_link li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0%;
    width: 100%;
    height: 2px;
    background: #005B96;
    transition: all .3s;
    transform: scale(0, 1);
    transform-origin: left top;
}

.txt_link li a:hover::after {
    transform: scale(1, 1);
}


/*　フェードアップ　*/

.fadeUpTrigger {
    opacity: 0;
}

.fadeUp {
    animation-name: fadeUpAnime;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/*アニメーション*/


/*レイアウト指定*/

.two_layout .lt_cont,
.two_layout .rt_cont {
    width: 48%;
}

.three_layout .lt_cont {
    width: 10%;
}

.three_layout .ctr_cont {
    width: 30%;
}

.three_layout .rt_cont {
    width: 50%;
}

@media only screen and (min-width:800px) {
    a[href^="tel:"] {
        pointer-events: none;
    }
}

@media only screen and (max-width:1100px) {
    .cont_inner {
        width: 100%;
        margin: 0 auto;
    }
    .cont_bg {
        padding: 50px 5%;
    }
}

@media only screen and (max-width:800px) {
    .txt_xsm,
    .txt_sm,
    .txt_rg,
    .txt_md {
        font-weight: 600;
    }
    .txt_xlg {
        font-size: 2.4rem;
    }
    .br_sp {
        display: block;
    }
    .br_pc {
        display: none;
    }
}

@media only screen and (max-width:480px) {
    .txt_lg {
        font-size: 2.4rem;
    }
    .txt_xxlg {
        font-size: 4rem;
    }
    .cont_bg {
        padding: 50px 8%;
    }
    .header_cont {
        padding: 15px 3%;
    }
}


/*header css*/

#header {
    position: fixed;
    width: 100%;
    transition: background 0.3s;
    z-index: 1000;
}

#header.bg {
    background: #fff;
    box-shadow: 0px 0.3px 5px 0px rgba(0, 0, 0, 0.1);
}

.header_cont {
    padding: 15px 2%;
}

.header_cont h1 img {
    width: 160px;
}


/*　上に上がる動き　*/

#header.UpMove {
    animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-100px);
    }
}


/*　下に下がる動き　*/

#header.DownMove {
    animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
    from {
        opacity: 0;
        transform: translateY(-100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/*header css*/


/*g-nav css*/

#g-nav li {
    margin-left: 20px;
}


/*g-nav css*/


/*fixed_cta css*/

.fixed_cta {
    width: 100%;
    font-family: "Noto Sans JP", sans-serif;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}

.fixed_cta.cont_bg {
    padding: 12px 0 10px 0;
}

.fixed_cta .flex {
    justify-content: center;
}

.fixed_cta .yellow {
    margin-right: 20px;
}

.tel_btn span {
    display: block;
}

.btn.bg_pink {
    border: none;
}

.fixed_cta .tel_btn .pc {}

.fixed_cta .tel_btn .pc a {
    color: #fff;
    border: 1px solid #fff;
    font-size: 1.6rem;
    text-align: center;
    width: 230px;
    display: flex;
    height: 50px;
    margin-right: 20px;
    line-height: 19px;
    justify-content: center;
    align-items: center;
}

.fixed_cta .tel_btn .pc a span {
    font-size: 1.4rem;
}

.fixed_cta .tel_btn .sp {
    display: none;
}

.fixed_cta .tel_btn .sp {
    width: 80px;
    margin-right: 15px;
}

.fixed_cta .line_btn {
    margin-right: 15px;
    width: 72px;
}

.fixed_cta .line_btn a,
.fixed_cta .tel_btn a {
    display: block;
    border-radius: 10px;
}

.fixed_cta .web_btn a {
    line-height: 40px;
    font-weight: 700;
    border-radius: 10px;
    padding: 5px 3% 10px 3%;
    height: 50px;
    width: 220px;
}

.fixed_cta .web_btn img {
    width: 30px;
    margin-left: 10px;
}

.fixed_cta.fixed {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    z-index: 100;
}

@media only screen and (max-width:900px) {
    .fixed_cta .tel_btn .pc {
        display: none;
    }
    .fixed_cta .tel_btn .sp {
        display: block;
    }
}

@media only screen and (max-width:600px) {
    .fixed_cta .yellow .txt_xlg {
        font-size: 1.8rem;
    }
    .fixed_cta .yellow {
        margin-right: 4px;
    }
    .fixed_cta .yellow.txt_md {
        font-size: 1.4rem;
        line-height: 22px;
    }
    .fixed_cta .tel_btn .sp {
        width: 70px;
        margin-right: 4px;
    }
    .fixed_cta .line_btn {
        margin-right: 4px;
        width: 62px;
    }
    .fixed_cta .web_btn a {
        line-height: 40px;
        font-size: 1.4rem;
        border-radius: 5px;
        padding: 5px 0% 10px 1%;
        width: 173px;
    }
    .fixed_cta .web_btn img {
        width: 15px;
        margin-left: 3px;
    }
    .fixed_cta {
        bottom: -30px;
    }
}

@media only screen and (max-width:430px) {
    .fixed_cta .web_btn img {
        display: none;
    }
    .fixed_cta .web_btn a {
        font-size: 1.3rem;
        padding: 8px 0% 8px 0%;
        width: 130px;
        height: 45px;
        line-height: 30px;
    }
}

@media only screen and (max-width:380px) {
    .fixed_cta .tel_btn .sp {
        width: 60px;
        margin-right: 2px;
    }
    .fixed_cta .line_btn {
        width: 53px;
    }
    .fixed_cta .web_btn a {
        height: 38px;
        line-height: 0;
    }
    .fixed_cta .yellow {
        margin-right: 0;
    }
}


/*fixed_cta css*/


/*fv css*/

#fv {
    padding-top: 60px;
    position: relative;
    height: 100vh;
    width: 100%;
}

#fv.cont_bg {
    padding: 50px 0 0 0;
}

#fv .rt_cont {
    width: 47%;
    position: absolute;
    bottom: 0;
    right: 13%;
}

.fv_cont .lt_cont {
    width: 328px;
    position: absolute;
    top: 50%;
    left: 17%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}

#fv .rt_cont .img_fs img {
    object-fit: contain;
    width: auto;
    height: auto;
}

#fv .rt_cont .img_sc {
    position: absolute;
    bottom: 50px;
    right: 0px;
    width: 35%;
    object-fit: contain;
    height: auto;
    z-index: 101;
}

.fv_cont .lt_cont .flex {
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
}

.fv_cont .lt_cont .txt_xlg {
    margin: 10px 0;
    text-align: center;
}

.fv_cont .lt_cont h2.txt_xlg {
    margin: 20px 0 0 0;
}

.fv_cont .lt_cont h3 {
    margin-top: 20px;
}

.fv_cont .lt_cont h3 img {
    width: 25px;
}

.fv_logo {
    margin: 0 auto;
}

.fv_logo img {
    width: 320px;
}

#fv .rt_cont .img_sc.sp_img {
    display: none;
}

.fv_txt {
    text-align: left;
}

#fv .cont_inner {
    width: 90%;
}

@media only screen and (max-width:1200px) {
    #fv .rt_cont {
        right: 8%;
    }
    .fv_cont .lt_cont {
        left: 15%;
    }
}

@media only screen and (max-width:1000px) {
    #fv .cont_inner {
        width: 95%;
    }
    .fv_cont .lt_cont {
        left: 10%;
    }
    #fv .rt_cont {
        right: 7%;
    }
}

@media only screen and (max-width:900px) {
    #fv .rt_cont .img_sc {
        bottom: 68px;
    }
}

@media only screen and (max-width:800px) {
    #fv .rt_cont .img_sc.pc_img {
        display: none;
    }
    #fv .rt_cont .img_sc.sp_img {
        display: block;
    }
    .header_cont h1 img {
        width: 140px;
    }
    .fv_cont .lt_cont,
    .fv_cont .rt_cont {
        width: 100%;
    }
    .fv_cont {
        justify-content: flex-end;
    }
    .fv_cont .lt_cont .flex {
        align-items: center;
    }
    #fv .rt_cont .img_sc {
        right: initial;
        width: 40%;
        left: -30%;
    }
    .fv_cont .lt_cont .txt_xlg {
        text-align: center;
    }
    .fv_txt {
        display: flex;
        flex-direction: column;
    }
    .fv_logo img {
        width: 260px;
    }
    .fv_cont .lt_cont h2.txt_xlg {
        margin: 10px 0 0 0;
    }
    #fv.cont_bg {
        padding: 50px 0 0 0;
    }
    #fv .rt_cont {
        width: 70%;
        right: 2%;
    }
    .fv_cont .lt_cont {
        position: initial;
        transform: initial;
        -webkit-transform: initial;
        -ms-transform: initial;
    }
}

@media only screen and (max-width: 600px) {
    #fv.cont_bg {
        padding: 50px 0 0 0;
    }
}

@media only screen and (max-width: 480px) {
    #fv {
        padding-top: 50px;
        height: 600px;
    }
    .fv_cont .lt_cont .txt_xlg {
        margin: 5px 0;
    }
    #fv .rt_cont {
        width: 85%;
    }
    #fv .rt_cont .img_sc {
        width: 150px;
        left: -40px;
        bottom: 35px;
    }
    .fv_logo img {
        width: 240px;
        margin-top: 7px;
    }
    .txt_md {
        font-size: 1.8rem;
        line-height: 24px;
    }
}

@media only screen and (max-width: 430px) {
    #fv .rt_cont .img_sc {
        width: 120px;
        left: -15px;
    }
    #fv .rt_cont {
        width: 90%;
    }
}


/*fv css*/


/*point_fs css*/

.flex_column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pt_txt {
    background: #FF9C00;
    color: #fff;
    border-radius: 60px;
    width: 190px;
    height: 34px;
    line-height: 2;
    margin: 15px 0;
    display: inline-block;
}

.num {
    display: grid;
    align-content: center;
    margin: 0 auto;
}

.point_fs span {
    position: relative;
}

.point_fs li {
    width: 30%;
}

.point_fs img {
    width: 75%;
}

.circle_bg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #005B96;
}

#point_fs .circle_bg {
    margin-bottom: 20px;
}

#point_fs .circle_bg .txt_sm {
    line-height: 18px;
}

#point_fs .ttl_md {
    margin-bottom: 5px;
}

#point_fs .cont_body li .txt_md {
    font-weight: 600;
}

@media only screen and (max-width:800px) {
    .point_fs li {
        width: 100%;
    }
    #point_fs .cont_body li {
        display: flex;
        justify-content: space-around;
        position: relative;
        align-items: center;
        padding-bottom: 30px;
        border-bottom: 2px solid #005B96;
        margin-top: 30px;
    }
    #point_fs .cont_body li:nth-child(1) {
        margin-top: 0;
    }
    /* 下三角 */
    #point_fs .cont_body li:before {
        content: "";
        position: absolute;
        bottom: -20px;
        left: 50.2%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        margin-left: -2px;
        border: 10px solid transparent;
        border-top: 10px solid #fff;
        z-index: 2;
    }
    #point_fs .cont_body li:after {
        position: absolute;
        border: 12px solid transparent;
        border-top-color: #005B96;
        border-bottom-width: 0;
        bottom: -13px;
        content: "";
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        z-index: 1;
    }
    #point_fs .cont_body li:nth-child(3) {
        border: none;
    }
    #point_fs .cont_body li:nth-child(3):before {
        display: none;
    }
    #point_fs .cont_body li:nth-child(3):after {
        display: none;
    }
    #point_fs .circle_bg {
        position: absolute;
        z-index: 1;
        top: 0;
        left: 0;
    }
    #point_fs .circle_bg .txt_sm {
        font-size: 1.2rem;
        line-height: 15px;
    }
    #point_fs .circle_bg .txt_xlg {
        font-size: 2.8rem;
    }
    .point_fs img {
        width: 40%;
        position: relative;
        z-index: 2;
        margin-left: 7%;
    }
    #point_fs .txt_wrap {
        width: 45%;
    }
}

@media only screen and (max-width:480px) {
    .pt_txt {
        margin: 10px 0;
        width: 150px;
        font-size: 1.4rem;
        height: initial;
    }
    .point_fs img {
        width: 38%;
        margin-left: 14%;
    }
    #point_fs .cont_body li:after {
        left: 49.8%;
    }
    #point_fs .cont_body li:last-child {
        padding-bottom: 0;
    }
    #point_fs .circle_bg {
        position: absolute;
        z-index: 1;
        top: -15px;
        left: -15px;
    }
}


/*point_fs css*/


/*benefit css*/

#benefit.cont_bg {
    padding: 150px 0 50px 0;
}

#benefit .cont_head {
    background: #fff8e9;
    border: 3px solid #67471b;
    border-radius: 20px;
    position: relative;
    padding: 25px 0;
    color: #5b4018;
}

#benefit .cont_head .txt_md {
    font-size: 2rem;
}

#benefit .cont_head .txt_xlg {
    font-size: 3.2rem;
    margin-bottom: 10px;
}

#benefit .cont_head .txt_rg {
    font-size: 1.6rem;
}

#benefit .cont_head .txt_xxlg {
    font-size: 4.8rem;
}

#benefit .benefit_ribbon01 .txt_rg {
    font-size: 2rem;
}

#benefit .benefit_ribbon01 .txt_md {
    font-size: 2.4rem;
    color: #005b96;
    font-weight: 600;
}

#benefit .cont_head:before {
    position: absolute;
    content: '';
    background-image: url(../img/benefit_ttl_img_01.png);
    width: 170px;
    height: 170px;
    display: inline-block;
    background-size: contain;
    vertical-align: middle;
    background-repeat: no-repeat;
    top: -107px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}

.benefit_ribbon01 {
    background-image: url("../img/ribbon01.png");
    background-repeat: no-repeat;
    background-position: center;
    padding: 15px 0 18px 0;
}

.benefit_cont_fs li {
    background: #005b96;
    width: 48%;
    padding: 5px 2px;
    margin-top: 10px;
    height: 45px;
    border-radius: 7px;
    justify-content: center;
}

.benefit_cont_fs li:nth-child(1),
.benefit_cont_fs li:nth-child(2) {
    margin-top: 0;
}

#benefit .two_layout {
    background: #fff;
    margin-top: 90px;
    border-radius: 20px;
    position: relative;
}

#benefit .two_layout:nth-child(2),
#benefit .two_layout:nth-child(3) {
    margin-top: 70px;
}

#benefit .two_layout .lt_cont {
    width: 53%;
    margin: 0 auto;
}

#benefit .two_layout .lt_cont .num {
    margin: initial;
    text-align: center;
}

#benefit .two_layout .lt_cont div.flex {
    justify-content: flex-start;
}

#benefit .two_layout .lt_cont .txt_sm.gray {
    margin: 20px 0 0 0;
    line-height: 22px;
}

#benefit .two_layout:first-child .lt_cont .txt_sm.gray {
    margin: 10px 0;
}

#benefit .two_layout .lt_cont h4 {
    margin-left: 10px;
    line-height: 28px;
}

#benefit .two_layout .rt_cont {
    background: #fff8e9;
    width: 40%;
    padding: 25px 0;
    border-radius: 0 20px 20px 0;
}

#benefit .two_layout .rt_cont img {
    margin: 0 auto;
    display: block;
    width: 70%;
}

.benefit_cont_fs .flex img {
    width: 10%;
}

.benefit_cont_fs.txt_sm {
    font-size: 1.3rem;
    line-height: 17px;
}

.benefit_cont_fs .flex p {
    width: 70%;
    text-align: left;
    margin-left: 12px;
}

#benefit .two_layout:before {
    position: absolute;
    content: '';
    width: 90px;
    height: 90px;
    display: inline-block;
    background-size: contain;
    vertical-align: middle;
    background-repeat: no-repeat;
    left: 0;
}

#benefit .two_layout:nth-child(1):before {
    background-image: url(../img/benefit_icons_01.png);
    top: -65px;
}

#benefit .two_layout:nth-child(2):before {
    background-image: url(../img/benefit_icons_02.png);
    top: -40px;
}

#benefit .two_layout:nth-child(3):before {
    background-image: url(../img/benefit_icons_03.png);
    top: -40px;
}

@media only screen and (max-width:1100px) {
    #benefit .two_layout .lt_cont {
        width: 54%;
    }
    #benefit .two_layout:nth-child(1):before {
        top: -75px;
    }
    #benefit .two_layout:nth-child(2):before {
        top: -50px;
    }
    #benefit .two_layout:nth-child(3):before {
        top: -50px;
    }
    #benefit .cont_head {
        margin: 0px 5%;
    }
    #benefit .cont_body {
        margin-right: 5%;
        margin-left: 5%;
    }
}

@media only screen and (max-width:800px) {
    #benefit .cont_body {
        margin-right: 0;
        margin-left: 0;
    }
    #benefit .two_layout .lt_cont {
        width: 100%;
    }
    #benefit .two_layout .rt_cont {
        width: 100%;
    }
    #benefit .two_layout {
        padding: 5%;
        margin-top: 60px;
    }
    #benefit .two_layout .rt_cont {
        border-radius: 20px;
        margin-top: 30px;
    }
    #benefit .two_layout:before {
        left: initial;
        top: initial !important;
        right: 50px;
        bottom: 20px;
    }
}

@media only screen and (max-width:480px) {
    #benefit .two_layout:nth-child(2),
    #benefit .two_layout:nth-child(3) {
        margin-top: 30px;
    }
    #benefit .cont_head {
        padding: 15px 5%;
    }
    #benefit .cont_head .txt_xlg {
        font-size: 2.4rem;
        margin: 3px 0 10px 0;
    }
    #benefit .cont_head .txt_md {
        font-size: 1.8rem;
        margin-top: 5px;
    }
    #benefit .cont_head .txt_xxlg {
        font-size: 3.2rem;
    }
    #benefit .cont_head .txt_rg {
        font-size: 1.4rem;
        line-height: 23px;
    }
    .benefit_ribbon01 {
        background-size: contain;
    }
    #benefit .benefit_ribbon01 .txt_rg {
        font-size: 1.6rem;
    }
    #benefit .two_layout .rt_cont img {
        width: 60%;
    }
    #benefit .two_layout:before {
        right: 10px;
        bottom: 0px;
    }
    #benefit .two_layout {
        margin-top: 30px;
    }
    #benefit .two_layout .rt_cont {
        margin-top: 20px;
    }
    .benefit_cont_fs .flex p {
        width: 100%;
        text-align: center;
        margin-left: 0;
    }
    .benefit_cont_fs li {
        width: 49%;
        padding: 8px 3% 10px 3%;
        height: 70px;
    }
    #benefit .two_layout .lt_cont .txt_sm.gray {
        margin: 10px 0 0 0;
    }
    #benefit .two_layout .lt_cont h4 {
        line-height: 26px;
    }
    #benefit .cont_head:before {
        width: 150px;
        height: 150px;
        top: -94px;
    }
    #benefit.cont_bg {
        padding: 130px 0 50px 0;
    }
}


/*benefit css*/


/*message css*/

#message.cont_bg {
    padding-bottom: 0;
}

#message .bg_img {
    background-image: url(../img/message_bg_01.png);
    background-position: bottom;
    background-size: 100%;
    background-repeat: no-repeat;
    height: 900px;
}

#message .cont_body.cont_bg {
    border-radius: 20px;
    height: 320px;
    padding: 40px 3%;
}

#message .cont_body .txt_wrap {
    overflow-y: scroll;
    height: 250px;
}

#message .cont_body p {
    line-height: 32px;
    text-align: center;
}

#message .cont_body .ttl_lg {
    font-size: 2rem;
    color: #005B96;
    font-weight: 700;
}

#message .cont_body p {
    line-height: 37px;
}

@media only screen and (max-width:1100px) {
    #message.cont_bg {
        padding: 70px 0 0 0;
    }
    #message .bg_img {
        height: 800px;
    }
    #message .cont_body.cont_bg {
        margin: 30px 5% 0 5%;
    }
}

@media only screen and (max-width: 800px) {
    #message .bg_img {
        height: 750px;
        background-size: 130%;
    }
    #message.cont_bg {
        padding: 50px 0 0 0;
    }
    #message .cont_body.cont_bg {
        padding: 30px 5%;
    }
}

@media only screen and (max-width: 480px) {
    #message .bg_img {
        height: 640px;
        background-size: 180%;
    }
}

@media only screen and (max-width: 40px) {
    #message .bg_img {
        height: 630px;
    }
}


/*message css*/


/*review css*/

#review .ttl_lg {
    line-height: 40px;
    position: relative;
    display: inline-block;
}

#review .ttl_lg:before,
#review .ttl_lg:after {
    position: absolute;
    display: inline-block;
    content: "";
    background: #005B96;
    width: 4px;
    height: 1.5em;
    vertical-align: middle;
    bottom: -20px;
    border-radius: 30px;
}

#review .ttl_lg:before {
    transform: rotate(-35deg);
    left: -40px;
}

#review .ttl_lg:after {
    transform: rotate(35deg);
    right: -40px;
}

.ti-widget.ti-goog .ti-reviews-container-wrapper {
    justify-content: center;
}

@media only screen and (max-width:800px) {
    .ti-widget.ti-goog .ti-reviews-container-wrapper {
        justify-content: initial;
    }
}

@media only screen and (max-width:480px) {
    #review .ttl_lg {
        line-height: 34px;
        font-size: 2rem;
    }
    #review .ttl_lg:before {
        left: -25px;
    }
    #review .ttl_lg:after {
        right: -25px;
    }
    #review .ttl_lg:before,
    #review .ttl_lg:after {
        width: 3px;
        height: 1em;
        bottom: -10px;
    }
    #review .ttl_lg:before {
        left: -20px;
    }
    #review .ttl_lg:after {
        right: -20px;
    }
}


/*review css*/


/*form_fs css*/

#form_fs .cont_head .txt_lg,
#form_scd .cont_head .txt_lg {
    line-height: 40px;
    margin-bottom: 15px;
}

#form_fs .cont_head .txt_sm,
#form_scd .cont_head .txt_sm {
    line-height: 25px;
}

#form_fs .cont_bg,
#form_scd .cont_bg {
    border-radius: 20px;
    padding: 40px 5%;
    position: relative;
}

#form_fs .cont_bg:before,
#form_scd .cont_bg:before {
    position: absolute;
    content: '';
    background-image: url(../img/form_icon_01.png);
    width: 120px;
    height: 120px;
    display: inline-block;
    background-size: contain;
    vertical-align: middle;
    background-repeat: no-repeat;
    top: -60px;
    left: -20px;
}

#form_fs .cont_bg:after,
#form_scd .cont_bg:after {
    position: absolute;
    content: '';
    background-image: url(../img/form_icon_03.png);
    width: 120px;
    height: 120px;
    display: inline-block;
    background-size: contain;
    vertical-align: middle;
    background-repeat: no-repeat;
    top: -85px;
    right: 45px;
}

#form_fs .cont_inner,
#form_scd .cont_inner {
    width: 700px;
}

.wpcf7 label {
    font-size: 1.4rem;
    color: #595757;
    width: 28%;
    display: inline-block;
    font-weight: 600;
}

.wpcf7 .wpcf7-text {
    padding: 0 3%;
    width: 70%;
    height: 50px;
    border: 1px solid #595757;
    border-radius: 8px;
}

.wpcf7 .form-item,
.wpcf7 .check-item {
    margin: 25px 0;
}

.wpcf7 .form-item:nth-child(1) {
    margin-top: 0;
}

.wpcf7 .wpcf7-select {
    width: 70%;
    padding: 0 3%;
    height: 50px;
    border: 1px solid #595757;
    border-radius: 8px;
}

.wpcf7 .required {
    color: #ff8900;
}

.wpcf7 .wpcf7-submit {
    margin: 30px auto 0 auto;
    display: block;
    background: #ff7bac;
    border: none;
    color: #fff;
    font-size: 1.6rem;
    width: 320px;
    height: 60px;
    border-radius: 8px;
    transition: all .3s;
}

.wpcf7 .wpcf7-submit:hover {
    opacity: 0.7;
}

.wpcf7 .form-submit {
    position: relative;
    width: 320px;
    margin: 0 auto;
    height: 60px;
    transition: all .3s;
}

.wpcf7 .form-submit:hover {
    opacity: 0.7;
}

.wpcf7 .form-submit:before {
    position: absolute;
    content: '';
    background-image: url(../img/form_icon_02.png);
    width: 50px;
    height: 50px;
    display: inline-block;
    background-size: contain;
    vertical-align: middle;
    background-repeat: no-repeat;
    top: -14px;
    left: -10px;
    z-index: 100;
}

.wpcf7 .form-submit:after {
    position: absolute;
    content: '';
    background-image: url(../img/icon_arrow_02.svg);
    width: 25px;
    height: 25px;
    display: inline-block;
    background-size: contain;
    vertical-align: middle;
    background-repeat: no-repeat;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transition: all .3s;
}

.wpcf7 .form-submit:hover:after {
    right: 3%;
}

.hidden {
    display: none;
}

.wpcf7 .caption {
    font-size: 1.2rem;
    text-align: center;
    background: #ffeba4;
    padding: 10px 0;
    border-radius: 6px;
    font-weight: 500;
}

.wpcf7-textarea {
    width: 70%;
    padding: 15px 3%;
    border-radius: 8px ! IMPORTANT;
    border: 1px solid #595757 ! IMPORTANT;
}

@media only screen and (max-width:800px) {
    #form_fs .cont_inner,
    #form_scd .cont_inner {
        width: 100%;
    }
    /* 共通リセット */
    .wpcf7 input,
    .wpcf7 select,
    .wpcf7 textarea {
        -webkit-appearance: none;
        /* iOS標準スタイル解除 */
        appearance: none;
        border: 1px solid #ccc;
        /* Windows風シンプル枠 */
        border-radius: 0;
        /* 角丸を消す */
        background: #fff;
        /* 背景白 */
        color: #333;
        /* 文字色グレー寄り */
        font-size: 16px;
        padding: 8px;
        box-sizing: border-box;
    }
    /* フォーカス時（青い影や枠を消す） */
    .wpcf7 input:focus,
    .wpcf7 select:focus,
    .wpcf7 textarea:focus {
        outline: none;
        border: 1px solid #666;
        /* Windowsっぽく少し濃い枠線 */
        box-shadow: none;
    }
    /* プレースホルダー */
    .wpcf7 ::placeholder {
        color: #888;
    }
    /* ▼ select 専用（iPhoneの矢印を消してWindows風に） */
    .wpcf7 select {
        background-image: none;
        /* iOS矢印を消す */
        padding-right: 24px;
        /* 擬似矢印用の余白 */
        background: #fff url("data:image/svg+xml;utf8,<svg fill='%23666' height='24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right 8px center;
        background-size: 16px;
    }
    /* ▼ ファイル添付（input[type=file]） */
    .wpcf7 input[type="file"] {
        padding: 6px;
        font-size: 14px;
        background: #fff;
        color: #333;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border: none;
        width: 100%;
    }
    .wpcf7-list-item.first {
        margin: 0;
    }
    .wpcf7-list-item-label {
        cursor: pointer;
        display: flex;
    }
    /* デフォルトのボタン */
    input[type="radio"] {
        opacity: 0;
        /* デフォルトのボタンを非表示 */
        position: absolute;
    }
    /* チェック前のボタン */
    .wpcf7-list-item-label::before {
        background: #fff;
        border: 1px solid #333;
        border-radius: 100%;
        /* ラジオボタンっぽく丸くする */
        content: "";
        height: 1em;
        margin-bottom: auto;
        margin-right: .5em;
        margin-top: auto;
        transition: background-color .5s;
        /* 色をじんわり変化させる */
        width: 1em;
    }
    /* チェック後のボタン */
    input[type="radio"]:checked+.wpcf7-list-item-label::before {
        background-color: #7fbfff;
        /* チェック後の中心の色 */
        box-shadow: inset 0 0 0 3px #fff;
        /* 中心の色のスタイル */
    }
}

@media only screen and (max-width:480px) {
    #form_fs .cont_body,
    #form_scd .cont_body {
        margin-top: 80px;
    }
    #form_fs .cont_head .txt_lg,
    #form_scd .cont_head .txt_lg {
        line-height: 34px;
    }
    #form_fs .cont_bg:before,
    #form_scd .cont_bg:before {
        width: 90px;
        height: 90px;
        top: -55px left: -5px;
    }
    #form_fs .cont_bg:after,
    #form_scd .cont_bg:after {
        width: 90px;
        height: 90px;
        top: -65px;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
    }
    .wpcf7 .form-item,
    .wpcf7 .check-item {
        margin: 15px 0;
    }
    #form_fs .cont_bg,
    #form_scd .cont_bg {
        padding: 30px 5%;
    }
    .wpcf7 .wpcf7-submit {
        font-size: 1.4rem;
        width: 250px;
        height: 50px;
    }
    .wpcf7 .form-submit {
        width: 250px;
        height: 50px;
    }
    .wpcf7 .caption {
        padding: 10px 5%;
    }
    wpcf7 label,
    .wpcf7 .wpcf7-select {
        width: 100%;
    }
    .wpcf7 .wpcf7-text {
        width: 100%;
    }
    .wpcf7 label {
        margin-bottom: 15px;
        width: 100%;
    }
    .wpcf7-textarea {
        width: 100%;
    }
}


/*form_fs css*/


/*point_scd css*/

#point_scd {
    background: #F0FAFF;
}

.point_scd .flex_column {
    width: 40%;
}

.point_scd.num {
    right: 40%;
}

.point_scd .txt_left.txt_sm {
    padding: 20px 30px;
}

#point_scd .two_layout {
    margin-bottom: 25px;
}

#point_scd .two_layout:last-child {
    margin-bottom: 0;
}

#point_scd .two_layout .lt_cont {
    width: 40%;
}

#point_scd .two_layout .rt_cont {
    width: 55%;
}

#point_scd .two_layout .rt_cont .num {
    margin: initial;
}

#point_scd .two_layout .rt_cont div.flex {
    justify-content: flex-start;
}

#point_scd .two_layout .rt_cont h4 {
    margin-left: 10px;
}

#point_scd .two_layout .rt_cont .txt_sm.gray {
    margin: 10px 0 0 0;
    line-height: 28px;
}

@media only screen and (max-width:800px) {
    #point_scd .two_layout .lt_cont {
        width: 100%;
    }
    #point_scd .two_layout .rt_cont {
        width: 100%;
        margin-top: 20px;
    }
    #point_scd .two_layout .rt_cont h4 {
        line-height: 32px;
    }
    #point_scd .two_layout .rt_cont .txt_sm.gray {
        line-height: 24px;
    }
}

@media only screen and (max-width:480px) {
    #point_scd .two_layout .rt_cont h4 {
        line-height: 25px;
    }
    #point_scd .txt_sm.gray {
        margin: 10px 0 0 0;
        line-height: 25px;
    }
    #point_scd .txt_xlg {
        text-align: center;
    }
}


/*point_scd css*/


/*howto css*/

#howto .three_layout {
    margin-bottom: 50px;
    padding: 20px 5%;
    border-radius: 20px;
    position: relative;
}

#howto .three_layout:last-child {
    margin-bottom: 0;
}

#howto .three_layout .lt_cont {
    width: 5%;
}

#howto .three_layout .ctr_cont {
    width: 30%;
}

#howto .three_layout .rt_cont {
    width: 55%;
}

#howto .three_layout .rt_cont h4 {
    line-height: 40px;
}

#howto .three_layout .rt_cont .txt_sm.gray {
    line-height: 22px;
}

#howto .three_layout:before {
    position: absolute;
    content: '';
    width: 30px;
    height: 30px;
    display: inline-block;
    background-size: contain;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-image: url(../img/ud_arrow.svg);
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    bottom: -50px;
}

#howto .three_layout:nth-child(4):before {
    display: none;
}

@media only screen and (max-width:800px) {
    #howto .three_layout .rt_cont {
        width: 100%;
    }
    #howto .three_layout .lt_cont {
        width: 45%;
        text-align: center;
    }
    #howto .three_layout .ctr_cont {
        width: 49%;
        margin: 0 auto 0 0;
        border-left: 3px solid #005b95;
        padding: 17px 0px 17px 25px;
    }
}

@media only screen and (max-width:480px) {
    #howto .three_layout {
        padding: 15px 8%;
        position: relative;
        text-align: justify;
    }
}


/*howto css*/


/*faq css*/


/*アコーディオン全体*/

.accordion-area {
    list-style: none;
    width: 96%;
    max-width: 900px;
    margin: 0 auto;
}

.accordion-area li {
    margin: 10px 0;
}

.accordion-area .flex {
    justify-content: flex-start;
}

.accordion-area .flex span {
    font-size: 32px;
    font-weight: bold;
    margin-right: 20px;
}

.accordion-area .flex h3,
.accordion-area .flex p {
    width: 92%;
    line-height: 24px;
}


/*アコーディオンタイトル*/

.title {
    position: relative;
    cursor: pointer;
    font-weight: normal;
    padding: 2% 3% 2% 40px;
    transition: all .5s ease;
    background: #005b96;
    color: #fff;
    border-radius: 9px;
}


/*アイコンの＋と×*/

.title::before,
.title::after {
    position: absolute;
    content: '';
    width: 15px;
    height: 2px;
    background-color: #fff;
}

.title::before {
    top: 48%;
    right: 15px;
    transform: rotate(0deg);
}

.title::after {
    top: 48%;
    right: 15px;
    transform: rotate(90deg);
}

.title.close::before {
    transform: rotate(45deg);
}

.title.close::after {
    transform: rotate(-45deg);
}


/*アコーディオンで現れるエリア*/

.box {
    display: none;
    background: #fff;
    padding: 3% 3% 2% 40px;
    border-radius: 0 0 9px 9px;
    margin-top: -10px;
}

.open .box {
    display: flex;
}

.close .box {
    display: flex;
}

@media only screen and (max-width:480px) {
    .accordion-area .flex h3,
    .accordion-area .flex p {
        width: 75%;
        line-height: 20px;
    }
    .title {
        padding: 3% 3% 3% 4%;
    }
    .box {
        padding: 5% 3% 3% 4%;
    }
    .accordion-area .flex span {
        font-size: 2.4rem;
        margin-right: 15px;
    }
}


/*faq css*/


/*modaal css*/

.hide-area {
    display: none;
}

.modaal-close:after,
.modaal-close:before {
    background: #ccc;
}

.modaal-close:focus:after,
.modaal-close:focus:before,
.modaal-close:hover:after,
.modaal-close:hover:before {
    background: #666;
}


/*modaal css*/


/*area css*/

#area .lt_cont {
    width: 60%;
}

#area .lt_cont img {
    width: 100%;
}

#area .rt_cont {
    width: 38%;
}

.info_list li {
    border-bottom: 1px solid #b3b3b3;
    padding: 18px 0;
}

.info_list li:first-child {
    padding-top: 0;
}

#area .info_list h3.txt_rg {
    font-size: 1.5rem;
}

#area .info_list h3.txt_rg .txt_sm {
    font-size: 1.2rem;
}

#area .info_list a {
    border: 1px solid #005b96;
    padding: 6px;
    border-radius: 5px;
    transition: all .3s;
}

#area .info_list a:hover {
    background: #005b96;
    color: #fff;
}

#area .info_list a img {
    margin-left: 5px;
}

#area .info_list a .txt_sm {
    font-size: 1.3rem;
}

#area .cont_head p {
    margin-top: 20px;
}

.modaal-container {
    max-width: 850px;
}

.modaal-content-container {
    height: 500px;
    text-align: center;
    overflow-y: scroll;
    padding: 4% 5%;
}

.modaal-content-container .area_popup_cont h3 {
    position: relative;
    display: inline-block;
    padding: 0 55px;
    font-weight: 700;
    margin: 20px 0;
}

.modaal-content-container .area_popup_cont h3:before,
.modaal-content-container .area_popup_cont h3:after {
    content: '';
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 30px;
    height: 3px;
    border-radius: 50px;
    background-color: #005b96;
}

.modaal-close {
    position: absolute;
    right: 5px;
    top: 5px;
}

.modaal-content-container .area_popup_cont h3:before {
    left: 0;
}

.modaal-content-container .area_popup_cont h3:after {
    right: 0;
}

.modaal-content-container .area_popup_cont .area_popup_list {
    justify-content: flex-start;
}

.modaal-content-container .area_popup_list li {
    width: 29%;
    border-radius: 8px;
    padding: 10px 0;
    margin-bottom: 15px;
    font-size: 1.4rem;
    background: #fff4cb;
    ;
    color: #005b96;
    font-weight: 600;
    margin: 15px 15px;
}

.modaal-container {
    border-radius: 15px;
}

@media only screen and (max-width:800px) {
    #area .lt_cont {
        width: 100%;
    }
    #area .rt_cont {
        width: 100%;
        margin-top: 30px;
    }
}

@media only screen and (max-width:480px) {
    .modaal-content-container .area_popup_list li {
        width: 42%;
        padding: 5px 0;
        margin: 8px 10px;
    }
    .modaal-close:after,
    .modaal-close:before {
        height: 15px;
    }
    .modaal-close {
        right: 0px;
        top: 0px;
    }
    .modaal-content-container {
        padding: 4% 7%;
    }
}

@media only screen and (max-width:380px) {
    #area .info_list h3.txt_rg {
        font-size: 1.4rem;
    }
}

@media only screen and (max-width:370px) {
    #area .info_list h3.txt_rg .txt_sm {
        font-size: 1.1rem;
    }
}


/*area css*/


/*works css*/

#works .slider li {
    background: #fff;
    border-radius: 10px;
    position: relative;
}

#works .slide_txt {
    padding: 30px 3% 30px 3%;
}

#works .slide_txt h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

#works .slide_img {
    position: relative;
}

#works .slide_img img {
    border-radius: 10px 10px 0 0;
    height: 300px;
    object-fit: cover;
    object-position: 100% 65%;
}

#works .slide_img .day {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #fff;
    padding: 5px 20px;
    border-radius: 0 10px 0 0;
}

#works .slider .slick-slide .btn {
    border: 1px solid #005B96;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all .3s;
    width: 150px;
    margin: 0 20px 20px auto;
}

#works .slider .slick-slide .btn img {
    width: 20px;
}

#works .slider .slick-slide .btn:hover {
    background: #005b96;
    color: #fff;
}

.slider {
    width: 94%;
    margin: 0 auto;
}

.slider img {
    width: 100%;
    height: auto;
}

.slider .slick-slide {
    margin: 0 10px;
}


/*矢印の設定*/

.slick-prev,
.slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    cursor: pointer;
    outline: none;
    height: 50px;
    width: 50px;
    background-repeat: no-repeat;
    z-index: 100;
}

.slick-prev {
    background-image: url(../img/slide_icon_left.svg);
    left: 2.5%;
}

.slick-next {
    background-image: url(../img/slide_icon_right.svg);
    right: 2.5%;
}


/*ドットナビゲーションの設定*/

.slick-dots {
    display: none !important;
}

.slick-dots li {
    display: inline-block;
    margin: 0 5px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    width: 8px;
    /*ドットボタンのサイズ*/
    height: 8px;
    /*ドットボタンのサイズ*/
    display: block;
    border-radius: 50%;
    background: #ccc;
    /*ドットボタンの色*/
}

.slick-dots .slick-active button {
    background: #333;
    /*ドットボタンの現在地表示の色*/
}

.works_popup_cont h3 {
    margin: 10px 0;
    font-weight: 700;
    font-size: 2.4rem;
    text-align: left;
    color: #005B96;
    line-height: 32px;
}

.works_popup_cont img {
    margin: 20px 0;
    width: 100%;
}

.works_popup_cont p {
    margin: 20px 0;
    font-size: 1.6rem;
    text-align: left;
    line-height: 30px;
}

.modaal-content-container .works_popup_cont {
    padding: 0px 10%;
}

@media only screen and (max-width:480px) {
    #works.cont_bg {
        padding: 50px 0;
    }
    .slider {
        width: 100%;
    }
    .modaal-content-container .works_popup_cont {
        padding: 0px 5%;
    }
    .works_popup_cont h3 {
        font-size: 1.8rem;
        line-height: 30px;
        text-align: justify;
    }
    .works_popup_cont img {
        margin: 10px 0;
    }
    .works_popup_cont p {
        font-size: 1.4rem;
        line-height: 25px;
        text-align: justify;
    }
    .slick-prev,
    .slick-next {
        height: 30px;
        width: 30px;
        background-size: cover;
    }
    .slick-prev {
        left: 8.5%;
    }
    .slick-next {
        right: 8.5%;
    }
    #works .slide_txt {
        padding: 20px 5% 30px 5%;
    }
    #works .slide_txt h3 {
        font-size: 1.6rem;
        line-height: 24px;
    }
    .works_popup_cont h3 {
        line-height: 25px;
    }
}


/*works css*/


/*company css*/

#company th,
#company td {
    border-bottom: 1px solid #e6e6e6;
    text-align: left;
    padding: 10px 0;
}

#company tr:first-child th,
#company tr:first-child td {
    padding-top: 0;
}

#company th {
    width: 30%;
}

#company td {
    width: 70%;
}

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

#company table td {
    color: #595757;
}

#company .lt_cont {
    width: 45%;
}

#company .lt_cont img {
    width: 100%;
}

#company .rt_cont {
    width: 50%;
}

#company .btn {
    border: 1px solid #005B96;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all .3s;
}

#company .btn:hover {
    background: #005b96;
    color: #fff;
}

@media only screen and (max-width:800px) {
    #company .lt_cont {
        width: 100%;
    }
    #company .rt_cont {
        width: 100%;
        margin-top: 30px;
    }
    #company th,
    #company td {
        display: block;
        width: 100%;
    }
    #company table {
        width: 100%;
    }
    #company th {
        border: none;
    }
    #company table td {
        padding-top: 0;
    }
}


/*company css*/


/*footer css*/

#footer {
    padding: 0 2% 150px 2%;
}

#footer .foot_cont {
    border-radius: 20px;
}

#footer .foot_cont .flex {
    align-items: flex-start;
}

#footer .cont_bg {
    padding: 50px 0 0 0;
}

#footer .lt_cont .foot_logo {
    margin-bottom: 20px;
    width: 200px;
}

#footer .rt_cont.flex {
    align-items: flex-start;
}

#footer .rt_cont .fs_cont {
    margin-right: 50px;
}

#footer .rt_cont h2 {
    margin-bottom: 20px;
}

#footer .rt_cont ul li {
    margin-bottom: 15px;
}

#footer .txt_link li a::after {
    background: #fff;
}


/*footer css*/


/*pagetop css*/

.pagetop img {
    width: 150px;
}

@media only screen and (max-width:1100px) {
    #footer .cont_bg {
        padding: 50px 3% 0 3%;
    }
}

@media only screen and (max-width: 800px) {
    #footer .cont_bg {
        height: 470px;
        position: relative;
    }
    .pagetop {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
    }
    #footer .lt_cont {
        margin-top: 30px;
    }
    #footer .rt_cont {
        width: 100%;
    }
    #footer .rt_cont .fs_cont {
        margin-right: 0;
        width: 100%;
    }
    #footer .foot_cont .flex {
        flex-direction: column-reverse;
    }
}

@media only screen and (max-width: 800px) {
    #footer .cont_bg {
        height: 525px;
        padding: 50px 8% 0 8%;
    }
    .pagetop img {
        width: 100px;
    }
    .pagetop {
        left: initial;
        right: 0;
    }
}

@media only screen and (max-width: 480px) {
    .foot_logo {
        width: 160px;
    }
    .pagetop {
        left: initial;
        right: -30px;
    }
}


/*pagetop css*/

@media only screen and (max-width:1000px) {
    #g-nav {
        position: fixed;
        z-index: 999;
        top: 0;
        right: -120%;
        width: 100%;
        height: 100vh;
        background: #005b95;
        transition: all 0.6s;
    }
    /*アクティブクラスがついたら位置を0に*/
    #g-nav.panelactive {
        right: 0;
    }
    /*ナビゲーションの縦スクロール*/
    #g-nav.panelactive #g-nav-list {
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 100vh;
        /*表示する高さ*/
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }
    /*ナビゲーション*/
    #g-nav ul {
        /*ナビゲーション天地中央揃え*/
        position: absolute;
        top: 42%;
        left: 50%;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        width: 90%;
    }
    /*リストのレイアウト設定*/
    #g-nav li {
        list-style: none;
        text-align: left;
        width: 90%;
        margin: 10px auto;
        position: relative;
    }
    #g-nav li a {
        color: #005b95;
        text-decoration: none;
        padding: 15px 3%;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: bold;
        background: #fff;
        border-radius: 7px;
    }
    #g-nav li:before {
        position: absolute;
        content: '';
        background-image: url(../img/icon_arrow.svg);
        width: 20px;
        height: 20px;
        display: inline-block;
        background-size: contain;
        vertical-align: middle;
        background-repeat: no-repeat;
        top: 50%;
        right: 3%;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        z-index: 100;
    }
    .txt_link li a::after {
        display: none;
    }
    .openbtn {
        position: fixed;
        z-index: 9999;
        /*ボタンを最前面に*/
        top: 10px;
        right: 10px;
        cursor: pointer;
        width: 50px;
        height: 50px;
    }
    /*×に変化*/
    .openbtn span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: #005b96;
        width: 45%;
    }
    .openbtn span:nth-of-type(1) {
        top: 15px;
    }
    .openbtn span:nth-of-type(2) {
        top: 23px;
    }
    .openbtn span:nth-of-type(3) {
        top: 31px;
    }
    .openbtn.active span {
        background-color: #fff;
    }
    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }
    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }
    .openbtn.active span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }
}

@media only screen and (max-width:480px) {
    .openbtn {
        top: 3px;
        right: 0px;
    }
}


/*下層ページ css*/

.under_ttl {
    text-align: center;
}

#under_page.cont_bg {
    padding: 60px 0 100px 0;
}

.under_contact_2 .cont_inner {
    width: 800px;
}

#under_page.under_contact_2 {
    padding: 100px 0;
    margin-bottom: 100px;
}

#under_page.under_contact_2 .under_ttl {
    background: none;
    color: #005b96;
    padding: initial;
}

#under_page.under_contact_2 .cont_body {
    width: 80%;
    margin: 50px auto 0 auto;
}

#under_page.under_contact_2 .cont_bg {
    border-radius: 20px;
}

.wpcf7-radio {
    width: 100%;
}

.wpcf7-radio label,
.wpcf7-checkbox label {
    width: 100%;
}

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

.under_contact_2 .cont_head {
    text-align: center;
    margin-top: 50px;
}

.under_contact_2 .cont_head .txt_sm {
    font-size: 1.4rem;
    line-height: 25px;
}

.under_contact_2 .line_btn a {
    width: 100%;
    display: block;
    margin: 0 auto;
    background: #2da606;
    height: 70px;
    border-radius: 8px;
    line-height: 70px;
    text-align: center;
    color: #fff;
    font-size: 1.6rem;
    transition: all .3s;
}

.under_contact_2 .top_btn a {
    width: 100%;
    display: block;
    margin: 20px auto 0px auto;
    background: #818181;
    height: 70px;
    border-radius: 8px;
    line-height: 70px;
    text-align: center;
    color: #fff;
    font-size: 1.6rem;
    transition: all .3s;
}

.under_contact_2 .line_btn a:hover,
.under_contact_2 .top_btn a:hover {
    opacity: 0.7;
}

.form-textarea label {
    vertical-align: top;
    padding-top: 10px;
}

.under_contact .cont_head {
    margin-top: 30px;
}

.under_contact .wpcf7 .form-submit:before {
    display: none;
}

.under_contact small {
    margin-top: 30px;
    display: block;
    line-height: 15px;
    text-align: center;
    color: #565656;
}

@media only screen and (max-width:800px) {
    #under_page.under_contact_2 .wpcf7 label {
        width: 100%;
        margin-bottom: 15px;
    }
    #under_page.under_contact_2 .wpcf7 .wpcf7-text {
        width: 100%;
    }
    #under_page.under_contact_2 .wpcf7-radio label {
        margin-bottom: 0;
    }
    #under_page.under_contact_2 {
        padding: 80px 0 60px 0;
        margin-bottom: 60px;
    }
}

@media only screen and (max-width:500px) {
    #under_page .wpcf7-list-item {
        margin: 10px 0 0 0 !important;
    }
    #under_page .wpcf7-list-item:nth-child(1) {
        margin: 0 !important;
    }
    .under_contact_2 .cont_head .txt_sm {
        text-align: justify;
    }
    #under_page.under_contact_2 .under_ttl h3 {
        line-height: 32px;
    }
    .under_contact_2 .cont_head {
        margin-top: 30px;
    }
    #under_page.under_contact_2 .cont_body {
        margin: 30px auto 0 auto;
    }
}

@media only screen and (max-width:380px) {
    #under_page.under_contact_2 .cont_body {
        width: 95%;
    }
}

.under_privacy li {
    list-style: disc;
    margin-left: 20px;
}

#under_page .under_ttl {
    background: #005B96;
    padding: 80px 0;
    color: #fff;
}

#under_page .under_ttl h3 {
    margin-top: 15px;
}

.under_privacy p,
.under_privacy ul {
    margin-top: 20px;
}

.under_privacy h4 {
    margin-top: 40px;
}

.under_privacy h4 {
    border-bottom: 2px solid #005B96;
    padding-bottom: 15px;
}

.under_privacy ul {
    border: 2px solid #005B96;
    padding: 15px 3%;
    border-radius: 8px;
}

.aioseo-breadcrumbs {
    margin-top: 20px;
}

@media only screen and (max-width:1100px) {
    #under_page .cont_inner {
        width: 90%;
    }
}


/*下層ページ css*/
