
/* 全体のスタイル */
body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

/* コンテンツ幅 */
.content {
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    max-width: 1160px;
  }
  
  :root {
    --primary-color: #990000;
    --secondary-color: #F88400;
    --shadow-color: #995100;
    --background-color: #E9E5E0;
    --text-color: #333;
  }

/* ヘッダー */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--s-white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
    width: 100%;
}

.fixed-header .content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}
h1.logo-img {
    margin: auto;
}
h1.logo-img img{
 width: 300px;    
}
.contact-info {
    display: none;
}

.menu-button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
}
.contact-info span{
    font-size: 12px;
}

.contact-info a.tel {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 20px;
}

.contact-info i {
    padding-right: 10px;
}


.contact-02 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

a.tel-sp i {
    background-color: var(--primary-color);
    color: var(--s-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* CTA */
.h-cta .shiny_btn01 {
    width: 130px;
    font-size: 12px;
    padding: 10px;
}

 /* SNS アイコン */
 .social-icons {
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 20px;
}

.social-icons i {
    font-size: 30px;
    margin-bottom: 30px;
    margin-top: 20px;
    color: var(--secondary-color);
}

/* モバイルメニュー */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    right: 0;
    width: 600px;
    background-color: var(--s-white);
    box-shadow: -2px 5px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}
.mobile-menu.active {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.mobile-menu a {
    color: var(--primary-color);
    text-decoration: none;
    padding: 10px 0;
}



        /* ハンバーガーアイコンのスタイル */
        .menu-icon {
            width: 30px;
            height: 18px;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: relative;
        }

        .menu-icon span {
            display: block;
            width: 100%;
            height: 3px;
            background-color: var(--primary-color);
            transition: all 0.3s ease-in-out;
        }

        .menu-icon.open span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .menu-icon.open span:nth-child(2) {
            opacity: 0;
        }

        .menu-icon.open span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }

        nav.mobile-menu {
            display: none;
        }

        nav.mobile-menu.open {
            display: block;
        }

        nav#mobileMenu ul {
            list-style: none;
            text-align: center;
            padding: 20px;
        }

        nav#mobileMenu ul li {
            margin-bottom: 10px;
        }

@media (max-width: 768px) {
h1.logo-img img {
    width: 215px;
}
.mobile-menu{
    width: 100%;
    top: 60px;
}
}
/* ヒーローセクション */

.skew-overlay {
    position: absolute;
    inset: 0;
    mix-blend-mode: multiply;
    background-color:#669ccd;
    transform: skewx(32deg);
    opacity: 50%;
}
.hero {
    background-image: url(../img/mv.webp);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 730px;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--s-white);
    padding: 2rem;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
}

.hero-content h2 {
    font-size: 3.5em;
    text-align: center;
}


.hero-content h2 .marker {
    background-color: var(--s-yellow);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    color: var(--text-color);
}


.hero-content h2 .shadow{
    text-shadow: 0 0 10px #00000073;
}


.scroll_down{
  position:absolute;
  bottom:1%;
  right:50%;
  animation: arrowmove 1.5s ease-in-out infinite;
}

.scroll_down a{
  position: absolute;
  left: -24px;
  bottom: 17px;
  color: var(--s-white);
  font-size: 14px;
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: .2em;
  writing-mode: vertical-rl;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll_down:before {
    content: "";
    position: absolute;
    bottom: 5px;
    right: -6px;
    width: 2px;
    height: 20px;
    background: var(--s-white);
    transform: skewX(-31deg);
}

.scroll_down:after{
  content:"";
  position: absolute;
  bottom: 5px;
  right: 0;
  width: 2px;
  height: 85px;
  background:var(--s-white);
}

@keyframes arrowmove{
   0%{bottom:1%;}
   50%{bottom:5%;}
   00%{bottom:1%;}
}



@media (max-width: 768px) {
    .hero{
        height: auto;
        min-height: 70vh;
         background-position: right top;
    }

    .hero-content {
        padding: 10px;
    }
    .hero-content h2 {
        font-size: 1.5em;
    }
    .hero-content h2 .marker {
    border-radius: .5rem;
    line-height: 2.5em;
}

    .skew-overlay{
        transform: skewx(20deg);
    }
    }



/* セクション共通 */
section {
    padding: 60px 0;
}

.content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 60px;
    font-weight: bold;
    padding-bottom: 0.2em;
    position: relative;
}

.content h2::after {
    content: '';
    background-color: var(--secondary-color);
    width: 2em;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}

@media (max-width: 768px) {
    .content h2{
        font-size: 1.6em;
            margin-bottom: 30px;
    }
}

/* 見出しデザイン2 */
h2.design02 {
    position: relative;
    padding-bottom: 50px;
    font-size: 26px;
    text-align: center;
}

h2.design02::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    width: 1px;
    height: 20px;
    background-color: var(--primary-color);
    bottom: 30px;
    opacity: 30%;
}
h2.design02::before {
    content: attr(data-en);
    display: block;
    font-size: 20px;
    text-transform: uppercase;
    color: var(--primary-color);
    opacity: 30%;
}

@media (max-width: 768px){
    h2.design02{
        font-size: 22px;
    }
}


/* お悩みセクション */
.concerns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
}

.concern-item {
    background-color: var(--background-color);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
}

.concern-number {
    background-color: var(--primary-color);
    color: var(--s-white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.concerns .txt-box {
    text-align: center;
}

@media (max-width: 768px){
.concerns .txt-box {
    text-align: left;
}
}

/* 悩みセクション 3 */
.pr3-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.pr3-img {
    aspect-ratio: 1 / 1;
    width: 200px;
}

.pr3-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}



.pr3-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 70px;
    margin-bottom: 60px;
}

/* 四角にする */
.pr3-img.square img {
    border-radius: 20px;
}

@media (max-width: 768px){
    .pr3-box {
        gap: 20px;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .pr3-img {
        width: 150px;
    }
}


/* 選ばれる理由セクション */
.reasons {
    background-color: var(--background-color);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.reason-item {
    background-color: var(--s-white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px  rgba(0,0,0,0.1);
}

.reason-number {
    background-color: var(--primary-color);
    color: var(--s-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reasons-t {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

/* 契約までのフローセクション */
.flow-steps {
    max-width: 800px;
    margin: 0 auto;
}

.flow-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
}

.flow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 36px;
    top: 70px;
    bottom: -30px;
    width: 2px;
    background-color: #e5e7eb;
}

.flow-icon {
    background-color: var(--background-color);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    font-size: 30px;
    color: var(--primary-color);
}

.flow-content {
    flex-grow: 1;
}

.step-number {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--s-white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    margin-right: 10px;
}

/* 会社情報セクション */
.company ,.concerns {
    background-color: var(--background-color);
}

.company-info {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--s-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.info-row {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
}

.info-row:nth-child(even) {
    background-color: var(--background-color);
}

.info-label {
    width: 30%;
    padding: 15px;
    font-weight: bold;
    border-right: 1px solid #e5e7eb;
    align-content: center;
    text-align: center;
}

.info-value {
    width: 70%;
    padding: 15px;
}

.info-value a {
    color: var(--primary-color);
    text-decoration: none;
}

.info-value a:hover {
    text-decoration: underline;
}

/* CTAセクション */
.cta {
    background-color: var(--primary-color);
    color: var(--s-white);
    text-align: center;
}

.cta h2 {
    color: var(--s-white);
}


/* CTA2セクション */
.cta-2 {
    color: var(--s-white);
    text-align: center;
    background-image: url(../img/cta.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 20%;
    position: relative;
    text-shadow: 0 0 10px #000000a3;
}


.cta-2 h2 {
    color: var(--s-white);
}


.shiny_btn01 {
    display: inline-block;
    position: relative;
    width: 100%;
    max-width: 350px; /* ボタン幅 */
    padding: 1em 2em;
    background-color: var(--secondary-color); /* 背景色 */
    box-shadow: 0 3px 0 0 var(--shadow-color); /* 影の色 */
    border-radius: 10px;
    font-weight: bold; /* 文字の太さ */
    color: var(--s-white); /* 文字の色 */
    text-align: center;
    text-decoration: none;
    overflow: hidden;
    transition: 0.3s;
  }
  .shiny_btn01::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: var(--s-white);
    transition: 0.2s;
    animation: shiny_btn01 3s ease-in-out infinite;
  }
  
  /* マウスオーバーした際のデザイン */
  .shiny_btn01:hover {
    text-decoration: none;
    color: var(--s-white);
    box-shadow: none;
    -webkit-transform: translateY(3px);
  }
  
  /* 光るアニメーション */
  @-webkit-keyframes shiny_btn01 {
    0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
    80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
    81% { -webkit-transform: scale(4) rotate(45deg); opacity: 1; }
    100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
  }


  @media (max-width: 768px) {

    .shiny_btn01 {
        max-width: 220px;
    }
    .cta-2{
        background-position: 50% 40%;
    }
  }
  


/* フッター */
footer {
    background-color: #1f2937;
    color: var(--s-white);
    text-align: center;
    padding: 20px 0;
}

/* レスポンシブデザイン */
@media (min-width: 768px) {
    .contact-info {
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    }

    .contact-info .icon {
        margin-right: 5px;
        color: var(--primary-color);
    }



    .menu-button {
        display: none;
    }


.balloon-005 {
    display: flex;
    justify-content: center;
    position: relative;
    max-width: 300px;
    margin-bottom: 15px;
    padding: .8em 1.2em;
    border: 3px solid var(--primary-color);
    border-radius: 5px;
    background-color: var(--s-white);
    color: #333333;
}

.balloon-005::before,
.balloon-005::after {
    position: absolute;
    bottom: -15px;
    width: 30px;
    height: 15px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
}

.balloon-005::before {
    background-color: var(--primary-color);
}

.balloon-005::after {
    bottom: -11px;
    background-color: var(--s-white);
}

.img img {
    width: 50%;
}

.img {
    display: flex;
    justify-content: center;
    margin: 60px auto;
}

@media (max-width: 768px){
    .img img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
}
/* プラン01 */
.price-card {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.price-card-content {
    display: flex;
    padding: 30px;
    gap: 20px;
}
.price-card-image {
    flex: 0 0 33%;
    margin-right: 20px;
}
.price-card-image img {
    width: 100%;
    height: auto;
    display: block;
}
.price-card-text {
    flex: 1;
}


@media (max-width: 768px) {
    .price-card-content {
        flex-direction: column;
    }
    .price-card-image {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

/* 悩み 02*/
.problem{ 
    position: relative;
}

.problem::before {
    content: '';
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 45px 60px 0 60px;
    border-color: var(--s-white) transparent transparent transparent;
    left: 50%;
    transform: translateX(-50%) translateY(70%);
}

.problem-box h3 {
    text-align: center;
    margin-bottom: 64px;
    margin-top: 48px;
    font-size: 1.8em;
}

.problem-list li {
    list-style: none;
    z-index: 10;
    width: 70%;
    padding-bottom: 16px;
}


  .problem-list {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
}


section.problem-box {
    background: var(--background-color);
}

.problem-card {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.problem-card-content {
    display: flex;
    padding: 30px;
    gap: 20px;
    background-color: var(--s-white);
}
.problem-card-image {
    flex: 0 0 33%;
    margin-right: 20px;
}
.problem-card-image img {
    width: 100%;
    height: auto;
    display: block;
}
.problem-card-text {
    flex: 1;
}


@media (max-width: 768px) {
    .problem-card-content {
        flex-direction: column;
        gap: 0px;
    }
    .problem-card-image {
        margin-right: 0;
        margin-bottom: 20px;
    }
    .problem-list {
        grid-template-columns: repeat(1, 1fr);
        padding-left: initial;
    }
    .problem-box{
        padding: 4px;
    }

    .problem-box h3 {
        font-size: 1.5em;
        margin-top: 64px;
    }
    .problem-list li{
        width: 90%;
    }
}

a {
    color: var(--secondary-color);
    text-decoration: auto;
}

a:hover{
    font-weight: bold;
}

/* サービス紹介 */
.service-box {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 60px;
}

.service-item h3 {
    margin-top: auto;
}
@media (max-width: 768px){
    .service-box{
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 0.5rem;
        margin: auto;
        justify-items: center;
        max-width: 500px;
        padding-bottom: 20px;
    }

    .service-box:nth-child(odd) {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }
}




.txt-box {
   /*  text-align: center; */
    padding: 0px 0px 80px;
    width: 65%;
    margin: auto;
}
@media (max-width: 768px){
.txt-box{
    width: 100%;
}

}

