@charset "UTF-8";
@import url(hamburger.css);

/************************
共通
*/

html {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #FFFAFA;
    accent-color: #32865F;
}

a {
    text-decoration: none;
    color: rgb(50,134,95);
}

h2 {
    display: block;
    max-width: 450px;
}

h2 div {
    display: inline-block;
    border: solid 1px rgb(50,134,95);
    margin: 4px 0;
    padding: 4px 8px;
    background: white;
}

h2 div span {
    color: rgb(50,134,95);
}

@media screen and (min-width: 900px) {
    h2 {
        font-size: 2.5em;
        max-width: 650px;
    }
}

.main_content {
    padding: 0 16px;
    display: block;
    margin: 112px auto 0;
    max-width: 1280px;
}

.btn_1_area {
    position: relative;
    display: block;
    margin: -56px auto 24px 16px;
}

.button_1 {
    position: absolute;
    display: block;
    width: fit-content;
    color: white;
    padding: 32px 72px 48px 32px;
    background-image: url(btn_back.png);
    background-size: 100%;
    background-repeat: no-repeat;
    font-weight: bold;
    font-size: 1.1em;
    z-index: 30;
}

.button_1::before {
    position: absolute;
    content: '';
    width: 32px;
    height: 32px;
    top: 40%;
    right: 15%;
    transform: translateY(-50%);
    background-image: url(btn_arrow.png);
    background-size: 100%;
    background-repeat: no-repeat;
    transition: .3s;
}

.button_1:hover::before {
    background-image: url(arrow_hover.png);
}

.button_1_back {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 200px;
    background-image: url(btn_shadow.png);
    background-size: 100%;
    background-repeat: no-repeat;
}

.button_2 {
    color: white;
    background: rgb(50,134,95);
    padding: 16px 48px 16px 32px;
    font-weight: bold;
    display: block;
    margin: 32px auto;
    width: fit-content;
    position: relative;
}

.button_2::before {
    position: absolute;
    content: '';
    width: 32px;
    height: 1px;
    background: white;
    top: 50%;
    right: 0;
    transition: .3s;
}

.button_2:hover::before {
    width: 1px;
}

.button_2::after {
    position: absolute;
    content: '';
    width: 1px;
    height: 1px;
    background: rgb(50,134,95);
    top: 50%;
    left: 100%;
    transition: .3s;
}

.button_2:hover::after {
    opacity: 1;
    width: 32px;
}

/**************************
TOPページ以外
*/

/*===========================

ヘッダー

=============================*/
header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 90000;
    background-color: #FFFAFA;
}

header > div {
    margin: 0 auto;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .site_name img {
    width: 100%;
}

.global_menu {
    display: none;
}

@media screen and (min-width: 1200px){
    .global_menu  {
        max-width: 1280px;
        margin: 0 auto;
    }
}

@media screen and (min-width: 1118px) {
    .sp_menu {
        display: none;
    }

    .global_menu {
        display: inline-block;
        position: relative;
    }

    .global_menu a {
        color: #553027;
        text-decoration: none;
        transition: color .2s;
    }

    .global_menu a:hover {
        color: #E1C6C0;
    }

    .global_menu ul {
        list-style: none;
        padding-left: 0;
        margin: 0;
        display: table;
        margin-left: 80px;
        margin-bottom: -18px;
    }

    .global_menu ul li {
        display: inline-block;
        width: 21%;
        padding: 9px;
    }

    .global_menu ul li a {
        font-size: 16px;
        font-weight: bold;
        color: black;
    }

    .global_menu .reserve_link {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        padding: 54px 6px 12px;
        width: 118px;
        border-radius: 0 0 16px 16px;
        font-size: 14px;
        font-weight: bold;
        box-sizing: border-box;
        text-align: center;
        background: #F6F3EB;
    }

    .global_menu .reserve_link::before {
        content: "";
        display: block;
        width: 64px;
        height: 64px;
        margin: 0 auto;
        border: solid 2px #553027;
        border-radius: 50%;
    }
}

.article1 .fv_img {
    width: 100%;
    height: 400px;
    background-image: url();
}

.article .fv_img {
    width: 100%;
    height: 400px;
    background-image: url(../campaign_fv.png);
}


.article h1 {
    color: #333333;
    font-size: 2em;
    width: 70%;
    padding: 16px 24px;
    background: white;
    border-radius: 32px 32px 0 0;
    margin: -200px 0 0;
    max-width: fit-content;
    z-index: 30;
    position: relative;
}

.article h1 span {
    color: rgb(50,134,95);
    font-size: 1.5rem;
    display: block;
    line-height: 1.5rem;
}

@media screen and (min-width: 900px) {
    .article h1 {
        font-size: 3em;
    }

    .article h1 span {
        font-size: 2rem;
    }
}

.tel a {
    font-weight: bold;
    position: relative;
    top: -35px;
    background: rgb(50,134,95);
    color: white;
    padding: 16px;
    left: 85%;
    border-radius: 10px;
}

@media screen and (max-width: 1118px) {
    .tel a {
        display: none;
    }
}

/********************
スクロールアニメーション
*/

.fv_area {
    position: relative;
}

.scrolldown1{
  position:absolute;
  left:90%;
  bottom:10px;
  height:50px;
}

.scrolldown1 span{
  position: absolute;
  left:-10px;
  top: -160px;
  color: rgb(50,134,95);
  font-size: 1rem;
  letter-spacing: 0.05em;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  font-weight: bold;
}

.scrolldown1::before {
    content: "";
    position: absolute;
    top: -100px;
    width: 3px;
    height: 160px;
    background: white;
}

.scrolldown1::after{
  content: "";
  position: absolute;
  top: 0;
  width: 3px;
  height: 30px;
  background: rgb(50,134,95);
  animation: pathmove 1.5s ease-in-out infinite;
}

@keyframes pathmove{
  0%{
    height:40px;
    top:-100px;
  }
  50%{
    height:40px;
  }
  100%{
    height:40px;
    top: 20px;
  }
}

.global_nav ul {
    list-style: none;
    color: black;
}

@media screen and (min-width: 1000px){
    .global_nav ul  {
        display: flex;
    }
}

@media screen and (min-width: 1000px){
.global_nav {
    display: block;
    padding-right: 140px;
    position: relative;
    }
}

.parent a {
    text-decoration: none;
    color: black;
} 

/******************

フッター

**********************/

.footer_info {
    background-color: #F5F5F5;
    margin-right: 20px;
}

.page_footer {
    background: #F5F5F5;
    overflow-x: hidden;
    margin-top: 80px;
}

.page_footer .footer_contact {
    background: #4472c4;
    color: white;
    text-align: center;
}

.page_footer .footer_contact .title {
    font-size: 2.5em;
    margin: 0;
}

.page_footer .footer_contact .btn_wrapper {
    margin-bottom: 32px;
}

.page_footer .footer_contact .btn_wrapper > * {
    display: inline-block;
    width: 280px;
    vertical-align: middle;
    font-size: 1.25em;
}

.page_footer .footer_contact .tel_num {
    text-align: center;
    color: white;
    text-decoration: none;
    font-size: 1.5em;
}

@media screen and (min-width: 768px) {
    .page_footer .footer_contact .tel_num {
        text-align: right;
    }
}

.page_footer .basic_block {
    margin: 0 auto;
    background-color: #F5F5F5;
}

.footer_recruit_area {
    background-image: url("footer_recruit-image.jpg");
    background-size: cover;
    background-position: center 30%;
}

.page_footer .peephole_inner {
    padding: 36px 16px;
    color: white;
    text-align: center;
    position: relative;
}

.page_footer .peephole_inner .title {
    font-size: 2.5em;
    margin-bottom: 0;
}

.page_footer .peephole_inner a {
    margin-left: auto;
}

@media screen and (min-width: 768px) {
    .footer_recruit_area {
        background-image: url("footer_recruit-image.jpg");
    }
}

@media screen and (min-width: 1150px) {
    .page_footer .peephole_inner {
        text-align: left;
        padding: 50px 0;
    }

    .page_footer .peephole_inner a {
        margin-left: 0;
    }
}

.page_footer .org_name {
    text-align: center;
    font-weight: bold;
    font-size: 1.5em;
    margin: 16px 0;
    padding-top: 64px;
    position: relative;
}

.page_footer .org_name::before {
    content: "";
    background-image: url(logo.png);
    background-size: 100% 100%;
    width: 285px;
    height: 48px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.page_footer .org_name a {
    text-decoration: none;
    color: #32865F;
    font-size: 16px;
}

.page_footer address {
    font-style: normal;
}

.page_footer address .contact {
    margin-top: 8px;
}

.page_footer .footer_nav {
    max-width: 320px;
    background-color: #F5F5F5;
    margin-left: 20px
}

.page_footer .footer_nav div {
    margin: 16px 0;
}

.page_footer .footer_nav a {
    text-decoration: none;
    color: black;
    margin: 16px 0;
    font-weight: bold;
}

.page_footer .footer_nav a:hover {
    text-decoration: underline;
}

.page_footer .footer_nav > .inner > .inner a {
    color: #858585;
    margin-left: 16px;
}

.copyright {
    text-align: center;
    padding: 6px 0;
    border-top: solid 1px #F5F5F5;
    max-width: 1080px;
    margin: auto;
    background-color: #F5F5F5;
}

@media screen and (min-width: 570px) {
    .page_footer .footer_nav {
        display: flex;
        justify-content: space-around;
        max-width: 400px;
        text-align: center;
        max-width: 570px;
        margin: 0 auto;
    }

    .page_footer .footer_nav .inner:nth-of-type(1) {
        flex-basis: 50%;
    }

    .page_footer .footer_nav .inner:nth-of-type(2) {
        flex-basis: 50%;
    }
}

.contact a:hover{
    text-decoration: underline;
}

.page_footer address {
    color: #32865F;
    margin-left: 20px;
}

@media screen and (min-width: 570px) {
    .page_footer address {
        text-align: center;
    }
}

@media screen and (min-width: 1080px) {
    .page_footer address {
        text-align: left;
        font-size: 1.25em;
        padding-left: 60px;
        font-weight: bold;
    }

    .page_footer address br {
        display: none;
    }

    .page_footer address .contact span {
        margin-right: 16px;
    }
    
    .page_footer .org_name {
        padding-top: 0;
        padding-left: 60px;
        text-align: left;
        font-size: 2em;
    }

    .page_footer .org_name::before {
        left: 0;
        transform: translateY(-50%);
    }

    .page_footer .footer_info_wrapper {
        display: flex;
        justify-content: space-between;
        max-width: 1080px;
        margin-top: 32px;
    }

    .page_footer .basic_block .footer_info {
        flex-basis: 50%;
    }

    .page_footer .footer_nav {
        margin: 0;
        flex-basis: 50%;
        max-width: none;
        margin-top: 32px;
    }

    .page_footer .footer_nav > .inner {
        margin: 0;
    }

    .copyright {
        padding-top: 48px;
        padding-bottom: 16px;
    }
}



/* 検修追加　設備紹介 */
#facility {
    margin-bottom: 0;
}

.machine-wrapper-back {
    margin-top: 2em;
    background-color: #4472c4;
}
.page_main .facility_list .machine-wrapper {
    display: flex;
    flex-wrap: wrap;
    max-width: 896px;
    margin: 0 auto;
    padding: 32px 16px;
    justify-content: space-between;
}
.page_main .facility_list .machine-wrapper .machine {
    width: 46%;
    padding: 16px 0;
}
.page_main .facility_list .machine-wrapper .machine img{
    width: 100%;
}
.page_main .facility_list .machine-wrapper .machine p{
    margin: 0;
    width: 100%;
    text-align: center;
    color: white;
}

@media screen and (min-width:550px) {
    .page_main .facility_list .machine-wrapper .machine {
        width: 30%;
        padding: 16px 0;
    }
}