* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN","Hiragino Sans", "Noto Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 80%;
    margin: 0 auto;
    max-width: 1200px;
}

.hero {
    background:  url('images/hero_01.png') ;
    background-size: cover;
    background-position: center;
    padding: 150px 0;
    text-align: center;
    height: 40vw;
}

.hero a {
    position: absolute;
    display: block;
    width: 447px;
    margin: 0 auto;
    top: 30vw;
    left: 0;
    right: 0;
    font-size: 1.4rem;
    font-weight: bold;
}

.hero a img{
    width: 100%;
}
.hero h1 {
    font-size: 2.5rem;
    writing-mode: vertical-rl;
    position: absolute;
    right: 10%;
    top: 30px;
    text-align: left;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.hero h1 + p {
    writing-mode: vertical-rl;
    position: absolute;
    right: calc(10% + 14rem);
    top: 30px;
    text-align: left;
}

.rotate {
    transform: rotate(90deg);
    text-align: left;
    position: absolute;
    top: 220px;
    left: -18px;
}
.rotate p {
    font-size: 2rem;
    color: #fff
}

.cta-btn {
    background-color: #ffc107;
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.cta-btn:hover {
    background-color: #e0a800;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cta-btn-secondary {
    display: flex;
    color: #007bff;
    text-decoration: none;
    border: 2px solid #007bff;
    padding: 10px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    justify-content: center;
    width: 300px;
    margin: 20px auto;
}

.cta-btn-secondary:hover {
    background-color: #007bff;
    color: #fff;
}

section {
    padding: 80px 0;
    /*background: url(./images/jtp8b.jpg);*/
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.problems {
    /**background:  url('https://hifi.co.jp/assets/img/img-bg-texture.png') ;**/
    text-align: center;
    padding: 80px 0;
}

.problem-list {
    list-style: none;
    padding: 0;
}
.problems img{
    width: 200px;
    margin-top: 20px;
}

.problem-list li {
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding: 15px;
    background-color: #e1e1e1;
    border-radius: 5px;
    max-width: 600px;
    margin: 0 auto 15px;
    font-weight: bold;
}

.benefits {
    background:url(./images/seigaiha01a_853×315.png);
    background-color:rgba(255,255,255,0.7);
    background-blend-mode:lighten;
    text-align: center;
    padding: 80px 0;
}

.benefit-item {
    display: inline-block;
    width: 30%;
    margin: 0 1.5%;
    padding: 40px 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.benefit-item img {
    width: auto;
    height: 150px;
    margin: 10px auto;
}

.benefit-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.benefit-item p , .process-step p , .specialist-item p{
    text-align: left;
}

.process {
    /**background:  url('https://hifi.co.jp/assets/img/img-bg-texture.png') ;**/
    text-align: center;
}

.process-step {
    display: inline-block;
    width: 380px;
    margin-bottom: 40px;
    padding: 40px 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.15);
}

.process-step img {
    width: auto;
    height: 150px;
    margin-bottom: 20px;
}
.process-step h3 {
    margin-bottom: 20px;
}

.step_label {
    display: block;
    background-color: #007bff;
    color: #fff;
    border-radius: 6px;
    width: 200px;
    margin: 0 auto ;
}

.testimonials {
    background-color: #f8f9fa;
    text-align: center;
    padding: 60px 0;
}

.testimonial-item {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.list_flex {
    max-width: 1040px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.list_flex2{
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.contact {
    background: -webkit-linear-gradient(294deg, #6bb7ff, #9ad8ed);
    padding: 40px 0;
    text-align: center;
    color: #FFF;
}

.contact a {
    font-weight: bold;
}

.btn {
    display: inline-block;
    padding: 10px 40px;
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 20px;
    margin-top: 20px;
    text-decoration: none;
}

.case-studies {
    background:url(./images/seigaiha01a_853×315.png);
    background-color:rgba(255,255,255,0.7);
    background-blend-mode:lighten;
    text-align: center;
    padding: 80px 0;
}

.horizontal_scroll {
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 12px 8px;
    display: -ms-flexbox;
    display: flex; 
    list-style: none;
}

.case-studies .container{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.case-item {
    margin-bottom: 30px;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.15);
    min-width: 450px;
    margin-right: 20px;
    margin-top: 5px;
}

.case-item h3 {
    margin-bottom: 20px;
}

.case-studies h2 {
    width: 100%;
}

.case-item img {
    width: 100%;
    height: 250px;
}

.case-item p{
    text-align: left;
}

.specialists {
    /**background:  url('https://hifi.co.jp/assets/img/img-bg-texture.png') ;**/
    text-align: center;
    padding: 80px 0;
}

.specialists .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.specialists h2 {
    width: 100%;
}

.specialists img {
    width: 300px;
}

.specialist-item {
    background:  url('https://hifi.co.jp/assets/img/img-bg-texture.png') ;
    margin-bottom: 30px;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    width: 700px;
    display: flex;
    flex-wrap: wrap;
}
.specialist-item > div {
    display: flex;
    width: 300px;
    flex-wrap: wrap;
    text-align: left;
    padding: 0 0px 0 20px;
    flex-direction: column
}

.specialist-item h3{
    width: 300px;
}

.faq {
    background:url(./images/seigaiha01a_853×315.png);
    background-color:rgba(255,255,255,0.7);
    background-blend-mode:lighten;
    text-align: center;
    padding: 80px 0;
}

.faq-item {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.15);
}


footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}
footer a {
 text-decoration: none;
 color: #FFF;
 font-weight: bold;
}

.sp{
    display: none !important;
}
@media (max-width: 767px) {
    .sp{
        display: block !important;
    }
    .pc{
        display: none !important;
    }
    .benefit-item ,.process-step {
        width: 90%;
        margin: 0 auto 20px;
    }
    .problem-list li{
        font-size: 1rem;
    }
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
    .hero h1 + p {
        right: calc(10% + 7rem);
    }
    .hero {
        background: url(images/hero_01_sp.png);
        background-size: cover;
        height: 98vw;
    }
    .specialist-item{
        width: 100%;
    }
    .specialists img {
        width: 100%;
    }
    .specialist-item > div ,.specialist-item h3{
        width: 100%;
    }
    .hero a{
        top: 65vw;
        width: 80%;
        font-size: 1.2rem;
    }
}