@charset "UTF-8";
body{font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif; font-weight: 500;}
img{max-width: 100%; height: auto;}
h2,h3{ font-weight: bold;}
p{line-height: 1.8;}
a{transition:0.5s; color: #000;}
a:hover{opacity: 0.7;color: #000;}
iframe {width: 100%;}
body {
    -webkit-animation: fadeIn 1.5s ease 0s 1 normal;
    animation: fadeIn 1.5s ease 0s 1 normal;
  }

  @keyframes fadeIn {
    0% {
      opacity: 0
    }

    100% {
      opacity: 1
    }
  }

  @-webkit-keyframes fadeIn {
    0% {
      opacity: 0
    }

    100% {
      opacity: 1
    }
  }
#header {
    background: #fff;
    width: 100%;
    padding: 10px;
    position: fixed;
    top: 0;
    z-index: 999;
    height: 60px;
    display: flex;
    align-items: center;
}
#header.header-shadow {
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    transition: 0.5s;
}
h1.logo {
    margin: 0;
}
.logo a {
    color: #0018a5;
    font-weight: bold;
    text-decoration: none;
    font-size: 22px;
    display: flex;
    align-items: center;
}

.logo a img {
    width: 30px;
}

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

#g-nav {
    position: fixed;
    z-index: 999;
    top: 60px;
    right: -120%;
    width: 100%;
    height: 100vh;
    background: #fff;
    transition: all 0.6s;
    border-top: 1px solid #0018a5;
}
#g-nav.panelactive{
    right: 0;
}
#g-nav ul {
    top: 50%;
    left: 50%;
    padding: 0;
    margin: 0;
}
#g-nav li{
	list-style: none;
}
#g-nav li a {
    color: #0018a5;
    text-decoration: none;
    padding: 15px 30px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
    border-bottom: 1px solid #0018a5;
    position: relative;
}
#g-nav li a::after {
    content: "";
    display: block;
    border-left: 3px solid #999;
    border-bottom: 3px solid #999;
    height: 12px;
    width: 12px;
    position: absolute;
    transform: rotate(225deg);
    top: 20px;
    right: 23px;
}
#g-nav li:last-child a {
    border: none;
}
#g-nav li:last-child a::after {
    display: none;
}
.openbtn {
    position: fixed;
    z-index: 9999;
    top: 5px;
    right: 5px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    background: #0018a5;
    border-radius: 6px;
}
.openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 12px;
    height: 2px;
    border-radius: 2px;
    background-color: #fff;
    width: 50%;
}

.openbtn span:nth-of-type(1) {
	top: 14px;
}

.openbtn span:nth-of-type(2) {
	top:23px;
}

.openbtn span:nth-of-type(3) {
	top: 32px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 16px;
    transform: translateY(6px) rotate(-45deg);
    width: 40%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 16px;
    transform: translateY(-6px) rotate(45deg);
    width: 40%;
}
}
#g-nav li a.tell {
    color: #0018a5;
    font-size: 24px;
    display: block;
    margin: 1.5rem auto 0;
    text-align: center;
    padding: 0;
    letter-spacing: 0;
}

#g-nav li a.tell::before {
    content: "";
    background-image: url(../img/ico-tell.png);
    display: inline-block;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
    margin-right: 5px;
}
#mainvisual {
    margin-top: 60px;
    position: relative;
    padding-bottom: 2rem;
    color: #fff;
    font-weight: bold;
}
#mainvisual::after {
    content: "";
    width: 100%;
    height: 95%;
    display: block;
    position: absolute;
    bottom: 0;
    z-index: -1;
    background-image: linear-gradient(90deg, #0018a5 20%, #0067ff);
}
.slider {
    position:relative;
    z-index: 1;
    width: 95%;
    margin-left: auto;
    background: #fff;
}
.slider-item {
    width: 100%;
}
.slider-item img {
    width: 100%;
    object-fit: cover;
}
.slider, .slider-item, .slider-item img {
    height: 45vh;
    border-radius: 15px 0 0 15px;
}
.slick-dots {
    position: relative;
    z-index: 3;
    text-align: center;
    margin: -20px 0 0 0;
    padding: 0;
    position: absolute;
    left: 0;
    right: 0;
}
.slick-dots li {
    display:inline-block;
    margin:0 10px;
}
.slick-dots > li:first-child:last-child {
    opacity: 0;
}
.slick-dots button {
    color: transparent;
    outline: none;
    width: 10px;
    height: 10px;
    display: block;
    border-radius: 50%;
    background: #7c88ff;
    border: none;
}
.slick-dots .slick-active button{
    background:#fff;
}
#mainvisual .col-md-4 {
    padding: 2rem 1rem 0;
}
p.cacthcopy {
    font-size: 25px;
    text-align: center;
}
p.minimax {
    border-top: 1px solid #fff;
    border-bottom: 1px solid;
    padding: 1rem;
    text-align: center;
    margin-bottom: 2rem;
}
section {
    padding: 3rem 0;
}
h2 {
    font-size: 22px;
    margin: 1rem 0;
    line-height: 1.6;
}
h2.en {
    font-size: 18px;
}
h2.en::before {
    content: attr(data-en);
    color: #0018a5;
    text-transform: capitalize;
    font-size: 50px;
    display: block;
    line-height: 1;
}
#service {
    position: relative;
    padding-top: 0;
}

#service::after {
    content: "";
    background: #eef1ff;
    width: 100%;
    height: 98.8%;
    display: block;
    position: absolute;
    bottom: 0;
    z-index: -1;
}
#service img {
    border-radius: 12px;
}
#service h3 {
    text-align: center;
    color: #0018a5;
    font-size: 22px;
    margin: 1rem 0;
}
dl dt,dl dd {
    font-weight: bold;
}
dl dt {
    border: 1px solid;
    width: fit-content;
    padding: 2px 15px;
}
dl dd {
    margin: 5px 0 0 0;
}
#service .col-xl-6 + .col-xl-6 {
    margin-top: 1.5rem;
}
ul.case-list {
    padding: 0;
    width: 90%;
    margin: 0 auto;
    list-style-type: none;
}

ul.case-list li {
    display: block;
    border: 1px solid #d0daf7;
    background: #fff;
    border-radius: 12px;
    padding: 1rem 1rem 2rem;
    text-decoration: none;
}

ul.case-list li figure {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
ul.case-list li figure figcaption {
    background-color: rgba(0, 24, 165, 0.6);
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 5px;
    position: absolute;
    bottom: 0;
    width: 100%;
}

ul.case-list li figure img {
    object-fit: cover;
    width: 100%;
    aspect-ratio: 3/2;
    transition: 0.5s;
    border-radius: 10px;
}

ul.case-list li h3 {
    text-align: center;
    font-size: 20px;
}

ul.case-list li p {
    margin: 0;
    /* display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden; */
}

ul.case-list li + li {
    margin-top: 1rem;
}

/* ul.case-list li a:hover {
    opacity: 1;
}

ul.case-list li a:hover figure img {
    transform: scale(1.2);
    transition: 0.5s;
} */
#recruit{
    background-image: linear-gradient(45deg, #ffffa5, #8fdd9f);
}
#recruit h2{
    color: #0018a5;
}
#recruit p {
    font-weight: bold;
    padding: 0 1rem;
}
ul.rec-slider {
    padding: 0;
    margin: 0;
    list-style-type: none;
}
ul.rec-slider .slider-item img, ul.rec-slider .slider-item {
    border-radius: 0;
    height: auto;
}
table {
    width: 100%;
    border-bottom: 1px solid #000;
    margin-bottom: 1rem;
}
table tr {
    border-top: 1px solid #000;
}
table th,table td {
    padding: 10px;
}
table th {
    padding-left: 20px;
    width: 30%;
}
table td {
    width: 70%;
}
.map iframe {
    width: 100%;
    height: 270px;
}
#contact {
    background:#eef1ff;
    color: #0018a5;
}
#contact h2 {
    font-size: 20px;
    text-align: center;
    margin: 0 0 1.5rem;
}
#contact .row {
    width: 90%;
    margin: 0 auto !important;
}
a.f-tell {
    color: #0018a5;
    font-weight: bold;
    font-size: 30px;
    text-decoration: none;
    position: relative;
    padding-left: 60px;
    line-height: 1;
}
a.f-tell small {
    display: block;
    font-size: 16px;
    letter-spacing: 2px;
    font-weight: 500;
}
a.f-tell::before {
    content: "";
    background-image: url(../img/ico-tell.png);
    display: inline-block;
    width: 50px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 0;
}

a.mail {
    background: #0018a5;
    margin-top: 1.5rem;
    padding: 15px 0;
    display: block;
    text-align: center;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    border-radius: 10px;
}
a.mail::before {
    content: "";
    background-image: url(../img/ico-mail.png);
    display: inline-block;
    width: 35px;
    height: 24px;
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: sub;
    margin-right: 7px;
}
#f-bottom {
    background: #0018a5;
    color: #fff;
}
.flogo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 0 1rem;
}
.flogo img {
    width: 50px;
}
.flogo p {
    margin: 0;
    font-weight: bold;
    font-size: 25px;
    line-height: 1.4;
}
.flogo p small {
    display: block;
    font-size: 12px;
    letter-spacing: 2px;
}
ul.f-navi {
    margin: 0;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
}
ul.f-navi li {
    width: 50%;
    line-height: 2;
}
ul.f-navi li a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}
p.copyright {
    background: #00125e;
    margin: 0;
    color: #fff;
    text-align: center;
    padding: 0.5rem;
    font-weight: 400;
}
#page-top {
	position: fixed;
	right: 10px;
	z-index: 2;
	opacity: 0;
	transform: translateY(100px);
}
#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}
#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(100px);
  }
}

@media screen and (min-width:760px) {
#mainvisual .container {
    padding: 0;
    margin: 0;
    margin-left: auto;
    max-width: 100%;
}
p.cacthcopy {
    font-size: 23px;
    text-align: left;
}
#mainvisual .col-md-4 {
    padding: 4rem 0 0 2rem;
}
#mainvisual .container .row {
    margin: 0;
}
.slider, .slider-item, .slider-item img {
    height: auto;
}
#service img {
    border-radius: 25px;
}
dl {
    display: flex;
    align-items: baseline;
    gap: 15px;
}
.map iframe {
    height: 100%;
}
#about table {
    margin: 0;
}
a.mail {
    margin: 0;
}
}
@media screen and (min-width:996px) {
#service .col-xl-6 + .col-xl-6 {
    margin-top: 0;
}
.col-xl-6 {
    flex: 0 0 auto;
    width: 50%;
}
ul.case-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
}
ul.case-list li {
    width: 48%;
}
ul.case-list li + li {
    margin: 0;
}

}
@media screen and (min-width:1200px) {
#header {
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}
.logo a img {
    width: 40px;
}
.logo a {
    font-size: 34px;
}
#g-nav ul {
    display: flex;
    margin: 0;
    align-items: center;
    padding: 0;
}
#g-nav li a.tell {
    margin-top: 0;
    margin-left: 20px;
    letter-spacing: -1px;
    font-size: 26px;
}
#g-nav ul li{
    list-style-type: none;
}
#g-nav ul li a {
    display: block;
    text-decoration: none;
    color: #0018a5;
    font-weight: bold;
    padding: 10px 20px;
}
#g-nav li a.tell::before {
    width: 32px;
    height: 32px;
    margin-top: -5px;
}
#g-nav ul li a.contact {
    background: #0018a5;
    color: #fff;
    border-radius: 5px;
    padding: 5px 20px;
}
.slider, .slider-item, .slider-item img {
    /* height: 80vh; */
    border-radius: 25px 0 0 25px;
}
.slick-dots {
    margin: -25px 0 0 0;
}
#mainvisual .col-md-4 {
    padding: 7rem 0 0 5%;
    position: relative;
}
#mainvisual {
    padding-bottom: 4rem;
}
#mainvisual::after {
    height: 92%;
}
p.cacthcopy {
    font-size: 35px;
    text-align: left;
}
p.minimax {
    margin-bottom: 3rem;
}
p.minimax + p {
    font-size: 18px;
}
section {
    padding: 5rem 0;
}
h2 {
    font-size: 28px;
}
#intro h2 {
    margin: 3rem 0;
}
h2.en::before {
    font-size: 110px;
}
h2.en {
    font-size: 20px;
    margin-bottom: 1.5rem;
}
#service {
    padding-top: 4rem;
}
#service::after {
    height: 91%;
}
.container {
    max-width: 1100px;
}
#intro,#service {
    position: relative;
}
#intro::after,#service::before,#case::after{
    content: "";
    background-image: url(../img/deco-logo1.png);
    display: block;
    width: 390px;
    height: 430px;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    bottom: -20%;
    right: 0;
    z-index: -1;
}
#service::after{
    z-index: -2;
}
#service::before {
    background-image: url(../img/deco-logo2.png);
    right: auto;
    left: 0;
    bottom: auto;
    top: 28%;
    z-index: -1;
}


#service .row {
    gap: 50px 0;
}
#service h3 {
    font-size: 28px;
}
dl dt {
    width: 145px;
}
dl dd {
    width: 65%;
}
ul.case-list li {
    width: 31.4%;
}

ul.case-list li h3 {
    font-size: 24px;
}
ul.case-list li figure figcaption {
    font-size: 18px;
}
#case {
    position: relative;
    padding: 5rem 0 8rem;
}
#about {
    padding: 8rem 0;
}
#case::after {
    bottom: auto;
    top: 4%;
}
table th, table td {
    padding: 20px 15px;
}
table th {
    padding-left: 30px;
    vertical-align: text-top;
}
#contact h2 {
    margin-bottom: 2rem;
    font-size: 25px;
}
#contact {
    padding: 4rem 0;
}
#contact .row {
    justify-content: space-between;
}
#contact .row a {
    width: 50%;
}
a.f-tell {
    font-size: 48px;
    padding-left: 80px;
}
a.f-tell small {
    font-size: 24px;
}
a.f-tell::before {
    width: 70px;
    height: 70px;
}
a.f-tell {
    font-size: 48px;
    padding-left: 80px;
}
a.mail {
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
a.mail::before {
    width: 43px;
    height: 30px;
}
.flogo img {
    width: 60px;
    height: 60px;
}
.flogo p small {
    font-size: 12px;
    letter-spacing: 3px;
}
.flogo p {
    font-size: 30px;
}
ul.f-navi {
    padding: 0;
}
ul.f-navi li {
    width: 33.333%;
}
#recruit p {
    font-size: 20px;
}
#f-bottom .container, #contact .row {
    max-width: 900px;
}
#f-bottom .col-xl-5 {
    padding-left: 0;
}
.flogo {
    justify-content: flex-start;
}
#f-bottom .col-xl-5 p.text-center {
    text-align: left !important;
    font-size: 17px;
    font-weight: 400;
}
}

@media screen and (min-width:1400px) {
p.cacthcopy {
    font-size: 45px;
    line-height: 1.4;
}
#mainvisual .col-md-4 {
    padding: 10rem 0 0 5%;
}
p.minimax {
    font-size: 20px;
}
p.minimax + p {
    font-size: 20px;
}
.slider, .slider-item, .slider-item img {
    border-radius: 40px 0 0 40px;
}
#g-nav ul li a {
    font-size: 18px;
}
.container {
    max-width: 1200px;
}
h2 {
    font-size: 30px;
}
h2.en::before {
    font-size: 130px;
}
h2.en {
    font-size: 25px;
}
#service h3 {
    font-size: 30px;
}
dl dd {
    width: 73%;
}
ul.case-list li {
    padding: 1rem 1rem 4rem;
}
#recruit {
    background-image: linear-gradient(120deg, #ffffa5 50%, #8fdd9f);
}

#contact .row a {
    width: 50%;
}
#contact h2 {
    font-size: 28px;
}

/* .flogo p {
    font-size: 35px;
}
.flogo p small {
    font-size: 14px;
}
#f-bottom .col-xl-5 p.text-center {
    font-size: 18px;
} */
}
@media screen and (min-width:1900px) {
#g-nav ul li a {
    font-size: 20px;
    padding: 10px 30px;
}
p.cacthcopy {
    font-size: 58px;
}
p.minimax {
    font-size: 22px;
}
p.minimax + p {
    font-size: 25px;
}
#intro::after, #service::before, #case::after {
    width: 500px;
    height: 560px;
}
}

/* page */
#page_header {
    margin-top: 60px;
    background: #eef1ff;
    color: #0018a5;
    text-align: center;
    padding: 50px 10px;
}

h1.page-title {
    font-weight: bold;
    margin: 0;
}

.bread {
    margin: 10px 0;
}

.bread span ,.bread a {
    padding: 2px;
    text-decoration: none;
}

#page-content {
    padding: 2rem 0 5rem;
}

.page-id-17 #contact {
    display: none;
}

h2.wp-block-heading {
    border-bottom: 2px solid #0018a5;
    padding: 5px 10px;
    margin-top: 3rem;
}

h3.wp-block-heading {
    font-size: 20px;
    margin: 2rem 0 1rem;
}

@media screen and (min-width:1200px) {
#page_header {
    padding: 100px 10px;
}
h1.page-title {
    font-size: 45px;
}
h3.wp-block-heading {
    font-size: 25px;
}
}

/* form */
.smf-form--simple-table .smf-item {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #ddd;
}

.smf-item label strong {
    background: #DD3234;
    color: #fff;
    font-weight: normal;
    font-size: 12px;
    padding: 0 6px;
    margin-left: 5px;
}
.smf-action .smf-button-control__control {
    background: #0018a5;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-weight: bold;
}

@media screen and (min-width:1200px) {
.smf-form--simple-table .smf-item {
    padding: 3rem 9rem;
}
}