/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* フォント設定 */
body {
    font-family: 'Zen Maru Gothic', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0e0e0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-link {
    display: block;
    text-decoration: none;
}

.logo-img {
    height: 60px;
    width: auto;
    max-width: 150px;
}

.logo-fallback {
    height: 40px;
    width: auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-announcement {
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-area {
    background: #d7f1ed;
    padding: 8px 12px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.area-label {
    color: #00a58c;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
}

.company-slogan {
    font-size: 14px;
    color: #333;
    line-height: 1.3;
    font-weight: 500;
}

.contact-info .phone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.phone-number {
    font-size: 18px;
    font-weight: 700;
    color: #4A90E2;
    line-height: 1.2;
}

.reception-time {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.contact-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.line-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    transition: transform 0.2s ease;
}

.line-button:hover {
    transform: scale(1.05);
}

.line-svg {
    height: 48px;
    width: auto;
}

.contact-form-button {
    background: #eb667c;
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 6px;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.contact-form-button:hover {
    background: #d4556a;
    transform: translateY(-2px);
}

/* メインビジュアル */
.mv {
    position: relative;
    width: 100%;
    height: 100vh; /* 画面の高さに合わせる */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: url("img/mv_pc.jpg") no-repeat center center / cover;
  background-attachment: scroll;
  }



/* 背景画像のフォールバック */
.mv::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: -1;
}

.mv::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.mv-container {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    
  }

.mv-content {
    text-align: center;
    color: white;
}

.mv-title-image {
    margin-top: 60px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.mv-img-pc {
    max-width: 85%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .mv-img-sp {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    display: none;
    margin: 0 auto;
  }

.mv-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.mv-button {
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
}

.mv-button.primary {
    background: #FF6B6B;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.mv-button.primary:hover {
    background: #FF5252;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.mv-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.mv-button.secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.highlight {
    position: relative;
    color: #333;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: #FFD700;
    opacity: 0.8;
    z-index: -1;
}

/* レスポンシブ対応 */
@media (max-width: 1030px) {
    .header-announcement {
        display: none;
    }
    
    .contact-info {
        display: none;
    }
    
    .line-button {
        display: none;
    }
    
    .header-right {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
    }
    
    .header-right {
        gap: 15px;
    }
    
    .contact-info .phone {
        display: none;
    }
    
    .contact-form-button {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .mv {
        height: calc(100vh - 60px); /* ヘッダー高さ分を引く */
        padding-top: 60px; /* 上に空間を確保 */
        background: url("img/mv_pc.jpg") no-repeat center center / cover;
        margin-top: 0;
    padding-top: 70px; /* ヘッダー高さ分 */
    height: calc(100vh - 70px);
      }
    
    .mv-container {
        padding: 20px 20px 20px 20px;
    }
    
    .mv-img-pc {
        display: none;
      }
    
      .mv-img-sp {
        display: block;
      }
    
    
    .mv-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .mv-button {
        width: 100%;
        max-width: 280px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .title-section {
        padding: 60px 0;
    }
}

/* Q&Aセクション */
.qa-section {
    padding: 120px 0 80px 0;
    background: #f7f7f0;
}

.qa-item {
    margin-bottom: 40px;
}

.qa-image-container {
    text-align: center;
    margin-bottom: 20px;
}

.qa-image {
    display: none;
    max-width: 60%;
    height: auto;
    margin: 0 auto;
}

.qa-image-pc {
    display: block;
    max-width: 80%;
    height: auto;
    margin: 0 auto;
}

.qa-image-sp {
    display: none;
    max-width: 100%;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .qa-image-pc {
        display: none;
    }
    .qa-image-sp {
        display: block;
    }
}


.question {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.answer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.character-img {
    margin: 0 20px;
}

.speech-bubble {
    max-width: 500px;
    padding: 20px;
    border-radius: 20px;
    position: relative;
}

.question-bubble {
    background: #fff;
    border: 2px solid #e0e0e0;
}

.answer-bubble {
    background: #e8f5e8;
    border: 2px solid #90EE90;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: 10px;
    width: 0;
    height: 0;
}

.question-bubble::after {
    left: -10px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #fff;
}

.answer-bubble::after {
    right: -10px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #e8f5e8;
}

/* 制作費セクション */
.pricing-section {
    padding: 80px 0;
    background: white;
}

.pricing-intro-bold {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-top: 20px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.pricing-intro {
    text-align: center;
    font-size: 18px;
    color: #333;
    margin-bottom: 60px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (max-width: 480px) {
    .pricing-intro {
        text-align: left;
    }
}

.flow-diagram {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
}

.flow-image {
    max-width: 100%;
    height: auto;
    display: block;
}

.flow-image-pc {
    display: block;
}

.flow-image-sp {
    display: none;
}

@media (max-width: 768px) {
    .flow-image-pc {
        display: none;
    }
    
    .flow-image-sp {
        display: block;
        width: 100%;
        max-width: 100%;
    }
}

.flow-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.flow-box {
    background: #4A90E2;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: 500;
    white-space: nowrap;
}

.flow-arrow {
    font-size: 24px;
    color: #4A90E2;
    font-weight: bold;
}

.pricing-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.plan-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 400px;
    position: relative;
}

.plan-ribbon {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #eb667c;
    color: white;
    padding: 8px 30px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(235, 102, 124, 0.3);
    white-space: nowrap;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.plan-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 20px;
    color: #00a58c;
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.plan-features li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.plan-features strong {
    color: #00a58c;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-price {
    font-size: 24px;
    font-weight: 700;
    color: #eb667c;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
}

.plan-price .price-line {
    display: inline;
}

.plan-price .currency {
    font-size: 18px;
    font-weight: 500;
    display: inline;
}

.tax {
    font-size: 14px;
    color: #333;
    font-weight: 400;
    margin-top: 5px;
}

.domain-server {
    text-align: center;
    background: #f7f7f0;
    padding: 30px;
    border-radius: 12px;
}

.domain-server h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.domain-description {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.6;
}

@media screen and (max-width: 768px) {
.domain-description {
    text-align: left;
    font-size: 16px;
}
}

.domain-price {
    font-size: 20px;
    font-weight: 700;
    color: #eb667c;
    margin-bottom: 15px;
}

.domain-amount {
    font-size: 28px;
    font-weight: 700;
}

.domain-currency {
    font-size: 18px;
    font-weight: 500;
}

.domain-note {
    font-size: 14px;
    color: #333;
    margin-bottom: 0;
}

/* 内容サポートセクション */
.content-support-section {
    padding: 100px 0 80px 0;
    background: #f7f7f0;
}

.support-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 40px 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.support-text {
    flex: 7;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
}

@media screen and (max-width: 768px) {
    .support-text {
        padding-left: 0px;
        padding-right: 0px;
    }
}  

.support-image {
    flex: 3;
    padding-left: 20px;
    padding-right: 20px;
}

.support-intro {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.support-quotes {
    margin-bottom: 20px;
}

.support-quote {
    border: 2px solid #00a58c;
    border-radius: 50px;
    padding: 15px 20px;
    margin-bottom: 25px;
    margin-right: 20px;
    background: transparent;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    display: inline-block;
    width: fit-content;
}

@media screen and (max-width: 768px) {
    .support-quote {
        border: 2px solid #00a58c;
        border-radius: 50px;
        padding: 15px 20px;
        margin-bottom: 25px;
        margin-right: 0px;
        background: transparent;
        font-size: 18px;
        font-weight: 700;
        color: #333;
        display: inline-block;
        width: fit-content;
    }
}  

.support-quote:last-of-type {
    margin-bottom: 20px;
}

.support-detail {
    font-size: 18px;
    margin-bottom: 0;
    color: #333;
    line-height: 1.6;
    font-weight: 700;
}

.support-explanation {
    font-size: 16px;
    margin-bottom: 0;
    color: #333;
    line-height: 1.6;
}

.support-img {
    max-width: 100%;
    height: auto;
    display: block;
}

.support-highlight {
    background: #FFB6C1;
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    font-weight: 500;
}

.support-center-text {
    text-align: center;
    margin: 40px 0;
}

.support-center-intro {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.support-center-highlight {
    font-size: 26px;
    font-weight: 700;
    color: #eb667c;
    margin-bottom: 0;
}

@media screen and (max-width: 768px) {
.support-center-highlight {
    font-size: 22px;
    font-weight: 700;
    color: #eb667c;
    margin-bottom: 0;
    
}
}

.support-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.support-service {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.support-service h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #eb667c;
}

/* 標準サービスセクション */
.services-section {
    padding: 80px 0;
    background: white;
}

.services-content {
    margin-top: 40px;
}

.standard-services, .option-services {
    margin-bottom: 60px;
}

.standard-services h3, .option-services h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.service-item:hover {
    background: #e8f5e8;
}

.service-icon {
    width: 30px;
    height: 30px;
    background: #00a58c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.option-item {
    background: #fff5f5;
}

.option-item:hover {
    background: #ffe8e8;
}

.option-icon {
    background: #eb667c;
}

/* 制作実績セクション */
.portfolio-section {
    padding: 80px 0;
    background: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
    align-items: start;
}

.portfolio-item {
    text-align: center;
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: top;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.portfolio-caption {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

/* 制作フローセクション */
.workflow-section {
    padding: 80px 0;
    background: #f7f7f0;
}

.workflow-section .section-title {
    margin-bottom: 40px;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    counter-reset: step-counter;
}

.workflow-step {
    background: white;
    padding: 30px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.workflow-step::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    top: -15px;
    left: 20px;
    width: 30px;
    height: 30px;
    background: #00a58c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    z-index: 1;
}

.workflow-step:hover {
    transform: translateY(-5px);
}

.highlight-step {
    background: #ffe5ec;
    color: #333;
}

.highlight-step h4 {
    color: #333 !important;
}

.highlight-step p {
    color: #333 !important;
}

.highlight-step::before {
    background: #eb667c !important;
}

.step-icon {
    flex-shrink: 0;
    margin-bottom: 20px;
    margin-top: 20px;
}

.flow-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.workflow-step h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.workflow-step p {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    text-align: left;
}

@media screen and (max-width: 768px) {
    .workflow-step p {
        font-size: 16px;
    }
}

.highlight-step h4,
.highlight-step p {
    color: white;
}

.timeline-info {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-info h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.timeline-period {
    font-size: 32px;
    font-weight: 700;
    color: #00a58c;
    margin-bottom: 20px;
}

.timeline-info p {
    color: #333;
    margin-bottom: 10px;
}

/* お問い合わせセクション */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-section .section-title {
    margin-bottom: 40px;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.contact-card {
    flex: 1 1 0;
    max-width: 100%;
    width: 100%;
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    box-sizing: border-box;
}

.contact-card:first-child {
    box-shadow: 0 0 20px rgba(235, 102, 124, 0.3);
}

.contact-card:last-child {
    box-shadow: 0 0 20px rgba(0, 165, 140, 0.3);
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.contact-card h3::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: #999;
}

.phone-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.phone-number {
    font-size: 28px;
    font-weight: 700;
    color: #eb667c;
}

.company-name {
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

.business-hours {
    font-size: 16px;
    color: #333;
}

.line-info {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
}

.line-image {
    max-width: 300px;
    width: 100%;
    height: auto;
}

@media (max-width: 480px) {
    .line-image {
        max-width: 80% !important;
        width: 80% !important;
        height: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
    }
}

.line-description {
    font-size: 14px;
    color: #333;
    margin-top: 15px;
    line-height: 1.6;
}

/* フッター */
.footer {
    background: #f7f7f0;
    color: #333;
    padding: 40px 0;
}

.footer-content {
    text-align: center;
}

.company-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
}

.company-name-kana {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
    display: block;
}

.company-info p {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

.website-link {
    color: #00a58c;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: block;
    margin-top: 15px;
}

.website-link:hover {
    text-decoration: underline;
}

.footer-phone {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.footer-hours {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
}

.footer-copyright {
    background: #666;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin: 0;
    width: 100%;
}

.footer-copyright p {
    font-size: 12px;
    margin: 0;
}

.footer-logo h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.footer-logo p {
    color: #ccc;
}

.footer-contact {
    text-align: right;
}

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

.footer-buttons {
    display: flex;
    gap: 15px;
}

.footer-line-button {
    background: #00C300;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.footer-line-button:hover {
    background: #00A000;
}

.footer-contact-button {
    background: #FF6B6B;
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.footer-contact-button:hover {
    background: #FF5252;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
    }
    
    .header-right {
        gap: 15px;
    }
    
    .contact-info .phone {
        display: none;
    }
    
    .contact-form-button {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .mv {
        height: 750px;
        padding-top: 0;
    }
    
    .mv-container {
        padding: 100px 20px 120px 20px;
    }
    
    .mv-img-pc {
        display: none;
    }
    
    .mv-img-sp {
        display: block;
        margin: 0 auto;
        position: relative;
        z-index: 2;
    }
    
    
    .mv-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .mv-button {
        width: 100%;
        max-width: 280px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .title-section {
        padding: 60px 0;
    }
    
    .qa-section, .pricing-section, .content-support-section, .services-section, .workflow-section {
        padding: 60px 0;
    }
    
    .flow-diagram {
        flex-direction: column;
    }
    
    .flow-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .support-content {
        flex-direction: column;
        text-align: center;
    }
    
    .pricing-plans {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .workflow-steps {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .footer-buttons {
        justify-content: center;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .phone-number {
        font-size: 24px;
    }
    
    .line-image {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .mv {
        height: 650px;
        padding-top: 0;
    }
    
    .mv-title {
        font-size: 28px;
    }
    
    .mv-subtitle {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .title-section {
        padding: 40px 0;
    }
    
    .qa-section, .pricing-section, .content-support-section, .services-section, .workflow-section {
        padding: 40px 0;
    }
    
    .speech-bubble {
        max-width: 100%;
        padding: 15px;
    }
    
    .plan-card {
        padding: 20px;
    }
    
    .support-service {
        padding: 20px;
    }
    
    .workflow-step {
        padding: 20px 15px;
    }
    
    .timeline-info {
        padding: 30px 20px;
    }
    
    .timeline-period {
        font-size: 28px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.sp-br {
    display: none; /* PCでは非表示（改行しない） */
  }
  
  @media screen and (max-width: 768px) {
    .sp-br {
      display: block; /* SPのみ改行させる */
    }
  }

  .qa-text-message {
    text-align: center;
    font-size: 18px;
  }

  @media screen and (max-width: 768px) {
    .qa-text-message {
        text-align: left;
    }
  } 

  .phone-number a {
    color: #eb667c;
    text-decoration: none;
  }

  @media screen and (max-width: 768px) {
    .phone-number a {
        color: #eb667c;
        text-decoration: none;
    }
  }

  .phone-number a:hover {
    color: #eb667c;
    text-decoration: underline;
  } 

  /* フォーム */

  .contact__block {
    padding: 60px 0;
  }
  @media screen and (max-width: 780px) {
    .contact__block {
      padding: 8px 0 40px;
    }
  }
  
  .contact__title {
    padding: 46px 0 46px;
    background: #a10000;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 68%, 50% 100%, 0 68%);
            clip-path: polygon(0 0, 100% 0, 100% 68%, 50% 100%, 0 68%);
    color: #fff;
    font-size: 2.8125rem;
    font-weight: bold;
    line-height: 1.4;
    letter-spacing: 0.02em;
    text-align: center;
  }
  @media screen and (max-width: 780px) {
    .contact__title {
      padding: 12px 0 34px;
      font-size: clamp(1.25rem, -0.1967592593rem + 6.1728395062vw, 2.8125rem);
    }
  }
  
  .contact-top__list {
    margin-top: 62px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
  }
  @media screen and (max-width: 780px) {
    .contact-top__list {
      margin-top: 18px;
      padding-inline: 8px;
      grid-template-columns: 1fr;
      gap: 26px;
      padding-inline: 8px;
      grid-template-columns: 1fr;
      gap: 26px;
    }
  }
  
  .contact-top__item-title {
    background: #efd3d3;
    padding: 6px 0;
    color: #2a2a2a;
    font-size: 1.5625rem;
    font-weight: bold;
    line-height: 1.5;
    text-align: center;
    position: relative;
  }
  @media screen and (max-width: 780px) {
    .contact-top__item-title {
      font-size: clamp(0.9375rem, 0.0694444444rem + 3.7037037037vw, 1.875rem);
      padding: 3px 0;
    }
  }
  
  .contact-top__item-title::after {
    content: "";
    width: 26px;
    height: 13px;
    background: #efd3d3;
    -webkit-clip-path: polygon(0 0, 50% 100%, 100% 0);
            clip-path: polygon(0 0, 50% 100%, 100% 0);
    position: absolute;
    bottom: -12px;
    left: 50%;
    -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
  }
  @media screen and (max-width: 780px) {
    .contact-top__item-title::after {
      width: 14px;
      height: 7px;
      bottom: -6px;
    }
  }
  
  .contact-tel__number {
    margin-top: 26px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -webkit-align-items: end;
        -ms-flex-align: end;
            align-items: end;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 12px;
  }
  @media screen and (max-width: 780px) {
    .contact-tel__number {
      margin-top: 14px;
      gap: 6px;
    }
  }
  
  .contact-tel__number::before {
    content: "";
    background: url(../img/tel-icon.png) no-repeat center/contain;
    width: 65px;
    height: 42px;
    display: inline-block;
  }
  @media screen and (max-width: 780px) {
    .contact-tel__number::before {
      width: 10.7692307692vw;
    }
  }
  
  .contact-tel__number a {
    display: block;
    color: #016128;
    font-size: clamp(2.25rem, -0.1471774194rem + 4.6774193548vw, 4.0625rem);
    font-weight: bold;
    text-align: right;
  }
  @media screen and (max-width: 780px) {
    .contact-tel__number a {
      font-size: clamp(2.625rem, 0.1944444444rem + 10.3703703704vw, 5.25rem);
    }
  }
  
  ruby rt {
    font-size: 1.125rem;
  }
  @media screen and (max-width: 780px) {
    ruby rt {
      font-size: clamp(0.75rem, 0.0625rem + 2.8205128205vw, 1.4375rem);
    }
  }
  
  .contact-tel__time {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 20px auto 0;
    padding: 2px 12px;
    border: 1px solid #016128;
    border-radius: 13px;
    color: #016128;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.5;
    text-align: center;
  }
  @media screen and (max-width: 780px) {
    .contact-tel__time {
      margin: 14px auto 0;
      padding: 1px 10px;
      font-size: clamp(0.625rem, 0rem + 2.5641025641vw, 1.25rem);
    }
  }
  
  .contact-line__text {
    margin-top: 32px;
    color: #2a2a2a;
    font-size: 1.1875rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
    letter-spacing: -0.02em;
  }
  @media screen and (max-width: 780px) {
    .contact-line__text {
      margin-top: 24px;
      font-size: clamp(0.8125rem, 0.0625rem + 3.0769230769vw, 1.5625rem);
    }
  }
  .contact-line__text span {
    font-family: "Noto Sans JP", sans-serif;
    -webkit-font-feature-settings: "palt";
            font-feature-settings: "palt";
  }
  
  .contact-line__btn {
    width: 100%;
    margin-top: 26px;
    padding-inline: 16px;
  }
  @media screen and (max-width: 780px) {
    .contact-line__btn {
      margin-top: 12px;
      padding-inline: 12px;
    }
  }
  
  .contact-line__link {
    display: block;
    width: inherit;
    max-width: 495px;
    margin-inline: auto;
    height: inherit;
    background: #3ea337;
    border-radius: 15px;
    padding: 26px 0 26px 40px;
    font-family: "Noto Sans JP", sans-serif;
    color: #fff;
    font-size: clamp(1.25rem, 0.5887096774rem + 1.2903225806vw, 1.75rem);
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
    position: relative;
    -webkit-transition: 0.3s;
    transition: 0.3s;
  }
  @media screen and (max-width: 780px) {
    .contact-line__link {
      padding: 18px 0 20px 38px;
      font-size: clamp(1rem, -0.1574074074rem + 4.9382716049vw, 2.25rem);
      letter-spacing: 0.03em;
      border-radius: 10px;
    }
  }
  
  .contact-line__link::before {
    content: "";
    width: 11.9191919192%;
    height: 58.3333333333%;
    background: url(../img/line-icon.png) no-repeat center/contain;
    position: absolute;
    left: 30px;
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
  }
  @media screen and (max-width: 780px) {
    .contact-line__link::before {
      left: 26px;
    }
  }
  
  @media (any-hover: hover) {
    .contact-line__link:hover {
      opacity: 0.7;
    }
  }
  .contact__form {
    margin-top: 130px;
  }
  @media screen and (max-width: 780px) {
    .contact__form {
      margin-top: 38px;
      padding-inline: 8px;
    }
  }
  
  .contact__list {
    margin-top: 92px;
    max-width: 1110px;
  }
  @media screen and (max-width: 780px) {
    .contact__list {
      margin-top: 10px;
      max-width: 702px;
      margin-inline: auto;
    }
  }
  
  .contact__item {
    display: grid;
    grid-template-columns: 260px 1fr;
    padding: 24px 0 24px;
    border-bottom: 1px solid #dddddd;
  }
  @media screen and (max-width: 780px) {
    .contact__item {
      grid-template-columns: 28% 72%;
      padding: 14px 0 14px;
    }
  }
  @media screen and (max-width: 500px) {
    .contact__item {
      grid-template-columns: 1fr;
      gap: 8px;
    }
  }
  
  @media screen and (max-width: 780px) {
    .contact__item:last-child {
      border-bottom: none;
    }
  }
  
  .contact__fieldset {
    display: contents;
  }
  
  .contact__label {
    padding-top: 5px;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.75;
    letter-spacing: -0.03em;
  }
  @media screen and (max-width: 780px) {
    .contact__label {
      font-size: clamp(0.75rem, 0.375rem + 1.5384615385vw, 1.125rem);
      letter-spacing: 0.03em;
      padding: 0 0 0 0;
    }
  }
  
  .contact__label .label-small {
    display: inline-block;
    margin-left: 14px;
    padding: 0 6px;
    background: #eebfca;
    border-radius: 3px;
    color: #d43353;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
  }
  @media screen and (max-width: 780px) {
    .contact__label .label-small {
      font-size: clamp(0.625rem, 0.3125rem + 1.2820512821vw, 0.9375rem);
      padding: 0 2px;
      line-height: 1.2;
      margin-left: 8px;
    }
  }
  
  .contact__input {
    width: 100%;
    max-width: 692px;
    margin-left: 16px;
    padding: 13px 12px;
    border-radius: 4px;
    border: 1px solid #c3c3c3;
  }
  @media screen and (max-width: 780px) {
    .contact__input {
      padding: 4px 6px;
      margin-left: 0;
    }
  }
  
  ::-webkit-input-placeholder {
    color: #aaaaaa;
    font-size: 0.9375rem;
    font-weight: thin;
    line-height: 1.75;
    letter-spacing: -0.03em;
  }
  
  ::-moz-placeholder {
    color: #aaaaaa;
    font-size: 0.9375rem;
    font-weight: thin;
    line-height: 1.75;
    letter-spacing: -0.03em;
  }
  
  :-ms-input-placeholder {
    color: #aaaaaa;
    font-size: 0.9375rem;
    font-weight: thin;
    line-height: 1.75;
    letter-spacing: -0.03em;
  }
  
  ::-ms-input-placeholder {
    color: #aaaaaa;
    font-size: 0.9375rem;
    font-weight: thin;
    line-height: 1.75;
    letter-spacing: -0.03em;
  }
  
  ::placeholder {
    color: #aaaaaa;
    font-size: 0.9375rem;
    font-weight: thin;
    line-height: 1.75;
    letter-spacing: -0.03em;
  }
  @media screen and (max-width: 780px) {
    ::-webkit-input-placeholder {
      font-size: clamp(0.625rem, 0.3125rem + 1.2820512821vw, 0.9375rem);
    }
    ::-moz-placeholder {
      font-size: clamp(0.625rem, 0.3125rem + 1.2820512821vw, 0.9375rem);
    }
    :-ms-input-placeholder {
      font-size: clamp(0.625rem, 0.3125rem + 1.2820512821vw, 0.9375rem);
    }
    ::-ms-input-placeholder {
      font-size: clamp(0.625rem, 0.3125rem + 1.2820512821vw, 0.9375rem);
    }
    ::placeholder {
      font-size: clamp(0.625rem, 0.3125rem + 1.2820512821vw, 0.9375rem);
    }
  }
  
  .contact__input-text {
    color: #595757;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 2.9;
    letter-spacing: -0.01em;
  }
  @media screen and (max-width: 780px) {
    .contact__input-text {
      line-height: 1.7;
    }
  }
  
  .contact__checkbox {
    width: 160px;
    font-family: "Noto Sans JP", sans-serif;
    color: #595757;
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: -0.03em;
  }
  @media screen and (max-width: 780px) {
    .contact__checkbox {
      width: 120px;
      font-size: clamp(0.75rem, 0.5625rem + 0.7692307692vw, 0.9375rem);
    }
  }
  
  .contact__textarea {
    max-width: 692px;
    margin-left: 16px;
    border: 1px solid #c3c3c3;
    border-radius: 5.7px;
    height: 198px;
    resize: none;
    padding: 16px 12px;
    font-size: 0.9375rem;
    line-height: 1.75;
  }
  @media screen and (max-width: 780px) {
    .contact__textarea {
      margin-left: 0;
      padding: 4px 6px;
    }
  }
  
  .contact__checkbox-area {
    margin-left: 16px;
    padding-top: 8px;
    max-width: 730px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
  }
  @media screen and (max-width: 780px) {
    .contact__checkbox-area {
      padding-top: 0;
      margin-left: 0;
    }
  }
  
  .contact__input-check {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    margin: 0 16px 0 0;
    width: 27px;
    height: 27px;
    vertical-align: middle;
    border: 1px solid #595757;
    border-radius: 2.56px;
    position: relative;
    top: -2px;
    -webkit-transition: 0.3s;
    transition: 0.3s;
  }
  @media screen and (max-width: 780px) {
    .contact__input-check {
      width: 14px;
      height: 14px;
    }
  }
  
  .contact__input-check:checked {
    position: relative;
  }
  
  .contact__input-check:checked::after {
    display: block;
    position: absolute;
    content: "";
    width: 12px;
    height: 4px;
    border-bottom: 3px solid #595757;
    border-left: 3px solid #595757;
    top: 46%;
    left: 6px;
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
    margin-top: -4px;
  }
  
  .contact__submit-btn-box {
    margin-top: 50px;
    width: 100%;
    max-width: 336px;
    margin-inline: auto;
  }
  @media screen and (max-width: 780px) {
    .contact__submit-btn-box {
      margin-top: 10px;
      width: 61.0256410256vw;
      max-width: 476%;
    }
  }
  
  .contact__submit-btn {
    display: block;
    width: 100%;
    background: -webkit-gradient(linear, left top, right top, from(#00a58c), to(#00a58c));
    background: -webkit-linear-gradient(left, #00a58c 0%, #00a58c 100%);
    background: linear-gradient(90deg, #00a58c 0%, #00a58c 100%);
    border-radius: 30px;
    border: 1px solid #00a58c;
    padding-block: 14px;
    font-family: 'Zen Maru Gothic', sans-serif;
    color: #fff;
    font-weight: 300;
    font-size: 1.0625rem;
    line-height: 1.75;
    text-align: center;
    -webkit-transition: 0.3s;
    transition: 0.3s;
  }
  @media screen and (max-width: 780px) {
    .contact__submit-btn {
      font-size: clamp(0.75rem, 0.1875rem + 2.3076923077vw, 1.3125rem);
      padding: 10px 0;
    }
  }
  
  @media (any-hover: hover) {
    .contact__submit-btn:hover {
      background: #fff;
      color: #2a2a2a;
    }
  }
  .contact-privacy {
    margin-top: 52px;
  }
  @media screen and (max-width: 780px) {
    .contact-privacy {
      margin-top: 16px;
    }
  }
  
  .contact-privacy__link {
    display: block;
    font-family: "Noto Sans JP", sans-serif;
    color: #00a58c;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.75;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 5px;
    text-align: center;
    -webkit-transition: 0.3s;
    transition: 0.3s;
  }
  @media screen and (max-width: 780px) {
    .contact-privacy__link {
      font-size: clamp(0.75rem, 0.5rem + 1.0256410256vw, 1rem);
    }
  }
  
  @media (any-hover: hover) {
    .contact-privacy__link:hover {
      opacity: 0.7;
    }
  }

  /* サンクスページ */

  .thanks {
    min-height: 100vh;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding: 20px;
  }
  .thanks__inner {
    max-width: 800px;
    width: 100%;
    text-align: center;
    padding: 40px 20px;
    background-color: #fff;
    border-radius: 10px;
    -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  }
  .thanks__title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #00a58c;
  }
  .thanks__text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
  }
  .thanks__btn {
    display: inline-block;
    background-color: #00a58c;
    color: #fff;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
  }
  .thanks__btn:hover {
    opacity: 0.8;
  }
  