@charset "urf-8";
/************************************************
    KOSEI inc.
    採用サイト: https://koseikogyo.co.jp/recruit/
    20250630 -
************************************************/

/*　---------------------------------------------
    Root
-------------------------------------------------　*/
:root {
	--clr-main: 8, 108, 124;
	--clr-main-light: 72, 151, 163;
    --clr-main-pale: 189, 206, 209;
	--clr-main-dark: 5, 91, 104;
    --clr-sub-lightgray: 135, 135, 135;
    --clr-sub-gray: 81, 81, 81;
    --clr-sub-lightyellow: 235, 230, 207;
    --clr-sub-yellow: 242, 195, 59;
    --clr-sub-lightgreen: 236, 241, 232;
    --clr-sub-green: 199, 217, 172;
    --clr-sub-blue: 162, 202, 220;

    --cont-width: 1024px;

  	--min-width-ss: 480px;
	--min-width-sm: 640px;
    --min-width-md: 768px;
    --min-width-rg: 960px;
    --min-width-lg: 1024px;
    --min-width-xl: 1200px;
	--min-width-xxl: 1500px;

    --fnt-base: 16px;
    --fontSize-xs: .875rem;
    --fontSize-1: 1rem;
    --fontSize-2: clamp(1rem, 0.891rem + 0.31vw, 1.125rem); /* 16-18 */
    --fontSize-3: clamp(1rem, 0.781rem + 0.63vw, 1.25rem); /* 16-20 */
    --fontSize-4: clamp(1rem, 0.563rem + 1.25vw, 1.5rem);   /* 16-24 */
    --fontSize-5: clamp(1.125rem, 0.688rem + 1.25vw, 1.625rem); /* 18-26 */
    --fontSize-6: clamp(1.125rem, 0.469rem + 1.88vw, 1.875rem); /* 18-30 */
    --fontSize-7: clamp(1.5rem, 0.844rem + 1.88vw, 2.25rem);    /* 24-36 */
    --fontSize-8: clamp(1.5rem, 0.625rem + 2.5vw, 2.5rem);  /* 24-40 */
    --fontSize-xl: clamp(1.875rem, 0.891rem + 2.81vw, 3rem);    /* 30-48 */
}
/*　---------------------------------------------
    Base Setting
-------------------------------------------------　*/
* { box-sizing: border-box; }
html { height: 100%; }
body {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	/* min-height: 100%;
    height: 100vh; */
    min-height: 100vh;
	margin:0;
	color: #3e3e3e;
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans","BIZ UDPゴシック", "BIZ UDPGothic", Meiryo, sans-serif;
	font-size: 100%;
	font-weight: 300;
	line-height: 1.8;
    text-autospace: normal;
    overflow-wrap: anywhere;
    word-break: normal;
	-webkit-text-size-adjust: none;
    animation: loading 1s;
}
@keyframes loading {
	0% {opacity: 0;}
	100% {opacity: 1;}
}
/* --- Header ------------------------------ */
.ly_header {
    flex: 0 0 auto;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;

    .bl_header-inner {
        display: grid;
        grid-template-columns: 30% auto;
        grid-template-rows: auto;
        grid-column-gap: 0;
        grid-row-gap: 0;
        align-items: center;
        width: 100%;
        max-width: var(--min-width-xl);
        height: 100%;
        margin: 0 auto;

        .bl_logo {
            grid-area: 1 / 1 / 2 / 2;
            max-width: 280px;
            width: 100%;
            margin-top: -0.5rem;
        }
        .bl_gnav {
            grid-area: 1 / 2 / 2 / 3;
            text-align: right;
        }
    }
}

/* --- Global Nav --- */
nav {
    display: flex;
    justify-content: end;
    align-items: center;
    height: 100%;
    white-space: nowrap;

    a {
        position: relative;
        padding: 0;
        margin-left: clamp(.5rem, 1vw + 0.1rem, 1.2rem);
        margin-right: clamp(.5rem, 1vw + 0.1rem, 1.2rem);
        font-size: clamp(.8rem, 1vw + 0.1rem, 1rem);

        &:nth-last-child(2) { margin-right: clamp(.5rem, 2vw + 0.4rem, 2rem); }

        &::after {
            position: absolute;
            left: 0;
            bottom: 0;
            content: '';
            width: 100%;
            height: 1px;
            background: #444;
            transform-origin: center top;
            transform: scale(0, 1);
            transition: transform .3s;
        }
        &:hover::after {
            transform-origin: center top;
            transform: scale(1, 1);
        }
    }

    .bl_but-entry {
        display: block;
        min-width: 140px;
        height: 100%;
        place-content: center;
        margin: 0;
        color: #fff;
        font-weight: 700;
        text-align: center;
        background-color: rgb(var(--clr-main));
        transition: all .3s;

        &:hover {
            background-color: rgb(var(--clr-main-dark));
        }
    }
}
/* ハンバーガーボタンの初期状態は非表示 */
.bl_gnav-toggle {
    display: none;
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: none;
    border:solid 1px #555;
    z-index: 1001;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: .1rem;
    cursor: pointer;

    span {
      display: block;
      width: 24px;
      height: 1px;
      margin: 3px 0;
      background: #666;
      border-radius: 4px;
      transition: 0.3s;
    }

    &:hover {
        border:solid 1px #fff;

        span { background: #fff; }
    }
  }
  /* オーバーレイの初期状態は非表示 */
.bl_gnav-overlay {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    transition: opacity 0.3s;
    opacity: 0;
    pointer-events: none;

    /* メニューが開いた時にオーバーレイ表示 */
    &.active {
      display: block;
      opacity: 1;
      pointer-events: auto;
      transition: all .5s;
    }
}
.bl_gnav-close { display: none; }
@media (max-width: 1280px) {
    .ly_header {
        .bl_header-inner {
            padding-left: 16px;
            padding-right: 16px;
        }
    }
}
@media (max-width: 960px) {
    .ly_header {
        .bl_header-inner {
            /* align-items: start; */

            .bl_logo {
                max-width: 280px;
                width: 100%;
                margin: 1rem;
            }
        }
    }

    /* gnav */
    .bl_gnav-toggle { display: flex; }
    .bl_gnav {
        position: fixed;
        top: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        justify-content: start;
        width: 80vw;
        max-width: 320px;
        height: 100vh;
        padding: 24px 0;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(.4,0,.2,1), opacity 0.3s;
        z-index: 1002;

        &.active {
          transform: translateX(0);
          opacity: 1;
          visibility: visible;
          pointer-events: auto;
        }

        a {
           margin: 1rem auto;
         padding: 0 2rem;
         max-height: 60px;

         &a:last-child {
           border-bottom: none;
         }
       }
    }
    nav {
        a {
            &:nth-last-child(2) {
                margin-right: auto;
            }
        }
    }
    .bl_gnav-overlay {
      display: block;
      transition: opacity 0.3s;
      opacity: 0;
      pointer-events: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 999;

      &.active {
        opacity: 1;
        pointer-events: auto;
      }
    }
    .bl_gnav-close {
      position: absolute;
      top: 12px;
      right: 16px;
      display: inline-block;
      padding: 0 8px;
      color: #333;
      font-size: 2rem;
      line-height: 1;
      background: none;
      border: none;
      border-radius: .1rem;
      cursor: pointer;
      opacity: 0.7;
      z-index: 1001;
      transition: opacity 0.2s;

      &:hover {
        color: rgb(var(--clr-main));
        background-color: transparent;
        opacity: 1;
      }
    }
}
@media (max-width: 640px) {
    .ly_header {
        height: 80px;
    }
}
@media (max-width: 480px) {
    .ly_header {

        .bl_header-inner {
            grid-template-columns: 50% auto;
        }
    }
}
/* --- Footer ------------------------------ */
footer {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    background-image: url(../img/sendai_city.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;

    &::before {
        content: "";
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg,rgba(236, 252, 255, 0.5) 8%, rgba(161, 220, 230, 0.4) 55%, rgba(15, 74, 68, 0.5) 94%);
        z-index: 5;
    }

    .bl_footer-inner {
        position: relative;
        display: grid;
        grid-template-rows: calc(100% - 100px) 100px;
        grid-template-columns: minmax(auto, 1200px);
        place-content: center;
        min-height: 480px;
        margin: auto;
        color:#fff;
        z-index: 100;

        .bl_footer-cont {
            display: grid;
            grid-template-columns: 60% 35%;
            column-gap: 5%;
            place-content: center;
            width: 100%;
            max-width: 800px;
            margin: auto;

            .bl_footer-contMsg {
                place-content: center;
                font-family: "Zen Kaku Gothic New", "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans","BIZ UDPゴシック", "BIZ UDPGothic", Meiryo, sans-serif;
                font-size: clamp(30px, 5vw + 0.2rem, 36px);
                font-weight: 400;
                text-align: center;
                line-height: 1.2;

                span {
                    display: block;
                    margin-top: 1rem;
                    padding-top: .6rem;
                    border-top: solid 1px #fff;
                    font-size: 1.1rem;
                }
            }
            .bl_footer-contLink {
                text-align: center;

                a {
                    display: inline-block;
                    margin: .25rem auto;
                }
            }
        }
        .bl_footer-corpInfo {
            display: flex;
            justify-content: space-between;
            align-items: end;
            width: 100%;
            max-width: var(--min-width-xl);
            padding-left: 1rem;
            padding-right: 1rem;
            padding-bottom: .4rem;
            font-size: .85rem;
            font-family: "Gill Sans", "Segoe UI Variable Small", serif;
            letter-spacing: 0.05em;

            .bl_foot_logo {
                max-width: 235px;
                margin-bottom: 8px;
            }
            span { display: block; }
        }
    }
}
@media (max-width: 768px) {
    footer {
        .bl_footer-inner {
            .bl_footer-cont {
                display: grid;
                grid-template-rows: auto;
                grid-template-columns: auto;
                row-gap: 5%;
                margin: auto;
            }
        }
    }
}
@media (max-width: 640px) {
    footer {
        .bl_footer-inner {
            max-width: 90%;
            padding: 1rem 0;

            .bl_footer-cont {
                .bl_footer-contMsg {
                    font-size: clamp(22px, 5vw + 0.2rem, 30px);

                    span { font-size: 1rem; }
                }
            }
            .bl_footer-contLink {
                a {
                    width: 46%;

                    img { width: 100%; }
                }
            }
            .bl_footer-corpInfo {
                flex-direction: column;
                justify-content: center;
                align-items: center;
                padding: 0 0 .5rem;
                text-align: center;
                line-height: 1.4;
            }
        }
    }
}
/* --- Main ------------------------------ */
main {
    flex: 1 1 auto;
    overflow: hidden;
}

.bl_cont-inner {
    width: 100%;
    max-width: var(--cont-width);
}

/*　---------------------------------------------
   Common
-------------------------------------------------　*/
/* --- Button --------------------------- */
button {
    padding: .5rem 1.2rem;
    border:solid 1px rgb(var(--clr-main));
    color:rgb(var(--clr-main));
    font-family: "ヒラギノ明朝 ProN", "Hiragino Mincho ProN","BIZ UD明朝", "BIZ UDMincho", sans-serif;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 2rem;
    transition: all .3s;

    &:hover, &:active {
        color: #fff;
        background-color: rgb(var(--clr-main));
    }
}
/* --- Headline --------------------------- */
h1, h2, h3 {
    font-family: "Zen Kaku Gothic New", "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans","BIZ UDPゴシック", "BIZ UDPGothic", Meiryo, sans-serif;
}
h2 { font-size: clamp(1.15rem, 4vw + .1rem, 1.5rem); }
h3 { font-size: clamp(1.1rem, 4vw + .1rem, 1.3rem); }
h4 { font-size: clamp(1rem, 4vw + .1rem, 1.15rem); }

/* --- List --------------------------- */
ul li, ol li {
    margin-bottom: .3rem;
    line-height: 1.4;
}
/*　---------------------------------------------
    Script & Animation
-------------------------------------------------　*/
.js-show {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity .8s ease, transform .7s ease;
  }
  .js-show:nth-child(1) { transition-delay: 0s; }
  .js-show:nth-child(2) { transition-delay: 0.2s; }
  .js-show:nth-child(3) { transition-delay: 0.3s; }
  .js-show:nth-child(4) { transition-delay: 0.5s; }

  .js-show.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .bl_footer-cont.js-show {
    opacity: 0;
    transform: translateY(0);
    transition: opacity 1s ease;
  }
  .bl_footer-cont.js-show.visible {
    opacity: 1;
    transform: translateY(0);
  }
/* フェードインアニメーション */
@keyframes fadeIn {
    0% {
    }
    100% {
        opacity: 1;
        transform: translate(0);
    }
}
