@charset "utf-8";
/*
Theme Name: ニューアプローチ
Theme URL: https://newapproach.co.jp
Description: ホームページ
Author: pandalion
Version: 1.0.2
License: GNU GENERAL PUBLIC LICENSE
License URI: http:www.gnu.org/licenses/gpl.html
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html,
body{
    overflow-x: hidden;
}
body {
    font-family: "Hiragino Sans", Meiryo, sans-serif;
    background-color: #f8f8f8;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    position: fixed;
    width: 100%;
    z-index: 10;
}

img{
    max-width: 100%;
    vertical-align: text-top;
}
h2{
    font-size: clamp(3.125rem, 0.625rem + 5.2083vw, 6.875rem);
    font-weight: 500;
}
a{
    text-decoration: none;
}
ul{
    list-style: none;
}

.flexB{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.wrapper{
    max-width: 85%;
    margin: 0 auto;
}
.line_common_title {
    padding-bottom: 5%;
  }
  .line_common_title {
    text-align: center;
    align-items: center;
    font-size: clamp(0.6rem, 2vw, 3rem);
    letter-spacing: 1.1rem;
    font-weight: 600;
    padding-bottom: 5%;
  }

.page_defo {
    padding: 15% 0 0;
}
@media(max-width:1200px){
    .wrapper{
        max-width: 95%;
        width: 100%;
    }
}
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-width: 400px;
    width: 100%;
}
@media(max-width:768px){
    .logo img{
        max-width: 250px;
    }
    header{
        padding: 15px 30px;
    }
}
@media(max-width:428px){
    header{
        padding: 10px;
        justify-content: space-around;
    }
    .logo img{
        max-width: 150px;
    }
}
.menu-button {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    display: inline-block;
    padding: 15px 50px;
    color: #000;
    border-radius: 56px;
    font-size: 18px;
    background: linear-gradient(145deg, #e0e0e0, #ffffff);
    box-shadow:
        0px 4px 10px rgba(0, 0, 0, 0.2),
        inset 3px 3px 5px rgba(255, 255, 255, 0.8),
        inset -2px -2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
    transition: all 0.3s ease;
}

.menu-button button {
    background: none;
    border: none;
    outline: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.menu-button button:hover {
    color: #fff;
}

.menu-button .circle {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #ED1425;
    border-radius: 50%;
    transform: scale(1);
    transition: transform 0.3s ease-out;
    position: absolute;
    left: 15%;
    top: 50%;
    transform: translateY(-50%);
}

.menu-button:hover .circle {
    transform: scale(60);
    z-index: -1;
}

#menu {
    display: none;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    position: absolute;
    top: 70px;
    left: 0;
    z-index: 1;
    width: 100%;
    background-color: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 0;
    padding: 0 20px;
    transition: opacity 0.5s ease-in-out, max-height 0.5s ease-in-out;
}

#menu ul {
    list-style: none;
    padding: 0;
}

#menu ul li {
    margin: 10px 0;
    text-align: center;
}

#menu ul li a {
    text-decoration: none;
    color: black;
    font-size: 1.2rem;
    display: block;
    padding: 10px;
}

#menu ul li a:hover {
    background-color: #f0f0f0;
    color: red;
}

#menu.show-menu {
    display: block;
    opacity: 1;
    max-height: 500px;
    padding: 20px;
    transition: opacity 0.5s ease-in-out, max-height 0.5s ease-in-out;
}

@media (min-width: 768px) {
    #menu ul {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #menu ul li {
        margin: 0 20px;
    }

    #menu ul li a {
        padding: 10px 20px;
    }
}
@media(max-width:768px){
    .menu-button{
        font-size: 1rem;
        padding: 10px 35px;
    }
}
#lottie-animation {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding-top: 80px;
}



.visible {
    stroke-dashoffset: 0;
}

/* about */
.about{
    margin-top: 100px;
    padding-top: 300px;
    padding-bottom: 240px;
    background-image: url(http://xs366884.xsrv.jp/wp-content/uploads/2024/10/sec2_bg.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
}

#new-approach{
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute;
    top: -5%;
    right: -50px;
}
#new-approach svg{
    max-width: 1100px;
    width: 100%;
}
.about_img{
    display: block;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}
.about_text{
    max-width: 950px;
    width: 100%;
    margin: 50px auto 0;
    text-align: left;
    font-size: clamp(1.3125rem, 0.8125rem + 1.0417vw, 2.0625rem);
    line-height: 1.7;
    color: #ffffff;
}

.custom-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 50px;
    background-color: transparent;
    color: white;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    position: relative;
    overflow: hidden;
}

.custom-button .red-dot {
    width: 8px;
    height: 8px;
    background-color: red;
    border-radius: 50%;
    margin-right: 10px;
    transition: transform 0.3s;
}

.custom-button:hover {
    background-color: red;
    color: white;
}

.custom-button:hover .red-dot {
    transform: scale(1.5);
}
.hover-button{
    position: relative;
    cursor: pointer;
    overflow: hidden;
    margin-top: 10%;
    display: block;
    padding: 30px 40px;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 56px;
    font-size: 1.4rem;
    z-index: 10;
    text-decoration: none;
    max-width: 350px;
    margin: 60px auto 0;
    text-align: center;
}
.hover-button .circle{
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #ED1425;
    border-radius: 50%;
    margin-right: 10px;
    transform: scale(1);
    transition: transform 0.3s ease-out;
    position: absolute;
    left: 15%;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
}
.hover-button:hover .circle {
    transform: scale(60);
}
@media(max-width:1021px){
    .about_text{
        max-width: 750px;
    }
}
@media(max-width:768px){
    .about{
        margin-top: 50px;
        padding-top: 200px;
        padding-bottom: 70px;
    }
    .about_text{
        max-width: 80%;
        line-height: 2.5;
    }
    #new-approach{
        top: -3%;
        right: -25px;
    }
}
@media(max-width:428px){
    .hover-button{
        padding: 15px 30px;
        max-width: 200px;
    }
    #new-approach{
        right: -15px;
    }
}

/* business */
.business{
    background: #E3E3E3;
    padding-top: 170px;
    padding-bottom: 110px;
}
.business-list{
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    max-width: 90%;
    margin: 0 auto;
    gap: 10px;
}
.business-item{
    flex: 1 1 20%;
    max-width: 430px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    border-right: 1px solid #212121;
}
.business-item:hover{
    transform: translateY(-10px);
    background: #DDDDDD;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
    filter: brightness(0.85);
}
.business a{
    display: block;
}
.business-item a img{
    max-width: 220px;
    width: 100%;
    object-fit: cover;
}
.business-item p:nth-child(2){
    padding-top: 50px;
}
.business-item p span{
    font-size: clamp(1.375rem, 1.2081rem + 0.712vw, 2.0625rem);
    color: #000000;
    transition: color 0.3s ease;
    max-width: 100%;
    display: inline-block;
}
.business-item p {
    font-size: clamp(1.125rem, 0.8975rem + 0.9709vw, 1.5rem);
    color: #E50012;
}
.business-item:hover p span{
    color: #212121;
}
.business-item p:nth-child(3){
    text-align: center;
}
@media(max-width:1280px){
    .business-list{
        max-width: 95%;
        justify-content: center;
    }
}
@media(max-width:1080px){
    .business{
        padding-top: 130px;
        padding-bottom: 80px;
    }
    .business-item{
        flex: 1 1 40%;
    }
}
@media(max-width:768px){
    .business{
        padding-top: 70px;
        padding-bottom: 50px;
    }
    .business-list{
        justify-content: space-around;
        max-width: 98%;
    }
    .business-item{
        flex: 1 1 45%;
        max-width: 45%;
        border-right: none;
        padding: 10px;
        height: 260px;
    }
    .business-item a img{
        max-width: 150px;
    }
    .business-item p:nth-child(2){
        padding-top: 30px;
    }
    .business-item p:nth-child(3){
        text-align: center;
    }
}
@media(max-width:428px){
    .business-item p span{
        font-size: 20px;
    }
    .business-item p{
        font-size: 16px;
        text-align: center;
    }
}

/* news */
.News{
    padding-top: 130px;
    background: #F7F7F7;
}
.News h2{
    line-height: 1;
    font-weight: 500;
}
.sub-title{
    font-size: clamp(1.5rem, 1.0417rem + 0.9549vw, 2.1875rem);
    color: #ED1425;
    font-weight: normal;
}
.news-box{
    display: flex;
    justify-content: end;
    align-items: center;
    position: relative;
    padding-bottom: 130px;
}
.news-list ul{
    list-style: none;
}
.news-list ul li{
    padding: 50px 20px;
    border-bottom: 1px solid #e3e3e3;
}
.news-list ul li a{
    font-size: clamp(1.125rem, 0.75rem + 0.7813vw, 1.6875rem);
}
.news-day{
    padding: 4px 23px 3px 60px;
    background-color: #212121;
    border-radius: 21px;
    color: #FFFFFF;
    font-weight: 400;
    font-size: clamp(1rem, 0.625rem + 0.7813vw, 1.5625rem);
}
.news-item{
    margin-left: 80px;
    font-weight: 400;
    color: #212121;
}
.news-list{
    width: 70%;
}
.view-button-box{
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    max-width: 350px;
}
.view-button {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    display: block;
    padding: 30px 40px;
    margin-top: 50px;
    color: #000;
    border-radius: 56px;
    font-size: 1.4rem;
    background: linear-gradient(145deg, #e0e0e0, #ffffff); /* 上部が暗く、下部が明るく */
    box-shadow:
        0px 4px 10px rgba(0, 0, 0, 0.2),  /* 外側の影 */
        inset 3px 3px 5px rgba(255, 255, 255, 0.8),  /* 下側の光 */
        inset -2px -2px 5px rgba(0, 0, 0, 0.2);  /* 上側の内側の影 */
    z-index: 5;
    transition: all 0.3s ease;  /* スムーズなトランジション */
    max-width: 350px;
    text-align: center;
}

.view-button button {
    background: none; /* ボタン自体の背景はなし */
    border: none;
    outline: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.view-button button:hover {
    color: #fff;
}

.view-button .circle {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #ED1425;
    border-radius: 50%;
    transform: scale(1);
    transition: transform 0.3s ease-out;
    position: absolute;
    left: 15%;
    top: 50%;
    transform: translateY(-50%);
}

.view-button:hover .circle {
    transform: scale(60);
    z-index: -1;
}
@media(max-width:768px){
    .news-list{
        width: 100%;
    }
    .view-button-box{
        max-width: 250px;
    }
    .view-button{
        max-width: 250px;
        padding: 20px 30px;
        margin-top: 30px;
    }
}
@media(max-width:585px){
    .news-day{
        padding: 3px 18px 2px 30px;
    }
    .news-item{
        margin-left: 30px;
    }
    .news-list-ul li{
        padding: 30px 10px;
    }
}
/* Recruit */
.Recruit{
    padding-bottom: 110px;
}
.Recruit-mv{
    max-width: 1800px;
    width: 95%;
    position: relative;
    left: 0;
}
.Recruit-box{
    padding-top: 50px;
    position: relative;
    padding-bottom: 140px;
}
.Recruit h2{
    line-height: 1;
}
@media(max-width:768px){
    .Recruit{
        padding-bottom: 50px;
    }
    .Recruit-box{
        padding-top: 30px;
        padding-bottom: 100px;
    }
    .Recruit-mv{
        width: 100%;
    }
}
/* footer */
footer{
    background: #ED1425;
    position: relative;
    padding-bottom: 10px;
    padding-top: 70px;
}
.f-nav{
    padding-bottom: 60px;
}
.f-nav ul li{
    font-size: 1rem;
    padding: 5px 0;
}
.f-nav a{
    color: #FFFFFF;
    font-size: clamp(1.25rem, 0.7917rem + 0.9549vw, 1.9375rem);
}
.small{
    position: absolute;
    bottom: 10px;
    right: 15%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
small{
    color: #FFFFFF;
    font-size: clamp(0.3375rem, 0.6506rem + 0.9724vw, 0.8375rem);
    text-align: left;

}
small span{
    margin-left: 10px;
}
@media(max-width:768px){
    footer{
        padding-bottom: 50px;
        padding-top: 30px;
    }
}
@media(max-width:500px){
    small{
        text-align: center;
        display: block;
        width: 100%;
        margin: 0 auto;
    }
    small span{
        margin-left: 0;
    }
    .small{
        position: static;
    }
}