

/*######################################################################
共通設定
######################################################################*/

:root {
    --width__main-content: min(100%, 1000px);
    --color__accent: #FF7BAC;
}

/* コンテンツ全体の調整 */
body {
    width: 375px;
    /* width: min(100%, 1440px); */
    margin-inline: auto;
    font-family: "yu-gothic-pr6n", sans-serif;
    color: #535353;

    &.page { /* bodyが .page というクラス名を持っているときだけ */
        margin: 0 auto;
    }
}


h1, h2 {
    margin: 0;
}

p, a, ul, ol, table {
    /* 400-768 */
    /* font-size: clamp(0.875rem, 0.739rem + 0.543vw, 1rem); */
}

/* imgタグの調整 */
img {
    vertical-align: top;
    width: 100%;
    margin-top: -1px;
}

.sp {
    display: none;
}

@media (max-width: 767px) {
    .pc {
        display: none;

    }
 }


/* 折り返し */
/* PC版でのみ表示 */
.pc {
    display: inline; /* PCでは表示 */
}

@media (max-width: 767px) {
    .pc {
        display: none; /* SPでは非表示 */
    }
}
/* SP版でのみ表示 */
.sp {
    display: none; /* PCでは非表示 */
}

@media (max-width: 767px) {
    .sp {
        display: inline; /* SPでは表示 */
    }
}

span.strong {
    font-weight: bold; /* 太字にする */
    font-size: 1em;  /* 強調のためにサイズを若干大きく（任意） */
}

/*------------------------------------------------------------
スクロールアニメーション
------------------------------------------------------------*/

/* フェードイン */
.fadein {
    opacity: 0;
    animation: fadein 1s ease-in forwards;
}

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fadein-scrollin {
    opacity: 0;
    transform: translate(0, 0);
    transition: all 1.5s;


    &.scrollin-left {
        transform: translate(-30px, 0);
    }

    &.scrollin-right {
        transform: translate(30px, 0);
    }

    &.scrollin-bottom {
        transform: translate(0, 30px);
    }

    &.scrollin {
        opacity: 1;
        transform: translate(0, 0);
    }
}

/*######################################################################
コンテンツ
######################################################################*/
html { scroll-behavior: smooth;}

/*------------------------------------------------------------
header
------------------------------------------------------------*/
.site-header {
    display: flex;
    justify-content: space-between;
    place-items: center;
    width: min(100%, 375px);
    padding: 0;
    margin-inline: auto;
}


/*------------------------------------------------------------
achievements
------------------------------------------------------------*/
.achievements {
    position: relative;
}
.slider-wrapper {
    overflow: hidden;
}
.slider {
    display: flex;
    width: max-content;
    animation: scroll-left 60s linear infinite;
}
.slider img {
    max-height: 103px; /* 見た目基準 */
    width: auto;
    height: auto;
    flex-shrink: 0;
}
/* 下段だけ逆方向 or 速度変更も可 */
.row2 {
    /* animation-direction: reverse;
    animation-duration: 75s; */
}

@keyframes scroll-left {
    100% {
        transform: translateX(-50%);
    }
}


/*------------------------------------------------------------
cta
------------------------------------------------------------*/
.cta {
    position: relative;
}
.cta01__btn {
    position: absolute;
    width: 95%;
    top: 49%;
    left: 50%;
    transform: translateX(-50%);
}

.cta05__btn {
    position: absolute;
    width: 96%;
    top: 80%;
    left: 50%;
    transform: translateX(-50%);
}
/*------------------------------------------------------------
faq
------------------------------------------------------------*/
.faq {
    background-color: #000;
    padding: 17px 15px 30px;
}

.faq_h2 {
    width: 97%;
}
.custom-accordion {
  display: grid;
  margin-top: 5%;
  gap: 18px;
}
.custom-accordion .accordion-item {
  width: 100%;
}
.custom-accordion .accordion-toggle {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: block;
  height: auto;
  overflow: visible;
}
.custom-accordion .accordion-img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}
.custom-accordion .accordion-toggle.is-open { }

/*------------------------------------------------------------
contact
------------------------------------------------------------*/
.contact {
    background-color: #000;
    padding: 8% 0;
}

.contact_h2 {
    width: 65%;
    margin: 0 auto;
}

/* フォーム */
.form-area {
    margin-top: 30px;
    font-weight: bold;
}

/* フォーム全体 */
.wpcf7-form {
    width: 92%;
    margin: auto;
    padding: 5px 15px 15px;
    font-size: 13px;
    color: #535353;
    background-color: #fff;
}

.wpcf7-form p {
    /* margin-top: 12px; */
}

/* 入力フィールド */
.wpcf7 input, .wpcf7 textarea {
    width: 100%;
    padding: 5px 13px;
    margin-top: 5px;
    border-radius: 5px;
    box-shadow: 0 0 6px rgba(151, 151, 151, 0.23);
    border: none;
}

/* プレースホルダーの文字色 */
.wpcf7 input::placeholder, 
.wpcf7 textarea::placeholder {
    color: #c7c4c5;
    /* font-family: Shippori Mincho; */
    font-size: 11px;
}

.wpcf7-submit {
    background: url('../images/btn_dl.webp') no-repeat center center !important;
    box-shadow: none !important;
    background-size: contain !important;
   /*  width: 348px !important; 画像の幅に合わせる */
    height: 100px !important; /* 画像の高さに合わせる */
    width: 110% !important;
    border: none !important;
    cursor: pointer !important;
    text-indent: -9999px !important; /* 文字を非表示 */
    overflow: hidden !important;
    display: inline-block !important;
    margin: -10px 0 !important;
    margin-left: -16px !important;
    padding: 0 !important;
}

.wpcf7-submit:hover {
    opacity: 0.6 !important;
}

/* エラーメッセージのデザイン */
.wpcf7-response-output {
    color: #e60000;
    border: 1px solid #e60000;
    padding: 10px;
    margin-top: 10px;
    background: #ffe6e6;
}

/* 必須 */
.required {
    font-size: 10px;
    background-color: #e60012;
    padding: 3px 8px;
    margin-left: 5px;
    color: #fff;
}

span.wpcf7-spinner {
    display: none !important;
}


/*------------------------------------------------------------
footer
------------------------------------------------------------*/
.footer {
    background-color: #f10b4b;
    padding: 0.4rem 0 1.2rem;
    color: #fff;
}

.footer__nav {
    font-size: 14px;
    letter-spacing: 0.8px;
    
    ul {
        display: flex;
        justify-content: center;
        list-style: none;
        margin: 0;
        padding: 0;

        li:not(:last-child)::after {
            content: "　";
        }
    }

    a {
        text-decoration: none;
        transition: 0.2s;
        font-size: 10px !important;
        /* font-weight: 600; */

        &:hover {
            color: lightgray;
        }
    }
}

 .copyright__p {
    text-align: center;
    /* font-weight: 700; */
    letter-spacing: 0.6px;
    font-size: 10px !important;
    margin: 0.2rem 0 0 0;
}


/*------------------------------------------------------------
thanksページ



