@charset "utf-8";

/* ----------------------------------------------------------------
       以下、提供されたCSSをベースに調整
    ----------------------------------------------------------------- */
body {
    font-family: "Noto Sans JP", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
    line-height: 1.8em;
    background-color: #fcfcfc;
    /* Extremely subtle tint to make white cards pop */
    color: #444;
    /* Slightly darker for better readability */
    font-weight: 500;
    font-feature-settings: "palt";
    letter-spacing: 0.05em;
    position: relative;
    /* Base for background effects */
}

.wrap {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 1em;
    font-weight: bold;
}

h2 {
    font-size: 200%;
    font-weight: 900;
}

h3 {
    font-size: 110%;
    margin-top: 1em;
}

a {
    color: #5F5E5E;
    transition: opacity 0.3s;
}

a:hover {
    text-decoration: none;
    opacity: 0.7;
}


img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

.navbar-brand img {
    vertical-align: middle;
}



.zoom-img-container {
    overflow: hidden;
    border-radius: 10px;
    /* Match standard rounded corner */
    width: 100%;
    margin-bottom: 0.5rem;
}

.zoom-img-container img {
    transition: transform 0.5s ease;
    display: block;
    width: 100%;
}

.zoom-img-container:hover img {
    transform: scale(1.1);
    /* Slightly more zoom for inner effect */
}

.andmore {
    font-size: 1.2em;
    font-weight: bold;
}

.bnr-img {
    border-radius: 10px;
}

/*========= ナビゲーションのためのCSS ===============*/
.bg-dark {
    background-color: #5F5E5E !important;
}

#g-nav {
    position: fixed;
    z-index: 999;
    top: -120%;
    right: 0;
    width: 100%;
    height: 100vh;
    background: #5F5E5E;
    transition: all 0.6s;
}

#g-nav.panelactive {
    top: 0;
}

#g-nav.panelactive #g-nav-list {
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#g-nav ul {
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    /* 追加 */
    margin: 0;
    padding: 0;
}

#g-nav li {
    list-style: none;
    text-align: center;
}

#g-nav li a {
    color: #fff;
    text-decoration: none;
    padding: 15px 0;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
    font-size: 100%;
}

/*========= ボタンのためのCSS ===============*/
.openbtn1 {
    position: fixed;
    z-index: 9999;
    top: 7px;
    right: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
}

.openbtn1 span {
    display: inline-block;
    transition: all .2s;
    position: absolute;
    left: 20%;
    height: 3px;
    border-radius: 2px;
    background-color: #fff;
    width: 60%;
}

.openbtn1 span:nth-of-type(1) {
    top: 15px;
}

.openbtn1 span:nth-of-type(2) {
    top: 23px;
}

.openbtn1 span:nth-of-type(3) {
    top: 31px;
}

.openbtn1.active span:nth-of-type(1) {
    top: 18px;
    left: 25%;
    transform: translateY(6px) rotate(-45deg);
    width: 60%;
}

.openbtn1.active span:nth-of-type(2) {
    opacity: 0;
}

.openbtn1.active span:nth-of-type(3) {
    top: 30px;
    left: 25%;
    transform: translateY(-6px) rotate(45deg);
    width: 60%;
}

section {
    padding: 100px 30px;
}

footer {
    background-color: #333;
    /* 背景画像がないため色で代用 */
    padding: 100px 0;
    color: #fff;
}

footer a {
    color: #fff;
    text-decoration: underline;
}

.btn-primary {
    color: #fff;
    background-color: #5F5E5E;
    border-color: #5F5E5E;
    padding: 0.8em 2.5em;
    /* Slightly more balanced padding */
    font-size: 1em;
    font-weight: bold;
    border-radius: 40px;
    display: inline-block;
    transition: all 0.3s ease;
    /* Integrated transition */
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background-color: #000;

}

.btn-primary:active {
    transform: scale(0.96);
    background-color: #4a4949;
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary-none {
    color: #fff;
    background-color: #5F5E5E;
    border-color: #5F5E5E;
    padding: 1em 2em;
    font-size: 1em;
    font-weight: bold;
    border-radius: 40px;
    display: inline-block;
    cursor: default;
    text-decoration: none;
}


.maingrafic {
    margin-bottom: 60px;
    margin-top: 56px;
}

/* メインビジュアルの背景画像代用スタイル */
.hero-placeholder {
    width: 100%;
    height: auto;
}

.maingrafic-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.7);
    padding: 2em;
    border-radius: 10px;
}

.underline {
    position: relative;
    margin-bottom: 2.5em;
    display: inline-block;
    width: 100%;
}

/* タイトル画像の代用スタイル */
.title-placeholder {
    font-size: 2rem;
    font-weight: 900;
    color: #2F2724;
    display: block;
    margin-bottom: 10px;
}

.underline:before {
    content: '';
    position: absolute;
    bottom: -10px;
    display: inline-block;
    width: 95px;
    height: 5px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: #5F5E5E;
}

.sub-block {
    padding: 4em 3em 3em 3em;
    background-color: #fff;
    /* Solid white for card appearance */
    border-radius: 12px;
    /* Slightly more rounded */
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft, modern shadow */
    position: relative;
    transition: transform 0.3s ease;
}

.table-detail {
    margin-bottom: 0rem;
    background-color: #fff;
}

.table-detail-outer {
    padding: 5px;
    background-color: #fff;
    border-radius: 5px;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #dee2e6;
    vertical-align: middle;
}

.table th {
    width: 30%;
}

.block-outer {
    margin-bottom: 100px;
}

html {
    scroll-padding-top: 80px;
}

.sp-only {
    display: none;
}

.pc-only {
    display: block;
}

.mb-5,
.my-5 {
    margin-bottom: 4rem !important;
}

/* リストスタイル調整 */
.company-list ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.company-list li {
    margin: 0.2em 0.5em;
    /* Slightly tighter horizontal margin */
    font-weight: bold;
    background: #fff;
    padding: 0.2em 1em;
    border-radius: 5px;
    border: 1px solid #eee;
    /* Lighter border */
    transition: all 0.2s ease;
}

.company-list li:hover {
    background: #5F5E5E;
    color: #fff;
    border-color: #5F5E5E;
    transform: translateY(-2px);
}

/* アニメーション用 */
.animation_box {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s;
}

/* =================================================================
       メインビジュアルとアニメーション
    ================================================================= */
.maingrafic {
    margin-top: 56px;
    /* ヘッダーの高さ分 */
    width: 100%;
    position: relative;
    overflow: hidden;
    /* 画像が拡大した際にはみ出さないように */
    /* 画像がない場合でも背景を黒に */
    /* ★重要: 画像がなくても高さを強制的に確保 */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 画像にゆっくりとしたズームアウト効果を適用 */
.maingrafic picture {
    position: relative;
    z-index: 1;
    /* パーティクルより下、でも背景より上 */
    display: block;
    width: 100%;
    height: 100%;
}

.maingrafic img {
    width: 100%;
    height: auto;
    display: block;
    animation: zoomOut 15s ease-out forwards;
    /* 時間を延ばしてより雄大に */
    transform-origin: center center;
}

/* パーティクル用のコンテナ */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 3;
    /* 画像・波紋の上に重ねる */
    pointer-events: none;
    /* クリックを邪魔しない */
}

/* 波紋（Ripples）用のコンテナ */
.ripple-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    /* 画像の上、パーティクルの下 */
    pointer-events: none;
    overflow: hidden;
}

/* 動的に生成される波紋のスタイル */
.ripple {
    position: absolute;
    transform: translate(-50%, -50%);
    /* 中心基準 */
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    opacity: 0;
    /* アニメーション時間を8sに変更してゆっくりに */
    animation: rippleAnim 8s ease-out forwards;
}

/* Lightbox調整: 画面の上下左右中央に固定表示 */
.lightbox {
    position: fixed !important;
    /* スクロールしても位置を固定 */
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    /* 自身のサイズ半分ずらして完全中央へ */
}

@keyframes rippleAnim {
    0% {
        width: 0px;
        height: 0px;
        opacity: 0.8;
        border-width: 2px;
    }

    100% {
        width: var(--ripple-size);
        /* JSでランダムに設定 */
        height: var(--ripple-size);
        opacity: 0;
        border-width: 0px;
    }
}

/* ダークテーマ用の波紋 */
.ripple-dark {
    position: absolute;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(95, 94, 94, 0.4);
    /* 暗い色調 */
    border-radius: 50%;
    opacity: 0;
    animation: rippleAnim 8s ease-out forwards;
    pointer-events: none;
}

/* コンテンツ背景用コンテナ */
.content-bg-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* コンテンツの裏に配置 */
    pointer-events: none;
    overflow: hidden;
}

#particles-js-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ripple-box-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ズームアウトのアニメーション定義 */
@keyframes zoomOut {
    0% {
        transform: scale(1.05);
        /* 拡大率を少し控えめに */
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        transform: scale(1.0);
        opacity: 1;
    }
}

/* スクロールダウンを促す矢印 */
.scroll-down {
    position: absolute;
    bottom: 30px;
    right: 10%;
    transform: translateX(-50%);
    z-index: 4;
    /* 一番手前 */
    color: #fff;
    text-align: center;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    animation: bounce 2s infinite;
}

/* スクロールダウンを促す矢印 */
.dli-chevron-down {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    color: #fff;
    line-height: 1;
    width: 0.5em;
    margin: 0 auto;
    height: 0.5em;
    border: 0.1em solid currentColor;
    border-left: 0;
    border-bottom: 0;
    box-sizing: border-box;
    transform: translateY(-25%) rotate(135deg);
}


.scroll-down span {
    display: block;
    font-size: 1.5rem;
    margin-top: 5px;
}

/* 上下にはねるアニメーション定義 */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

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

@media screen and (max-width:480px) {
    .sp-only {
        display: inline;
    }

    .sp-only-block {
        display: block;
    }

    .pc-only {
        display: none;
    }

    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.5em;
    }

    .sub-block {
        padding: 2em 1em;
    }

    .company-list li {
        font-size: 0.9em;
        margin: 0.3em;
    }

    .scroll-down {
        display: none;
    }
}