@charset "UTF-8";

/* ==========================================================================
   Main Visual (MV)
   ========================================================================== */
#mv {
    position: relative;
    overflow: hidden;
}

#mv .mv-img img {
    width: 100%;
    height: 90vh;
    object-fit: cover;
    object-position: bottom;
    display: block;
}
@media screen and (min-width: 600px) { #mv .mv-img img { height: 700px; } }
@media screen and (min-width: 1024px) { #mv .mv-img img { height: 500px; } }
@media screen and (min-width: 1280px) { #mv .mv-img img { height: 600px; } }

#mv h1 {
    position: absolute;
    top: 31%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    z-index: 10;
}
@media screen and (min-width: 600px) { #mv h1 { top: 180px; left:300px; max-width: 550px;} }
@media screen and (min-width: 1024px) { #mv h1 { left: 360px; max-width: 550px; } }
@media screen and (min-width: 1280px) { #mv h1 { top:200px; left:450px; max-width: 600px; } }
@media screen and (min-width: 1366px) { #mv h1 { top: 50%; left: 50%; transform: translate(-90%, -75%); } }


#mv h1 img {
    width: 100%;
    height: auto;
}

#mv h2 {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-8deg);
    width: 120%;
    padding: 8px 0;
}
@media screen and (min-width: 1024px) { #mv h2{top:55%;}}
@media screen and (min-width: 1024px) {
    #mv h2 { top: 70%; padding: 15px 0; transform: translate(-50%, -50%) rotate(-5deg); }
}

#mv h2 img {
    width: 80%;
    max-width: 700px;
    margin: 0 auto;
}
@media screen and (min-width: 768px) { #mv h2 img { width: 98%; max-width: 760px; } }
@media screen and (min-width: 1024px) { #mv h2 img { max-width: 1000px; } }
@media screen and (min-width: 1280px) { #mv h2 img { max-width: 1200px; } }
@media screen and (min-width: 1366px) { #mv h2 img { width: 80%; max-width: 1500px; } }

#mv .open-day {
    position: absolute;
    top: 82%;
    right: 15px;
    transform: translate(0%, -100%);
    width: 85%;
    max-width: 400px;
}
@media screen and (min-width: 1024px) { #mv .open-day { top: 150px; right: 30px; transform: translate(0%, -50%); } }
@media screen and (min-width: 1280px) { #mv .open-day { top: 100px; right:auto; left: 850px; transform: translate(0%, -50%); max-width: 450px;} }
@media screen and (min-width: 1366px) { #mv .open-day { top: 50%; left: 50%; transform: translate(30%, -195%); max-width: 450px;} }


/* ==========================================================================
   CTA Area
   ========================================================================== */
.cta_area {
    position: -webkit-sticky; /* Safari対応 */
    position: sticky;
    top: 0;           /* 画面の一番上に当たったら固定 */
    z-index: 100;     /* 他のコンテンツ（斜め装飾など）より上に表示 */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* 固定時に浮いた感じを出す（任意） */
}

.cta_area:active {
    opacity: 0.9;
}

.cta_area ul {
    display: flex;
    align-items: center;
    justify-content: center; /* 中央寄せ */
    width: 100%;
}

.cta_area ul li {
    width: 50%;
    height: 40px;
}
@media screen and (min-width: 600px) { .cta_area ul li { height: 60px; } }


.cta_area ul li a {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta_area ul li a img {
    width: auto;
    height: 10px;
}
@media screen and (min-width: 600px) { .cta_area ul li a img { height: 15px; } }

/* ==========================================================================
   About Section
   ========================================================================== */
#about {
    position: relative;
}

#about .text_about {
    position: absolute;
    top: 0;
    left: 0;
    opacity: .1;
    width: 250px;
}
@media screen and (min-width: 600px) { #about .text_about { width: 300px; } }
@media screen and (min-width: 1024px) { #about .text_about { width: 400px; left: 50%; transform: translate(-500px, 10px); } }

#about .about-img {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 30px;
}

#about .ttl img {
    max-width: 300px;
    margin: 0 auto;
}
@media screen and (min-width: 1024px) { #about .ttl img { max-width: 500px; } }

@media screen and (min-width: 768px) { 
    #about .about-text { 
        font-size: 18px;
        line-height: 2; 
    } 
}

/* 使命キャッチコピー（斜め帯） */
#about .mission-catch {
    display: flex;
    justify-content: center;
    margin: 15px 0;
    padding: 0 15px;
}
@media screen and (min-width: 600px) { #about .mission-catch { margin: 20px 0; } }

#about .mission-catch-inner {
    position: relative;
    background-color: #EB5C01;
    padding: 3px 0px;
    transform: skewX(-15deg);
}
@media screen and (min-width: 600px) { #about .mission-catch-inner { padding: 5px 45px; transform: skewX(-20deg); } }

#about .mission-catch-text {
    color: #fff;
    font-size: clamp(18px, 5vw, 24px); 
    line-height: 1.5;
    text-align: center;
    transform: skewX(15deg);
}
@media screen and (min-width: 600px) { 
    #about .mission-catch-text { transform: skewX(20deg); white-space: nowrap; } 
}
@media screen and (min-width: 1024px) { 
    #about .mission-catch-text { font-size: 32px; } 
}

/* 動画エリア */
#about .video-area {
     margin-top: 30px;
}
@media screen and (min-width: 1024px) { #about .video-area { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 50px;} }

#about .video-area .video-container {
    max-width: 500px;
    margin: 0 auto 10px;
}
@media screen and (min-width: 1024px) { #about .video-area .video-container { margin: 0; } }

#about .video-area strong {
    display: block;
    margin-bottom: 10px;
}



#about .logo-area{
    display: none;
    position: absolute;
    top: 20%;
    left: -4px;
    width: 140px;
    height: auto;
    z-index: 0;
    overflow: hidden;
}
@media screen and (min-width: 1366px) {
    #about .logo-area{
        display: block;
    }
}
#about .logo-area .logo-area-section{
    position: relative;
    height: 850px;
    width: 100%;
}
#about .logo-area .logo-area-section .toyama-logo{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 140px;
    height: auto;
}
#about .logo-area .logo-area-section .toyama-logo .logo-image{
    width: 100%;
    height: auto;
    display: block;
}
#about .logo-area .logo-area-section .venture-challenge-background{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url(../img/recruiting-positions-img01.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* ==========================================================================
   Vision Section
   ========================================================================== */
#vision .ttl img {
    width: 80px;
    margin: 0 auto 10px;
}

#vision .vision-element {
    /* モバイルは縦並び(デフォルト) */
}
@media screen and (min-width: 768px) { #vision .vision-element { display: flex; align-items: center; justify-content: space-between; } }

#vision .vision-element .logo_go-fan {
    width: 200px;
    margin-bottom: 10px;
}
@media screen and (min-width: 768px) { #vision .vision-element .logo_go-fan { width: 360px; margin-bottom: 20px; } }
@media screen and (min-width: 1024px) { #vision .vision-element .logo_go-fan { width: 400px } }


#vision .vision-element strong {
    display: block;
    margin-bottom: 10px;
}
@media screen and (min-width: 768px) { #vision .vision-element strong {margin-bottom: 30px;}}

#vision .vision-element .vision-img {
    width: 80%;
    max-width: 300px;
    margin: 30px auto 0;
}
@media screen and (min-width: 768px) { #vision .vision-element .vision-img { margin: 0 0 0 33px; } }
@media screen and (min-width: 1024px) { #vision .vision-element .vision-img { max-width: 400px; } }

/* ==========================================================================
   Success 1 Section
   ========================================================================== */
#success1 ul li:not(:first-child) {
    margin-top: 30px;
}

@media screen and (min-width: 768px) {
    .slider-mobile {
        display: flex !important; /* slickのdisplay: blockを無効化 */
        justify-content: space-between;
        gap: 30px;
    }
    .slider-mobile .slick-list, 
    .slider-mobile .slick-track {
        display: block !important; /* slick解体後の残骸を無効化 */
    }
}

#success1 ul.slider-mobile li {
    padding: 20px;
    outline: none; /* クリック時の枠線を消す */
}
@media screen and (min-width: 768px) {
    #success1 ul.slider-mobile li{
        width: 31% !important; /* 横並びの幅 */
        padding: 0;
        margin-top: 0;
    }
}

#success1 ul li img {
    margin: 0 auto 10px;
    max-width: 150px; /* サイズは適宜調整 */
}

/* ==========================================================================
   Success 2 Section (Problem & Solution)
   ========================================================================== */
#success2 .problem,
#success2 .solution {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 20px;
}

#success2 .problem img,
#success2 .solution img {
    width: 200px;
    margin-bottom: 10px;
}
@media screen and (min-width: 768px) { #success2 .problem img,#success2 .solution img{width: 250px;}}

#success2 .problem strong,
#success2 .solution strong {
    display: block;
    margin-bottom: 10px;
}

#success2 .problem {
    margin-bottom: 10px;
}

#success2 .solution {
    margin-bottom: 60px;
    position: relative;
}
@media screen and (min-width: 768px) { #success2 .solution { margin-bottom: 80px; } }

/* 逆三角形（矢印）装飾 */
#success2 .solution::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -30px;
    transform: translateX(-50%);
    width: 100%;
    height: 30px;
    background-color: inherit;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    z-index: 1;
}
@media screen and (min-width: 768px) { #success2 .solution::after { height: 40px; bottom: -40px; } }

#success2 .logo-renotta {
    width: 300px;
    margin: 30px auto 10px;
}
@media screen and (min-width: 768px){
    #success2 .logo-renotta {
        width: 500px;
        margin: 30px auto 20px;
    }
}

/* Renotta 特徴リスト */
#success2 .feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 800px;
    margin: 30px auto 0;
    padding: 0 20px;
}
@media screen and (min-width: 1024px) {#success2 .feature-list {gap: 20px;}}

#success2 .feature-item {
    position: relative;
    padding: 30px;
    /* background-color: #fff; */
    /* 影をつけて奥行きを出す */
    /* filter: drop-shadow(4px 4px 0px rgba(0,0,0,0.1)); */
    border: 3px solid #EB5C01;
    transform: skewX(-8deg);
    box-shadow: 3px 3px 0px #333;
}
@media screen and (min-width: 1024px) {
    #success2 .feature-item {
        transform: skewX(-15deg);
    box-shadow: 5px 5px 0px #333;
    }
}

#success2 .feature-item .item-inner {
    position: relative;
    z-index: 10;
    transform: skewX(8deg);
    /* display: flex;
    align-items: flex-start;
    gap: 15px; */
}
@media screen and (min-width: 1024px) {
    #success2 .feature-item .item-inner{
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        transform: skewX(15deg);
    }
}


#success2 .feature-item .item-inner .feature-item-ttl{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 5px;
}

#success2 .feature-item .item-inner .feature-item-ttl img{
    width: 50px;
    margin-right: 10px;
}
@media screen and (min-width: 768px) {#success2 .feature-item .item-inner .feature-item-ttl img{width: 80px;}}

#success2 .feature-item .item-inner .feature-item-text{

}

/* ==========================================================================
   Success 3 Section (GO Fun Apartment)
   ========================================================================== */
#success3 .success3-img{
    max-width: 300px;
    margin: 0 auto;
}
@media screen and (min-width: 768px) {
    #success3 .success3-img{
        max-width: 500px;
    }
}

/* ==========================================================================
   ROAD MAP Section
   ========================================================================== */
#road-map .road-map_img{
    max-width: 300px;
    margin: 0 auto;
}
@media screen and (min-width: 768px) {
    #road-map .road-map_img{
        max-width: 800px;
    }
}

/* ==========================================================================
   DNA Section
   ========================================================================== */
#dna .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

#dna .inner .history-shop-origin {
    width: 40%;
}

#dna .inner .company-name-change {
    width: 55%;
}

/* #dna .crasco-mission {
    width: 100vw;
    margin: 20px calc(50% - 50vw) 0px;
    padding: 30px 0;
}
@media screen and (min-width: 768px) {#dna .crasco-mission {padding: 50px 0; }} */


/* #dna .crasco-mission .logo_do-idea {
    width: 70%;
    max-width: 300px;
    margin: 0 auto 20px;
}
@media screen and (min-width: 768px) {#dna .crasco-mission .logo_do-idea {max-width: 400px; }} */

/* ==========================================================================
   mission Section
   ========================================================================== */
#crasco-mission .logo_do-idea {
    width: 70%;
    max-width: 300px;
    margin: 0 auto 20px;
}
@media screen and (min-width: 768px) {#crasco-mission .logo_do-idea {max-width: 400px; }}

/* ==========================================================================
   8ACTION Section (Grid Tile)
   ========================================================================== */
#action .action-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
    max-width: 500px;
    margin: 0 auto;
}
@media screen and (min-width: 1024px) { #action .action-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: none;} }

#action .action-grid .action-tile {
    position: relative;
    aspect-ratio: 1 / 1;
    border: 1px solid #EB5C01;
    background-color: #fff;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

#action .action-grid .action-tile .tile-front {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 10px;
    transition: opacity 0.4s ease;
}

#action .action-grid .action-tile .tile-front .tile-icon {
    width: 100px;
    margin-bottom: 5px; 
}

#action .action-grid .action-tile .tile-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #EB5C01;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    opacity: 0;
    transition: opacity 0.4s ease;
}
@media screen and (min-width: 1024px) {
    #action .action-grid .action-tile .tile-back {
        padding: 15px;
    }
}

#action .action-grid .action-tile .tile-back .tile-desc {
    line-height: 1.3;
}

/* JS用アクティブクラス */
#action .action-grid .action-tile.is-active .tile-back { opacity: 1; }
#action .action-grid .action-tile.is-active .tile-front { opacity: 0; }

/* PC：ホバー時の挙動 */
@media (hover: hover) {
    #action .action-grid .action-tile:hover .tile-back { opacity: 1; }
    #action .action-grid .action-tile:hover .tile-front { opacity: 0; }
}

@media screen and (min-width: 768px) {
    #action .action-grid .action-tile .tile-back .tile-desc .tile-back-ttl{
        font-size: 20px;
        margin-bottom: 0px;
    }
}

@media screen and (min-width: 768px) {
    #action .action-grid .action-tile .tile-back .tile-desc .tile-back-subttl{
        font-size: 16px;
        margin-bottom: 5px;
    }
}

@media screen and (min-width: 768px) {
    #action .action-grid .action-tile .tile-back .tile-desc span{
        font-size: 16px;
    }
}


/* ==========================================================================
   Founding Members Section
   ========================================================================== */
#founding-members .founding-member-img{
    width: 70%;
    max-width: 400px;
    margin: 0 auto;
}

#founding-members ul{
    margin: 30px 0 0;
}

@media screen and (min-width: 768px) {
    #founding-members ul li{
        display: flex; /* 横並びにする */
        align-items: flex-start; /* 上揃え */
        justify-content: space-between;
        margin-bottom: 60px;
    }
}

#founding-members ul li:not(:first-child){
    margin-top: 30px;
}

@media screen and (min-width: 768px) {
    #founding-members ul li:nth-child(even) {
        flex-direction: row-reverse;
    }
}

#founding-members ul li .img-16-9{
    margin-bottom: 10px;
}
@media screen and (min-width: 768px) {
    #founding-members ul li .img-16-9{
        width: 45%;
        margin-bottom: 0;
    }
}

#founding-members ul li .list-text{}
@media screen and (min-width: 768px) {
    #founding-members ul li .list-text{ width: 50%;}
}


#founding-members ul li h3{
    margin-bottom: 10px;
}

/* ==========================================================================
   OUR IDEAL CANDIDATE Section
   ========================================================================== */
#human-resources .logo_tatsujin{
    width: 100%;
    max-width: 300px;
    margin: 30px auto;
}
#human-resources .illust_tatsujin{
    width: 100%;
    max-width: 500px;
    margin: 30px auto;
}

/* ==========================================================================
   ENTRY Section
   ========================================================================== */
#entry {
    position: relative;
    padding: 100px 0; /* 上下にゆとりを持たせる */
    overflow: hidden;
    text-align: center;
}
@media screen and (min-width: 1024px) {
    #entry { padding: 160px 0; }
}
/* 背景画像の設定 */
#entry .entry-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
#entry .entry-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 背景を少し暗くして文字を読みやすくする */
    filter: brightness(0.7);
}

/* コンテンツ */
#entry .entry-content {
    position: relative;
    z-index: 10;
}

#entry .entry-title {
    font-size: clamp(24px, 5vw, 44px);
    line-height: 1.4;
    margin-bottom: 25px;
}

#entry .entry-sub {
    font-size: clamp(14px, 2vw, 20px);
    line-height: 1.8;
    margin-bottom: 40px;
}

/* ==========================================================================
   Entry Button (ENTRY NOW)
   ========================================================================== */
.entry-btn-area {
    margin-top: 30px;
}

.btn-entry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    padding: 10px 30px;
    border-radius: 50px; /* カプセル型 */
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.btn-entry img {
    width: auto;
    height: 20px; /* デザインに合わせて調整 */
    transition: opacity 0.3s ease;
}

.btn-entry .img-hover {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0; /* 最初は隠す */
}

/* ホバー時の挙動 */
@media (hover: hover) {
    .btn-entry:hover {
        background-color: #EB5C01; /* 背景をオレンジに */
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(235, 92, 1, 0.4);
    }

    /* 画像の切り替え */
    .btn-entry:hover .img-default {
        opacity: 0; /* 通常画像を消す */
    }
    .btn-entry:hover .img-hover {
        opacity: 1; /* ホバー用画像を表示 */
    }
}

/* PCサイズ */
@media screen and (min-width: 1024px) {
    .btn-entry {
        width: 400px;
    }
    .btn-entry img {
        height: 30px;
    }
}

/* ==========================================================================
   Entry Modal
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

/* モーダル表示中のクラス（JSで制御） */
.modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.modal-window {
    width: 90%;
    max-width: 500px;
    background-color: #fff;
    border: 3px solid #EB5C01;
    border-radius: 15px;
    padding: 40px 30px;
    position: relative;
    transform: translateY(20px);
    transition: all 0.4s ease;
}
@media screen and (min-width: 1024px) {
    .modal-window {
        max-width: 600px;
    }
}

.modal-overlay.is-active .modal-window {
    transform: translateY(0);
}

/* 閉じるボタン */
.modal-close {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(-5px, -10px);
    background: none;
    border: none;
    color: #333;
    font-size: 32px;
    cursor: pointer;
}

/* モーダル内ボタンリスト */
.modal-btn-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 15px;
    border: 1px solid #EB5C01;
    border-radius: 10px;
    background-color: #fff;
    position: relative;
    transition: all 0.3s ease;
}

.modal-btn .btn-sub { font-size: 16px; margin-bottom: 5px; }
.modal-btn .btn-main { color: #333; }

/* 右矢印アイコン */
.modal-btn .arrow-right {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-top: 2px solid #EB5C01;
    border-right: 2px solid #EB5C01;
    transform: translateY(-50%) rotate(45deg);
}

@media (hover: hover) {
    .modal-btn:hover {
        background-color: rgba(235, 92, 1, 0.05);
        transform: scale(1.02);
    }
}

/* ==========================================================================
   Video Modal
   ========================================================================== */
/* 枠組みはエントリーモーダル（.modal-overlay）を共通利用 */

.video-modal-window {
    max-width: 900px; /* 動画に合わせて幅を広げる */
    padding: 10px;    /* 動画を際立たせるため余白は少なめ */
    border: none;     /* 動画の場合は枠線なしでもカッコいいです */
    background-color: #000; /* 動画に合わせて黒背景 */
}

/* 動画の比率を維持（common.cssに記載済みなら不要） */
.video-container {
    width: 100%;
    aspect-ratio: 16 / 9;
}