@charset "UTF-8";

/*全ページ共通 ------------------------ */
body {
    font-family: 'Times New Roman', Times, serif;
}

body,
html {
    margin: 0 auto;
    background-color: #f9f9f7;
}

.container {
    width: 90%;
    margin: 0 auto;
}
/* ---------------------------------- */

/*全ページ共通header ------------------ */
header {
    position: fixed;
    top: 0;
    z-index: 99;
    width: 100%;
    height: 100px;
    background-color: rgb(232, 211, 208);
}

.header_list {
    display: flex;
    justify-content: space-between;
    margin: auto 0px;
}

.header_list a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    margin: 25px 5px 0;
}

/*　上に上がる動き　*/
#header.UpMove{
    animation: UpAnime 0.5s forwards;
}
  
@keyframes UpAnime {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-100px);
    }
}

/*　下に下がる動き　*/
#header.DownMove{
    animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
    from {
        opacity: 0;
        transform: translateY(-100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*ハンバーガーメニュー*/
.menu-trigger {
    display: none;
    -webkit-appearance: none;
    appearance: none;
    border: none;
    background: transparent;
  }
  
.menu-trigger,
.menu-trigger span {
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box;
}
  
#global-nav ul {
    display: flex;
    list-style: none;
}
  
#global-nav li{
    width: 100px;
    padding-left: 10px;
}
  
#global-nav li:last-child {
    width: 150px;
}
  
#global-nav li a {
    display: block;
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 1rem;
}
/* ハンバーガーメニューここまで */

.header_link {
    color: rgb(255, 255, 255);
    position: relative;
    text-align: center;
}

.header_link::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: rgb(163, 152, 148);
    bottom: -10px;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform 0.3s;
}

.header_link:hover::after {
    transform: scale(1, 1);
}

.header_contents {
    margin-top: 25px;
}

.header_contents a {
    color: rgb(255, 255, 255);
}

.header_link:hover {
    opacity: 0.7;
}
/* ---------------------------------- */

/*全ページ共通footer ------------------ */
.footer_container {
    text-align: center;
    background-color: rgb(232, 211, 208);
    height: 300px;
    padding: 50px 30px 100px;
    color: rgb(163, 152, 148);
}

.footer_contents {
    padding: 30px 30px 20px;
    line-height: 1.5;
    
}

.footer_contents p:first-child {
    font-size: 1.5rem;
    color: rgb(255, 255, 255);
    padding-bottom: 20px;
}

.footer_contents p {
    padding-bottom: 10px;
}

.footer_nav {
    padding: 30px;
}

.footer_nav ul {
    display: flex;
    justify-content: center;
}

.footer_nav li:not(:first-of-type) {
    border-left: 1px solid rgb(163, 152, 148);
}

.footer_nav a {
    padding: 0 10px 0 15px;
    color: rgb(172, 137, 125);
    text-decoration: none;
}

.footer_nav a:hover {
    opacity: 0.7;
}

.copyright {
    padding: 30px;
    font-size: 1rem;
}

.footer_sp {
    display: none;
}
/* ---------------------------------- */

/*index.html ------------------------ */

.top {
    width: 100%;
}

/*========= 流れるテキスト ===============*/

.slide-in {
    overflow: hidden;
    display: inline-block;
}
  
.slide-in_inner {
    display: inline-block;
  
}
  
  /*左右のアニメーション*/
.leftAnime{
    opacity: 0;/*事前に透過0にして消しておく*/
}
  
.slideAnimeLeftRight {
    animation-name:slideTextX100;
    animation-duration:0.8s;
    animation-fill-mode:forwards;
      opacity: 0;
}
  
@keyframes slideTextX100 {
    from {
    transform: translateX(-100%); /*要素を左の枠外に移動*/
          opacity: 0;
    }
  
    to {
    transform: translateX(0);/*要素を元の位置に移動*/
      opacity: 1;
    }
}
  
.slideAnimeRightLeft {
    animation-name: slideTextX-100;
    animation-duration:0.8s;
    animation-fill-mode:forwards;
    opacity: 0;
}
  
  
@keyframes slideTextX-100 {
    from {
    transform: translateX(100%);/*要素を右の枠外に移動*/
      opacity: 0;
    }
  
    to {
    transform: translateX(0);/*要素を元の位置に移動*/
      opacity: 1;
    }
}

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

.about_top {
    position: relative;
}

.main_title {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translate(-50%,-50%);
    text-align: center;
    z-index: 1;
}

@-moz-document url-prefix() {
    .main_title {
        margin-right: 100px;
    }
}

::-webkit-full-page-media, :future, :root .main_title {
    margin-right: 150px;
}

.main_title h1 {
    padding: 10px 0;
    font-size: 2.25rem;
    color: #2f2e41;
    text-shadow: 1px 0 10px #ccc;
    writing-mode: vertical-rl;
    line-height: 1.5;
}

.main_title p {
    font-size: 1.25rem;
    color: rgb(255, 255, 255);
}

.first_img {
    width: 50%;
}

.top_img {
    width: 100%;
}

.lead {
    width: 30%;
    padding: 50px 0 50px 80px;
    justify-content: center;
    align-items: center;
}

.text2 {
    display: none;
}

.text_wrap {
    display: flex;
    padding: 100px 20px 0;
    justify-content: center;
    align-items: center;
}

.text_wrap h3 {
    font-size: 1.75rem;
    color: #2a293d;
    text-shadow: 1px 0 10px rgb(203, 194, 194);
    padding: 20px 0;
}

.text_wrap p {
    color: #2a293d;
    line-height: 1.5;
    margin-bottom: 40px;
}

.btn--white,
a.btn--white {
    display: block;
    width: 150px;
    height: 10px;
    color: #2a293d;
    border-radius: 1px;
    margin: auto;
    text-align: center;
    border: 1px solid #2a293d;
    background-color: transparent;
    text-decoration: none;
    padding: 20px;
    align-items: center;
    font-size: 0.875rem;
}
.btn--white:hover,
a.btn--white:hover {
    color: #f9f9f7;
    background: #2a293d;
}

a.btn--radius {
   border-radius: 100vh;
}

.box-01 {
    background-image: url(../images/bg2.png);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 100px 0;
}

.box-02 {
    background-image: url(../images/bg3.png);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 100px 0;
}

.box-03 {
    background-image: url(../images/bg4.png);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 100px 0;
}

.box-04 {
    padding: 100px 50px;
}

.contact {
    display: block;
    width: 50%;
    margin: 0 auto;
}

.contact:hover {
    opacity: 0.5;
}

/* ---------------------------------- */

/* company,contact,recruit,service共通 */
.top_title {
    text-align: center;
    margin-bottom: 50px;
}

.top_title h1 {
    padding: 10px 0;
    font-size: 2.25rem;
    color: rgb(255, 255, 255);
    font-weight: bold;
}

.first_title {
    text-align: center;
}

.first_title h1 {
    font-size: 2.25rem;
    color: #2a293d;
}
  
.first_title p {
    font-size: 1.25rem;
    color: #2a293d;
}

.top_lead {
    margin: 50px 0;
    line-height: 1.5;
}

.top_lead h3{
    text-align: center;
    font-size: 1.5rem;
}

.top_lead p {
    text-align: center;
    font-size: 1rem;
}

.fadeUpTrigger{
    opacity: 0;
    visibility: hidden;
    transition: 3s;
    transform: translateY(30px);
}

.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.about_lead p {
    font-size: 1rem;
    color: #2a293d;
    text-shadow: 1px 0 10px #dfcccc;
    line-height: 1.5;
}

.about_lead p:first-of-type {
    margin-top: 50px;
}

/* ---------------------------------- */

/* recruit.html --------------------- */
.sp {
    display: none;
}

.recruit_lead img {
    width: 100%;
}

.recruit_wrap {
    position: absolute;
    top: 0;
    right: 0;
    width: 49%;
    padding: 135px 0;
    color: #2a293d;
    text-shadow: 2px 2px #ccc;
    line-height: 1.5;
    font-size: 0.875rem;
}

.recruit_th {
    color: #b56e6d;
}
  
.about-table-wrap {
    background-image: url(../images/t4.png);
    background-repeat: no-repeat;
    background-size: cover;
    animation-name: fadeUpAnime;
    animation-duration: 3s;
    animation-fill-mode: forwards;
    opacity: 0;
    padding: 150px 0 200px;
}

table {
    margin: 0 auto;
}
  
th {
    width: 20%;
    padding: 20px;
    text-align: left;
}
  
td {
    width: 80%;
    padding: 20px;
    line-height: 1.5;
}

tr:first-child {
    border-top: 1px solid #ccc;
}

tr {
    border-top: 1px solid #ccc;

}

tr:last-child {
    border-bottom: 1px solid #ccc;
}

.re_th {
    display: none;
}

.recruit_lead2 {
    display: flex;
    position: relative;
    margin-bottom: 10rem;
}

.recruit_lead2 img {
    width: 50%;
    z-index: 2;
}

.recruit_top {
    background-color: rgb(172, 158, 198, 0.1);
    position: absolute;
    top: 20%;
    right: 0;
    z-index: 1;
    width: 50%;
    padding: 50px 0 50px 50px;
}

.recruit_top p {
    line-height: 2;
    padding-left: 50px;
}

/* ---------------------------------- */

/* service.html --------------------- */
.s_sp {
    display: none;
}

.about_service {
    padding-bottom: 100px;
}

.service {
    width: 100%;
}

@keyframes fadeUpAnime{
    from {
        opacity: 0;
        transform: translateY(100px);
    }
  
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-sub_title {
    font-size: 1.25rem;
    letter-spacing: 0;
    font-weight: 700;
    color: #754a49;
}
  
.service-text {
    margin: 12px 0 8px;
    font-size: 0.875rem;
    line-height: 1.6em;
    letter-spacing: 0;
    color: #333;
}

.service_item li {
    margin: 50px 0;
    position: relative;
}

.service_dl {
    margin: 0 auto;
    margin: 100px 0 10px;
    writing-mode: vertical-rl;
    position: absolute;
    top: 0;
    right: 20%;
}

.service_dl2 {
    margin: 0 auto;
    margin: 100px 0 10px;
    writing-mode: vertical-rl;
    position: absolute;
    top: 0;
    left: 20%;
}

dt, dd {
    padding: 0 10px;
}

/* ---------------------------------- */

/* company.html --------------------- */
.about_company {
    padding-bottom: 100px;
}

.bg1 {
    width: 100%;
}

.company_bg {
    position: relative;
}

.company_item {
    position: absolute;
    top: 20%;
    left: 20%;
    justify-content: center;
    align-items: center;
    display: flex;
    width: 80%;
}

.company_img {
    width: 50%;
}

.slider {
    width: 100%;
}

.company_lead {
    line-height: 1.5;
    padding: 0 20px;
    width: 50%;
}

.company_p {
    color: #b77776;
}

.company_second_title p {
    font-weight: bold;
    color: #e8d3d0
}

.map {
    display: block;
    text-align: center;
    margin-top: 50px;
    width: 100%;
}

.map_sp {
    display: none;
}
/* ---------------------------------- */

/* contact.html --------------------- */
.form {
    background-image: url(../images/c_bg3.png);
    background-repeat: no-repeat;
    background-size: cover;
}



.contact_sp {
    display: none;
}
/* ---------------------------------- */



/* ---------------------------------- */
/* ここからレスポンシブ ---------------- */
/* ---------------------------------- */
@media (max-width:960px) {
    /* ハンバーガーメニュー */
    .menu-trigger {
      width: 80px;
      height: 60px;
      position: absolute;
      top: 0;
      right: 0;
      z-index: 2;
    }
  
    .menu-trigger span {
      position: absolute;
      right: 50%;
      width: 32px;
      height: 2px;
      background-color: #fff;
      transform: translate(50%, 50%);
    }
  
    .menu-trigger span:nth-of-type(1) {
      top: 16px;
    }
  
    .menu-trigger span:nth-of-type(2) {
      top: 50%;
    }
  
    .menu-trigger span:nth-of-type(3) {
      bottom: 14px;
    }
  
    .menu-trigger.active span:nth-of-type(1) {
      top: 49%;
      transform: translate(-50%, -50%) rotate(-45deg);
    }
  
    .menu-trigger.active span:nth-of-type(2) {
      opacity: 0;
    }
  
    .menu-trigger.active span:nth-of-type(3) {
      bottom: 49%;
      transform: translate(-50%, -50%) rotate(45deg);
    }
  
    #global-nav {
      display: none;
      width: 100vw;
      height: 100vh;
      background: rgb(216, 188, 184);
      margin: 0;
      padding: 90px 5% 0;
      position: fixed;
      top: 0;
      right: 50%;
      transform: translateX(50%);
      z-index: -1;
    }
  
    #global-nav.active {
      display: block;
      z-index: 1;
    }
  
    #global-nav ul {
      display: block;
    }
  
    #global-nav li,
    #global-nav li:last-child {
      width: 70%;
      margin: 0 auto;
    }
  
    #global-nav li a {
      font-size: 1rem;
      text-align: center;
      background: none;
      padding-top: 12px;
    }
    /* ハンバーガーメニューここまで */
    

    

    /*全ページ共通header ------------------ */
    header {
        height: 80px;
        margin: auto 0;
        border-radius: 0;
        background-color: rgb(232, 211, 208);
    }

    .header_contents {
        margin: 30px 0;
    }

    .header_contents a {
        color: #fff;
    }

    .menu-trigger {
        margin: 10px 0;
    }

    .header_link::after {
        display: none;
    }
    
    .header_link:hover::after {
        display: none;
    }

    /* ---------------------------------- */

    /*全ページ共通main -------------------- */
    main {
        margin-top: 70px;
    }

    .top_lead h3{
        font-size: 1.25rem;
    }

    .top_lead p {
        font-size: 0.750rem;
    }
    /* ---------------------------------- */

    /*全ページ共通footer ------------------ */
    .footer_container {
        height: 400px;
        padding: 100px 5px 60px;
    }

    .footer_contents {
        padding: 10px;
    }

    ::-webkit-full-page-media, :future, :root .footer_contents p {
        text-decoration: none;
    }

    .footer_contents p , a {
        font-size: 1rem;
    }

    .footer_nav {
        padding: 15px 0;
    }

    .footer_contents p:first-child {
        font-size: 1.3rem;
        padding-bottom: 10px;
    }

    .footer_contents p {
        padding-bottom: 5px;
    }

    .copyright {
        font-size: 1rem;
        padding: 15px;
    }

    .footer_nav a {
        padding: 0 5px 0 10px;
    }

    .footer_nav ul {
        display: block;
    }

    .footer_nav li:not(:first-of-type) {
        border-left: none;
    }

    .footer_nav li {
        padding: 10px 0;
    }

    .footer_sp {
        display: block;
    }
    /* ---------------------------------- */

    /*index.html ------------------------ */
    .top-title {
        top: 250px;
        left: 50px;
        font-size: 24px;
    }

    .text_wrap {
        padding: 50px 0;
    }

    .text_wrap h3 {
        font-size: 1.5rem;
        padding: 0px 0px 20px 0px;
    }

    .text_wrap p {
        font-size: 1rem;
    }

    .main_title {
        line-height: 1.5;
        top: 50%;
    }

    @-moz-document url-prefix() {
        .main_title {
            margin-right: 50px;
        }
    }

    ::-webkit-full-page-media, :future, :root .main_title {
        margin-right: 100px;
    }

    .main_title h1 {
        font-size: 1.2rem;
    }

    .main_title p {
        font-size: 1rem;
        margin: 0 0 50px;
    }

    .first_img {
        width: 85%;
        margin: 0 auto;
    }

    .lead {
        width: 100%;
        padding: 0;
        justify-content: center;
        align-items: center;
        margin: 40px auto 20px;
    }
    
    .text {
        display: none;
    }

    .text2 {
        display: block;
    }

    .slider img {
        width: 80%;
    }

    .slider .slick-slide {
        margin:20px 0px;/*スライド左右の余白調整*/
    }

    .box-01, .box-03 {
        flex-direction: column-reverse;
        text-align: center;
    }

    .box-02 {
        flex-direction: column;
        text-align: center;
    }
    .box-04 {
        padding: 50px 25px;
    }
    
    .contact {
        width: 100%;
    }
    /* ---------------------------------- */

    /* company,contact,recruit,service共通 */

    
    .first_title h1 {
    font-size: 1.5rem;
    }
  
    .first_title p {
        font-size: 1rem;
        padding-top: 5px;
    }

    .first_title {
        margin-bottom: 40px;
    }

    .top_img img {
        margin-top: 0;
    }
    /* ---------------------------------- */

    /* recruit.html --------------------- */
    .pc {
        display: none;
    }

    .sp {
        display: block;
        line-height: 1.5;
        color: #2a293d;
        font-size: 0.875rem;
        text-align: center;
        background-color: rgb(172, 158, 198, 0.1);
    }

    .sp p:first-of-type{
        padding-top: 50px;
    }

    .sp p:last-of-type{
        padding-bottom: 50px;
    }

    .about_recruit {
        padding-bottom: 50px;
    }

    .about-table-wrap {
        background-image: none;
        animation-name: fadeUpAnime;
        animation-duration: 3s;
        animation-fill-mode: forwards;
        opacity: 0;
        padding: 50px 0 100px;
    }

    .work_img {
        width: 50%;
    }
  
    th {
        width: 100px;
        padding: 10px;
        font-size: 0.875rem;
        line-height: 1.5;
    }
  
    td {
        width: 540px;
        padding: 10px;
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .re_th {
        display: block;
    }

    .recruit_lead2 {
        display: none;
    }

    /* ---------------------------------- */

    /* service.html --------------------- */
    .about_service {
        padding-bottom: 50px;
    }
    
    .service {
        display: none;
    }

    .s_sp {
        display: block;
        width: 100%;
    }
    
    .service-sub_title {
        font-size: 1.25rem;
        letter-spacing: 0;
        font-weight: 700;
        color: #754a49;
    }
      
    .service-text {
        margin: 12px 0 8px;
        font-size: 0.875rem;
        line-height: 1.6em;
        letter-spacing: 0;
        color: #333;
    }
    
    .service_item li {
        margin: 50px 0;
        position: static;
    }
    
    .service_dl, .service_dl2 {
        margin: 50px auto;
        writing-mode: vertical-rl;
        position: static;
    }
    
    dt, dd {
        padding: 0 10px;
    }

    @-moz-document url-prefix() {
        .service_dl, .service_dl2 {
            writing-mode: lr-tb;
        }
    }
    /* ---------------------------------- */

    /* company.html --------------------- */
    .about_company {
        padding-bottom: 50px;
    }
    
    .bg1 {
        display: none;
    }
    
    .company_bg {
        position: static;
    }
    
    .company_item {
        position: static;
        display: block;
        width: 100%;
    }
    
    .company_img {
        width: 100%;
    }
    
    .slider {
        width: 100%;
    }
    
    .company_lead {
        line-height: 1.5;
        width: 100%;
        padding: 30px 0;
        text-align: center;
    }

    .company_lead p {
        font-size: 0.875rem;
    }
    
    .map {
        display: none;
    }
    
    .map_sp {
        display: block;
        margin: 30px auto 0;
        width: 100%;
    }

    .sp {
        width: 100%;
    }
    /* ---------------------------------- */

    /* contact.html --------------------- */
    .form {
        background-image: none;
        padding-top: 0px; 
    }

    .top_left img {
        width: 80%;
    }

    .about_contact {
        padding-bottom: 100px;
        }

    .contact_sp {
        display: block;
    }
    /* ---------------------------------- */
}