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

/* googleフォント */
.section-title  {
  font-family: "M PLUS 1p", sans-serif;
  font-weight: 900;
  font-style: normal;
}



/* 基本設定 */
body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333333;
    overflow-x: hidden;
}

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

/* セクション共通スタイル */
section {
    padding: 80px 0;
}

.section-title {
    /*font-size: 2.5rem;
    font-weight: 700;*/
    text-align: center;
    margin-bottom: 60px;
    color: #333333;
}

/* ヒーローセクション */
.hero-section {
    /* 既存のプロパティ（変更なし） */
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;

    /* グラデーションアニメーションのための追加・修正 */
    /* 暗い紺色からオレンジへのグラデーションを定義 */
    background: linear-gradient(
        135deg, /* グラデーションの傾き */
        #1A237E, /* 暗い紺色 (例: Google Material Design の Deep Blue 900) */
        #FF6F00  /* 明るいオレンジ色 (例: Google Material Design の Amber 900) */
    );
    /* 背景のサイズを大きくして、移動させる余地を作る */
    background-size: 400% 400%;
    /* gradient-animationを30秒かけて無限に繰り返す */
    animation: gradient-animation 30s ease infinite;
}

/* グラデーションをアニメーションさせるキーフレーム */
@keyframes gradient-animation {
    0% {
        background-position: 0% 50%; /* 開始位置 */
    }
    50% {
        background-position: 100% 50%; /* 中間位置 (右方向へ移動) */
    }
    100% {
        background-position: 0% 50%; /* 終了位置 (開始位置に戻り、スムーズにループ) */
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button.primary {
    background: #F7931E;
    color: white;
    box-shadow: 0 8px 25px rgba(247, 147, 30, 0.3);
}

.cta-button.primary:hover {
    background: #e6841a;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(247, 147, 30, 0.4);
}

.cta-button.secondary {
    background: white;
    color: #FF6B35;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.cta-button.secondary:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.cta-note {
    font-size: 0.9rem;
    margin-top: 15px;
    opacity: 0.8;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* 課題提示セクション */
.problems-section {
    background: white;
}

.problems-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.problems-list {
    list-style: none;
    margin-bottom: 40px;
}

.problems-list li {
    padding: 15px 0;
    font-size: 1.2rem;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 30px;
}

.problems-list li:before {
    content: "❌";
    position: absolute;
    left: 0;
    top: 15px;
}

.highlight-box {
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    color: white;
    padding: 25px;
    border-radius: 15px;
    font-size: 1.3rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
    text-align: center;
}

/* 解決策セクション */
.solution-section {
    background: #F0F8FF;
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.solution-list {
    list-style: none;
}

.solution-list li {
    padding: 15px 0;
    font-size: 1.2rem;
    border-bottom: 1px solid #e0f2ff;
    position: relative;
    padding-left: 30px;
}

.solution-list li:before {
    content: "✅";
    position: absolute;
    left: 0;
    top: 15px;
}

/* 活用シーンセクション */
.use-cases-section {
    background: white;
}

.use-cases-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.use-cases-grid {
    display: grid;
    gap: 30px;
}

.use-case-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #FF6B35;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.use-case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.use-case-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #FF6B35;
}

/* プランご提案セクション */
.promotion-section {
    padding: 80px 0;
/*    background: linear-gradient(135deg, #FF6B35 0%, #4A90E2 100%);
*/    color: #ff6b35ß;
}

.promotion-section .container {
    text-align: center;
}

/* セクションタイトル */
.section-title {
    font-size: 2.5rem;
/*    font-weight: bold;
*/    margin-bottom: 20px;
/*    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
*/}

/* セクション説明 */
.section-description {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    color: #666;
}

/* 用途カードグリッド */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

/* 用途カード */
.use-case-card {
    background: white;
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #000000;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/*.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-left-width: 8px;
}*/

/*.use-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4A90E2, #6BB6FF);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}*/

/*.use-case-card:hover::before {
    transform: scaleX(1);
}*/

/* 用途カードテキスト */
.use-case-text {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    letter-spacing: 0.5px;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .promotion-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .section-description {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .use-case-card {
        padding: 20px 16px;
    }
    
    .use-case-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .use-case-card {
        padding: 18px 14px;
    }
}


/* 制作の流れセクション */ 
.flow-section{
    background: #FFF8F0;
}
.flow-images {
    margin-bottom: 60px;
    padding: 0 20px;
}

.flow-images-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.flow-images img {
    width: 45%;
    max-width: 400px;
    height: auto;
}

.top-row {
    margin-right: 60px;
}

.bottom-row {
    margin-left: 60px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .flow-images {
        padding: 0 10px;
    }

    .flow-images-row {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 20px;
    }

    .top-row, .bottom-row {
        margin: 0;
    }

    .flow-images img {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* 既存のステップ部分はそのまま */ 
.flow-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-bottom: 40px; }

.step { display: flex; align-items: flex-start; gap: 20px; text-align: left; }

.step-number { background: #FF6B35; color: white; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; flex-shrink: 0; }

.step-content h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; color: #333; }

.step-content p { color: #666; line-height: 1.5; }

.delivery-time {
    background: #FF6B35;
    color: white;
    padding: 20px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    display: block;  /* inline-block から block に変更 */
    width: fit-content;  /* コンテンツの幅に合わせる */
    margin: 0 auto;  /* 左右のマージンを auto にして中央揃え */
}


/* 弊社の特徴セクション */
.delivery-section {
    background: white;
    padding: 80px 0; /* セクション全体の上下の余白を確保 */
}

.delivery-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center; /* 垂直方向の中央揃え */
}

/* 新しく追加するテキスト部分のスタイル */
.delivery-main-message {
    padding: 20px; /* 内側の余白 */
    /* 背景色などを追加して目立たせることも可能です */
    /* background: #f0f8ff; */
    border-radius: 15px; /* 角を丸くする */
    display: flex; /* テキスト内容を垂直中央寄せするため */
    flex-direction: column;
    justify-content: center;
    height: 100%; /* 親要素に合わせて高さを調整 */
}

.delivery-main-message h3 {
    font-size: 2rem; /* メインタイトルを少し大きめに */
    font-weight: 700;
    color: #ff8787; /* ブランドカラーに合わせる */
    margin-bottom: 20px;
    line-height: 1.4;
}

.delivery-main-message p {
    font-size: 1.1rem; /* 本文のフォントサイズ */
    line-height: 1.8;
    color: #333;
}

/* 以前の .delivery-image に関連するCSSは不要になるため、削除するか無視されます */

/* 既存の delivery-formats はそのまま */
.delivery-formats {
    display: grid;
    gap: 25px;
}

.format-item {
    background: rgb(255 181 93 / 12%);
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid #ff8787;
    transition: transform 0.3s ease;
}

.format-item:hover {
    transform: translateX(10px);
}

.format-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ff8787;
}

/* レスポンシブ対応の例 */
@media (max-width: 768px) {
    .delivery-content {
        grid-template-columns: 1fr; /* 画面が狭いときは1カラムにする */
        gap: 30px;
    }

    .delivery-main-message {
        text-align: center; /* モバイルでは中央寄せ */
    }

    .delivery-main-message h3 {
        font-size: 1.7rem;
    }

    .delivery-main-message p {
        font-size: 1rem;
    }
}

/* 料金セクション */
.pricing-section {
    background: #FFFBF0;
}

.pricing-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    text-align: center;
}

.pricing-message {
    font-size: 1.8rem;
    font-weight: 600;
    color: #FF6B35;
    margin-bottom: 20px;
    text-align: left;
}

.pricing-text p {
    font-size: 1.1rem;
    color: #666;
    text-align: left;
}

/* FAQセクション */
.faq-section {
    background: white;
}

.faq-content {
    /*display: grid;*/
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.faq-list {
    display: grid;
    gap: 20px;
}

.faq-item {
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: #FF6B35;
}

.faq-question {
    padding: 25px;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FF6B35;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 25px;
    max-height: 200px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
}

/* CTAセクション */
.cta-section {
    background: linear-gradient(135deg, #F7931E 0%, #FF6B35 100%);
    color: white;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    text-align: center;
}

.cta-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-text p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}
.address {
    font-size: 13px;
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 画像共通スタイル */
img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/*img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}*/

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .hero-content,
    .problems-content,
    .solution-content,
    .use-cases-content,
    .delivery-content,
    .pricing-content,
    .faq-content,
    .cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    
    .flow-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .step-number {
        margin-bottom: 15px;
    }
    
    .cta-text h2 {
        font-size: 2rem;
    }
    
    .problems-list li,
    .solution-list li {
        font-size: 1.1rem;
    }
    
    .use-case-item,
    .format-item {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .step-content h3 {
        font-size: 1.2rem;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}

/* 過去の事例セクション */
.solution-section {
    background: #e4eef4;
    padding: 40px 0; /* 上下の余白を追加してセクションの区切りを明確に */
}

.gallery-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px; /* 左右の余白を追加し、画面端にコンテンツが張り付くのを防ぐ */
}

.section-title {
    text-align: center;
    font-size: 2.5em; /* タイトルのサイズ */
    margin-bottom: 40px; /* タイトルの下の余白 */
    color: #333; /* タイトルの色 */
}


.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* デスクトップ: 3列 */
    gap: 20px; /* アイテム間の余白 */
    padding: 20px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 1; /* 正方形を維持 */
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

/* ====================================
   レスポンシブ対応
   ==================================== */

/* タブレット (画面幅 768px 以下) */
@media (max-width: 768px) {
    .section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .gallery-container {
        padding: 0 15px;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* 2列 */
        gap: 15px;
        padding: 15px 0;
    }
    .gallery-item {
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
}

/* スマートフォン (画面幅 480px 以下) */
@media (max-width: 480px) {
    .solution-section {
        padding: 30px 0;
    }
    .section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }
    .gallery-container {
        padding: 0 10px;
    }
    .gallery-grid {
        grid-template-columns: 1fr; /* 1列 */
        gap: 10px;
        padding: 10px 0;
    }
    .gallery-item {
        border-radius: 10px;
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    }
    /* スマートフォンではホバーエフェクトが意味をなさないことが多いので、無効にするか調整することも検討できます */
    .gallery-item:hover {
        transform: none;
        box-shadow: 0 3px 10px rgba(0,0,0,0.1); /* ホバー時も同じシャドウに */
    }
    .gallery-item:hover .gallery-image {
        transform: none;
    }
}


/* フッター */

.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 20px 0;
    width: 100%;
}

.footer-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
}

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

.copyright {
    font-size: 14px;
    margin: 0;
}

.section-title_contact {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: #333333;
}

.contact {
    padding-top: 40px;
}

