/*
Theme Name:Nitto
*/
html{
	height:100%;
	overflow:auto;
    background-color: #f4f0ee;
}
body{
    width: 100%;
    font-size: min(4.5vw, 18px);
    line-height: min(8vw, 180%);
	font-weight:400;
    position: relative;
    overflow: hidden;
	-webkit-text-size-adjust: 100%;
    letter-spacing: 0.3px;
    animation: Fadein 500ms cubic-bezier(0.32, 0, 0.67, 0) forwards;
}
@media (min-width:641px){
    body{padding-right: 66px;/*サイドメニュー分*/}
}
@keyframes Fadein {
    0%{opacity: 0;}
    100%{opacity: 1;}
}
h1, h2, h3, h4, h5, h6,*{
	box-sizing:border-box;
	margin:0px;
	padding:0px;
}
:not(input){
	caret-color: rgba(0,0,0,1);
}
a {
    overflow: hidden;
    outline: none;
    color: inherit;
}
a:link,a:hover,a:visited{
	text-decoration:none;
}
a,a::before,a::after{
	transition: all ease 300ms;
    color: inherit;
}
li{
	list-style-type:none;
}
img{
	vertical-align: bottom;
	border-style:none;
	box-shadow: #000 0 0 0;
	height:auto;
}
img:not([src*=".svg"]) {
    width: 100%;
    /*max-width: max-content;
    max-width: -moz-max-content;*/
}
img.move {
    transition: clip-path ease 300ms;
    transition-delay: 150ms;
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
}
img.moved {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}
input[type="text"]:focus {
/*  outline: 0;*/
}
x:-moz-any-link, x:default {
	box-shadow: #000 0 0 0;
}
table,th,td{
border-collapse: collapse;
border: 0 ;
}
input::-webkit-input-placeholder,
input:-ms-input-placeholder,
input::-moz-placeholder{
    color: #ccc;
    font-weight: normal;
}
input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
    transition: all ease 200ms;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}
input.searchsubmit {
    background: #4c4c4c url(./img/cmn/ico_search.svg) no-repeat center / 20px;
    text-indent: -99999px;
}
form{
    position: relative;
}
form.wpcf7-form {
    width: 100%;
}
form#searchform {
    width: fit-content;
}
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"],
select,
textarea{
    background: #fff;
    font-size: 1em;
    padding: 1em 1em;
    display: inline-block;
    border-color: #d9d9d9;
}
input[value="検索"] {
    background: url(./img/cmn/ico_search.svg) no-repeat center / contain;
    position: absolute;
    display: block;
    width: 24px;
    height: 24px;
    text-indent: -9999px;
    z-index: 2;
    top: 0;
    bottom: 0;
    right: 5px;
    margin: auto;
}
textarea{
	resize: none;
}
address {
    font-style: normal;
}
.input_w100{
    width: 100%;
}
input.input_w100:focus,
select.input_w100:focus,
textarea.input_w100:focus{
    outline: 2px solid #005baa;
}
.mini {
    font-size: 80%;
}
div[role="main"] {
    width: 90%;
    max-width: 1410px;
    margin: 0 auto;
}
article{
    position: relative;
}
main{
    position: relative;
}
.red{
    color: #fd343e;
}
/*==================================================
Header
==================================================*/
header#header {
    padding: min(3vw, 32px) min(4vw, 32px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    width: calc(100% - 66px);
    top: 0;
    left: 0;
    z-index: 100;
}
.head_logo {
    display: flex;
}
.logo_mark {
    width: 146px;
}
.logo_type {
    width: 265px;
    margin-left: 10px;
}
.h_nav_list {
    display: flex;
}
.h_nav_item {
    position: relative;
    font-size: min(3.5vw, 16px);
    min-width: 96px;
    display: flex;
}
.h_nav_link {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1em;
}
:where(.h_nav_item:last-child) .h_nav_link {
    padding-right: 0;
}
.h_nav_link::after {
    content: "";
    background: #fd343e;
    border-radius: 50%;
    width: 96px;
    height: 96px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 1;
    transition: all ease 200ms;
    transform: scale(0);
}
.h_nav_link .name_jp{
    font-weight: bold;
    line-height: 1.2;
    position: relative;
    z-index: 2;
    transition: all ease 200ms;
    opacity: 1;
}
.h_nav_link .name_en{
    color: #fff;
    line-height: 1.2;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 2;
    transition: all ease 200ms;
    opacity: 0;
}

.h_nav_link:hover::after {
    transform: scale(1);
}
.h_nav_link:hover .name_jp{
    opacity: 0;
}
.h_nav_link:hover .name_en{
    opacity: 1;
}
@media (min-width:1200px){
    br.on1200{
        display: none;
    }
}
@media (max-width:1080px){
    .h_nav_list{
        display: none;
    }
}
@media (max-width:640px){
    .logo_type{
        display: none;
    }
}
/*==================================================
Sidebar
==================================================*/
#sidebar {
    background: #fd343e;
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    z-index: 999;
    display: flex;
    flex-direction: column;
}
#menu_open {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.menu_switch {
    background: #fff;
    width: min(70%, 26px);
    height: 2px;
    margin: 3px 0 4px;
    transition: all ease 300ms;
}
#menu_open.open .menu_switch{
    margin: 0;
}
#menu_open.open .menu_switch:nth-of-type(1) {
    transform: rotate(215deg) translateX(-4px);
}
#menu_open.open .menu_switch:nth-of-type(2) {
    transform: scale(0);
}
#menu_open.open .menu_switch:nth-of-type(3) {
    transform: rotate(-215deg) translateX(-3px);
}
.contact_btn {
    color: #fd343e;
    background: #d7343e;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5em 1em;
    font-weight: 800;
}
.contact_btn:hover{
    background: #fff;
}
.contact_btn_name {
    -ms-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    line-height: 1;
    margin-bottom: 10px;
}
.contact_btn_ico{
    width: 30px;
}
.contact_btn:not(:hover) > *{
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
}
.side_copy {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.copyright {
    -ms-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    color: #fff;
    font-size: 15px;
    line-height: 1;
    margin-bottom: 5vh;
}
@media (min-width:641px){
    .d_contact{
        display: none !important;
    }
}
@media (max-width:640px){
#sidebar {
    height: auto;
}
#menu_open {
    width: 50px;
}
.side_copy{
    display: none;
}
}

/*==================================================
drawer_menu
==================================================*/
#drawer_menu {
    width: 100vw;
    height: 100vh;
    background: rgba(244,240,238,0.95);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 998;
    transition: all ease-in-out 200ms;
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
    display: flex;
    flex-direction: row-reverse;
}
#drawer_menu.open{
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 100%);
}
#d_nav {
    height: 100%;
    width: min(100%, 586px);
    padding: 88px 66px 66px 0;
    background: #d7343e;
    display: flex;
    align-items: center;
    margin-left: auto;
    overflow: scroll;
    flex-direction: column;
}
.d_nav_list {
    width: 80%;
    margin-bottom: min(8vw, 55px);
    transition: all ease 200ms;
    transition-delay: 200ms;
    opacity: 0;
    transform: translateY(1.5em);
}
#drawer_menu.open .d_nav_list {
    opacity: 1;
    transform: translateY(0);
}
.d_nav_item {
    margin: 0;
    width: 100%;
    border-bottom: 1px solid #fe7178;
}
.d_nav_link {
    display: block;
    font-size: min(4vw, 18px);
    padding: min(5vw, 20px) 0;
    color: #fff;
    position: relative;
}
.d_nav_link:hover{
    color: #d7343e;
    background: #fff;
}
.d_nav_logo{
    width: 200px;
    display: block;
    margin: 0 0 min(5vw, 25px);
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
}
.d_nav_link::after {
    border-radius: 2px;
    content: "";
    display: block;
    border: 3px solid;
    position: absolute;
    width: 9px;
    height: 9px;
    border-left: none;
    border-bottom: none;
    transform: rotate(45deg);
    right: 3%;
    top: 0;
    bottom: 0;
    margin: auto;
}
#menu_close_area {
    flex: 1;
    cursor: pointer;
}
#d_nav .address {
    width: 80%;
    color: #fff;
    font-size: min(3.5vw, 14px);
    line-height: 1.8;
    transition: all ease 200ms;
    transition-delay: 200ms;
    opacity: 0;
    transform: translateY(1.5em);
}
#drawer_menu.open #d_nav .address {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width:640px){
#d_nav {
    width: 100%;
    padding-right: 0;
}
}

/*==================================================
Footer - sec_endlink
==================================================*/
.sec_endlink {
    background: #d7343e;
    position: relative;
    padding: min(5vw,100px) 0;
    transition: background ease 500ms;
}
:where(.sec_endlink).hovered {
    background: rgba(45,45,45,0.5);
}
.art_endlink {
    display: flex;
    position: static;
}
.end_link {
    flex: 1;
    height: min(50vw,500px);
}
.end_link:not(:last-child) {
    border-right: 1px solid rgba(244, 240, 238, 0.4);
}
.end_link_inr {
    width: 80%;
    margin: 0 auto;
}
.e_l_photo {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0;
    transition: opacity ease 500ms;
}
.e_l_link {
    display: flex;
    height: min(50vw, 500px);
    justify-content: center;
    flex-direction: column;
    color: #fff;
    z-index: 2;
    position: relative;
}
:where(.end_link.nothovered) .e_l_link{
    opacity: 0.4;
}
.end_link_inr:hover .e_l_photo{
    opacity: 1;
}
.e_l_photo.e_l_recruit{
    background: url(./img/cmn/endlink_bg_recruit.webp) no-repeat center / cover;
}
.e_l_photo.e_l_company{
    background: url(./img/cmn/endlink_bg_company.webp) no-repeat center / cover;
}
.e_l_ttl {
    font-size: min(7vw, 50px);
    line-height: 1;
    margin-bottom: min(2.5vw, 50px);
}
.e_l_name {
    font-size: min(4vw, 20px);
    line-height: 1;
    font-weight: bold;
    padding-bottom: min(2vw, 10px);
    width: 140px;
    display: flex;
    justify-content: space-between;
    position: relative;
}
.e_l_name::before {
    content: "";
    display: block;
    width: 100%;
    height: min(0.2vw, 2px);
    position: absolute;
    bottom: 0;
    right: 0;
    background: #f4f0ee;
    transition: all ease 500ms;
}
.e_l_name::after{
    content: "";
    display: block;
    width: min(4vw, 20px);
    aspect-ratio:1/1;
    background: url(./img/cmn/arw_mini.svg) no-repeat center / contain;
}
.end_link_inr:not(:hover) .e_l_name::after{
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);    
}
.end_link_inr:hover .e_l_name{
    color: #2d2d2d;
}
.end_link_inr:hover .e_l_name::before {
    width: 20px;
    background: #2d2d2d;
}
.hover_maru {
    position: absolute;
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    width: 200px;
    background: #fd343e;
    top: -85px;
    z-index: -1;
    right: -85px;
    opacity: 0;
    transition: transform ease 300ms;
}
.end_link_inr:hover .hover_maru {
    opacity: 1;
    transform: scale(0.5);
    transform-origin: center;
}
@media (max-width:700px){
.sec_endlink {
    background: none;
}
.art_endlink {
    flex-direction: column;
}
.end_link {
        margin-bottom: min(3vw, 20px);
}
.end_link_inr {
    width: 100%;
}
.e_l_link {
        height: auto;
        width: 90%;
        background: #d7343e;
        border-radius: 3vw;
        margin: 0 auto;
        padding: 5vw 6vw;
        opacity: 1;
}
.e_l_photo {
    display: none;
}
.e_l_name {
    width: 100%;
    font-weight: normal;
}
    .hover_maru{
        display: none;
    }
}
/*==================================================
Footer - CONTACT
==================================================*/
.f_contact {
    background: #e6e1da;
    padding: min(18vw,85px) 0;
    position: relative;
}
.f_contact_inr {
    display: flex;
    flex-wrap: wrap;
    width: min(90%, 1080px);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.f_c_left {
    padding-bottom: min(4vw, 30px);
}
.f_c_subttl {
    font-weight: normal;
    font-size: min(4vw,20px);
}
.f_c_ttl {
    line-height: 100%;
    font-size: min(14vw,120px);
    font-weight: 700;
    color: #fd343e;
    margin-bottom: min(2vw,15px);
    margin-right: min(15vw, 120px);
}
.f_c_txt {
    font-size: min(3.7vw, 16px);
}
.f_c_list {
    border-top: 1px solid #c0c0c0;
}
.f_c_link {
    display: flex;
    height: min(20vw,116px);
    align-items: center;
    border-bottom: 1px solid #c0c0c0;
    line-height: 1.2;
}
.f_c_ico {
    width: 34px;
    margin-right: 12px;
}
.f_contact::after{
    content: "";
    display: block;
    position: absolute;
    z-index: 1;
    width: max(350px, 70vw);
    aspect-ratio:5/2;
    bottom: max(-110px, -10vw);
    left: max(-130px, -8vw);
    background: url(./img/cmn/bg_wave.svg) no-repeat center / contain;
    opacity: 0.4;
}
.f_c_num {
    font-size: min(6.5vw, 30px);
    font-weight: 500;
}
/*==================================================
Footer
==================================================*/
.sec_footer {
    padding-top: min(10vw,105px);
    padding-bottom: min(20vw,66px);
}
.art_footer {
    margin: 0 3.5% 0 8.5%;
    z-index: 2;
}
.f_bigttl {
    margin-bottom: min(5vw, 65px);
}
.f_inr {
    display: flex;
    justify-content: space-between;
}
.f_logo {
    display: flex;
    justify-content: flex-start;
    width: min(100%, 430px);
    margin-bottom: min(5vw, 30px);
}
.f_logomark{
    width: 35%;
}
.f_logotype{
    width: 63%;
    margin-left: 2%;
}
.f_address {
    font-size: min(4vw, 14px);
    line-height: min(6vw, 170%);
}
.f_nav_list {
    display: flex;
    flex-wrap: wrap;
}
.f_nav {
    margin-left: 60px;
}
.f_nav_item {
    font-size: min(4vw, 14px);
    margin-left: 2em;
    font-weight: bold;
}
.f_nav_item:hover {
    color: #fd343e;
}
@media (max-width:1080px){
.art_footer {
    margin: 0 7%;
}
    .f_inr {
        flex-wrap: wrap;
    }
.f_address_wrap {
    width: 100%;
    margin-bottom: min(8vw, 60px);
}
    .f_nav {
        margin-left: 0;
    }
.f_nav_item {
        width: 50%;
        margin: 0;
        padding: 0;
        font-weight: normal;
}
}
@media (max-width:640px){
.f_c_right {
    width: 100%;
}
}
/*==================================================
お知らせ一覧のレイアウト
==================================================*/
.news_list{
    border-top: 1px solid #c0c0c0;
    line-height: 1.4;
}
.news_item{
    border-bottom: 1px solid #c0c0c0;    
}
.news_listlink{
    display: flex;
    align-items: center;
    padding: min(5vw,22px) min(4vw,20px) min(5vw,27px) 0;
    position: relative;
}
.news_listtime {
    line-height: 1;
    font-size: min(3.5vw, 16px);
    width: min(22vw,120px);
    min-width: min(22vw,120px);
    font-weight: 400;
}
.news_listcat{
    line-height: 1;
    font-size: min(3.5vw, 16px);
    width: min(22vw,120px);
    min-width: min(22vw,120px);
}
.news_listcat::before{
    content: "●";
    color: #fd343e;
}
.news_listname{
    font-size: min(4.5vw, 16px);
    transition: all ease 300ms;
}
.news_listlink:hover .news_listname{
    color: #fd343e;
}
.news_listlink::after{
    content: "";
    display: block;
    width: min(4vw,20px);
    height: min(4vw,20px);
    background: url(./img/cmn/arw.svg) no-repeat center / contain;
    transform: rotate(-90deg);
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    transition: all ease 300ms;
}
.news_listlink:not(:hover)::after{
    -webkit-filter: brightness(0);
    filter: brightness(0);
}
@media (max-width:640px){
.news_listlink {
    flex-wrap: wrap;
}
.news_listname {
    width: 100%;
    margin-top: 1em;
}
}
/*==================================================
下層ページ
==================================================*/
.sec_fv{
    width: 100%;
    aspect-ratio:28/15;
    max-height: min(95vh, 750px);
    background: url(./img/cmn/fv.webp) no-repeat center / cover;
    position: relative;
}
.sec_fv::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(255, 255, 255, 0.4);
    top: 0;
    left: 0;
}
.art_fv {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 0 0 min(5vw, 72px) min(7vw, 160px);
    z-index: 2;
}
.art_pagehead {
    width: 90%;
    margin: 0 auto;
    padding: min(25vw, 240px) 0 min(7vw, 65px);
}

.fv_subttl {
    line-height: 1;
    font-size: min(4.5vw, 22px);
    font-weight: normal;
    margin-bottom: min(2vw, 10px);
}
.fv_ttl {
    line-height: 1;
    font-size: min(15.5vw, 120px);
    font-weight: 700;
}
@media (max-width:640px){
.sec_fv {
    aspect-ratio: auto;
    height: 80vh;
}
}
/*==================================================
パンクズ　pankz
==================================================*/
.pankz {
    margin-top: min(4vw, 25px);
    margin-left: min(2.75vw, 14px);
    font-weight: 500;
}
.pankz ol {
    display: flex;
}
.pankz li {
    font-size: min(3.5vw, 14px);
    line-height: 1;
}
.pankz li:not(:last-child)::after {
    content: "/";
    display: inline-block;
    margin: 0 min(3vw, 10px);
}
.pankz li a{
    color: #fd343e;
}
@media (max-width:640px){
.pankz {
    display: none;
}
}
/*==================================================
PC SP
==================================================*/
@media (min-width:641px){
    .sp{
        display: none !important;
    }
}
@media (max-width:640px){
    .pc{
        display: none !important;
    }
}