/* Base Styles */
:root {
    --primary-color: #14398d;
    --secondary-color: #f8d7da;
    --accent-color: #de3d2e;
    --text-color: #373737;
    --light-gray: #f5f5f5;
    --dark-gray: #6c757d;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

:root {
    --ff-default: "Noto Sans JP", "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;
    --ff-sans-serif: var(--ff-default);
    --ff-serif: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
    --fz-default: 16px;
    --fw-default: 400;
    --c-default: #343434;
    --lh-default: 1.5;
    --lts-default: .1em;
    --content-section-default: 120px;
    --content-inner-default: 88.888888888%;
    --content-inner-width-default: 1000px;
    --heading-fw-default: 700;
    --heading-lh-default: var(--lh-default);
}

@media (max-width: 1024px) {}
@media (max-width: 767px) {
    :root {
        --lts-default: 0;
        --content-section-default: 80px;
        --content-inner-default: 86.666666666%;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    
    overflow-x: hidden;
}

/* ------------------------------
 common
------------------------------ */

.container {
    width: var(--content-inner-width-default);
    max-width: var(--content-inner-default);
    margin-left: auto;
    margin-right: auto;
}

.section {
    padding: var(--content-section-default) 0;
    text-align: center;
}

.section-title {
    text-align: center;
    font-size: 48px;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
}

.contact .section-title {
    position: relative;
    padding-bottom: 15px;
}

.contact .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.detail-txt {
    font-size: 18px;
    line-height: 2;
}

@media (max-width: 767px) {

    .section-title {
        font-size: 28px;
    }

    .detail-txt {
        font-size: 16px;
        text-align: left;
    }
}


/* ------------------------------
 header
------------------------------ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    text-align: center;
}

.header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.header-title {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-color);
    margin: 0 0 .625rem 0;
    line-height: 1.4;
}

.logo {
    margin: 0;
}

.logo img {
    max-height: 60px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.header-banner {
    position: fixed;
    bottom: 0;
    right: 100px;
    z-index: 101;
    pointer-events: none;
}

.header-banner a {
    display: block;
    pointer-events: auto;
}

.header-banner picture {
    display: block;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    -webkit-transition: 300ms;
    -o-transition: 300ms;
    transition: 300ms;
}

.header-banner picture::before {
    position: absolute;
    content: '';
    display: inline-block;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: rgba(255, 255, 255, .5);
    -webkit-transition: 300ms;
    -o-transition: 300ms;
    transition: 300ms;
    -webkit-animation: shinyshiny 5s ease-in-out infinite;
            animation: shinyshiny 5s ease-in-out infinite;
}

@-webkit-keyframes shinyshiny {
    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; }
}

@keyframes shinyshiny {
    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: 767px)  {

    .header {
        padding: .625rem 0;
    }

    .header-title {
        margin: 0 0 .3125rem 0;
        font-size: 10px;
    }

    .logo img {
        max-height: 40px;
    }

    .header-banner {
        right: 60px;
        left: 10px;
    }
}

/* ------------------------------
 main
------------------------------ */
#main {
    margin-left: auto;
    margin-right: auto;
}

/* ------------------------------
 footer
------------------------------ */

.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3.75rem 0;
    text-align: center;
}


.footer-logo {
    margin-bottom: 1rem;
    width: 212px;
    display: inline-block;
}

.footer-nav ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 1.25rem;
    font-size: 18px;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.copyright {
    padding-top: 3.75rem;
    font-size: 14px;
}

@media (max-width:1024px)  {
    .footer {
        padding: 3.75rem 0 11.25rem 0;
    }
}

@media (max-width:767px) {
    .footer {
        padding: 1.25rem 0 5rem 0;
    }

    .footer-logo {
        width: 120px;
    }
}

/* ------------------------------
 totop
------------------------------ */
#totop {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 99;
    text-align: center;
}

#totop a {
    display: inline-block;
}

#totop svg {
    width: 80px;
    height: 80px;
}

@media (max-width:1024px) {
    #totop svg {
        width: 60px;
        height: 60px;
    }
}
@media (max-width:767px) {
    #totop svg {
        width: 40px;
        height: 40px;
    }
}

/* ------------------------------
 reason
------------------------------ */

.reason {
    background-color: var(--light-gray);
}

.reason .section-title {
    font-size: 40px;
}

/* ------------------------------
 feature
------------------------------ */

.feature {
    padding: 0;
}

.feature .section-title {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2.5rem 1.25rem;
    margin-bottom: 0;
}

.feature-item {
    padding: 7.5rem 0;
    background-size: cover;
}

.feature-item:nth-of-type(1) {
    background-image: url(../images/feature-bg01.webp);
}

.feature-item:nth-of-type(2) {
    background-image: url(../images/feature-bg02.webp);
}

.feature-item:nth-of-type(3) {
    background-image: url(../images/feature-bg03.webp);
}

.feature-item-inner {
    text-align: left;
}

.feature-item:nth-of-type(2) .feature-item-inner {
    margin-left: auto;
    max-width: 740px;
    margin-right: 2.5rem;
}

.feature-number {
    font-size: 64px;
    font-weight: 700;
    color: var(--primary-color);
}

.feature-item h3 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
}

.feature-item h3 span {
    color: var(--accent-color);
}

/* ------------------------------
 service
------------------------------ */
.service {
    background-color: var(--light-gray);
}

.service-lead {
    margin-bottom: 3.75rem;
}

.service-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 1.875rem;
}

.service-item {
    width: calc(50% - 1.875rem/2);
}

.service-img picture {
    display: block;
    width: 100%;
}

.service-img picture img {
    width: 100%;
}

.service-content {
    margin-top: 1.875rem;
    padding: 0 1.25rem;
}

.service-content h3 {
    font-size: 24px;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-content p {
    line-height: 2;
    text-align: left;
}

/* ------------------------------
 flow
------------------------------ */

.flow {
    background: linear-gradient(rgba(20,57,141, 0.6), rgba(20,57,141, 0.6)),
        url(../images/flow-bg01.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.flow .section-title {
    color: var(--white);
}

.flow-lead {
    color: var(--white);
}

.flow-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.flow-item {
    max-width: 345px;
    width: 32%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.flow-number {
    font-family: "Montserrat", sans-serif;
    font-size: 50px;
    line-height: 1;
    font-weight: 800;
    color: var(--primary-color);
    background-color: var(--white);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    position: relative;
    z-index: 2;
}

.flow-item-inner {
    background-color: var(--white);
    padding: 3.75rem 1.25rem 1.25rem 1.25rem;
    margin-top: -3.75rem;
    flex-grow: 1;
    
}

.flow-item-inner img {
    width: 150px;
    height: 100px;
}

.flow-item h3 {
    font-size: 18px;
    margin: .625rem 0;
}

.flow-item-inner > p {
    text-align: left;
    line-height: 2;
}

/* ------------------------------
 voice
------------------------------ */

/* セクション背景（画像に合わせて薄い背景を設定） */
.voice {
    background: linear-gradient(rgba(255,255,255, 0.7), rgba(255,255,255, 0.7)),
        url(../images/voice-bg01.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}


.voice-text {
    margin-bottom: 2.5rem;
}

/* スライダー外枠 */
.voice-slider {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* カードのデザイン */
.slider-item {
    padding: .635rem;
}

.voice-slider .slick-track {
  display: flex;
}

.voice-slider .slick-slide {
  height: auto;
}

.voice-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem 1.875rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.user-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

.user-icon img {
    width: 100%;
}

.user-info {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 1rem;
}

.catchphrase {
    color: var(--accent-color); 
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 20px;
    min-height: 50px;
}

.comment-text {
    font-size: 18px;
    text-align: left;
}

.voice-slider .slick-prev,
.voice-slider .slick-next {
  width: 60px;
  height: 60px;
  background: var(--primary-color) !important; 
  border-radius: 50%;
  z-index: 10;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.voice-slider .slick-prev { 
    left: 16px; 
}

.voice-slider .slick-next { 
    right: 16px; 
}

.voice-slider .slick-prev:before,
.voice-slider .slick-next:before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900; 
  font-size: 20px;
  color: var(--white);
  opacity: 1;
}

.voice-slider .slick-prev:before {
  content: "\f053"; 
}

.voice-slider .slick-next:before {
  content: "\f054"; 
}

.voice-slider .slick-prev:hover,
.voice-slider .slick-next:hover {
  filter: brightness(1.1);
}

.voice-slider .slick-prev.slick-disabled,
.voice-slider .slick-next.slick-disabled {
  opacity: .35;
  cursor: default;
}


/* ------------------------------
 price
------------------------------ */

.price {
    background-color: var(--light-gray);
}

.pricing-table {
    width: 100%;
    margin-bottom: 1.25rem;
}

.pricing-table th {
    padding: 1.25rem 0;
    color: #fff;
    font-size: 28px;
    text-align: center;
    font-weight: 600;
}

/* テーマ別カラー */
.orange-theme th { background: linear-gradient(to right, #de3d2e, #e95e4f 50%, #f4a68e); }
.pink-theme th { background: linear-gradient(to right, #c71d6f, #d09693); }
.blue-theme th { background: linear-gradient(to right, #14398d, #80a1ed); }

/* バッジスタイル */
.badge {
    display: inline-block;
    background-color: #fff;
    color: #e96051; 
    padding: .3125rem  1.25rem;
    border-radius: 100px;
    font-size: 20px;
    margin-bottom: .625rem;
}
.pink-theme .badge { 
    color: #cb507e; 
}

.pricing-table tbody {
    font-size: 20px;
}

.pricing-table tbody tr {
    border-bottom: 2px solid var(--light-gray);
}

.pricing-table td {
    padding: 1.25rem 1.875rem;
}

.pricing-table tr:last-child  {
    border-bottom: none;
}

.label {
    width: 40%;
    font-weight: bold;
}

.orange-theme .label {
    background-color: #ffeae4; 
    color: #e96051;
}

.pink-theme .label {
    background-color: #ffe8e7; 
    color: #cb507e;
}

.blue-theme .label {
    background-color: #ebf6ff;
    color: var(--primary-color);
}

.value {
    width: 60%;
    background-color: var(--white);
}

.value span {
    font-size: 14px;
}

/* ------------------------------
 contact
------------------------------ */

.contact {
    background-image: linear-gradient(0deg, #14398dff, #80a1edff);
}

.contact .container {
    background-color: #ffffff;
    width: 100%;
    padding: 2.5rem 1.875rem;
    border-radius: 16px;
}

.contact-text {
    margin-bottom: 2.5rem;
}

.form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 1.25rem;
}

.main-label {
    display: block;
    font-weight: 600;
    margin-bottom: .625rem;
}

.required {
    color: #d9534f;
    margin-left: .125rem;
}

/* 入力フィールド共通 */
input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
    width: 100%;
    padding: .625rem 1rem;
    border: 1px solid var(--text-color);
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
}

.checkbox-grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 10px 1fr;
    grid-template-columns: 1fr 1fr; 
    gap: 10px;
    
}

.checkbox-grid label, 
.privacy-check label {
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;

}

.checkbox-grid input,
.privacy-check input {
    margin-right: .3rem;
}

.privacy-check {
    margin: 30px 0 20px;
}

.privacy-check a {
    color: var(--primary-color);
    text-decoration: underline;
}

.submit-area {
   text-align: center; 
}

.submit-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1rem 0;
    font-size: 20px;
    letter-spacing: 2px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.3s;
    width: 100%;
}

/* ------------------------------
 thanks
------------------------------ */
.thanks {
    padding-top: 12.5rem;
}

.thanks .container > img {
    width: 160px;
}

/* ------------------------------
 max-width: 1024px
------------------------------ */
@media (max-width: 1024px) {

    .flow-item {
        width: calc(50% - 1.25rem / 2);
    }

}

/* ------------------------------
 max-width: 767px
------------------------------ */

@media (max-width: 767px) {

    .reason .section-title {
        font-size: 24px;
    }

    .reason-text {
        font-size: 16px;
        text-align: left;
    }

    .feature .section-title {
        padding: 1.25rem .625rem;
    }

    .feature-item {
        padding: 3.75rem 0;
    }

    .feature-item:nth-of-type(1) {
        background-image: url(../images/sp/feature-bg01.png);
    }

    .feature-item:nth-of-type(2) {
        background-image: url(../images/sp/feature-bg02.png);
    }

    .feature-item:nth-of-type(3) {
        background-image: url(../images/sp/feature-bg03.png);
    }

    .feature-item:nth-of-type(2) .feature-item-inner {
        max-width: var(--content-inner-default);
        margin-left: auto;
        margin-right: auto;
    }
    .feature-number {
        font-size: 48px;
    }

    .feature-item h3 {
        font-size: 24px;
   }

    .service-lead {
        margin-bottom: 2.5rem;
    }

    .service-list {
        gap: 2.5rem 1.25rem;
    }

    .service-item {
        width: calc(50% - 1.25rem / 2);
    }

    .service-content {
        margin-top: .625rem;
        padding: 0;
    }

    .service-content h3 {
        font-size: 18px;
        margin-bottom: .625rem;
    }

    .service-content p {
        font-size: 14px;
        line-height: 1.5;
    }

    .flow-list {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .flow-item {
        width: 100%;
        max-width: 100%;
    }

    .voice-text {
        margin-bottom: 1.25rem;
    }

    .voice-card {
        padding: 1.25rem .625rem;
    }

    .user-icon {
        width: 80px;
        height: 80px;
    }

    .user-info {
        font-size: 16px;
    }

    .catchphrase {
        font-size: 16px;
    }


    .comment-text {
        font-size: 14px;
        line-height: 1.5;
    }

    .voice-slider .slick-prev, 
    .voice-slider .slick-next {
        width: 40px;
        height: 40px;
    }

    .pricing-table th {
        font-size: 24px;
    }

    .badge {
        font-size: 16px;
        margin-bottom: 0;
    }

    .pricing-table tbody {
        font-size: 16px;
    }

    .pricing-table td {
        padding:  1.25rem .625rem;
    }

    .checkbox-grid {
        grid-template-columns: 1fr; 
    }

    .thanks {
        padding-top: 6.25rem;
    }

    .thanks .container > img {
        width: 100px;
    }
    
}



