
@charset "utf-8";

body {
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    background: #f4f8fc;
    color: #22364a;
}

a {
    transition : all 0.5s ease 0s;
}

a:hover{
    opacity: 0.7;
}
/*//////////////////////////////////////////////////////*/

/* PC表示（幅768px以上）で表示 */
.pc-only {
  display: block;
}

/* スマホ表示（幅767px以下）で非表示 */
@media screen and (max-width: 500px) {
  .pc-only {
    display: none;
  }
}

/* スマホ表示（幅767px以下）で表示 */
.sp-only {
  display: none;
}

/* PC表示（幅768px以上）で非表示 */
@media screen and (max-width: 500px) {
  .sp-only {
    display: block;
  }
}

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


.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1em;
    position: relative;
}

@media screen and (max-width: 1099px) {
.container {
    max-width: 98%;
    margin: 0 auto;
    padding: 0 1em;
}
}


.flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header {
    background: #fff;
    box-shadow: 0 2px 1px rgba(0,0,0,0.5);
    padding: 0.5em 0;
    width: 100%;
}

.header-top{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
@media screen and (max-width: 500px) {
.header-top{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    text-align: center;
    width:100% ;
    div{
        margin: auto; 
        text-align: center;
        width:100% ;
        }
    }
}


.logo img {
    width: auto;
    height: 90%;
}

.tel{
    position: relative;
    width: 100%;
    img {
    position: absolute;
    right: 0;
    width: auto;
    height: 90%;
    }
}









/*////////////////// ハンバーガーアイコン //////////////////*/
.hamburger {
    width: 40px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
    position: relative;
    ;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    margin: 6px auto;
    background: #333;
    transition: all 0.4s;
}

.hamburger::after {
    content: "MENU";
    position: absolute;
    top:8px;
    left: 40px;
    z-index: 9999;
    font-size: 20px;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
}

/*////////////////// 開いた状態のハンバーガー //////////////////*/
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/*//////////// ナビゲーションメニュー（SP時非表示） ////////////*/
.nav {
    position: fixed;
    z-index: 99999;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.5s ease;
}

.nav.active {
    right: 0;
}

.nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.nav__list li {
    margin: 20px 0;
    padding: 0 30px;
}

.nav__list a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    display: block;
    transition : all 0.5s ease 0s;
    padding: 8px 0 12px 0;
}

/*////////////////// PC表示では横並びに //////////////////*/
@media screen and (min-width: 768px) {
    .hamburger {
    display: none;
    }

    .nav {
    position: static;
    height: 40px;
    width: auto;
    padding: 0;
    margin: 0;
    background: none;
    }

    .nav__list {
    width: 1100px;
    display: grid;
    padding: 0;
    margin: 0 auto;
    border-left:solid 1px #000 ;
    grid-template-columns: repeat(5, 1fr);
    }
    .nav__list li{
    border-right:solid 1px #000 ;
    margin: 0;
    padding: 0;
    }
    .nav__list li a{
    display: block;
    transition : all 0.5s ease 0s;
    padding: 8px 0 12px 0;
}
}

    .nav__list li a:hover{
    background-color: #d97c0d;
    color: #fff;
    font-weight: 900;}


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





.swiper {
    width: 100%;       /* 画面幅いっぱいに広げる */
    height: 80vh;   /* 高さを画面に合わせる。必要に応じて変更可 */
    overflow: hidden;     /* 白余白が出ないようにする */
}

.swiper-slide {
    width: 100%;
    height: 100%;
}

.swiper-slide img {
    width: 100%;       /* 横幅をスライダー枠にフィット */
    object-fit: cover;   /* 画像の縦横比を保ちつつ、枠にちょうど収める */
    display: block;   /* 画像下の隙間を防止 */
}

@media (max-width: 1200px) {
.swiper {
    width: 100%;       /* 画面幅いっぱいに広げる */
    height: 70vh;      /* 高さを画面に合わせる。必要に応じて変更可 */
    overflow: hidden;     /* 白余白が出ないようにする */
}
}

@media (max-width: 900px) {
.swiper-slide img {
    height: 500px;      /* 高さもフィット */
    object-fit: cover;   /* 画像の縦横比を保ちつつ、枠にちょうど収める */
    display: block;   /* 画像下の隙間を防止 */
}
}

@media (max-width: 600px) {
.swiper-slide img {
    height: 500px;      /* 高さもフィット */
    object-fit: ;     /* 画像の縦横比を保ちつつ、枠にちょうど収める */
    display: block;   /* 画像下の隙間を防止 */
}
}

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






.main-visual {
    position: relative;
    overflow: hidden;
    height: 800px;


    .main-copy {
    position: absolute;
    z-index: 999;
    top: 45%;
    left: 0px;
    right: 0px;
    margin: auto;
    color: #fff;
    max-width: 1100px;
    -webkit-transform: translateY(-50%); /* Safari用 */
    transform: translateY(-50%);
    text-shadow:1px 2px 0.2em #22364a, 0 0 1em #22364a, 0 0 0.2em #22364a;
    h1{
    font-size: 4em;
    line-height: 1.2em;
    margin-bottom: 20px;
    }
    p{
    font-size: 1.8em;
    line-height: 1.5em;
    margin-left: 5px;
    }
    }

 .about, .service, .works, .recruit {
    margin: 3em auto;
    padding: 1em;
    max-width: 900px;
    background: #fff;
    border-radius: 8px;
    }
}


@media (max-width: 1200px) {
.main-visual {
    position: relative;
    overflow: hidden;
    height: 600px;
    

    .main-copy {
    max-width: 80%;
    h1{
    font-size: 3em;
    line-height: 1.2em;
    }
    p{
    font-size: 1.4em;
    line-height: 1.3em;
    }
    }
}
.swiper-slide img {
    max-height: 600px;      /* 高さもフィット */}
}


@media (max-width: 900px) {
.main-visual {
    position: relative;
    overflow: hidden;
    height: 500px;

    .main-copy {
    max-width: 95%;
    h1{
    font-size: 2.4em;
    line-height: 1.2em;
    }
    p{
    font-size: 1.2em;
    line-height: 1.4em;
    margin-left: 5px;
    }
    }
    }
}


@media (max-width: 600px) {
.swiper-slide img {
    height: 500px;      /* 高さもフィット */
    object-fit: ;     /* 画像の縦横比を保ちつつ、枠にちょうど収める */
    display: block;   /* 画像下の隙間を防止 */
}
}
@media (max-width: 500px) {
.main-visual {


    .main-copy {
    max-width: 80%;
    h1{
    font-size: 1.9em;
    line-height: 1.2em;
    }
    p{
    font-size: 0.9em;
    line-height: 1.4em;
    margin-left: 5px;
    }
    }
    }
}


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

.news{
    width: 100%;
    position: absolute;
    z-index: 9999;
    bottom: 15px;
    background-color: rgba(217,124,13,0.8);
    color: #fff;

    .container {
    display: grid;
    grid-template-columns: 120px 100px 1fr;
      place-items: center left;

    .news-title{
        font-family: "Bebas Neue", sans-serif;
        font-size: 50px;
        font-weight: 400;
        letter-spacing: 2px;
    }
}
}
@media (max-width: 500px) {
.news{
    padding: 0px 0;
    .container {
        display: grid;
        grid-template-columns: 120px 1fr;

    .news-title{
        margin: 0px 0 0 0 ;
        font-size: 30px;
    }
    .news-time{
        text-align: right;
        width: 100%;
    }
    h6{ 
        grid-column: 1 / 3;  /* 下段を横いっぱいで結合 */
        margin: -10px 0 10px 0;
        font-size: 0.9em;
        line-height: 1.5em;
    }
    }
}
}


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


.english-title{
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 2px;
    font-size: 50px;
    color: #d97c0d;
}
.jp-title{
    font-size: 0.8em;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 2px;
    padding-bottom: 20px;
}

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

.about{
  background:
    url("../img/about-bg.png") no-repeat right -80px top / auto 100%,
    #d3e6f6;                                      /* 最背面の背景色 */
    padding: 60px 0;
    margin: 5px 0;
    
    h3{
        font-size: 1.6em;
        padding-bottom: 15px;
    }

    p{
        width: 50%;
        padding: 0 0px 0 0;
          text-shadow: 
    1px 0 0 #d3e6f6,
    -1px 0 0 #d3e6f6,
    0 1px 0 #d3e6f6,
    0 -1px 0 #d3e6f6,
    1px 1px 0 #d3e6f6,
    -1px 1px 0 #d3e6f6,
    1px -1px 0 #d3e6f6,
    -1px -1px 0 #d3e6f6;

    }
}

@media screen and (max-width: 1300px) {
.about{
  background:
    url("../img/about-bg.png") no-repeat right -200px top / auto 100%,
    #d3e6f6;   
        p{
        width: 60%;
    }
}
}
@media screen and (max-width: 1100px) {
.about{
  background:
    url("../img/about-bg.png") no-repeat right -400px top / auto 100%,
    #d3e6f6;  
    p{
        width: 70%;
    }
}}
@media screen and (max-width: 1000px) {
.about{
  background:
      linear-gradient(to left, rgba(211,230,246,0.7), rgba(211,230,246,1)), /* 背景グラデーション */
      url("../img/about-bg.png") no-repeat right -80px top / auto 100%,
    #d3e6f6;                                      /* 最背面の背景色 */
    padding: 60px 0;
    margin: 5px 0;
    
    h3{
        font-size: 1.6em;
        padding-bottom: 15px;
    }

    p{
        width: 100%;
        padding: 0 0px 0 0;
    }
}

}

/*-------------------------------------------------------*/
.service{
    padding: 60px 0;
}
.service-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
    flex-wrap: wrap;
}

.service-list4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1em;
    flex-wrap: wrap;
    margin: 1em 0;
}

.service-item {
    flex: 1 1 300px;
}

.service-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

@media screen and (max-width: 780px) {
    .service-list4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
}
@media screen and (max-width: 780px) {
    .service-list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
}
}

/*-------------------------------------------------------*/
.service{
    padding: 60px 0;
}
/*-------------------------------------------------------*/





.benefit {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "item1 item2"
        "item4 item3";
    gap: 10px 0px;
    }

.item1, .item3{padding: 40px;}

/* 各アイテムの配置指定 */
.item1 { grid-area: item1; background: #e6f0f7; h3{font-size: 1.4em; line-height: 1.2em; font-weight: 400; padding: 0 0 15px 0;}}
.item2 { grid-area: item2; overflow: hidden; img{width: auto; height: 100%;}}
.item3 { grid-area: item3; background: #e6f0f7; h3{font-size: 1.4em; line-height: 1.2em; font-weight: 400; padding: 0 0 15px 0;}}
.item4 { grid-area: item4; }

/* スマホ（幅768px以下）では縦一列に */
@media (max-width: 768px) {
    .benefit {
        grid-template-columns: 1fr;
        grid-template-areas:
            "item1"
            "item2"
            "item3"
            "item4";
    }

    .item1, .item3{padding: 20px;}
    .item2 {margin-top: -15px; }
    .item4 {margin-top: -15px; }
}

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


.gallery{
    background:
        linear-gradient(to top, rgba(56,80,161,0.4), rgba(56,80,161,1)), /* 背景グラデーション */
        url("../img/main-01-.jpg") no-repeat bottom/100% auto,
        #d3e6f6;
    margin: 50px 0 0 0;
    padding: 30px 0;

    .jp-title{
        color: #fff;
    }
}

.g-01{
    position: relative;
    height: 400px;
    overflow: hidden;

.swiper-container{
    margin: -100px auto 0 auto;
}}
/*-------------------------------------------------------*/


.company-message{
    background:#d3e6f6; 
/*    background-size: cover;
    background-position: top -150px center;*/
    padding: 50px 0;
    }

.company-message-inn{
    width: 80%;
    border-radius: 20px;
    background-color: rgba(255,255,255,0.6);
    margin: 50px auto;
    padding: 30px 30px 30px 30px;
    display: grid;
    grid-template-columns: 1fr 30%;
    gap: 20px 20px;
            font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;

    h3{
        color: #22364a;
        margin: 0 0 20px 0;
        font-size: 2em;
    }
    p{
        line-height: 220%;
        font-weight: 600;
    }
    .company-message-inn-r{
        text-align: center;
        h4{
            color: #22364a;
            margin: 5px 0 0px 0;
            font-size: 1.6em;
        }

     img{
        border-radius: 50%;
        text-align: center;
        margin-bottom: 10px;
        }
    }
}



.company-message-2{
font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
font-size: 1.4em;
margin: 0px auto 30px auto; 
padding: 30px 0 30px 0;
text-align: center;
border-top:solid 1px #ccc ;
border-bottom:solid 1px #ccc;
h3{
    font-size: 1.5em; padding: 0px 0 10px 0; letter-spacing: 2px;
}}



.company-logo-001{
    text-align: center;
    img{margin: auto;}
}

@media (max-width: 500px) {

.company-message-inn{
    width: 95%;
    border-radius: 20px;
    background-color: rgba(255,255,255,0.6);
    margin: 0px auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px 20px;

    h3{
        margin: 0 0 20px 0;
    }
    p{
        line-height: 130%;
    }
    }
.company-message-2{
font-size: 1.1em;
h3{
    font-size: 1.5em; padding: 0px 0 10px 0; letter-spacing: 2px;
}}

}
/*-------------------------------------------------------*/

.slipstop{
    img{
        margin: 0 auto;
        width: 100%;
    }
}


/*-------------------------------------------------------*/
.r-table{
    display: grid;
    grid-template-columns:200px 1fr;
    div{
        padding: 20px 0;
        border-top:solid 1px #ccc ;
        line-height: 1.5em;


        h2{font-size: 1.8em; line-height: 110%; color:#d97c0d}
        h3{
            font-size: 1.5em;line-height: 150%; padding:5px 0 20px; 0;
            text-decoration: underline wavy;
            text-decoration-color: #d97c0d; /* 好きな色に変更可能 */}
    }
}


.recruit{
    padding: 60px 0;
    background-color: #ddf1fc;
}

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

    .r-table{
    display: grid;
    grid-template-columns: 1fr;
    div:nth-child(odd){
        padding: 5px 0;
        border-top:solid 1px #ccc ;
        line-height: 1.5em;
        text-align: center;
        font-weight: 700;
        background-color: #ccc;
    }
    div:nth-child(even){
        padding: 5px 0 30px 0;
        border-top:solid 1px #ccc ;
        line-height: 1.5em;
    }
}

.recruit{
    padding: 20px 0;
}
}
/*-------------------------------------------------------*/

.site-footer {
    background: #22364a;
    color: #fff;
    padding: 1.2em 0;
    text-align: center;
}


