@charset "UTF-8";

/* ===============================================
   Base / Reset
   =============================================== */
body {
    line-height: 1.6; /* 行間180% */
}
.section{
    padding-right: 0;
    width: 100%;
    min-width: 100%;
}
.section h3 {
    font-size: 1.4rem;
}
.sp{
    display: inline-block;
}
.pc{
    display: none;
}
.container {
    padding: 4rem 2rem 6rem 2rem;
    width: 100%;
    max-width: 100%;
}
.site-wrapper {
        min-width: 100%;
    }
.container_wrap{
    background: none;
}
.container_wrap::before{
    content: none;
}
/* 共通ボタンスタイル（幅は各コンポーネント側で制御） */
.btn {
    height: 5.6rem;
    line-height: 5.6rem;
    padding: 0 2.4rem; /* 横パディングで幅を自動調整 */
    border-radius: 2.8rem;
    font-weight: 500;
    font-size: inherit;
}
.btn::after {
    width: 14px;
    height: 14px;
}
.btn_area a{
    width: 100%;
    max-width: 400px;
}
/* ===============================================
   SP Overrides (768px以下で適用)
   =============================================== */
.header{
    margin-top: 0;
    padding: 0 1rem;
}
/* Use PC menu on SP; hide duplicate SP-only button */
.global-nav {
    display: block;
    text-align: right;
}
.global-nav ul {
    gap: 0;
}
.global-nav li {
    margin: 0;
}
.global-nav .nav-button-outline,
.global-nav .nav-button-filled {
    padding: 2rem;
    font-size: 1.4rem;
    border-radius: 5rem;
    max-width: 9.4rem;
    white-space: nowrap;
    line-height: 1;
    height: auto;
}

/* Hide the separate SP-specific button to avoid duplication */
.sp-job-button {
    display: none;
}

/* モバイルで「エントリー」ボタン（apply）を非表示にする */
.global-nav .nav-button-filled[href*="/apply"] {
    display: none;
}
/* ===============================================
   Header & Navigation
   =============================================== */
   .logo {
    font-size: 1.2rem;
    padding-bottom: 0;
}
/* ===============================================
   Adjustments for Mobile
   =============================================== */

/* Decorative circular text size on mobile */
.circle-deco-txt {
    width: 96px !important;
    height: 96px !important;
}

/* === Mobile typography (rem-based) === */
/* Keeping rem-based scaling for predictability on mobile */
body { /* base line-height kept above */
    line-height: 1.6;
}

/* 画像はコンテナ幅に対してリキッドに */
/* 画像はコンテナ幅に対してリキッドに */
.slide-img img,
.fv,
.card-img img,
.modal-body img,
.noteLink img,
#hero .container .fv {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-width: 0 !important; /* PCでのmin-widthを打ち消す */
}

/* ナビのボタン文字 */
.global-nav .nav-button-outline,
.global-nav .nav-button-filled {
    font-size: 1.4rem;
}

.header__inner{
    width: 100%;
    padding: 1.2rem 0; /* ヘッダー内の左右パディング */
    box-sizing: border-box;
}
/* ===============================================
   Main Content
   =============================================== */
.hero {
    padding-bottom: 1.5rem;
    position: inherit;
    padding-left: 0;
    padding-right: 0;
}

.hero h2 {
    font-size: clamp(3.6rem, 10vw, 7.6rem);
    letter-spacing: 0rem;
}
#hero .container {
    border-left: none;
    position: relative;
    padding: 0 2rem 0 4rem;
    width: 100%;
}
#hero .container .fv{
    position: inherit;
    top: 5rem;
    right: auto;
    margin-bottom: 5rem;
}
.main-content {
    padding-top: 5rem;
}
/* ===============================================
   hero anime
   =============================================== */
.scroll-down-simple {
    position: absolute;
    bottom: 0;
    left: -1rem;
}
.scroll-down-simple .line {
    margin-bottom: 1.5rem;
    height: 15rem;
}
/* テキスト */
.scroll-down-simple .text {
  font-size: 1rem;
  margin-left: 1.3rem;
}
/* ===============================================
   Main text
   =============================================== */
    #mainCopy h3 {
        font-size: 2rem;
        letter-spacing: 0.2em;
        padding-top: 3rem;
    }
   #mainCopy p{
    font-size: 1.6rem;
    line-height: 1.8;
   }

/* ===============================================
   h3タイトル装飾
   =============================================== */
/* 「提供するサービス」と「OUR SERVICE」のスタイル */
.h3-group-decorative {
    margin-bottom: 3rem; /* 必要に応じて調整 */
}

.h3-group-decorative h3 {
    font-size: 1.4rem; /* 20px */
    margin-bottom: .3rem; /* 次の行との間隔 */
}

.h3-decorative-text {
    font-size: 2.8rem;
    font-weight: 500;
    letter-spacing: .3rem;
    white-space: inherit;
    line-height: 1.2;
}

.h3-decorative-text .our-part {
    color: var(--color-black);
}

.h3-decorative-text .service-part {
    color: var(--color-primary-blue);
}
/* 「みなさまへ」と「社長からのメッセージ」のスタイル */
.h3-two-lines {
    text-align: left; /* 左寄せに変更 */
    margin-bottom: 2rem !important;
}

.h3-two-lines .h3-main-line {
    font-size: 1.4rem;
    margin-bottom: .3rem;
    font-weight: 400;
}

.h3-two-lines .h3-sub-line {
    font-size: 2rem;
    letter-spacing: .3rem;
}
/* ===============================================
   noteLink
   =============================================== */
   .noteLink a{
        font-size: inherit;
        padding: 2rem;
        line-height: 1.4;
        position: relative;
        font-weight: 500;
   }
   .noteLink a::after{
        width: 4.7rem;
        height: 4rem;
        position: absolute;
        top: 0;
        bottom: 0;
        margin: auto;
        display: block;
        right: 1rem;
   }
/* ===============================================
   デザイン部が大切にする価値観
   =============================================== */
#designvalues .h3-group-decorative + p{ 
    font-size: 1.6rem;
    line-height: 1.8;
}
#designvalues .container{
    padding-right: 2rem;
}
/* ===============================================
   Swiper Mobile Layout
   =============================================== */

.slide-inner {
    display: block;
    /*flex-flow: column;
    gap: 1rem;*/
    padding: 0;
    width: 100%; /* 親の幅を明示 */
}

.slide-img,
.slide-content {
    width: 100% !important; /* 90%から100%に変更し、PC版の31%を完全に上書き */
    max-width: 100%;
    box-sizing: border-box;
}
.slide-img img {
    width: 100%;
    height: auto;
    display: block;
}
.slide-content {
    text-align: center; /* テキスト全体を中央寄せ */
}
.slide-content h3 {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    width: 100%;
}
.slide-content h3 img {
    width: 70%; /* ロゴが大きすぎないよう調整 */
    max-width: 250px;
    margin: 0 auto;
}
.slide-content p {
    font-size: 1.4rem; /* スマホ向けに少し小さく */
    line-height: 1.6;
    margin-bottom: 2rem;
    margin-top: 1rem;
    text-align: left; /* 文章は左寄せが読みやすい */
}
.slide-content .btn {
    width: 100%; /* ボタンを横幅いっぱいに */
    max-width: 300px;
    margin: 0 auto;
}


/* スマホでのページネーション位置調整 */
.swiper {
    padding-bottom: 6rem;
    width: 80%;
}

/* --- Swiperパーツの上書き --- */

/* 矢印の色変更 */
.swiper-button-prev,
.swiper-button-next {
    color: #909090;
    width: 1.5rem;
    height: 2rem;
    top: auto;
    bottom: 0;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 1.5rem; /* 矢印アイコンのサイズ */
}
/* ページネーション（ドット）の色 */
.swiper-pagination-bullet-active {
    background-color: #333333;
}
.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{
    margin: 0 .5rem;
}
.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction{
    bottom: 0;
}
.swiper-pagination-bullet {
    width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 7px));
    height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 7px));
}

/* ===============================================
   SP: Card List (Column Drop)
   =============================================== */
.card-list {
    gap: 3rem 0; /* 縦方向のみ余白 */
}

.card-item {
    width: 100%; /* 1列表示 */
}

/* ===============================================
   Modal Dialog (Soft Animation)
   =============================================== */

.modal-content .modal-body{
    display: inherit;
}
.modal-content .detail{
    width: 100%;
    max-width: 100%;
}
.modal-content .comment{
    width: 100%;
    height: auto;
    overflow-y: inherit;
    margin-top: 4rem;
}

/* モーダル内部 */
.modal-inner {
    padding: 5rem 2rem; /* スマホでは内部の余白を少し狭く */
}

/* 閉じるボタン */
.modal-close-btn {
    top: 0.5rem;
    right: 1rem;
}
.modal-body img {
    margin-bottom: 1.6rem;
    border-radius: 2rem;
    width: 100% !important;
  height: 66vw !important;
  object-fit: cover;
  object-position: center -10px;
}
/* ===============================================
   働く環境と待遇
   =============================================== */
   #welfare .welfare-list{
    gap: 3rem;
    padding-bottom: 3rem;
   }
   #welfare .welfare-list dd{
    font-weight: 400;
   }
   #welfare .welfare-img{
    display: flex;
    flex-flow: column;
    gap: 3rem;
   }
   #welfare .welfare-img dl{
    width: 100%;
    margin-bottom: 0;
   }
   #welfare .welfare-img dt{
    font-size: 1.8rem;
   }
   #welfare .welfare-img dd{
    font-size: 1.7rem;
   }
    #welfare dt{
        font-size: 1.6rem;
        font-weight: 700;
        padding-bottom: .3rem;
    }
    #welfare img{
        width: 100%;
        border-radius: 10px;
        margin-bottom: 1rem;
    }



  /* ===============================================
   選考プロセス
   =============================================== */
/* 全体のコンテナ */
.flow-container {
    gap: 10rem;
    flex-direction: column;
  align-items: center;
}
.flow-item {
    width: 30rem;
}
/* 円のデザイン */
.flow-circle {
    width: 300px;
    height: 300px;
    border: 1px solid #909090;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}
.flow-circle.end{
    border: none;
    background-color: var(--color-primary-blue);
    color: #fff;
}
.flow-circle.end h3{
    color: #fff;
}
/* --- 矢印のデザイン変更 --- */
/* 最後の要素以外に表示 */
.flow-item:not(:last-child)::after {
    top: auto;
    bottom: -55px; /* 下側に配置 */
    right: 50%;    /* 左右中央 */
    
    /* 50%ずらして中央配置しつつ、-45度回転 */
    transform: translateX(50%) rotate(-45deg);
    width: 4rem;
    height: 4rem;
}

/* 円の中のコンテンツ */
.circle-content {
  text-align: center;
  width: 100%;
}

/* タイトル */
.circle-title {
    font-size: 2rem;
}

/* 詳細テキスト */
.circle-text {
    margin: 0 3rem;
    line-height: 2;
    text-align: left;
    font-weight: 500;
}

/* ===============================================
   社長メッセージ
   =============================================== */
   #president .comment{
    display: flex;
    gap: 4rem;
    flex-flow: column;
    align-items: flex-start;
   }
   #president img{
    height: 86vw;
    width: 100%;
    object-fit: cover;
    object-position: 0 -5rem;
   }


/* ===============================================
   FAQ Section (Accordion)
   =============================================== */

/* --- 質問エリア (トリガー) --- */
.faq-head {
    padding: 2rem;
    font-size: inherit;
}

.faq-title {
    padding-right: 2rem; /* アイコンとの余白 */
    line-height: 1.4;
}

/* --- プラス・マイナスアイコン --- */
.faq-icon {
    width: 2rem; /* 32px */
    height: 2rem; /* 32px */
}
/* 中身のスタイリング */
.faq-content p {
    padding: 0 2rem 2rem 2rem;
}

/* ===============================================
   About Us Section (with iframe)
   =============================================== */
.speakerdeck-iframe {
    width: 100% !important;
}

/* ===============================================
   クロージング
   =============================================== */
   #closing{
    border-bottom: none;
   }
   #closing .container{
    flex-flow: column;
    padding: 4rem;
   }
   #closing .container:last-child{padding-top: 4rem;}
   #closing .closing_txt{
    font-size: 3rem;
    line-height: 1.4;
    letter-spacing: .5rem;
   }
   #closing p{
    font-size: 1.6rem;
    line-height: inherit;
    margin-top: 1.6rem;
   }
   #closing .btn{
    background: #fff;
    color: var(--color-primary-blue);
    border: none;
   }
   #closing .btn::after{
    content: none;
   }
    #closing .btn:hover{
    background: var(--color-black);
    color: #fff;
    }
    #closing .btn:hover::after {
        content: none;
    }



/* Prevent accidental horizontal overflow on mobile */
html, body {
    /* overflow-x intentionally left unset to allow natural scrolling */
}