:root {
    --green: #65bd00;
    --deepgreen: #299c3d;
    --orange: #ef6500;
    --ink: #111;
    --light: #f4f4f4;
}

* {
    box-sizing: border-box;
}


.top-page {
    overflow: hidden;
}

.top .head .logo{
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
	left: 10px;
	max-width: 250px;
	width: 20%;
	z-index: 5;
}

/* トップページのみロゴ背景の形状を変更 */
.top .head_logo_back {
	width: 33%;
	max-width: 540px;
	height: 70px;
	aspect-ratio: auto;
	clip-path: polygon(0 0, 100% 0, 68% 100%, 0 100%);
}

@media (max-width: 960px) {
.top .head_logo_back {
	width: 33%;
	max-width: 540px;
	height: 60px;
	}
	/*
.top .head_logo_back{
	position: absolute;
	left: 0;
	top: 0;
	width: 53%;
	height: auto;
	max-width: 800px;
	aspect-ratio: 924 / 245;
	background: rgba(255, 255, 255, 0.9);
	clip-path: polygon(0 0, 85.6% 0, 0 80%);
	pointer-events: none;
}	*/
.top .head_logo_back{
	position: absolute;
	left: 0;
	top: 0;
	width: 110%;
	max-width: 450px;
}
	
.top .head .logo {
	left: 0px;
  top: 50%;
  transform: translateY(-50%);
	max-width: 210px;
	width: 50%;
  }
}

@media (max-width: 480px) {
.top .head .logo {
  top: 35%;
  transform: translateY(-50%);
  }
}


/* ========================================
   メインビジュアル
======================================== */
.top-mv {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #333;
    overflow: hidden;
}

.mv-video {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.mv-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.mv-scroll {
    position: absolute;
    bottom: 30px;
    right: 6%;
    color: #fff;
    font-size: 11px;
    letter-spacing: .2em;
}

.mv-scroll span {
    margin-left: 12px;
}


/* ========================================
   共通セクション
======================================== */
.section-light {
    background: var(--light);
}

.section-intro h2 {
    font: 700 clamp(38px,6vw,80px)/1.05 Montserrat,sans-serif;
    letter-spacing: -.03em;
    margin: 0 0 15px;
	text-align: left;
	padding: 5px 10px;
}

.jp-sub {
	text-align: left;
    font-weight: 600;
	line-height: 1.5em;
    margin: 0 0 35px;
}

.jp-sub:before {
    content: "●";
    color: var(--deepgreen);
    margin-right: 8px;
}

.section-intro.white {
    color: #fff;
}

.section-intro.white .jp-sub:before {
    color: #fff;
}

.black-button,.white-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    min-width: 150px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    transition: opacity .2s;
}

.black-button {
    background: #050505;
    color: #fff;
}

.white-button {
    background: #fff;
    color: #111;
}

.black-button:hover,.white-button:hover {
    opacity: .75;
}

.split-layout {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 20px;
    align-items: center;
}


/* ========================================
   NEWS
======================================== */
.top-news {
    position: relative;
	background: #f4f4f4;
    padding: 110px 0 300px;
}


/* ========================================
   NEWS
======================================== */
.top-news .inner {
    position: relative;
    z-index: 2;
}

.news-list a {
    display: flex;
    gap: 24px;
    align-items: center;
    border-top: 1px solid #aaa;
    padding: 20px 0;
	color: #111;
	text-align: left;
}

.news-list a:last-child {
    border-bottom: 1px solid #aaa;
}

.news-list time {
    white-space: nowrap;
}

.ghost-word {
    position: absolute;
    bottom: 25px;
    left: -20px;
    color: #fff;
    font: 700 clamp(70px,12vw,180px)/1 Montserrat,sans-serif;
    opacity: .85;
    white-space: nowrap;
}


/* ========================================
   SNS
======================================== */
.top-sns {
    position: relative;
    margin-top: -250px;
    margin-bottom: -45px;
    padding: 200px 0 300px;
    isolation: isolate;
}


/* ========================================
   SNS
======================================== */
.top-sns:before {
    content: "";
    position: absolute;
    inset: 0;
	background: url("../img/top/sns_back.png") center top no-repeat;
	background-size: cover;
    /*clip-path: polygon(0 30%,100% 0,100% 72%,0 100%);*/
    z-index: -1;
}

.sns-layout {
    display: grid;
    grid-template-columns: 40% 60%;
    align-items: center;
    gap: 12px;
}
.sns-links{
	position: relative;
}

.sns-img{
	width: 100%;
	position: relative;
}

.sns-insta{
	position: absolute;
	left: 22%;
	bottom: 3%;
	width: 16%;
}
.sns-tiktok{
	position: absolute;
	left: 42%;
	bottom: 3%;
	width: 16%;
}


/* ========================================
   BLOG
======================================== */
.top-blog {
    padding: 200px 0 200px;
    background: url("../img/top/blog_back.png") left top no-repeat;
	background-size: cover;
	margin-top: -300px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 20px;
}

.blog-grid a {
    display: block;
    background: #f4f4f4;
    padding: 9px;
	text-align: left;
	color: #111;
}

.blog-grid img {
    width: 100%;
    display: block;
    aspect-ratio: 220/126;
    object-fit: cover;
}

.blog-grid a .date {
    display: block;
    line-height: 1.6;
    padding: 10px 0 0 10px;
	color: #eb6102;
	font-size: 0.9em;
	text-align: left;
}
.blog-grid p{
	text-align: left;
	font-size: clamp(13px, 1.5vw, 15px);
	line-height: 1.5em;
}


/* ========================================
   COMPANY
======================================== */
.top-company {
    position: relative;
    min-height: 730px;
    padding: 250px 0 250px;
	background: url("../img/top/company_back.png") left top no-repeat;
	background-size: cover;
	margin-top: -200px;
}


/* ========================================
   COMPANY
======================================== */

.company-layout {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.company-menu{
	background: rgba(255,255,255,0.5);
}
.company-menu,.recruit-menu,.video-menu {
    display: flex;
    flex-direction: column;
    margin: 20px 0 10px;
    max-width: 380px;
}

.company-menu a,.recruit-menu a,.video-menu a {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 25px;
    border-top: 1px solid rgba(0,0,0,.4);
    font-weight: 700;
	color: #111;
	font-size: 16px;
}

.company-menu a:last-child,.recruit-menu a:last-child,.video-menu a:last-child {
    border-bottom: 1px solid rgba(0,0,0,.4);
}

.company-menu a span,.recruit-menu a span,.video-menu a span {
    font-size: 18px;
}

.company-map {
    width: min(43%,450px);
    object-fit: contain;
    filter: drop-shadow(0 3px 10px rgba(0,0,0,.1));
}


/* ========================================
   BUSINESS
======================================== */
.top-business {
    position: relative;
    min-height: 730px;
    padding: 250px 0 250px;
	background: url("../img/top/business_back.png") left top no-repeat;
	background-size: cover;
	margin-top: -250px;
}


/* ========================================
   BUSINESS
======================================== */
.top-business .section-intro {
    margin-bottom: 55px;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 5px;
    margin: 0 0 35px;
    overflow: hidden;
	width: 100%;
	margin: 0 0 0 auto;
	padding: 0 30px ;
}

.business-grid a {
    position: relative;
    display: block;
    min-height: 230px;
    overflow: hidden;
    transform: skewX(-13deg);
    margin: 0 8px;
}

.business-grid img {
    display: block;
    width: 145%;
    max-width: none;
    height: 270px;
    object-fit: cover;
    transform: skewX(13deg) translateX(-15%);
    transition: scale .3s;
}

.business-grid a:hover img {
    scale: 1.06;
}

.business-grid span {
    text-align: center;
    color: #fff;
	margin: 10px auto 30px;
	font-size: 13px;
	display: inline-block;
}


/* ========================================
   RECRUIT
======================================== */
.top-recruit {
    position: relative;
    min-height: 730px;
    padding: 220px 0 150px;
	background: url("../img/top/recruit_abck.png") right top no-repeat;
	background-size: cover;
	margin-top: -250px;
}

/* ========================================
   RECRUIT
======================================== */

.recruit-photo {
    position: absolute;
    inset: 0 0 0 36%;
    background: url("../img/top/recruit_p.png") center/cover no-repeat;
    clip-path: polygon(10% 0,100% 0,100% 83%,0 100%);
    z-index: -1;
}

.recruit-content {
    position: relative;
}

.recruit-menu {
    width: min(330px,40%);
}

.recruit-menu a {
    color: #fff;
    border-color: rgba(255,255,255,.6);
}


/* ========================================
   VIDEO
======================================== */
.top-video {
    position: relative;
    padding: 0 0 0;
	background: #f4f4f4 url("../img/top/video_back.png") left top no-repeat;
	background-size: cover;
	margin-top: -5px;
}

.san-en{
	position: absolute;
	bottom: 40px;
	left: 5%;
	width: 90%;
}

.video-layout {
    display: grid;
    grid-template-columns: 42% 58%;
    align-items: center;
	
}

.video-image {
    display: block;
    position: relative;
    max-width: 570px;
    margin-left: auto;
}

.video-image img {
    width: 100%;
    display: block;
}

.photorec{
	display: none;
}
@media(min-width:1200px) {
	
 .top-news {
    padding: 10% 0 20%;
}
	.top-sns{
    padding: 12% 0 20%;
		margin-top: -20%;
	}
	.top-recruit,
	.top-business,
	.top-company{
    padding: 20% 0 20%;
		margin-top: -20%;
	}
	.top-blog{
    padding: 15% 0 20%;
		margin-top: -20%;
	}
	.top-video{
	background: url("../img/top/video_back.png") left top no-repeat;
	background-size:100% auto;
    padding: 15% 0 0;
		margin-top: -20%;
	}
}

/* ========================================
   タブレット・小型PC
======================================== */
@media(max-width:960px) {
	    .top-mv {
	margin-top: 60px;
    }
 .top-news {
    padding: 50px 0 300px;
}
.top-sns {
    position: relative;
    margin-top: -250px;
    margin-bottom: -45px;
    padding: 100px 0 250px;
}
.top-blog {
    padding: 100px 0 150px;
	margin-top: -250px;
}
	.top-company {
    padding: 200px 0 150px;
	margin-top: -200px;
}
.top-business {
    padding: 200px 0 200px;
	margin-top: -250px;
	}
	.top-recruit {
    position: relative;
    min-height: 730px;
    padding: 220px 0 150px;
	background: url("../img/top/recruit_abck.png") center top no-repeat;
	background-size: cover;
	margin-top: -250px;
}
	
    .split-layout {
        grid-template-columns: 1fr 1.3fr;
    }
    .sns-layout {
        grid-template-columns: 1fr 1.4fr;
    }
    .top-company {
        min-height: 630px;
    }
    .business-grid {
        gap: 3px;
    grid-template-columns: repeat(3,minmax(0,1fr));
    }
    .business-grid a {
        margin: 0 5px;
    }
    .business-grid img {
        height: 220px;
    }
.company-menu,.recruit-menu,.video-menu {
    display: flex;
    flex-direction: column;
    margin: 20px 0 10px;
    max-width: 300px;
}
.company-menu a,.recruit-menu a,.video-menu a {
    gap: 10px;
    padding: 10px 15px;
	font-size: 14px;
	text-align: left;
}
	
}

/* ========================================
   スマートフォン
======================================== */
@media(max-width:640px) {

	
    .section-intro h2 {
        font-size: 42px;
    }
    .split-layout,.video-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .top-news {
        padding: 35px 0 120px;
    }
    .news-list a {
        gap: 12px;
    }
    .top-sns {
        padding: 120px 0 200px;
        margin-top: -120px;
    }
    .business-grid {
        gap: 3px;
    grid-template-columns: repeat(2,minmax(0,1fr));
    }
    
.company-menu a,.recruit-menu a,.video-menu a {
    gap: 10px;
    padding: 10px 15px;
	font-size: 14px;
	text-align: left;
}
.sns-layout {
    display: block;
    align-items: center;
    gap: 12px;
}
.sns-links{
	position: relative;
	width: 90%;
	max-width: 450px;
	margin: 10px auto;
}
.sns-img{
	position: relative;
}
	
	
    .top-blog {
        padding: 150px 0 150px;
    }
    .blog-grid {
        gap: 12px;
    }
    .blog-grid span {
        font-size: 10px;
    }
    .top-company {
        min-height: 620px;
        padding: 200px 0 150px;
    }
    .company-layout {
        position: relative;
    }
    .company-layout .section-intro {
        position: relative;
        z-index: 2;
        width: 100%;
    }
    .company-menu {
        max-width: 65%;
    }
    .company-map {
        position: absolute;
        width: 60%;
        right: -7%;
        top: 90px;
        opacity: .85;
    }
    .top-business {
		margin-top: -320px;
        padding: 300px 0 180px;
    }
    .business-grid a {
        min-height: 160px;
    }
    .business-grid img {
        height: 190px;
    }
    .top-recruit {
        min-height: 680px;
        padding: 150px 0 130px;
		background: url("../img/top/recruit_backs.png") center top no-repeat;
		background-size: cover;
    }
	.photorec{
		display: block;
		margin-top: -150px;
		position: relative;z-index: 1;
	}
	
.recruit-menu,.video-menu {
    max-width: 80%;
	width: 80%;
}
.video-layout {
    display: grid;
    align-items: center;
    gap: 0px;
}
    .top-video {
		margin-top: -180px;
        padding: 200px 0 0px;
		position: relative;
		z-index: 2;
	background: url("../img/top/video_back.png") left top no-repeat;
	background-size:cover;
    }
    .video-image {
        max-width: 100%;
		width:80%;
    }
}


/* ========================================
   動きを減らす設定
======================================== */
@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }
    *,*:before,*:after {
        transition: none !important;
    }
}