/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */

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

audio,
canvas,
video {
    display: block;
    filter: drop-shadow(0px 0px #000);
    width: 100%;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden],
template {
    display: none;
}


/* ==========================================================================
            Base
            ========================================================================== */

html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -webkit-overflow-scrolling: touch;
    font-size: 67.5%;
    line-height: 1.5;
    overflow-x: hidden;
    background: var(--main-r);
    font-family:"NotosansJP-R", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "Meiryo", sans-serif;
}

body {
    margin: 0;
    position: relative;
    z-index: 0;
    -webkit-font-smoothing: antialiased;
    color: var(--txt);
	background:#F5F5F5;
  animation: fadeIn 2s ease 0s 1 normal;
  -webkit-animation: fadeIn 2s ease 0s 1 normal;
}

@keyframes fadeIn {
  0% {
    opacity: 0
  }
  100% {
    opacity: 1
  }
}


/* ==========================================================================
              Links
              ========================================================================== */

a {
    background: transparent;
}

a:focus {
    outline: 0;
}

a:active,
a:hover {
    outline: 0;
}

a,
a:visited {
    color: inherit;
    transition: all 0.3s;
    text-decoration: none;
}

a:hover,
a:focus,
a:visited:hover,
a:visited:focus {
    opacity: 1;
}

a:link,
a:visited:link {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.3);
}

.btn-wrap{
	margin-top:3rem;
}

.btn {
    position: relative;
    background: var(--main);
    color: var(--main-r);
    padding: 5px 1rem;
    transition: all 0.3s;
    border-radius: 200px;
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    width: 250px;
	font-family:var(--bold);
}

.btn:visited {
  color: var(--main-r);
}

.service-item .btn {
  background: initial;
  padding: 0;
  justify-content: flex-end;
}

.arrow {
  position: relative;
  display: block;
  width: 4rem;
  height: 4rem;
  overflow: hidden;
  transition: all .4s ease-in-out .1s;
  background: var(--main-r);
  border-radius: 100px;
}

.service-item .arrow {
  width: 6rem;
  height: 6rem;
}

.arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 49%;
  width: 1rem;
  height: 1rem;
  background: url("../images/arrow.svg") no-repeat center center / contain;
  transition: all .4s ease-in;
  transform: translate(-50%, -50%);
}

.service-item .arrow::before, .service-item .arrow::after {
  width: 1.5rem;
  height: 1.5rem;
}

.arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 30%;
  width: 1rem;
  height: 1rem;
  background: url("../images/arrow.svg") no-repeat center center / contain;
  opacity: 0;
  transition: all .4s ease-out .1s;
  transform: translate(-50%, -50%);
}

.btn-wrap a:hover .arrow::before, .btn-wrap p button:hover .arrow::before, .service-item:hover .arrow::before {
  left: 70%;
  opacity: 0;
  transition: all .4s ease-out .1s;
}

.btn-wrap a:hover .arrow::after, .btn-wrap p button:hover .arrow::after, .service-item:hover .arrow::after {
  left: 49%;
  opacity: 1;
  transition: all .4s ease-in;
}

.btn-wrap a .btn-text, .btn-wrap p button .btn-text, .service-item .btn-text {
  position: relative;
  overflow: hidden;
}

.btn-wrap a .btn-text, .btn-wrap p button .btn-text, .service-item .btn-wrap .btn-text {
    transition: all .5s;
    opacity: 1;
    display: block;
    width: 100px;
    height: 30px;
    margin-left: 4rem;
}

.service-item .btn-wrap .btn-text {
  width: 130px;
}

.service-item .btn-wrap .btn-text span {
  font-size: 1.6rem;
}

.btn-wrap a .btn-text span, .btn-wrap p button .btn-text span, .service-item .btn-wrap .btn-text span {
  position: absolute;
  left: 0;
  top: 50%;
  transition: all .5s;
  transform: translate(0, -50%);
  opacity: 1;
  white-space: nowrap;
  display: block;
}

.btn-wrap a span:first-child span:nth-child(2), .btn-wrap p button span:first-child span:nth-child(2), .service-item .btn-wrap .btn-text span:nth-child(2) {
  opacity: 0;
  transform: translate(0, 100%);
}

.btn-wrap a:hover span:nth-child(1) span:nth-child(1), .btn-wrap p button:hover span:nth-child(1) span:nth-child(1), .service-item:hover span:nth-child(1) span:nth-child(1) {
  opacity: 0;
  transform: translate(0, -100%);
}

.btn-wrap a:hover span:nth-child(1) span:nth-child(2), .btn-wrap p button:hover span:nth-child(1) span:nth-child(2), .service-item:hover span:nth-child(1) span:nth-child(2) {
  opacity: 1;
  transform: translate(0, -50%);
}


/* ==========================================================================
              Typography
              ========================================================================== */


@font-face {
   font-family: "NotosansJP-B";
   src: url('../fonts/NotosansJP-B.ttf') format('truetype'),
        url('../fonts/NotosansJP-B.woff') format('woff');
}

@font-face {
   font-family: "NotosansJP-R";
   src: url('../fonts/NotosansJP-R.ttf') format('truetype'),
        url('../fonts/NotosansJP-R.woff') format('woff');
}

@font-face {
   font-family: "Inter";
   src: url('../fonts/Inter.ttf') format('truetype'),
        url('../fonts/Inter.woff') format('woff');
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
}

address {
    font-style: normal;
}


/* ==========================================================================
             Lists
           ========================================================================== */

dl,
ol,
ul {
    margin: 0;
}

dd {
    margin: 0;
}

ol,
ul {
    padding: 0;
    list-style-type: none;
}

nav ul,
nav ol {
    list-style: none;
    list-style-image: none;
}

ul,
li {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}


/* ==========================================================================
             Embedded content
           ========================================================================== */

img:not(.post-contents img) {
    width: 100%;
    height: 100%;
    border: 0;
    image-rendering: -webkit-optimize-contrast;
    display: block;
    object-fit: cover;
}

svg:not(:root) {
    overflow: hidden;
}


/* ==========================================================================
              Figures
              ========================================================================== */

figure {
    margin: 0;
}


/*********************
           GENERAL STYLES
           *********************/

:root {
    --main: #4C8DD5;
    --main-r: #ffffff;
    --accent: #111111;
    --txt: #575757;
    --bg: #F7F7F7;
    --easing: cubic-bezier(.2, 1, .2, 1);
    --transition: .8s var(--easing);
    --sm: 1.2rem;
    --md: 1.4rem;
    --lg: 1.8rem;
    --x2: 2rem;
    --x25: 2.5rem;
    --x3: 3rem;
    --x35: 3.5rem;
    --x4: 4rem;
    --x5: 5rem;
    --en: "Inter", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Meiryo", sans-serif;
    --bold: "NotosansJP-B", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "Meiryo", sans-serif;
}
#main {
    overflow-x: hidden;
}

/*html,
   body,
   a {
       cursor: none;
   }
   */

#cursor {
    pointer-events: none;
    position: fixed;
    top: -4px;
    left: -4px;
    width: 8px;
    height: 8px;
    background: var(--main);
    transform: translate(-100px, -100px);
    border-radius: 50%;
    z-index: 999;
}

/*********************
           LAYOUT & GRID STYLES
           *********************/

.ib {
    display: inline-block;
}

.m-none {
    margin: 0 !important;
}

.pc-hide {
    display: none !important;
}

.l-lr {
    padding-right: 8.33333vw;
    padding-left: 8.33333vw;
}

.l-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.l-tb {
    margin-top: 15rem;
    margin-bottom: 15rem;
}

.l-tb-p {
    padding-top: 15rem;
    padding-bottom: 15rem;
}

.l-t {
    margin-top: 15rem;
}

.l-b {
    margin-bottom: 15rem;
}

.l-t-p {
    padding-top: 15rem;
}

.l-h {
    line-height: 2;
}

.bg {
background: var(--main);
    color: var(--main-r);
}

.accent-chenge {
    color: var(--accent);
}

.accent-bottom {
    border-bottom: 1px solid var(--accent);
    padding-bottom: 5px;
}

.align-c {
    text-align: center;
}

.align-l {
    text-align: left;
}

.align-r {
    text-align: right;
}

.overlay {
    position: relative;
    display: block;
}

.overlay:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(88, 88, 88, 0.5);
    z-index: 1;
}

.st-l,
.st-l span {
    font-size: 3rem;
}

.st-m,
.st-m span {
    font-size: 2rem;
}

.l-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
    align-items: center;
}

.l-flex .flex-l,
.l-flex .flex-r {
    width: calc(100% / 2 - 2.5rem);
}

.bg-main {
    background: var(--main);
    color: var(--main-r);
    padding-top: 20rem;
    padding-bottom: 20rem;
}

.title-wrap {
    margin-bottom: 3rem;
}

.sec-title,
.sec-title-en {
    line-height: 1;
}

.sec-title {
font-size: 1.8rem;
    font-family: var(--bold);
    margin-bottom: 2rem;
}

.sec-title-en {
    font-size: 7rem;
    font-family: var(--en);
    color: var(--main);
}

#top_services .sec-title-en,
#contact_area_flex .sec-title-en {
    color: var(--main-r);
}

#recruit .sec-title-en {
    font-size: 5rem;
}

#recruit .sec-title {
    font-size: 1.4rem;
}

.mb_s {
    margin-bottom: 1rem;
}

.mb_sm {
    margin-bottom: 2rem;
}

.mb_m {
    margin-bottom: 3rem;
}

.mb_mm {
    margin-bottom: 4rem;
}

.mb_l {
    margin-bottom: 5rem;
}

.mt_s {
    margin-top: 1rem;
}

.mt_sm {
    margin-top: 2rem;
}

.mt_m {
    margin-top: 3rem;
}

.mt_mm {
    margin-top: 4rem;
}

.mt_l {
    margin-top: 5rem;
}

.border{
	border-radius:10px;
	overflow:hidden;
}

.border-r{
	border-radius:0 10px 10px 0;
	overflow:hidden;
}

.border-l{
	border-radius:10px 0 0 10px;
	overflow:hidden;
}


/******************************************************************
           TYPOGRAPHY STYLES
           ******************************************************************/

h1,
h2,
h3,
h4,
h5 {
    text-rendering: optimizelegibility;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a {
    text-decoration: none;
}

h1 span,
h2 span,
h3 span,
h4 span,
h5 span,
p span {
    font-size: inherit;
}

h1 {
    font-size: 2.5rem;
    line-height: 1;
}

h2 {
    font-size: 2rem;
    line-height: 1.5;
}

h3 {
    font-size: 1.8rem;
    line-height: 1.5;
}

h4 {
    font-size: 1.6rem;
    line-height: 1.5;
}

h5 {
    font-size: 1.6rem;
    line-height: 1.5;
}

p,
a,
span,
td,
th,
li,
address,
dt,
dd {
    font-size: 1.4rem;
    font-weight: 400;
}


/*********************
           HEADER STYLES
           *********************/

.logo-wrap {
    width: 80px;
}

.logo-wrap a {
    display: block;
}

.logo-wrap a svg {
    width: 150px;
}

.logo-wrap .logo-g {
    fill: var(--main-r);
}

.logo-wrap .logo-g:not(.home .logo-wrap .logo-g),
.is-top .logo-wrap .logo-g {
    fill: var(--main);
}

.logo-wrap p {
    font-size: 1.2rem;
    line-height: 1;
}

#logo {
    margin: 0;
    width: 180px;
    height: auto;
    line-height: 1;
}

#header {
    max-width: 100%;
    width: 100%;
    z-index: 10;
    box-sizing: border-box;
    top: 0;
    position: fixed;
    transition: all 0.3s ease-out;
    background: transparent;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    z-index: 99;
	padding:0 5rem;
}

#header.is-top {
    background: var(--main-r);
    box-shadow: 0 0 5px 0px #ddd;
}

/*********************
           NAVIGATION STYLES
           *********************/

#menu {
    width: 100%;
}

.nav__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 5rem;
	font-family:var(--bold);
}

.nav__list li a {
    border-bottom: none;
    font-size: 1.8rem;
    color: var(--txt);
    display: flex;
    align-items: center;
}

.nav__list li.nav-contact a{
background: var(--main);
    color: var(--main-r);
    border-radius: 50px;
    padding: 5px 10px;
}

.toggle {
    display: none;
}

/*********************
           FOOTER STYLES
           *********************/
#footer_logo{
	margin-bottom:3rem;
}
#contact_area_content{
	position: relative;
}

#contact_area_flex{
    position: absolute;
    width: 100%;
    left: 0;
    z-index: 50;
    box-sizing: border-box;
    transform: translateY(-50%);
}

#contact_area_flex .bg{
padding: 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px;
    height: 30rem;
}

#footer_wrap {
    width: 100vw;
    height: 200px;
    position: relative;
    background: #f7f7f7;
    text-align: center;
}

#footer_wrap h3 {
    position: relative;
    top: 50%;
    transform: translate3d(0, -61%, 0);
    display: inline-block;
    font-size: 7.5rem;
}

.footer {
    position: relative;
}

#footer_inner {
    position: relative;
    background: #343434;
    color: var(--main-r);
}

#footer_content {
display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5rem;
    flex-wrap: wrap;
    padding: 10rem 0;
    padding-top: 25rem;
}

#footer_menu_item {
    width: 30%;
}

#footer_sns {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid;
}

#footer_bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--main);
    padding-top: 2rem;
    padding-bottom: 2rem;
}

#footer_bottom a,
#footer_bottom p {
    color: var(--main-r);
    font-size: 12px;
}

#copyright {
    text-align: center;
    font-size: 12px;
}

#menu-footer li a{
    color: var(--main-r);
}

/*********************
           POSTS & CONTENT STYLES
           *********************/
.swiper-wrapper {
    -webkit-transition-timing-function: linear !important;
    -o-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
}

.over-l {
    flex: 1;
    margin-left: calc(50% - 50vw);
}

.over-r {
    flex: 1;
    margin-right: calc(50% - 50vw);
}

#page_header {
position: relative;
    display: flex;
    align-items: center;
    gap: 5rem;
}

.hero-bg {
    height: 50rem;
    width: calc(65% - 2.5rem);
    clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
    flex: 1;
    margin-right: calc(50% - 50vw);
}

.hero-content {
    width:calc(35% - 2.5rem);
}

.breadcrumbs{
margin-top: 10rem;
    font-family: var(--bold);
}

#single_wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 20rem;
}

#single_wrap article {
    width: calc(70% / 1 - 25px);
}

#single_wrap .sidebar {
    width: calc(30% / 1 - 25px);
}

.single img {
    height: auto;
    max-width: 100%;
}

#news__pager {
    margin-top: 5rem;
}

#news__pager .page-numbers {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.news-list article {
    border-top: 1px solid #CFCFCF;
}

.news-list article:last-child {
    border-bottom: 1px solid #CFCFCF;
}

.news-list article a {
    display: block;
    padding: 30px 0;
}

.news-list article a div {
    display: flex;
    gap: 3rem;
    align-items: center;
}

#blog__pager ul.page-numbers {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.pagination .page-numbers li a,
.pagination .page-numbers li span {
    width: 50px;
    height: 50px;
    line-height: 1;
    border: 1px solid var(--main);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination .page-numbers li span {
    background: var(--main);
    color: var(--main-r);
    border: 1px solid var(--main);
}

.post-title {
    overflow-wrap: break-word;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    text-align: left;
    margin-bottom: 0 !important;
}

.single .post-title {
    margin: 2rem 0 !important;
    -webkit-line-clamp: initial;
    font-size: 2.5rem;
    line-height: 1.3;
}

.post-time {
    color: #3A3A3A;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-category {
    font-size: var(--sm);
    background: var(--main);
    color: var(--main-r);
    padding: 5px 10px;
    line-height: 1;
    display: inline-block;
}

.post-time,
.post-category {
    white-space: nowrap;
}

.single .post-contents h2,
.single .post-contents h3,
.single .post-contents h4,
.single .post-contents h5 {
    margin-top: 50px;
    margin-bottom: 10px;
}

.single .post-contents p,
.single .post-contents figure {
    margin-bottom: 20px;
}

.grid-wrapper {
    display: grid;
    grid-template-columns: 25% 75%;
}

.single-title,
.page-title,
.entry-title {
    margin: 0;
}

#archive_news_inner .news-list {
    max-width: 960px;
    margin: 0 auto;
}

/* top */

#mv_item .swiper {
    width: 100%;
    height: 40rem;
    overflow: visible;
    transform: skewY(-9deg);
    position: relative;
    margin-bottom: 25rem;
  }

#mv_item .swiper::before {
position: absolute;
    height: 40rem;
    top: 5rem;
    left: 0;
    width: 100vw;
    content: "";
    background-color: var(--main);
    transform-origin: left bottom;
}

#mv_item .swiper-wrapper {
    transition-timing-function: linear; /* スムーズに流れる */
  }

  /* --- スライド全体 --- */
#mv_item .swiper-slide {
position: relative;
  }

  /* --- ひし形枠 --- */
#mv_item .slide-inner {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: var(--r);
  }

#mv_item /* --- 画像（水平のまま） --- */
  .slide-inner img {
    width: 200%;
    height: 150%;
    object-fit: cover;
    display: block;
transform: skewY(calc(9deg * 1));
  }

#mv_catch{
	margin-bottom:5rem;
}

#mv_catch h2,
#mv_catch p{
    font-family: var(--bold);	
}

#mv_catch h2{
font-size: 6rem;
    color: var(--main);
}

#mv_catch p{
	font-size: 2rem;
	margin-top:2rem;
}

#top_aboutus_inner,
#top_recruit_inner{
	align-items: initial;
    gap: 0;
}

#top_recruit_inner{
	flex-direction:row-reverse;
}

#top_aboutus_inner .flex-l,
#top_recruit_inner .flex-l{
    width: calc(50% - 5rem);
    background: var(--main-r);
    margin-top: 5rem;
    margin-bottom: -5rem;
    padding: 6vw;
    position: relative;
    display: flex;
    align-items: center;
}

#top_aboutus_inner .flex-r,
#top_recruit_inner .flex-r{
width: calc(50% + 5rem);
    position: relative;
    z-index: 2;
    height: 50rem;
}

#top_aboutus_inner .flex-l:before,
#top_recruit_inner .flex-l:before{
    content: "";
    background: var(--main-r);
    width: 5rem;
    height: 100%;
    top: 0;
    right: -5rem;
    position: absolute;
    z-index: 1;
}

#top_recruit_inner .flex-l:before{
    right: initial;
	left:-5rem;
}

.services-item{
	margin:5rem 0;
}

.services-item:last-child{
	margin:0;
}

.services-item .flex-l{
	height:40rem;
}

.services-text{
    position: relative;
}

.services-text h3{
font-size: 3rem;
    font-family: var(--bold);
    line-height: 1;
	margin-bottom:2rem;
}

.services-text .num{
position: absolute;
    font-size: 1.4rem;
    font-family: var(--en);
    border: 1px solid;
    border-radius: 50px;
    padding: 5px 10px;
    left: 0;
    top: 5px;
    line-height: 1;
}

#top_services .btn,
#contact_area_flex .btn{
    background: var(--main-r);
    color: var(--main);
}

#top_services .arrow,
#contact_area_flex .arrow{
    background: var(--main);
}

#top_services .arrow::before,
#contact_area_flex .arrow::before{
  background: url("../images/arrow-r.svg") no-repeat center center / contain;
}

#top_services .arrow::after,
#contact_area_flex .arrow::after{
  background: url("../images/arrow-r.svg") no-repeat center center / contain;
}

#contact_area_flex .btn-wrap {
    margin-top: 0rem;
}

/* services */
#services .services-item .flex-l {
    height: initial;
}

#services .services-item {
    margin-bottom: 10rem;
    background: var(--main-r);
    padding: 5rem;
}

#services .services-item .num{
font-size: 1.4rem;
    font-family: var(--en);
    border: 1px solid;
    border-radius: 50px;
    padding: 5px 10px;
    line-height: 1;
    color: var(--main);
}

#services .services-item h3{
    color: var(--main);
    font-size: 3rem;
    font-family: var(--bold);
    line-height: 1;
}

#services .services-item .flex-r{
	aspect-ratio:4 / 4;
}

.services-title{
	display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.services-sub{
padding: 5rem 0;
    border-top: 1px solid var(--main);
}

.services-sub:last-child{
    border-bottom: 1px solid var(--main);	
}

.services-sub h4{
font-size: 2rem;
    font-family: var(--bold);
    color: var(--main);
    margin-bottom: 2rem;	
}

.services-sub-wrap{
	margin-top:5rem;
}

/* company */
#company_inner{
    background: var(--main-r);
    padding: 7rem;	
}

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

#company table th,
#company table td,
#recruit table th,
#recruit table td{
    text-align: left;
    font-family: var(--bold);
    padding: 3rem 0;
    border-bottom: 1px solid #BCBCBC;
}

#company table th,
#recruit table th{
    width:20%;
}

#company table th,
#recruit table th{
    color: var(--main);		
}

/* contact */
/* ==========================================================================
              Forms
              ========================================================================== */

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    margin: 0;
}

button,
input {
    line-height: normal;
}

button,
select {
    text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

input[type="search"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
    vertical-align: top;
}


/* ==========================================================================
                                          Tables
                                          ========================================================================== */

table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}

.tablepress caption {
    display: none;
}

.tablepress {
    margin-bottom: 0 !important;
}

.tablepress tr .column-1 {
    width: 30%;
}

.tablepress tr .column-1,
.tablepress tr .column-2 {
    padding: 30px 0;
    color: var(--txt);
    font-size: 16px;
}

.tablepress tr:last-child .column-1,
.tablepress tr:last-child .column-2 {
    padding-bottom: 0;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*********************
                                       INPUTS
                                       *********************/

input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
select,
textarea,
.field {
    display: block;
    height: 60px;
    padding: 10px;
    margin-bottom: 2rem;
    font-size: 16px;
    border-radius: 3px;
    vertical-align: middle;
    box-shadow: none;
    border: 0;
    width: 100%;
    max-width: 100%;
    background-color: var(--main-r);
    -webkit-transition: background-color 0.24s ease-in-out;
    transition: background-color 0.24s ease-in-out;
    color: var(--main);
}

input[type="text"]:focus,
input[type="text"]:active,
input[type="password"]:focus,
input[type="password"]:active,
input[type="datetime"]:focus,
input[type="datetime"]:active,
input[type="datetime-local"]:focus,
input[type="datetime-local"]:active,
input[type="date"]:focus,
input[type="date"]:active,
input[type="month"]:focus,
input[type="month"]:active,
input[type="time"]:focus,
input[type="time"]:active,
input[type="week"]:focus,
input[type="week"]:active,
input[type="number"]:focus,
input[type="number"]:active,
input[type="email"]:focus,
input[type="email"]:active,
input[type="url"]:focus,
input[type="url"]:active,
input[type="search"]:focus,
input[type="search"]:active,
input[type="tel"]:focus,
input[type="tel"]:active,
input[type="color"]:focus,
input[type="color"]:active,
select:focus,
select:active,
textarea:focus,
textarea:active,
.field:focus,
.field:active {
    background-color: var(--main-r);
}

input[type="text"].error,
input[type="text"].is-invalid,
input[type="password"].error,
input[type="password"].is-invalid,
input[type="datetime"].error,
input[type="datetime"].is-invalid,
input[type="datetime-local"].error,
input[type="datetime-local"].is-invalid,
input[type="date"].error,
input[type="date"].is-invalid,
input[type="month"].error,
input[type="month"].is-invalid,
input[type="time"].error,
input[type="time"].is-invalid,
input[type="week"].error,
input[type="week"].is-invalid,
input[type="number"].error,
input[type="number"].is-invalid,
input[type="email"].error,
input[type="email"].is-invalid,
input[type="url"].error,
input[type="url"].is-invalid,
input[type="search"].error,
input[type="search"].is-invalid,
input[type="tel"].error,
input[type="tel"].is-invalid,
input[type="color"].error,
input[type="color"].is-invalid,
select.error,
select.is-invalid,
textarea.error,
textarea.is-invalid,
.field.error,
.field.is-invalid {
    color: var(--white);
    border-color: var(--white);
    background-color: var(--main-r);
    background-position: 99% center;
    background-repeat: no-repeat;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo2NDM0NDREQkYwNEIxMUUyOTI4REZGQTEzMzA2MDcyNiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo2NDM0NDREQ0YwNEIxMUUyOTI4REZGQTEzMzA2MDcyNiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjQ3ODRGRkE2RjA0QTExRTI5MjhERkZBMTMzMDYwNzI2IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjY0MzQ0NERBRjA0QjExRTI5MjhERkZBMTMzMDYwNzI2Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+U8iT5wAAAedJREFUeNqk1U9I02Ecx/HtV3aIFAc1hcRDUoGXRAq0oNLA2CrsEFmHbikZu0iQYIFGYAiegkCpLipBxPpDEBMUzB0EhSG2LhG7hMR2GviPgUTvB57Bw8P3+U23B16HPX8+e/b8nt93wezZSMCnhXETF3AcB5BDCnH8Dq98ExcGHcFn8Ah3cdDni+fxnPDv9oAnTB7CKu6VCFXtChZy56LxUjt+jfuB8toSOth9wd7xWAWhqrUjYR/FRTwWJm+iIPT/w7bQf5ljiZnBg45dtKFX6H+LU8gIY8OEV6vgTkStwXWE8BPTGDHGPqNPz2mCfSOOYkA99TvCt1bhGPL68zMcwmncMuape10jrI+q4BbHi/FLn31S9z2x5tRhTc+1W506ipM+T3oRD4X+8+qtc4SqFvL0z/Fr14S+Szjis8bz9Lvvaq8cwS/wwGfdlqfPSWqTiFlX77o13u9Ym1PBs8JAytpRoy44X9Ft9E/gvbA+rYKn8NcaaMVc8UHgBw4b9/iqUQZ6hOAJFbyDcUflmsEX4a6+wTtHGfhAIUqa1U29Zc2BytouThD8x6xuN5CtMPi2CrXLZkZf/HyZoRFCP7n+QVR4PV7uI/AjGghN7OU/r1ilnqILtfpNC+o6vIFljBKYlhb/F2AAgaBsWR5wRiIAAAAASUVORK5CYII=);
    outline-color: var(--main-r);
}

input[type="text"].success,
input[type="text"].is-valid,
input[type="password"].success,
input[type="password"].is-valid,
input[type="datetime"].success,
input[type="datetime"].is-valid,
input[type="datetime-local"].success,
input[type="datetime-local"].is-valid,
input[type="date"].success,
input[type="date"].is-valid,
input[type="month"].success,
input[type="month"].is-valid,
input[type="time"].success,
input[type="time"].is-valid,
input[type="week"].success,
input[type="week"].is-valid,
input[type="number"].success,
input[type="number"].is-valid,
input[type="email"].success,
input[type="email"].is-valid,
input[type="url"].success,
input[type="url"].is-valid,
input[type="search"].success,
input[type="search"].is-valid,
input[type="tel"].success,
input[type="tel"].is-valid,
input[type="color"].success,
input[type="color"].is-valid,
select.success,
select.is-valid,
textarea.success,
textarea.is-valid,
.field.success,
.field.is-valid {
    color: var(--white);
    border-color: var(--white);
    background-color: var(--main-r);
    background-position: 99% center;
    background-repeat: no-repeat;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo2NDM0NDRERkYwNEIxMUUyOTI4REZGQTEzMzA2MDcyNiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo2NDM0NDRFMEYwNEIxMUUyOTI4REZGQTEzMzA2MDcyNiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjY0MzQ0NERERjA0QjExRTI5MjhERkZBMTMzMDYwNzI2IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjY0MzQ0NERFRjA0QjExRTI5MjhERkZBMTMzMDYwNzI2Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+7olkTQAAAfhJREFUeNqklU9oE0EUhzdroWjw0tBeWlDxkEaIp55TsCU9VKIgCrHBelA8CQ1Kr1WPbZrQ3gqtQqvGqxpQc2jBk6BIIaAGD4qNCKURpDSKiPi98gLDsJt//uBjsztvfnk7895sIPAw6/joGMThFJyAXn2+A+9gA57/TaY/eU0OeBgfhGm4DiGnsb7DAszxBz/NAdcKjMJLuNWCqagHbsscN5+L+hmH4QkMOe1L5jzFfNA2PgT34ajTuY7AGuZB0/hmh5m+gS0r8xv1zRvg+gGCHZiOwnF4DP3iB3sQkYxPd2C6CWfhB9Xwlus5+K1j4jXuaq3a+gM1H9OPcAa+7q9lPidZJqHbiIm7Wg22rsEI7FrPSzAMX/T+ADyAKSsu7Fr1KplehLvwCs5DvfBf65p+MypqRbO1FXK9utH4/QKuaqYTsG3E3INJv00Q46px3+XxanJ/Ute2/vqP4FKDza2KcdljIKdnhS0xXYULTaqmLMZFn8FFSFtvt6x70ExFCS5oUXspq2ssa7oEl1swFa+CGFdgtkHgPDyDKy02zyxNU6lXRUZb1EuHYayNNs+Yh5B0WQo+/8fpJnNTZFuzz2OpjoQ2QruSOQlMy35fEGmEGMxY9e1brxobw7TkWA1h6xfckUPb+JhGoE/Hpfvew7qUld/H9J8AAwDpw3WYrxcZ3QAAAABJRU5ErkJggg==);
    outline-color: var(--main-r);
}

input[type="text"][disabled],
input[type="text"].is-disabled,
input[type="password"][disabled],
input[type="password"].is-disabled,
input[type="datetime"][disabled],
input[type="datetime"].is-disabled,
input[type="datetime-local"][disabled],
input[type="datetime-local"].is-disabled,
input[type="date"][disabled],
input[type="date"].is-disabled,
input[type="month"][disabled],
input[type="month"].is-disabled,
input[type="time"][disabled],
input[type="time"].is-disabled,
input[type="week"][disabled],
input[type="week"].is-disabled,
input[type="number"][disabled],
input[type="number"].is-disabled,
input[type="email"][disabled],
input[type="email"].is-disabled,
input[type="url"][disabled],
input[type="url"].is-disabled,
input[type="search"][disabled],
input[type="search"].is-disabled,
input[type="tel"][disabled],
input[type="tel"].is-disabled,
input[type="color"][disabled],
input[type="color"].is-disabled,
select[disabled],
select.is-disabled,
textarea[disabled],
textarea.is-disabled,
.field[disabled],
.field.is-disabled {
    cursor: not-allowed;
    border-color: var(--main-r);
    opacity: 0.6;
}

input[type="text"][disabled]:focus,
input[type="text"][disabled]:active,
input[type="text"].is-disabled:focus,
input[type="text"].is-disabled:active,
input[type="password"][disabled]:focus,
input[type="password"][disabled]:active,
input[type="password"].is-disabled:focus,
input[type="password"].is-disabled:active,
input[type="datetime"][disabled]:focus,
input[type="datetime"][disabled]:active,
input[type="datetime"].is-disabled:focus,
input[type="datetime"].is-disabled:active,
input[type="datetime-local"][disabled]:focus,
input[type="datetime-local"][disabled]:active,
input[type="datetime-local"].is-disabled:focus,
input[type="datetime-local"].is-disabled:active,
input[type="date"][disabled]:focus,
input[type="date"][disabled]:active,
input[type="date"].is-disabled:focus,
input[type="date"].is-disabled:active,
input[type="month"][disabled]:focus,
input[type="month"][disabled]:active,
input[type="month"].is-disabled:focus,
input[type="month"].is-disabled:active,
input[type="time"][disabled]:focus,
input[type="time"][disabled]:active,
input[type="time"].is-disabled:focus,
input[type="time"].is-disabled:active,
input[type="week"][disabled]:focus,
input[type="week"][disabled]:active,
input[type="week"].is-disabled:focus,
input[type="week"].is-disabled:active,
input[type="number"][disabled]:focus,
input[type="number"][disabled]:active,
input[type="number"].is-disabled:focus,
input[type="number"].is-disabled:active,
input[type="email"][disabled]:focus,
input[type="email"][disabled]:active,
input[type="email"].is-disabled:focus,
input[type="email"].is-disabled:active,
input[type="url"][disabled]:focus,
input[type="url"][disabled]:active,
input[type="url"].is-disabled:focus,
input[type="url"].is-disabled:active,
input[type="search"][disabled]:focus,
input[type="search"][disabled]:active,
input[type="search"].is-disabled:focus,
input[type="search"].is-disabled:active,
input[type="tel"][disabled]:focus,
input[type="tel"][disabled]:active,
input[type="tel"].is-disabled:focus,
input[type="tel"].is-disabled:active,
input[type="color"][disabled]:focus,
input[type="color"][disabled]:active,
input[type="color"].is-disabled:focus,
input[type="color"].is-disabled:active,
select[disabled]:focus,
select[disabled]:active,
select.is-disabled:focus,
select.is-disabled:active,
textarea[disabled]:focus,
textarea[disabled]:active,
textarea.is-disabled:focus,
textarea.is-disabled:active,
.field[disabled]:focus,
.field[disabled]:active,
.field.is-disabled:focus,
.field.is-disabled:active {
    background-color: var(--main-r);
}

input[type="password"] {
    letter-spacing: 0.3em;
}

input[type="radio"] {
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 1px solid #D5D6D8;
    vertical-align: -7px;
    outline: none;
    margin-right: 5px;
}

input[type="radio"]:checked::before {
    transform: translate(3px, 3px) scale(1);
}

input[type="radio"]::before {
    display: block;
    content: "";
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background-color: var(--main-r);
    transform: translate(3px, 3px) scale(0);
    transform-origin: center;
    transition: all 0.3s cubic-bezier(0.25, 0.25, 0.56, 2);
}

textarea {
    max-width: 100%;
    min-height: 400px;
    line-height: 1.5em;
}

select {
    -webkit-appearance: none;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAHCAYAAADXhRcnAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpEOEZCMjYxMEYwNUUxMUUyOTI4REZGQTEzMzA2MDcyNiIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpEOEZCMjYxMUYwNUUxMUUyOTI4REZGQTEzMzA2MDcyNiI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkQ4RkIyNjBFRjA1RTExRTI5MjhERkZBMTMzMDYwNzI2IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkQ4RkIyNjBGRjA1RTExRTI5MjhERkZBMTMzMDYwNzI2Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Vxkp9gAAAI9JREFUeNpidHFxucHAwKAOxE+AmJmBMPgLxDJAfJMFSKwD4kqoAClgA+P///8ZXF1dPaCGcBKh6QcQB+3evXs7WDMIAA2QB1I7gFgDj0aQFz2BGh+AOEwwUaDAQyBlCMR7cGjcC5KHaQQBuM3IAOiKTiBVhiTUDdRUhq4Oq2aoAelAahIQ5wM1zsCmBiDAADhYMJXVZ9u9AAAAAElFTkSuQmCC);
    background-repeat: no-repeat;
    background-position: 97.5% center;
}

.wpcf7-list-item-label,
.wpcf7-list-item-label a {
    font-size: 16px;
}

.wpcf7-radio {
    display: block;
    margin-top: 30px;
}

.wpcf7-radio .wpcf7-list-item {
    display: block;
    margin: 0 0 10px 0;
}

.wpcf7-radio .wpcf7-list-item:last-child {
    margin: 0;
}

.wpcf7-form tr {
    vertical-align: text-top;
}

.form {
    width: 100%;
}

.form tr th {
    width: 30%;
}

.form tr td {
    width: 70%;
}

.form tr:first-child th {
    margin-top: 0;
}

.form tr th {
    margin-top: 7rem;
}

.wpcf7 {
    text-align: center;
}

.wpcf7-form {
    margin: 0 auto;
    text-align: left;
    display: inline-block;
    border-radius: 25px;
    width: 100%;
}

.wpcf7-form tr {
    vertical-align: text-top;
}

.haveto {
    color: var(--main-r);
    background: var(--main);
    line-height: 1;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 30px;
    font-size: 13px;
    margin-right: 2rem;
}

.form th,
.form td{
	font-family:var(--bold);
}

span.wpcf7-not-valid-tip,
.wpcf7-response-output,
.wpcf7-spinner {
    display: none !important;
}

.formError.inline {
    display: block !important;
}

.formErrorContent {
    color: red;
    margin-bottom: 2rem;
font-family: "NotosansJP-R", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "Meiryo", sans-serif;
}

#form__center_area .formErrorContent {
    margin-top: 20px;
}

#form__center_area label {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#form__center_area .btn {
    margin: 0 auto;
}

#form__center_area .wpcf7-list-item label {
    margin-bottom: 3rem;
}

#form__center_area {
    margin-top: 1rem;
}

#form__center_area .btn-1 p {
    display: inline-block;
}

#form__center_area label #privacypolicy {
    order: 1;
}

#form__center_area label .wpcf7-list-item-label {
    order: 2;
}

#form__center_area label .privacypolicyformError {
    order: 3;
    display: block;
    width: 100%;
    text-align: center;
}

#form__privacypolicy {
    border-bottom: 1px solid #707070;
}

.contact-item a {
    transition: all .3;
}

.contact-item a:hover {
    opacity: .6;
}

.item-data {
    margin-bottom: 1rem;
    display: block;
}

.form-flex2 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.form-flex2 .wpcf7-form-control-wrap {
    width: 100%;
    display: inline-block;
}

.item-time {
    position: relative;
    padding-right: 3rem;
    display: inline-block;
}

.time,
.minute {
    position: absolute;
    right: 0;
    top: 2.7rem;
}

.time {
    right: 1rem;
}

.item-time span {
    display: inline-block;
}

.item-time .wpcf7-form-control-wrap {
    width: 250px;
}

#time1 {
    right: 1rem;
}

#contact_first {
    gap: 10rem;
}

.contact-item {
    width: calc(100% / 2 - 5rem);
}

.contact-item a {
    color: var(--accent-txt);
    display: block;
    text-align: center;
    border: 1px solid;
    line-height: 70px;
    margin-bottom: 3rem;
}

.contact-item a:last-child {
    margin-bottom: 0;
}

.contact-item a img {
    height: initial;
    object-fit: initial;
    height: 20px;
    vertical-align: middle;
    margin-right: 5px;
    width: 20px;
}

#contact_form {
    margin-top: 15rem;
}

#form_comp_inner,
#form_comp_inner p {
    text-align: center;
}

#form_comp_item {
    margin-bottom: 3rem;
}

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

    /*********************
           HEADER STYLES
           *********************/
    .nav__list li a {
        font-size: 1.6rem;
    }
}


@media screen and (max-width:1200px) {
.sec-title-en {
    font-size: 6rem;
}
    /*********************
           HEADER STYLES
           *********************/

    #logo {
        width: 150px;
    }

}

@media screen and (max-width:1024px) {
.l-lr {
    padding-right: 5vw;
    padding-left: 5vw;
}
.l-tb {
    margin-top: 10rem;
    margin-bottom: 10rem;
}
.l-tb-p {
    padding-top: 10rem;
    padding-bottom: 10rem;
}
.hero-bg {
    height: 40rem;
}
    .sec-title-en {
        font-size: 5rem;
    }
.nav__list {
    gap: 3rem;
}	
#mv_item .swiper {
    height: 30rem;
    margin-bottom: 18rem;
}
#mv_item .swiper::before {
    height: 30rem;
}
#top_aboutus,
#top_recruit{
	margin-bottom:15rem;
	}
}

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

    /*********************
           GENERAL STYLES
           *********************/
    :root {
        --width: 540;
    }

    .pc-hide {
        display: block !important;
    }

    .bg-main {
        padding-top: 10rem !important;
        padding-bottom: 10rem !important;
    }

    #cursor,
    #stalker {
        display: none;
    }

#mv_catch h2 {
    font-size: 5rem;
}

#services .services-item .flex-r {
    aspect-ratio: 4 / 2;
}

.sec-title-en {
        font-size: 4rem;
    }

#mv_item .swiper {
        height: 25rem;
    }
#mv_item .swiper::before {
        height: 25rem;
    }
#top_aboutus_inner .flex-l, #top_recruit_inner .flex-l{
width: calc(60% - 5rem);
	}
#top_aboutus_inner .flex-r, #top_recruit_inner .flex-r {
        width: calc(40% + 5rem);
        height: 40rem;
}
.services-item .flex-l {
    height: 30rem;
    width: 100%;
}
.services-item .flex-r{
    width: 100%;	
	}
#menu-footer{
width: 100%;
    display: flex;
    justify-content: center;
	}
.footer-item{
	text-align:center;
	}
#footer_logo {
    margin: 0 auto 3rem auto ;
}
#footer_content {
gap: 3rem;
        padding: 5rem 0;
        padding-top: 20rem;
        justify-content: center;
}
#recruit .sec-title-en {
    font-size: 3rem;
}


    /*********************
        NAVIGATION STYLES
        *********************/
    .logo-wrap {
        width: 50px;
    }

    #header {
        height: 50px;
    }

    #header_inner {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        position: relative;
        height: 50px;
        width: 100%;
    }

    #header.is-top-sp {
        background: var(--main-r);
    }

    #header.is-top-sp .logo-wrap .logo-g {
        fill: var(--main);
    }

    #header.is-top-sp .toggle.active span {
        border-bottom: solid 2px var(--main-r);
    }

    .is-top-sp #header_inner {
        height: 50px;
    }

    .nav__list {
        display: block;
    }

    #menu ul li a {
        padding: 1rem 5rem;
        color: var(--txt) !important;
        text-decoration: none;
    }
	
	#menu-nav{
		display: flex;
    justify-content: initial;
    gap: 0;
	}
	
	#menu-nav li{
    width: 50%;
    border: 1px solid #ddd;
	}
	
	#menu-nav li:last-child{
        margin-top: 2rem;
        border: initial;
        width: 100%;
	}
	
	#menu-nav li:last-child a{
        color: var(--main-r) !important;
		border-radius:0;
	}

    #menu #menu-nav_inner {
        display: block;
        width: 90%;
        margin: 0 auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate3d(0, -10px, 0) translate(-50%, -50%);
    }

    #nav_inner {
        text-align: center;
        margin: 0;
        background: var(--main-r);
        height: 100vh;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        padding-top: 90px;
        pointer-events: none;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
        -webkit-transition: -webkit-transform cubic-bezier(0.8, 0, 0.1, 1) 0.9s 0.2s;
        transition: transform cubic-bezier(0.8, 0, 0.1, 1) 0.9s 0.2s;
    }

    #menu.open #nav_inner {
        pointer-events: auto;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        -webkit-transition-delay: 0s;
        transition-delay: 0s;
    }

    #menu-nav_inner {
        opacity: 0;
        -webkit-transition: opacity ease 0.6s 0s, -webkit-transform ease 0.6s 0s;
        transition: opacity ease 0.6s 0s, transform ease 0.6s 0s;
    }

    #menu.open #menu-nav_inner {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0) translate(-50%, -50%);
        transform: translate3d(0, 0, 0) translate(-50%, -50%);
        -webkit-transition-delay: 0.7s;
        transition-delay: 0.7s;
    }

    .toggle {
        display: block;
		width: 50px;
		height: 50px;
        cursor: pointer;
        z-index: 3;
        right: 0;
        background: var(--main);
        position: fixed;
        top: 0;
    }

    .toggle span {
        display: block;
        position: absolute;
        width: 30px;
        border-bottom: solid 2px var(--main-r);
        -webkit-transition: .35s ease-in-out;
        -moz-transition: .35s ease-in-out;
        transition: .35s ease-in-out;
        left: 50%;
        transform: translateX(-50%);
    }

    .is-top .toggle span {
        border-bottom: solid 2px var(--main);
    }

    .toggle.active span {
        border-bottom: solid 2px var(--main-r);
    }

    .toggle span:nth-child(1) {
        top: 22px;
    }

    .toggle span:nth-child(2) {
        top: 28px;
    }

    .toggle.active span:nth-child(1) {
        top: 25px;
        transform: translateX(-50%) rotate(-25deg);
    }

    .toggle.active span:nth-child(2) {
        top: 25px;
        transform: translateX(-50%) rotate(25deg);
    }


    /*********************
           FOOTER STYLES
           *********************/
    .footer-block-inner figure:hover {
        transform: scale(1);
    }

    #footer_inner {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    /*********************
           LAYOUT & GRID STYLES
           *********************/
    .l-lr {
        padding-right: 5rem;
        padding-left: 5rem;
    }

    .l-tb {
        margin-top: 10rem;
        margin-bottom: 10rem;
    }

    .l-t {
        margin-top: 10rem;
    }

    .l-b {
        margin-bottom: 10rem;
    }

    .l-tb-p {
        padding-top: 10rem;
        padding-bottom: 10rem;
    }

}

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

    /*********************
           GENERAL STYLES
           *********************/
    html {
        scroll-padding-top: 90px;
    }

p, a, span, td, th, li, address, dt, dd {
    font-size: 13px;
}

    .mbr {
        display: inline-block;
    }

    .sp-hide {
        display: none;
    }

    .pc-hide {
        display: block !important;
    }

    .l-lr {
        padding-right: 2rem;
        padding-left: 2rem;
    }

    .l-tb {
        margin-top: 7rem;
        margin-bottom: 7rem;
    }

    .l-t {
        margin-top: 7rem;
    }

    .l-b {
        margin-bottom: 7rem;
    }

    .l-tb-p {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }

    .l-flex {
        gap: 3rem;
    }

#company table th, #recruit table th {
    width: 30%;
}

    /* ==========================================================================
              Links
              ========================================================================== */

    .btn-1 a,
    .btn-1 button {
        background: var(--main);
        width: 200px;
        line-height: 50px;
        display: inline-block;
        text-align: center;
        color: var(--main-r);
        letter-spacing: .04em;
        position: relative;
        border-left: 5px solid #D13631;
        -webkit-transition: .4s;
        transition: .4s;
    }

    .btn-1 a::before,
    .btn-1 button::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 0;
        display: block;
        background: #D13631;
        z-index: 1;
        -webkit-transition: .4s;
        transition: .4s;
    }

    .btn-1 a span,
    .btn-1 button span {
        position: relative;
        z-index: 5;
    }

    .btn-1 a:hover::before,
    .btn-1 button:hover::before {
        width: 100%;
    }

    /*********************
           HEADER STYLES
           *********************/
    .menu-item a {
        font-size: var(--md);
    }

    .logo-wrap {
        width: 40px;
    }

    /*********************
           POSTS & CONTENT STYLES
           *********************/
    .post-title {
        -webkit-line-clamp: 2;
        width: 100%;
    }

    .post-data-wrap {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 20px;
    }

    .news-list article a div {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .news-list article a {
        padding: 20px 0;
    }

    .post-category {
        font-size: 12px;
    }

    .wpcf7-list-item-label,
    .wpcf7-list-item-label a {
        font-size: 13px;
    }

    input[type="text"],
    input[type="password"],
    input[type="datetime"],
    input[type="datetime-local"],
    input[type="date"],
    input[type="month"],
    input[type="time"],
    input[type="week"],
    input[type="number"],
    input[type="email"],
    input[type="url"],
    input[type="search"],
    input[type="tel"],
    input[type="color"],
    select,
    textarea,
    .field {
        height: 60px;
        padding: 10px;
    }

    /*********************
           FOOTER STYLES
           *********************/
    .footer-more-l,
    .footer-more-r {
        width: 100%;
    }

    .footer-block {
        height: 40vh;
    }

.services-item .flex-l {
        height: 25rem;
    }

.services-text .num {
    top: 0px;
}

    #footer_bottom a,
    #copyright {
        font-size: 12px;
    }

    /*********************
           LAYOUT & GRID STYLES
           *********************/

    .l-flex .flex-l,
    .l-flex .flex-r {
        width: 100% !important;
    }

    textarea {
        min-height: 250px;
    }

.nav__list li a {
        font-size: 1.4rem;
    }

#contact_area_flex .bg{
display: block;
        height: auto;
        padding: 3rem;
	}

#contact_area_flex {
    transform: translateY(-20%);
}

.sec-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.services-text h3 {
    font-size: 2.5rem;
}
	
#mv{
    margin-top: 15rem;
	}

#mv_item .swiper {
    margin-bottom: 16rem;
}

#mv_catch h2 {
        font-size: 3.5rem;
    }

#mv_catch p {
    font-size: 1.6rem;
    margin-top: 2rem;
}

#header {
    padding: 0px 2rem;
}

#menu-nav li {
        width: 100%;
    }

    #menu-nav li:last-child {
        margin-top: 0rem;
    }

#top_aboutus_inner .flex-l, #top_recruit_inner .flex-l{
        margin: 0;
        padding: 7rem 2rem;
	}

#top_aboutus, #top_recruit {
        margin-bottom: 7rem;
    }

#top_aboutus_inner .flex-r, #top_recruit_inner .flex-r {
        height: 30rem;
        border-radius: 10px 10px 0 0;
    }
#page_header{
        flex-wrap: wrap;
        gap: 3rem;
	}
#services .services-item {
    margin-bottom: 7rem;
    padding: 5rem 3rem;
}
#services .services-item h3 {
    font-size: 2.5rem;
}
.services-sub h4 {
    font-size: 1.6rem;
}
.services-sub {
    padding: 3rem 0;
}
.hero-content{
    width: 100%;
	}
.hero-bg{
    width: 100%;
    margin: 0;
    flex: initial;
    height: 25rem;
	}
.breadcrumbs {
    margin-top: 5rem;
}
#company_inner {
    padding: 5rem 3rem;
}
#company table th{
    width: 30%;
}
#company table td{
    width: 70%;
}
.form tr th,
.form tr td{
    width: 100%;
	display:block;
}
.form tr th {
margin-top: 1rem;
        margin-bottom: 1rem;
}
.haveto {
    font-size: 11px;
}
#form__center_area .btn-wrap {
    margin-top: 0rem;
}
}

@media screen and (min-width:960px) {
.tb-hide{
	display:none;
}
}