@charset "UTF-8";

/* Extra small devices: Phones (<576px) */
@media (max-width: 575px) {}

/* Small devices: Phablet (?576px) */
@media (min-width: 576px) and (max-width: 767px) {}

/* Medium devices: Tablets (?768px) */
@media (min-width: 768px) and (max-width: 991px) {}

/* Large devices: laptop (?992px) */
@media (min-width: 992px) and (max-width: 1199px) {}

/* Extra Large devices: Desktops (?1200px) */
@media (min-width: 1200px) {}

@media print {
    a[href]:after {
        content: "" !important;
    }

    abbr[title]:after {
        content: "" !important;
    }
}

/* 一括で全ての要素の余白をゼロに指定 */
* {
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    -webkit-backface-visibility: hidden;
}

a:link {
    color: #2059AE;
    text-decoration: none;
}

a:visited {
    color: #2059AE;
    text-decoration: none;
}

a:hover {
    color: #666666;
    text-decoration: none;
}

a.hover_img {
    display: block;
    /*ブロック化重要！*/
}

a.hover_img img {
    transition: all 0.5s ease;
}

a:hover.hover_img img {
    opacity: 0.8;
    filter: alpha(opacity=70);
}

.clearboth {
    clear: both;
}

.clearleft {
    clear: left;
}

.clearright {
    clear: right;
}

.clearfix:after {
    content: ".";
    /* 新しいコンテンツ */
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
    /* 非表示に */
}

.clearfix {
    min-height: 1px;
}

* html .clearfix {
    height: 1px;
    /*\*/
    /*/
    height: auto;
    overflow: hidden;
  /**/
}

ul:after {
    content: "";
    display: block;
    clear: both;
}

dl,
ul {
    margin: 0;
    list-style: none;
}

ol li {
    list-style-position: inside;
}

.indent-1 {
    padding-left: 1em;
    text-indent: -1em;
}

.ggmap {
    position: relative;
    padding-bottom: 40%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.ggmap iframe,
.ggmap object,
.ggmap embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.youtube {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

.youtube iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100% !important;
    height: 100% !important;
}

/* ----------------------------------------  ■ 文字 ------------------------------------------------*/

body {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
    font-weight: 500;
    font-size: 18px;
}

@media screen and (max-width: 767px) {
    body {
        font-size: 14px;
    }
}

/* ----------------------------------------  ■ ページトップに戻る ------------------------------------------------*/
#page-top {
    position: fixed;
    bottom: 10px;
    right: 10px;
    font-size: 12px;
}

#page-top a {
    background: #222;
    text-decoration: none;
    color: #fff;
    width: 50px;
    padding: 5px 0;
    text-align: center;
    display: block;
    border-radius: 10px;
}

#page-top a:hover {
    text-decoration: none;
    background: #555;
}

/* ----------------------------------------  ■ ぱんくずリスト ------------------------------------------------*/
.topicpath {
    padding: 5px;
}

.topicpath ol {
    margin: 0;
}

.topicpath ol li {
    display: inline;
    list-style-type: none;
}

.topicpath ol li:before {
    content: " > ";
}

.topicpath ol li:first-child:before {
    content: "";
}

/* ----------------------------------------  ■ HEADER ------------------------------------------------*/

header {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

header .header-pc {
    margin-top: 30px;
}

@media only screen and (max-width: 1119px) {
    header .container-fluid {
        padding: 0 0.4em;
    }
}

@media screen and (max-width: 767px) {
    header img.header-logo {
        width: 95px;
    }
}

/* ----------------------------------------  ■ フェードインアニメーション ------------------------------------------------*/

@media screen and (min-width: 768px) {
    .sa {
        opacity: 0;
        transition: all 1s ease;
    }

    .sa.show {
        opacity: 1;
        transform: none;
    }

    .sa--lr {
        transform: translate(-100px, 0);
    }

    .sa--rl {
        transform: translate(100px, 0);
    }

    .sa--up {
        transform: translate(0, 100px);
    }

    .sa--down {
        transform: translate(0, -100px);
    }

    .sa--scaleUp {
        transform: scale(.8);
    }

    .sa--scaleDown {
        transform: scale(1.5);
    }

    .sa--rotateL {
        transform: rotate(180deg);
    }

    .sa--rotateR {
        transform: rotate(-180deg);
    }

    .fadein {
        opacity: 0;
        transform: translate(0, 50px);
        transition: all 1s;
    }

    .fadein.scrollin {
        opacity: 1;
        transform: translate(0, 0);
    }

    .fadein:nth-of-type(2) {
        -moz-transition-delay: 100ms;
        -webkit-transition-delay: 100ms;
        -o-transition-delay: 100ms;
        -ms-transition-delay: 100ms;
    }

    .fadein:nth-of-type(3) {
        -moz-transition-delay: 200ms;
        -webkit-transition-delay: 200ms;
        -o-transition-delay: 200ms;
        -ms-transition-delay: 200ms;
    }

    .fadein:nth-of-type(4) {
        -moz-transition-delay: 300ms;
        -webkit-transition-delay: 300ms;
        -o-transition-delay: 300ms;
        -ms-transition-delay: 300ms;
    }

    .fadein:nth-of-type(5) {
        -moz-transition-delay: 400ms;
        -webkit-transition-delay: 400ms;
        -o-transition-delay: 400ms;
        -ms-transition-delay: 400ms;
    }

    .fadein:nth-of-type(6) {
        -moz-transition-delay: 500ms;
        -webkit-transition-delay: 500ms;
        -o-transition-delay: 500ms;
        -ms-transition-delay: 500ms;
    }
}

/* ----------------------------------------  ■ FOOTER ------------------------------------------------*/

footer {
    background: #ddd;
    margin-top: 100px;
}

footer .copywrite {
    background: #000;
    padding: 8px 0;
    color: #fff;
    text-align: center;
}

footer .copywrite a {
    color: #fff;
}

/* ----------------------------------------  ■ メインコンテンツ ------------------------------------------------*/
.mgtop100 {
    margin-top: 100px;
}

.mgtop50 {
    margin-top: 50px;
}

.mgtop25 {
    margin-top: 25px;
}

.mgtop10 {
    margin-top: 10px;
}

@media screen and (max-width: 767px) {
    .mgtop100 {
        margin-top: 50px;
    }

    .mgtop50 {
        margin-top: 25px;
    }

    .mgtop25 {
        margin-top: 10px;
    }

    .mgtop10 {
        margin-top: 5px;
    }

    .maintop {
        margin: 0 0.5em;
        z-index: 1;
    }
}

main {
    position: relative;
    overflow: hidden;
}

h1 {
    font-size: 40px;
    font-weight: bold;
}

h2 {
    font-size: 24px;
    font-weight: bold;
}

h1 span {
    font-size: 20px;
    margin-left: 15px;
}

@media screen and (max-width: 767px) {
    h1 {
        font-size: 24px;
        font-weight: bold;
    }

    h1 span {
        font-size: 16px;
        margin-left: 15px;
    }

    h2 {
        font-size: 16px;
        font-weight: bold;
    }
}

.bg-black {
    background: #000;
}

.mainimg {
    background: #111;
    text-align: center;
    overflow: hidden;
}

.button-black {
    display: block;
    padding: 8px 20px;
    color: #fff;
    background: #000;
    transition: all 0.5s ease;
    font-weight: bold;
}

a.button-black {
    color: #fff;
}

.button-black:hover {
    background: #666;
    text-decoration: none;
}

a:hover .button-black {
    background: #666;
    text-decoration: none;
}


.blackbtn a {
    background: transparent;
    border: 2px solid #000;
    position: relative;
    margin: 0.4em;
    display: inline-block;
    padding: 5px 15px;
    transition: all 0.3s ease-in-out;
    text-align: center;
    font-family: "Times New Roman", sans-serif;
    font-weight: bold;
    color: #000;
}

.blackbtn a:before,
.blackbtn a:after {
    content: '';
    display: block;
    position: absolute;
    box-sizing: border-box;
    border: solid #000 2px;
    width: 1em;
    height: 1em;
    transition: all 0.3s ease-in-out
}

.blackbtn a:before {
    top: -6px;
    left: -6px;
    border-width: 2px 0 0 2px;
    z-index: 5;
}

.blackbtn a:after {
    bottom: -6px;
    right: -6px;
    border-width: 0 2px 2px 0;
}

.blackbtn a:hover:before,
.blackbtn a:hover:after {
    width: calc(100% + 12px);
    height: calc(100% + 12px);
    border-color: #eb1777;
}

.blackbtn a:hover {
    color: #fff;
    background-color: #eb1777;
    border-color: #eb1777;
}



.message-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    /*height:calc((100vw * .75)* 0.7 );*/
    max-width: 1110px;
    height: 770px;
    background: url(../images/message.png) right bottom no-repeat;
    z-index: -1;
}

@media screen and (max-width: 767px) {
    .message-bg {
        width: 100%;
        /*height:calc((100vw * .75)* 0.7 );*/
        height: 480px;
        background-size: cover;
    }
}

.message-text {
    width: 100%;
    max-width: 700px;
    margin-left: auto;
    padding: 100px 0;
}

@media screen and (max-width: 767px) {
    .message-text {
        padding: 50px 0 20px;
    }
}

.service-ttl {
    position: absolute;
    right: 0;
    top: 100px;
    height: 60px;
    width: calc((100vw / 2) - 54px);
}

.service-ttl h1 {
    border-bottom: solid 1px #000;
}

.service {
    padding-top: 100px;
}

.service:before {
    content: '';
    position: absolute;
    top: 480px;
    left: 0;
    width: 120%;
    height: 800px;
    margin: 2% -10% 0;
    background: #555;
    -webkit-transform-origin: right center;
    -ms-transform-origin: right center;
    transform-origin: right center;
    -webkit-transform: rotate(-4deg);
    -ms-transform: rotate(-4deg);
    transform: rotate(-4deg);
}

.service-box {}

.service-box a {
    display: block;
    max-width: 400px;
    margin: 0 auto;
    font-size: 16px;
    color: #000;
    background: #f3f3f3;
    padding: 5px 40px 30px;
    position: relative;
    -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}

.service-box a:hover {
    z-index: 999;
    background: #ddd;
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

.service-L {
    margin: 0 50px 10px 50px;
}

.service-R {
    margin: 200px 50px 10px 50px;
}

.service-L .maru-ttl {
    width: 120px;
    height: 120px;
    background: #000;
    color: #fff;
    position: absolute;
    top: -40px;
    left: -40px;
    text-align: center;
    border-radius: 50%;
    line-height: 120px;
    font-size: 24px;
    z-index: 999;
}

.service-R .maru-ttl {
    width: 120px;
    height: 120px;
    background: #000;
    color: #fff;
    position: absolute;
    top: -40px;
    right: -40px;
    text-align: center;
    border-radius: 50%;
    line-height: 120px;
    font-size: 24px;
    z-index: 999;
}

@media screen and (max-width: 1079px) {
    .service-L {
        margin: 0 5% 10px 50px;
    }

    .service-R {
        margin: 200px 50px 10px 5%;
    }

    .service-box a:hover {
        z-index: 999;
        background: #ddd;
        -webkit-transform: scale(1.05);
        -moz-transform: scale(1.05);
        -ms-transform: scale(1.05);
        -o-transform: scale(1.05);
        transform: scale(1.05);
    }
}

@media screen and (max-width: 899px) {
    .service-box a {
        padding: 5px 20px 20px;
    }
}

@media screen and (max-width: 767px) {
    .service {
        padding-top: 50px;
    }

    .service-ttl {
        position: relative;
        right: auto;
        top: auto;
        height: auto;
        width: 100%;
        margin-bottom: 30px;
        padding: 0 0.4em;
    }

    .service-ttl h1 {
        border-bottom: solid 1px #000;
    }

    .service-L {
        margin: 50px 40px;
    }

    .service-R {
        margin: 50px 40px;
    }

    .service-L .maru-ttl {
        width: 100px;
        height: 100px;
        line-height: 100px;
        font-size: 18px;
        top: -24px;
        left: -24px;
    }

    .service-R .maru-ttl {
        width: 100px;
        height: 100px;
        line-height: 100px;
        font-size: 18px;
        top: -24px;
        right: -24px;
    }
}

.service2 {
    margin-top: 100px;
    padding: 50px 0;
}

.service2:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 550px;
    background: #ddd;
}

.service2 li {
    width: 25%;
    padding: 20px 10px;
    float: left;
    position: relative;
}

@media screen and (max-width: 767px) {
    .service2 {
        margin-top: 30px;
        padding: 30px 0;
    }
}

@media screen and (max-width: 719px) {
    .service2 li {
        width: 50%;
        padding: 20px 10px;
        float: left;
        position: relative;
    }
}


.service2btn {
    position: relative;
}



@media screen and (min-width: 768px) {
    .service2btn span {
        position: absolute;
        -webkit-transition: all 0.6s ease;
        transition: all 0.6s ease;
        color: #fff;
        padding: 0 15px 0;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        /* マスクを表示しない */
        background-color: rgba(0, 0, 0, 0.6);
        text-align: left;
        font-size: 16px;
    }

    .service2btn a:hover span {
        opacity: 1;
        /* マスクを表示する */
        padding-top: 50px;
        /* ホバーで下にずらす */

    }
}

@media screen and (max-width: 767px) {
    .service2btn span {
        position: relative;
        color: #000;
        padding: 0;
        text-align: left;
        font-size: 16px;
        padding: 10px 0;
        display: block;
        width: 100%;
    }
}

.service2 li .service2btn {
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}

.service2 li .service2btn:hover {
    z-index: 999;
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

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

    .service2 li .service2btn:hover {
        z-index: 999;
        -webkit-transform: scale(1.05);
        -moz-transform: scale(1.05);
        -ms-transform: scale(1.05);
        -o-transform: scale(1.05);
        transform: scale(1.05);
    }
}

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

    .service2btn span {
        font-size: 14px;
    }
}

@media screen and (max-width: 999px) {
    .service2btn span {
        font-size: 12px;
    }
}


.company {
    margin-top: 50px;
    padding-top: 50px;
}

.company:before {
    content: '';
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    height: 80%;
    background: #777777;
}

.company-inner {
    background: #f3f3f3;
    position: relative;
    padding: 80px 60px 30px;
}

.company-logo {
    position: absolute;
    right: 30px;
    top: -60px;
    height: 200px;
    width: 200px;
    background: #BBBBBB;
    padding: 20px;
    line-height: 160px;
}

.company table {
    width: 100%;
    border-spacing: 0;
    margin: 50px 0;
}

.company table th {
    border-bottom: solid 3px #333;
    padding: 20px 10px;
    width: 25%;
}

.company table td {
    border-bottom: solid 1px #333;
    padding: 20px 10px;
    width: 75%;
}

@media screen and (max-width: 767px) {
    .company {
        margin-top: 0;
    }

    .company-inner {
        background: #f0f0f0;
        position: relative;
        padding: 50px 20px 30px;
    }

    .company-logo {
        position: absolute;
        right: 15px;
        top: -30px;
        height: 120px;
        width: 120px;
        background: #BBBBBB;
        padding: 10px;
        line-height: 100px;
    }

    .company table {
        width: 100%;
        border-spacing: 0;
        margin: 30px 0;
    }

    .company table th {
        border-bottom: solid 1px #000;
        padding: 10px 4px;
    }

    .company table td {
        border-bottom: solid 1px #999;
        padding: 10px 4px;
    }
}

.contact {
    margin-top: 50px;
    padding-top: 50px;
}

@media screen and (max-width: 767px) {
    .contact {
        margin-top: 0;
    }
}

/* ----------------------------------------  ■お問い合わせフォームのテーブル------------------------------------------------*/
.form table {
    border-collapse: collapse;
    width: 100%;
    text-align: left;
    border: 2px solid #DDD;
}

.form th {
    padding: 6px;
    border-top: solid 1px #ffffff;
    font-weight: normal;
    width: 25%;
    vertical-align: top;
    background-color: #eee;
}

.form td {
    padding: 6px;
    text-align: left;
    vertical-align: top;
    background-color: #ffffff;
    border-top: dotted 1px #ccc;
    width: 75%;
}

table.table-plan {
    border-collapse: collapse;
    width: auto;
    text-align: left;
    border: none;
}

.table-plan th {
    padding: 2px;
    border-top: none;
    font-weight: normal;
    width: auto;
    vertical-align: middle;
    background: none;
}

.table-plan td {
    padding: 2px;
    text-align: left;
    vertical-align: middle;
    background: none;
    border-top: none;
    width: auto;
}

@media screen and (max-width: 767px) {
    .form th {
        width: 100%;
        display: block;
        margin: 0 auto;
        border: none;
    }

    .form td {
        display: block;
        width: 100%;
        border-top: none !important;
    }

    .table-plan th {
        width: auto;
        display: table-cell;
        margin: 0 0;
    }

    .table-plan td {
        width: auto;
        display: table-cell;
        margin: 0 0;
    }
}

.form .hissu {
    background: #eee url(../images/hissu.png) no-repeat right top !important;
}

.form label {
    font-weight: normal;
}

.form input[type=checkbox] {
    transform: scale(1.2);
}

.form .form_button {
    background: #000;
    border: none;
    width: 200px;
    line-height: 50px;
    color: #fff;
    font-size: 18px;
}

.form .form_button2 {
    background: #666;
    border: none;
    width: 200px;
    line-height: 50px;
    color: #fff;
    font-size: 18px;
}

.form .form_button:hover,
.form .form_button2:hover {
    cursor: pointer;
}

.form .scr {
    margin: 30px 0;
    overflow-y: auto;
    height: 200px;
    padding: 0 15px;
    border: #ccc 1px solid;
}

.form .scr h1 {
    font-size: 1.8em;
    margin-top: 30px;
}

.form .scr h2 {
    font-size: 1.4em;
    margin-top: 30px;
}

@media screen and (max-width: 767px) {
    .form .form_button {
        width: 140px;
        line-height: 40px;
        font-size: 14px;
    }

    .form .form_button2 {
        width: 140px;
        line-height: 40px;
        font-size: 14px;
    }
}

/*バナー*/

.service2_wrapper {
    max-width: 1000px;
    margin: auto;
}

.service2_inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1%;
}

.service2_inner li {
    width: 24%;
    min-width: 230px;
}

@media screen and (max-width: 999px) {
    .service2_inner {
        justify-content: center;
    }
}
