/* ヘッダー */
/* ハンバーガーメニュー */
.mobileBtn {
    transition: all 0.8s ease;
    position: relative;
    z-index: 101;
    background-color: unset;
    width: 30px;
    height: 30px;
    display: none;
}

.mobileBtn__bar {
    width: 100%;
    height: 2px;
    content: "";
    position: absolute;
    transform: translateY(-50%);
    transition: all 0.8s ease;
    background-color: #13007E;
    left: 0;
}

.mobileBtn__bar:nth-child(1) {
    top: 25%;
}

.mobileBtn__bar:nth-child(2) {
    top: 50%;
}

.mobileBtn__bar:nth-child(3) {
    top: 75%;
}

.mobileBtn__bar.rotate:nth-child(1), .mobileBtn__bar.rotate:nth-child(3) {
    top: 50%;
}

.mobileBtn__bar.rotate:nth-child(1) {
    transform: rotate(-225deg);
}

.mobileBtn__bar.rotate:nth-child(2) {
    transform: translate(0%, -50%) scale(0);
}

.mobileBtn__bar.rotate:nth-child(3) {
    transform: rotate(225deg);
}

.mobile {
    overflow: scroll;
    width: 100vw;
    height: 100vh;
    background-color: white;
    background-size: cover;
    position: fixed;
    top: -200vh;
    right: 0;
    z-index: 98;
    transition: all 0.5s ease;
}

.mobile.down {
    top: 0;
}

.mobile__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    margin: 110px auto 0;
}

.mobile__ul {
    width: 90%;
    margin: 0 auto;
}

.mobile__li {
    font-size: 14px;
    margin: 0;
}
.mobile__li > a {
    border-bottom: 2px solid #13007E;
    padding: 15px;
}

@media (max-width: 768px) {
    .mobileBtn {
        display: block;
    }
}

.header {
    position: fixed;
    width: 100%;
    z-index: 9999;
    padding: calc((20 / 1400)* 100vw) 0;
    background-color: white;
}
.header__inner {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header__logo {
    width: calc((150 / 1400)* 100vw);
}
.header__ul {
    display: flex;
    align-items: center;
}
.header__li > a {
    margin: 0 calc((20 / 1400)* 100vw);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.header__li > a:after {
    content: "";
    width: 80%;
    height: calc((2 / 1400)* 100vw);
    background-color: #1A3A69;
    margin-top: calc((5 / 1400)* 100vw);
}

@media (max-width: 768px) {
    .header {
        height: 50px;
    }
    .header__logo {
        width: 110px;
    }
    .header__ul {
        display: none;
    }
    .header__li > a:after {
        display: none;
    }
}

/* 共通パーツ */
.cv-btn-wrapper.pc {
    display: flex;
}
.cv-btn-wrapper.sp {
    display: none;
}

.cv-btn {
    margin: 0 calc((15 / 1400)* 100vw);
}
.cv-btn:nth-child(1) {
    width: calc((390 / 1400)* 100vw);
}
.cv-btn:nth-child(2) {
    width: calc((260 / 1400)* 100vw);
}
.cv-btn:nth-child(3) {
    width: calc((390 / 1400)* 100vw);
}

.cv-banner {
    width: calc((650 / 1400)* 100vw);
}

.cv-btn {
    position: relative;
    z-index: 1;
    text-decoration: none;
    transition: .5s;
    color: #fff;
}

.cv-btn::before,
.cv-btn::after {
    content: "";
    position: absolute;
    top: calc((-3 / 1400)* 100vw);
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    z-index: -1;
    background: linear-gradient(45deg, rgba(26, 58, 105,0.2), rgba(26, 58, 105,0.2), rgba(26, 58, 105,0.2), rgba(26, 58, 105,0.2), rgba(26, 58, 105,0.2));
}

.cv-btn::before {
    animation: anime 1s ease-out infinite;
}

.cv-btn::after {
    animation: anime 1s ease-out 1s infinite;
}

@keyframes anime {
    0%   { transform: scale(.95); opacity: 1; }
    90%  { opacity: .1; }
    100% { transform: scale(1.1,1.2); opacity: 0; }
}


/* main */
.main {
    padding-top: calc((70 / 1400)* 100vw);
    overflow: hidden;
}

/* fvセクション */
.fv__inner {
    width: calc((1310 / 1400)* 100vw);
}

.fv .cv-btn-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc((25 / 1400)* 100vw);
}

/* worksセクション */

.company-logo__flow-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    background-color: white;
}

.company-logo__flow {
    display: flex;
    width: max-content;
    animation: company-logo-scroll 20s linear infinite;
}

.company-logo__set {
    display: flex;
    gap: calc((20 / 1400)* 100vw); /* ロゴ間のスペース */
}

.company-logo__flow img {
    height: auto;
    object-fit: contain;
    width: 100px;
    margin: 0px 5px;
}

@keyframes company-logo-scroll {
    0% {
        transform: translateX(0); /* 画面全体に表示された状態で開始 */
    }
    100% {
        transform: translateX(-50%); /* 画像1セット分スクロール */
    }
}

/* works02セクション */
.works02 {
    background-image: url(../img/works02-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.works__container {
    width: calc((700 / 1400)* 100vw);
}

/* nayamiセクション */
.nayami__contents {
    width: calc((720 / 1400)* 100vw);
}

.nayami__txt > span::after {
    content: "";
    width: 102%;
    height: calc((25 / 1400)* 100vw);
    background-color: #F2D378;
    position: absolute;
    bottom: calc((-5 / 1400)* 100vw);
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

/* aboutセクション */
.about {
    background-image: url(../img/about-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.about__wrapper {
    width: calc((900 / 1400)* 100vw);
}

.about__contents {
    border-radius: calc((20 / 1400)* 100vw);
    border-top-left-radius: unset;
    background-color: #1A3A69;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: calc((25 / 1400)* 100vw) calc((30 / 1400)* 100vw);
}

.about__img {
    width: calc((350 / 1400)* 100vw);
    height: calc((210 / 1400)* 100vw);
}
.about__img > img {
    border-radius: calc((20 / 1400)* 100vw);
}

.about__num {
    position: absolute;
    top: calc((-42 / 1400)* 100vw);
    left: 0;
    width: calc((130 / 1400)* 100vw);
}

.about__contents:nth-child(2n) {
    border-top-right-radius: unset;
    border-top-left-radius: calc((20 / 1400)* 100vw);
    flex-direction: row-reverse;
}
.about__contents:nth-child(2n) .about__num {
    left: auto;
    right: 0;
}

.about__left {
    margin-right: calc((30 / 1400)* 100vw);
}
.about__contents:nth-child(2n) .about__left {
    margin-right: 0;
    margin-left: calc((30 / 1400)* 100vw);
}


/* kinouセクション */
.kinou {
    background-color: #1A3A69;
}

.kinou__wrapper {
    gap: calc((15 / 1400)* 100vw);
    align-items: flex-start;
}

.kinou__contents {
    border: 1px solid white;
    border-radius: calc((10 / 1400)* 100vw);
    width: 18%;
}
.kinou__contents > h3 {
    width: 100%;
    height: calc((65 / 1400)* 100vw);
    border-bottom: 1px solid white;
}
.kinou__contents > h3 > img {
    width: calc((30 / 1400)* 100vw);
    margin-right: calc((8 / 1400)* 100vw);
}
.kinou__contents > ul {
    padding: calc((25 / 1400)* 100vw) calc((20 / 1400)* 100vw);
}
.kinou__contents > ul > li {
    display: flex;
    align-items: center;
    margin-bottom: calc((15 / 1400)* 100vw);
}

/* voiceセクション */
.voice {
    position: relative;
}

.voice__inner {
    background-color: #1A3A69;
    width: calc((1050 / 1400)* 100vw);
    padding-right: calc((100 / 1400)* 100vw);
    padding-left: calc((100 / 1400)* 100vw);
}

.swiper-wrapper {
    display: flex;
    align-items: flex-start;
}

.voice__content-left {
    width: calc((200 / 1400) * 100vw);
    height: calc((200 / 1400) * 100vw);
    margin-right: calc((35 / 1400) * 100vw);
    position: relative;
}
.voice__content-left > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.voice__content-right {
    width: calc((290 / 1400)* 100vw);
}

.voice__nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none; /* 中身だけクリックできるように */
    z-index: 10;
}

.voice__nav .swiper-button-prev,
.voice__nav .swiper-button-next {
    pointer-events: auto;
}

.voice__nav img {
    width: calc((60 / 1400)* 100vw);
    height: auto;
    max-width: unset;
    object-fit: contain;
}

.swiper-button-prev {
    left: calc((55 / 1400)* 100vw);
    top: calc((60 / 1400)* 100vw);
    transform: rotate(180deg);
}

.swiper-button-next {
    right: calc((55 / 1400)* 100vw);
    top: calc((60 / 1400)* 100vw);
}

.swiper-button-prev::after,.swiper-button-next::after {
    display: none !important;
}

/* comセクション */
.com__wrapper {
    position: relative;
}
.voice__nav .swiper-button-prev2,
.voice__nav .swiper-button-next2 {
    pointer-events: auto;
    position: relative;
}
.swiper-button-prev2 {
    left: calc((55 / 1400)* 100vw);
    top: calc((0 / 1400)* 100vw);
    transform: rotate(180deg);
}

.swiper-button-next2 {
    right: calc((55 / 1400)* 100vw);
    top: calc((0 / 1400)* 100vw);
}

.swiper-button-prev2::after,.swiper-button-next2::after {
    display: none !important;
}
.com__wrapper .swiper-button-prev2, .com__wrapper .swiper-button-next2 {
    top: calc((17 / 1400) * 100vw);
}

.com__content-left {
    height: calc((180 / 1400) * 100vw);
    border-radius: calc((20 / 1400)* 100vw);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25); 
}
.com__content-left > img {
    object-fit: contain;
    height: 80%;
    width: 100%;
}

.com__content-right {
}




/* faqセクション */
.faq {
    background-color: #1A3A69;
}
.faq__h2 {
    color: white;
    margin-bottom: calc((70 / 1400)* 100vw);
}

.faq__contents {
    background-color: white;
    padding: calc((50 / 1400)* 100vw) calc((70 / 1400)* 100vw);
}

.faq__q,.faq__a {
    display: flex;
}
.faq__q > span,.faq__a > span {
    display: flex;
    margin-right: calc((5 / 1400)* 100vw);
}

.faq__content {
    font-size: calc((16 / 1400)* 100vw);
    width: 100%;
    padding-bottom: calc((30 / 1400)* 100vw);
    margin-bottom: calc((30 / 1400)* 100vw);
    border-bottom: 1px solid rgb(46, 46, 46);
}
.faq__content:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.faq__q {
    margin-bottom: calc((20 / 1400)* 100vw);
    position: relative;
}
.faq__q > img {
    position: absolute;
    top: 50%;
    right: calc((5 / 1400)* 100vw);
    transform: translateY(-50%) rotate(-180deg);
    width: calc((15 / 1400)* 100vw);
}

.faq__a {
    padding: calc((20 / 1400)* 100vw);
    border: 1px solid black;
    line-height: 1.2;
}


/* お問い合わせページ */




.contact__dt {
    width: calc(30% - ((20 / 1400) * 100vw));
    margin-right: calc((20 / 1400) * 100vw);
    display: flex;
    align-items: center;
}

.contact__dt::before {
    content: "必須";
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc((50 / 1400) * 100vw);
    height: calc((25 / 1400) * 100vw);
    background-color: #FF5050;
    color: white;
    margin-right: calc((12 / 1400) * 100vw);
}
.contact__dt.not-must::before {
    opacity: 0;
}

.contact__dd {
    width: 70%;
}

/* ddフォームパターン */
.contact__dd.dd-input > p > span > input {
    padding: calc((10 / 1400) * 100vw) calc((20 / 1400) * 100vw);
    width: calc(100% - calc((40 / 1400) * 100vw));
    background-color: #ECECEC;
    border: none;
}
.contact__dd.dd-input > p > span > input::placeholder {
    color: #D3D3D3;
    font-weight: 700;
}

/* ddテキストエリアパターン */
.contact__dd.dd-txtara > p > span > textarea {
    padding: calc((10 / 1400) * 100vw) calc((20 / 1400) * 100vw);
    width: calc(100% - calc((40 / 1400) * 100vw));
    background-color: #ECECEC;
    border: none;
    height: calc((210 / 1400) * 100vw)
}
.contact__dd.dd-txtara > p > span > textarea::placeholder {
    color: #D3D3D3;
    font-weight: 700;
}

/* 送信ボタン */
.contact__btn > p > input, .contact__btn-t {
    border: 0;
    background-color: #1A3A69;
    border-radius: calc((50 / 1400)* 100vw);
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc((390 / 1400) * 100vw);
    height: calc((70 / 1400) * 100vw);
    color: white;
    margin: calc((50 / 1400) * 100vw) auto 0;
    font-size: 20px;
    letter-spacing: 0.15em;
    font-weight: 500;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25); 
}

.contact__thanks {
	    text-align: center;
    	line-height: 1.5;
}

/* フッター */

.footer {
    border-top: 1px solid #13007E;
}

.footer .header__logo {
    margin-right: calc((265 / 1400)* 100vw);
}

/* QR */
.QR {
    width: calc((372 / 1400)* 100vw);
}
.QR__a {
    width: calc((330 / 1400)* 100vw);
}


@media (max-width: 768px) {
.cv-btn-wrapper.pc {
    display: none;
}
.cv-btn-wrapper.sp {
    display: flex !important;
}

/* 共通パーツ */
.cv-btn-wrapper {
    flex-wrap: wrap;
    flex-direction: column;
}
.cv-btn {
    margin: 5px 0;
}
.cv-btn:nth-child(1) {
    width: 280px;
}
.cv-btn:nth-child(2) {
    width: 210px;
}
.cv-btn:nth-child(3) {
    width: 280px;
}

.cv-banner {
    width: 290px;
}

/* main */
.main {
    padding-top: 50px;
}

/* fvセクション */
.fv__inner {
    width: 100%;
}

.fv .cv-btn-wrapper {
    bottom: calc((30 / 375)* 100vw);
}

/* worksセクション */
.works__h2 {
    font-size: 20px;
}
.works__h2 > span {
    font-size: 30px;
}

.company-logo__set {
    gap: 20px; /* ロゴ間のスペース */
}

/* works02セクション */
.works__inner .f-46 {
    font-size: 36px;
}

.works02 p:nth-of-type(1) {
    margin-bottom: 35px;
}

.works__container {
    width: 90%;
}

/* nayamiセクション */
.nayami__contents {
    width: 70%;
    margin-bottom: 60px;
}

.nayami__txt {
    font-size: 16px;
}
.nayami__txt > span {
    font-size: 20px;
}

.nayami__txt > span::after {
    height: 10px;
    bottom: 0px;
}

/* aboutセクション */
.about__h2 {
    margin-bottom: 100px;
}

.about h3 {
    margin-bottom: 30px;
}

.about__wrapper {
    width: 100%;
}

.about__contents {
    border-radius: 20px;
    border-top-left-radius: unset;
    padding: 30px;
    flex-direction: column;
    width: calc(100% - 60px);
    margin-bottom: 100px;
}

.about__img {
    width: 270px;
    height: 160px;
    margin-top: 30px;
}
.about__img > img {
    border-radius: 20px;
}

.about__num {
    top: -33px;
    width: 100px;
}

.about__contents:nth-child(2n) {
    border-top-right-radius: unset;
    border-top-left-radius: 20px;
    flex-direction: column;
}


/* kinouセクション */

.kinou__wrapper {
    gap: 25px;
    flex-direction: column;
}

.kinou__contents {
    border-radius: 10px;
    height: auto;
    width: 80%;
    margin-right: auto;
    margin-left: auto;
}
.kinou__contents > h3 {
    width: 100%;
    height: 65px;
}
.kinou__contents > h3 > img {
    width: 30px;
    margin-right: 10px;
}
.kinou__contents > ul {
    padding: 25px;
}
.kinou__contents > ul > li {
    margin-bottom: 15px;
}

/* voiceセクション */

.voice__inner {
    width: calc(100% - 40px);
    padding-right: 20px;
    padding-left: 20px;
}

.voice__content {
    flex-direction: column;
}

.voice__content-left {
    width: 70%;
    height: auto;
    margin-right: 20px;
    margin-bottom: 30px;
}

.voice__content-right {
    width: 70%;
}

.voice__nav img {
    width: 30px;
}

.swiper-button-prev,.swiper-button-prev2 {
    left: 20px;
    top: 50px;
    z-index: 10;
}

.swiper-button-next,.swiper-button-next2 {
    right: 20px;
    top: 50px;
    z-index: 10;
}

/* comセクション */

.com__content-left {
    height: calc((180 / 375) * 100vw);
    border-radius: 20px;
}
.com__content-left > img {
    object-fit: contain;
    max-width: 70%;
    max-height: 70%;
}




/* faqセクション */
.faq__h2 {
    margin-bottom: 30px;
}

.faq__contents {
    padding: 15px;
}

.faq__q > span,.faq__a > span {
    margin-right: 5px;
}

.faq__content {
    font-size: 16px;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.faq__q {
    margin-bottom: 20px;
}

.faq__a {
    padding: 15px;
    line-height: 1.5;
}


/* フッター */


.footer .header__logo {
    margin-right: 0;
    margin-bottom: 50px;
    width: 170px;
}

.footer .header__ul {
    display: block !important;
}

.footer__top {
    flex-direction: column;
}

.footer .header__li {
    margin-bottom: 15px;
}



/* お問い合わせページ */
    .contact__content-wrapper {
        width: 100%;
    }
    
    .contact__content {
        padding: 20px;
    }
    
    .contact__content.blue {
        border: 3px solid #13007E;
    }
    .contact__content.yellow {
        border: 3px solid #E3CC00;
    }
    
    .contact__content > p {
        line-height: 1.5;
    }
    
    .contact__content-two > a {
        height: auto;
        font-size: 10px !important;
        padding: 12px;
    }

    .contact__dl {
        flex-direction: column;
        margin-bottom: 30px !important;
    }
    
    .contact__dt {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    .contact__dt.not-must {
        position: relative;
        left: -49px;
    }
    
    .contact__dt::before {
        width: 40px;
        height: 20px;
        margin-right: 10px;
    }
    
    .contact__dd {
        width: 100%;
    }
    
    /* ddフォームパターン */
    .contact__dd.dd-input > p > span > input {
        padding: 10px;
        width: calc(100% - 20px);
    }
    
    /* ddテキストエリアパターン */
    .contact__dd.dd-txtara > p > span > textarea {
        padding: 10px;
        width: calc(100% - 20px);
        height: calc((600 / 1400) * 100vw)
    }
    
    /* 送信ボタン */
    .contact__btn > p > input,  .contact__btn-t {
        width: 250px;
        height: 40px;
        margin: 50px auto 0;
        font-size: 16px;
        border-radius: 50px;
    }

    /* QR */
    .QR {
        width: 300px;
    }
    .QR__a {
        width: 200px;
    }
}

