/* --------------------------------------------------- */
/* 共通設定 */
/* --------------------------------------------------- */

body {
	-webkit-print-color-adjust: exact;
}

.center {
    width: 1000px;
    margin: auto;
}

.home #wrapper {
    width: 100%;
}

.home .pankuzu {
    display: none;
}

.home h1 {
    display: none;
}

#content p {
    margin: 1em 0;
    color: #595857;
}

#content p:empty {
    display: none;
}

#content h1 {
    border: none;
    background: none;
    margin: 0;
    padding: 0;
    padding: 15px 25px;
    color: white;
    margin-bottom: 1em;
    font-size: 28px;
    font-weight: normal;
    background-image: url(images/h1-back.jpg);
    background-size: 100%;
    background-position: left center;
    text-shadow: 0 2px 2px rgba(0,0,0,0.2);
}

#content h2 {
    border: none;
    background: none;
    margin: 0;
    padding: 0;
    padding: 10px 20px;
    padding-left: 60px;
    color: #595857;
    margin: 1em 0;
    margin-top: 2em;
    font-size: 24px;
    font-weight: normal;
    background-image: url(images/icon.png);
    background-size: 35px;
    background-position: 10px center;
    background-repeat: no-repeat;
    border-top: 1px solid #de005b;
    border-bottom: 1px solid #de005b;
    background-color: white;
}

#content h3 {
    border: none;
    background: none;
    margin: 0;
    padding: 0;
    padding: 10px 20px;
    color: white;
    margin: 1em 0;
    margin-top: 2em;
    font-size: 21px;
    font-weight: normal;
    background-color: #de005b;
    background: linear-gradient(to bottom left, #de005b, #ec307f);
    position: relative;
    overflow: hidden;
    border-radius: 50px;
}

#content h3::before {
    content: " ";
    width: 100%;
    height: 100%;
    background-color: rgba(252, 235, 238, 0.2);
    position: absolute;
    right: -5%;
    bottom: -90%;
    transform: rotate(-4deg);
}

#content h3::after {
    content: " ";
    width: 100%;
    height: 100%;
    background-color: rgba(252, 235, 238, 0.2);
    position: absolute;
    right: -5%;
    bottom: -95%;
    transform: rotate(-8deg);
}

table.table {
    width: 100%;
    border-spacing: 1px;
    border-collapse: separate;
    margin: 1em 0;
}

table.table th {
    font-size: 14px;
    font-weight: bold;
    color: white;
    background-color: #de005b;
    padding: 10px;
    text-align: center;
    width: 25%;
}

table.table td {
    font-size: 14px;
    color: white;
    background-color: white;
    padding: 10px;
    color: #595857;
    border: 1px solid #fcebee;
}

/* --------------------------------------------------- */
/* ヘッダー */
/* --------------------------------------------------- */

.header {
    border-bottom: 1px solid #fcebee;
}

.header-top-main {
    padding: 1em 0;
}

.header-top-main ul {
    width: 100%;
    display: table;
    table-layout: fixed;
}

.header-top-main ul li {
    display: table-cell;
    vertical-align: middle;
    overflow: hidden;
}

.header-top-main ul li:first-of-type {
    width: 50%;
}

.header-top-main ul li:first-of-type img {
    float: left;
}

.header-top-main ul li img {
    float: right;
}

.main-img {
    padding: 240px 0;
    background-image: url(images/main-back.jpg);
    background-size: 100%;
    background-position: center center;
}

.main-img img {
    margin: auto;
}

/* --------------------------------------------------- */
/* グローバルナビ */
/* --------------------------------------------------- */

.g-nav {
    width: 100%;
    padding: 10px 0;
    background-color: white;
}

.g-nav ul {
    width: 100%;
    display: table;
    table-layout: fixed;
}

.g-nav ul li {
    display: table-cell;
    vertical-align: middle;
    padding: 0;
}

.g-nav ul li a {
    display: block;
    /* background-color: #ffd0d8; */
    color: #595857;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    /* text-shadow: 0 2px 2px rgba(0,0,0,0.2); */
    text-align: center;
    padding: 10px;
    transition: all 0.2s;
    position: relative;
    overflow: visible;
    /* border-radius: 50px; */
    z-index: 0;
    border-left: 1px solid #de005b;
}

.g-nav ul li:last-of-type a {
    border-right: 1px solid #de005b;
}

.g-nav ul li a::before {
    content: " ";
    width: 0px;
    height: 0px;
    border-radius: 50%;
    background-color: rgba(224, 0, 94, 0.5);
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /* transition: all 0.2s; */
    z-index: -1;
    opacity: 0;
}

.g-nav ul li a:hover {
    /* opacity: 0.5; */
    color: #de005b;
    /* transform: scale(1.1); */
}

.g-nav ul li a:hover::before {
    /* width: 200px;
    height: 200px; */
    animation: pointer 0.4s;
}

@keyframes pointer {

    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        width: 50px;
        height: 50px;
        opacity: 0;
    }

}

/* --------------------------------------------------- */
/* フッター */
/* --------------------------------------------------- */

.footer {
    background-color: white;
    border-top: 1px solid #fcebee;
}

.footer-main-blcok {
    padding: 40px 0;
}

.footer-main-blcok > ul {
    width: 100%;
    display: table;
}

.footer-main-blcok > ul > li {
    display: table-cell;
    padding: 0 10px;
    vertical-align: top;
}

.footer-main-blcok > ul > li:first-of-type {
    width: 35%;
}

.footer-menu ul {
    width: 100%;
    display: table;
    table-layout: auto;
    overflow: hidden;
    margin: 1em 0;
}

.footer-menu ul li {
    display: table-cell;
    vertical-align: middle;
    /* float: left;
    margin-right: 3px;
    padding-right: 15px; */
    /* border-right: 1px dotted #de005b; */
}

.footer-menu p.footer-title {
    color: #595857;
    border-bottom: 1px solid #de005b;
    font-weight: bold;
    padding-bottom: 5px;
}

.footer-menu ul li:last-of-type {
    border-right: none;
}

.footer-menu ul li a {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #de005b;
    font-size: 12px;
    text-align: left;
}

.footer-menu ul li a::before {
    content: " ";
    display: inline-block;
    border: 5px solid transparent;
    border-left-color: #de005b;
    margin-right: 5px;
}

.footer-company {
    padding: 10px;
    background-color: rgba(255,255,255,0.8);
}

.footer-company p {
    margin-bottom: 5px;
    color: #595857;
    font-size: 14px;
}

.footer-company p span {
    font-weight: bold;
    display: block;
    border-bottom: 1px dotted #de005b;
    padding-bottom: 5px;
    padding: 5px 0;
    margin-bottom: 5px;
    color: #de005b;
}

p.copyright {
    background-color: #de005b;
    color: white;
    font-size: 14px;
    text-align: center;
    padding: 1em 0;
}

p.copyright a {
    text-decoration: none;
    color: white;
}

.footer-time-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 1px;
}

.footer-time-table table th {
    font-size: 14px;
    padding: 10px;
    background-color: #de005b;
    color: white;
    text-align: center;
    font-weight: normal;
}

.footer-time-table table td {
    font-size: 14px;
    padding: 10px;
    background-color: white;
    color: #595857;
    text-align: center;
    border: 1px solid #fcebee;
}

.footer-time-table table td.cross {
    color: #de005b;
}

.footer-time-table p.time-table-sub {
    color: #de005b;
    font-size: 12px;
    font-weight: bold;
    margin-top: 10px;
    text-align: right;
}

.footer-popup {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 2;
}

.footer-popup ul {
    width: 100%;
    overflow: hidden;
    display: table;
    table-layout: fixed;
}

.footer-popup ul li {
   display: table-cell;
   vertical-align: middle;
   background: linear-gradient(to top left, #b6913b, #e4c06e);
}

.footer-popup ul li a {
    display: block;
}

.footer-popup ul li:first-of-type {
    background: linear-gradient(to top left, #de005b, #ec307f);
}

.footer-popup ul li:last-of-type {
    background: linear-gradient(to top left, #1eb311, #62d82b);
}

/* --------------------------------------------------- */
/* サイドバー */
/* --------------------------------------------------- */

.side-access-in {
    overflow: hidden;
    padding: 10px;
    background-color: #fcebee;
}

.side-access-in p {
    margin-bottom: 5px;
    color: #595857;
    font-size: 14px;
}

.side-access-in p span {
    font-weight: bold;
    display: block;
    border-bottom: 1px dotted #de005b;
    padding-bottom: 5px;
    padding: 5px 0;
    margin-bottom: 5px;
    color: #de005b;
}

#sidebar #widget-area .widget-container h3 {
    border: none;
    padding: 0;
    margin: 0;
    margin-bottom: 1em;
    padding: 10px 15px;
    padding-left: 30px;
    font-size: 18px;
    font-weight: normal;
    color: #595857;
    border-top: 1px solid #de005b;
    border-bottom: 1px solid #de005b;
    background-color: white;
    position: relative;
}

#sidebar #widget-area .widget-container h3::before {
    content: " ";
    width: 8px;
    height: 60%;
    display: block;
    background: linear-gradient(to top left, #de005b, #ec307f);
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

#sidebar #widget-area .widget-container ul li {
    padding: 10px;
    padding-left: 20px;
    background-position: left center;
    margin: 0;
    border-bottom-color: #de005b;
}

#sidebar #widget-area .widget-container ul li a {
    font-weight: normal;
    color: #595857;
}

/* --------------------------------------------------- */
/* その他 */
/* --------------------------------------------------- */

.top-content {
    padding: 80px 0;
}

/* .top-content.company-block {
    padding-bottom: 0;
} */

.home #content h2 {
    border: none;
    font-weight: normal;
    background: none;
    padding: 0;
    margin: 0;
    margin-bottom: 1em;
    position: relative;
    font-size: 32px;
    color: #595857;
}

.home #content h2::before {
    content: " ";
    display: block;
    width: 35%;
    height: 2px;
    background-color: #fcebee;
    position: absolute;
    left: 0;
    bottom: -10px;
}

.home #wrapper, .home #content .post {
    padding-top: 0;
    padding-bottom: 0;
}

.float-box {
    width: 100%;
    overflow: hidden;
}


.float-l {
    width: 50%;
    float: left;
}

.float-r {
    width: 50%;
    float: right;
}

.float-box img {
    margin: auto;
    width: 440px;
}

.top-contact-botan ul {
    width: 100%;
    overflow: hidden;
}

.top-contact-botan ul li {
    width: 50%;
    float: left;
}

.top-contact-botan ul li img {
    margin: auto;
}

#content .top-contact p {
    text-align: center;
    /* color: white; */
    /* text-shadow: 0 2px 2px rgba(0,0,0,0.2); */
}

.home #content h2.top-contact-title {
    text-align: center;
    /* color: white; */
    /* text-shadow: 0 2px 2px rgba(0,0,0,0.2); */
}

.home #content h2.top-contact-title::before {
    left: 50%;
    transform: translateX(-50%);
    background-color: #de005b;
}

.top-syorei {
    overflow: hidden;
    background-image: url(images/top-syorei-back.jpg);
    background-size: 100%;
    background-position: center center;
}

.top-syorei-block {
    width: 100%;
    overflow: hidden;
}

.syorei-icon {
    width: 60%;
    float: right;
    text-align: center;
}

.syorei-sub {
    width: 40%;
    float: left;
}

ul.syorei-icon-list {
    display: inline-block;
    margin: 1em auto;
}

ul.syorei-icon-list li {
    width: auto;
    margin: 0 1em;
    float: left;
}

a.top-link-botan {
    display: block;
    width: 70%;
    margin: auto;
    padding: 15px;
    border-radius: 50px;
    color: white;
    background-color: #de005b;
    text-align: center;
    position: relative;
    text-decoration: none;
}

a.top-link-botan::after {
    content: " ";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-top: 2px solid white;
    border-right: 2px solid white;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: rotate(45deg) translateY(-50%);
}

.top-contact {
    width: 100%;
    overflow: hidden;
    background-image: url(images/top-contact-back.jpg);
    background-size: 100%;
    background-position: top;
}

.top-company {
    background-image: url(images/top-company-back.jpg);
    background-size: 100%;
    background-position: center center;
}

.top-company-in {
    padding: 15px;
    background-color: rgba(255,255,255,0.8);
    overflow: hidden;
}

.top-company-in ul {
    width: 50%;
    float: right;
}

.top-company-in ul li {
    width: 100%;
    position: relative;
    padding: 10px 0;
    color: #595857;
    padding-left: 27%;
    margin-bottom: 15px;
}

.top-company-in ul li span.out {
    display: block;
    background-color: #de005b;
    text-align: center;
    width: 25%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 10px;
}

.top-company-in ul li span.in {
    display: inline-block;
    color: white;
    position: absolute;
    text-align: center;
    width: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
}

.top-company-in ul li:last-of-type {
    margin-bottom: 0;
}

.top-company-gmap {
    width: 47%;
    float: left;
}

#content .top-company-in p {
    margin: 0;
}

.page-content {
    overflow: hidden;
    padding: 15px;
    background-color: #fcebee;
    border-radius: 10px;
    margin-top: 2em;
}

#content .page-content > h2 {
    margin-top: 0;
}

.page-content a img {
    margin-bottom: 1em;
}

.page-company {
    width: 100%;
    overflow: hidden;
    margin: 1em 0;
}

.page-company img {
    width: 40%;
    float: left;
    margin-bottom: 1em;
}

.page-id-15 .page-company {
    display: none;
}

ul.page-contact-access {
    margin: 0;
    width: 57%;
    float: right;
}

ul.page-contact-access li {
    margin-bottom: 5px;
    font-size: 14px;
    color: #595857;
}

ul.page-contact-access li span {
    display: inline-block;
    width: 15%;
    font-size: 12px;
    color: white;
    background-color: #de005b;
    border-radius: 5px;
    text-align: center;
    padding: 5px;
    margin-bottom: 5px;
    margin-right: 10px;
}

ul.page-contact-access li:last-of-type {
    margin-bottom: 0;
}

.plan-block ul {
    width: 100%;
    overflow: hidden;
    margin: 1em 0;
}

.plan-block ul li {
    width: 100%;
    padding-right: 1px;
    padding-bottom: 1px;
    /* float: left; */
}

.plan-block ul li .plan-block-in {
    padding: 15px;
    position: relative;
    background-color: #fcebee;
    /* height: 650px; */
}

.plan-block ul li .plan-block-in img {
    margin: 1em auto;
    width: 250px;
}

span.plan-title {
    font-size: 24px;
    display: block;
    text-align: center;
    color: #de005b;
    padding-bottom: 5px;
    border-bottom: 1px solid #de005b;
}

span.plan-no {
    display: inline-block;
    font-size: 21px;
    padding: 10px 12px;
    background-color: white;
    color: #595857;
    border-radius: 50%;
    border: 1px solid #de005b;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
}

.plan-block-in table.table {
    margin: 0;
}

.plan-block-in table.table td {
    background-color: white;
}

span.plan-subtext {
    font-size: 12px;
    color: #de005b;
}

.g-map {
    margin: 1em 0;
}

.staff-block ul {
    width: 100%;
    overflow: hidden;
    margin: 1em 0;
}

.staff-block ul li {
    width: calc(100% / 3);
    float: left;
    padding-right: 1px;
    padding-bottom: 1px;
}

.staff-block-in {
    overflow: hidden;
    background-color: #fcebee;
    padding: 15px;
}

.staff-block-in img {
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid #de005b;
    margin-bottom: 1em;
}

span.staff-name {
    font-weight: bold;
    color: white;
    text-align: center;
    display: block;
    padding: 5px 10px;
    text-align: center;
    background-color: #de005b;
    border-top: 1px dotted #fcebee;
    border-bottom: 1px dotted #fcebee;
}

.first-text {
    width: 100%;
    overflow: hidden;
}

.first-text img {
    /* width: 40%;
    float: right;
    margin-left: 1em; */
    margin-bottom: 1em;
    border-radius: 20px;
}

.first-sub img {
    margin-bottom: 4em;
}

.top-price-in {
    width: 100%;
    overflow: hidden;
}

.top-price-in a img {
    margin: auto;
}

/* .home #content .top-contact h2 {
    color: white;
}

.home #content .top-contact p {
    color: white;
} */

.price-block {
    background-image: url(images/top-price-back.png);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: auto 100%;
}

.page-first-price {
    display: none;
    margin: 1em 0;
}

.page-hoken-price {
    display: none;
    margin: 1em 0;
}

.syorei .page-hoken-price {
    display: block;
}

.syorei.page-id-87 .page-first-price, .syorei.page-id-99 .page-first-price, .syorei.page-id-90 .page-first-price  {
    display: block;
}

.syorei.page-id-87 .page-hoken-price, .syorei.page-id-99 .page-hoken-price, .syorei.page-id-90 .page-hoken-price {
    display: none;
}

ul.cashress {
    width: 70%;
    overflow: hidden;
    display: table;
    margin: auto;
}

ul.cashress li {
    /* width: 25%; */
    /* float: left; */
    padding: 10px;
    display: table-cell;
}

ul.cashress li img {
    height: 40px;
    margin: auto;
}

ul.cashress li div {
    padding: 15px;
    text-align: center;
    border-radius: 50px;
    color: white;
    text-shadow: 0 2px 2px rgba(0,0,0,0.2);
    font-size: 18px;
    font-weight: bold;
}

ul.cashress li .visa {
    background: linear-gradient(to bottom right, #294189, #303145);
}

ul.cashress li .mastercard {
    background: linear-gradient(to bottom right, #f79f1a, #ea001b);
}

ul.cashress li .paypay {
    background: linear-gradient(to bottom right, #ff335c, #fe0132);
}

ul.cashress li .linepay {
    background: linear-gradient(to bottom right, #b5e23a, #34bb23);
}

.price-top-banar {
    width: 100%;
    overflow: hidden;
    margin: 3em 0;
}

.price-top-banar a {
    width: 48%;
    float: left;
    display: block;
}

.price-top-banar a:last-of-type {
    float: right;
}

@media all and (max-width: 1700px) {
    .main-img {
        background-size: auto 100%;
    }
}

@media all and (max-width: 1000px) {

    .top-company {
        background-size: auto 100%;
    }

    .top-company-in ul, .top-company-gmap {
        width: 100%;
        float: none;
    }

    .top-company-in ul {
        margin-bottom: 1em;
    }
}

/* コロナ対策動画設置 */
.modal,
.modal__bg,
.modal__content,
.modal__content li
.modal__content li a {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.modal__content li a {
  color: #e82424;
  text-decoration: none;
}
.btn_share a {
  background: url(images/btn_alart.png) no-repeat 10px center #ffd067;
  background-size: 28px;
  padding: 10px 10px 10px 40px;
  position: fixed;
  right: 0;
  bottom: 105px;
  display: block;
  color: #f00;
  z-index: 100;
  font-size: 16px;
  font-weight: bold;
  border-radius: 20px 0 0 20px;
  line-height: 1;
  text-decoration: none;
}
.modal {
  display: block;
  height: 100vh;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}
.modal__bg {
  cursor: pointer;
  background: rgba(0,0,0,0.8);
  height: 100vh;
  position: absolute;
  width: 100%;
}
.modal__content {
  background: #fff;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%,-50%);
  max-width: 700px;
  width: 70%;
}
.modal__content iframe {
  max-width: 100%;
  width: 100vw;
  max-height: 394px;
  height: 56vw;
}

.modal__content li {
  padding: 15px 10px 15px 27px;
  font-size: 16px;
  border-bottom: 1px solid #ddd;
  line-height: 1;
  color: #019cd5;
}
.modal__content li.ico_line {
  background: url(../images/ico_line.png) no-repeat 0px center ;
}
.modal__content li.ico_mail {
  background: url(../images/ico_mail.png) no-repeat 0px center ;
}
.modal__content li.ico_link {
  background: url(../images/ico_link.png) no-repeat 0px center ;
  cursor:pointer;
}
.modal__content h2{
  font-size: 16px;
  font-weight: 600;
  line-height: 1.375;
  margin-bottom: 14px;
}
.modal__content p {
  box-sizing: border-box;
  white-space: inherit;
  font-size: inherit;
  line-height: inherit;
}
.modal__content_text {
  padding: 18px 20px;
}
.js-modal-close{
  color: #e82424;
  display: inline-block;
  margin-top: 5px;
}
.js-modal-close2 {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  line-height: 1;
  transition: .25s;
  display: inline-block;
  margin: 0;
  border: solid 1px transparent;
  vertical-align: middle;
  text-decoration: none;
  text-align: center;
  top: -10px;
  right: -10px;
  padding: 10px;
  background-color: #333;
  color: #fff;
  font-size: 10px;
  cursor: pointer;
}
a.js-modal-close2:visited {
    color: #fff;
}
a.js-modal-close2:link {
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .modal__content p {
        font-size: 14px;
    }
}