/*
Theme Name: Cocoon Child
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://wp-cocoon.com/
Description: Cocoon専用の子テーマ
Template: cocoon
Version: 1.1.4
*/

/* ここから子テーマ用のスタイルシートを記入してください */
/*共通事項*/
body {
    background-color: #fff;
}

a:hover {
    opacity: 0.6;
    transition: 0.3s;
}

/*ヘッダー*/
.header{
    border-bottom: 2px solid #87559C;
}

.header-container{
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.10);
}

#navi .navi-in > ul li{
    width: 20%;
}

.site-name-text{
    font-weight: 700;
}

/*フッター*/
#footer{
    background-color: #333;
    color: #fff;
}

.footer-center-contents{
    display: flex;
    justify-content: space-between;
    padding-bottom: 24px;
    align-items: center;
    border-bottom: 1px solid #fff;
    margin-bottom: 12px;
}

.footer-center-contents a{
    text-decoration: none;
    color: #fff;
}

.footer-center-contact{
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #fff;
    border-radius: 5px;
    height: 50px;
}

.navi-footer-in > .menu-footer{
    justify-content: flex-start;
}

.navi-footer-in > .menu-footer li,.navi-footer-in > .menu-footer li:last-child{
    border:none;
}

.footer-bottom.fnm-text-width .menu-footer li a{
    padding-left: 0;
    padding-right: 20px;
}

.navi-footer-in a{
    color: #fff;
}

.footer-bottom-menu{
    float: left;
    text-align: left;
    margin-top: 8px;
}

.footer-bottom-menu-btn{
    color: #fff;
    text-decoration: none;
    padding: 0 7px;
    border-left: 1px solid #fff;
    font-weight: 100;
}

/*TOPページ*/
/* おすすめ記事セクション */
.front-section {
    padding: 40px 0;
}

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

.front-heading {
    margin-bottom: 30px;
}

/* カードコンテナ */
.recommend-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* カード本体 */
.recommend-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.recommend-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.recommend-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* サムネイル部分 */
.recommend-card-thumbnail {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f0f0f0;
    aspect-ratio: 1280 / 670;
}

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

.recommend-card:hover .recommend-card-image {
    transform: scale(1.05);
}

.recommend-card-noimage {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 18px;
}

/* オーバーレイ */
.recommend-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    padding: 20px;
    color: #fff;
}

.recommend-card-overlay-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.4;
}

.recommend-card-overlay-excerpt {
    font-size: 13px;
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
}

/* カードコンテンツ */
.recommend-card-content {
    padding: 20px;
}

/* メタ情報（カテゴリーと日付） */
.recommend-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
}

.recommend-card-category {
    display: inline-block;
    padding: 4px 10px;
    background: #87559C;
    color: #fff;
    border-radius: 4px;
    font-weight: 500;
}

.recommend-card-date {
    color: #999;
}

/* タイトル */
.recommend-card-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.5;
    color: #333;
}

/* タグ */
.recommend-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.recommend-card-tag {
    display: inline-block;
    padding: 4px 8px;
    background: #f0f0f0;
    color: #666;
    border-radius: 4px;
    font-size: 12px;
}

.recommend-card-tag::before {
    content: '#';
    margin-right: 2px;
    opacity: 0.6;
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
    .recommend-cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .recommend-cards-container {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    
    .recommend-card-thumbnail {
        height: 200px;
    }
    
    .recommend-heading {
        font-size: 24px;
    }
}

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

.recommend-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.recommend-card:nth-child(1) { animation-delay: 0.1s; }
.recommend-card:nth-child(2) { animation-delay: 0.2s; }
.recommend-card:nth-child(3) { animation-delay: 0.3s; }
.recommend-card:nth-child(4) { animation-delay: 0.4s; }
.recommend-card:nth-child(5) { animation-delay: 0.5s; }
.recommend-card:nth-child(6) { animation-delay: 0.6s; }

/* 最新記事ボタンセクション */
.more-posts-button-wrapper{
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.more-posts-button{
    border-radius: 35px;
    background: #333;
    width: 300px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
}

.more-posts-button:hover{
    color:#fff
}

/* 業界カテゴリーセクション */


/* カテゴリーグリッド */
.industry-categories {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.industry-category-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* カテゴリーアイテム */
.industry-category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-radius: 10px;
    border: 1px solid #ADAAAA;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 56px;
}

.industry-category-item:hover {
    background: #f8f8ff;
    border-color: #9575cd;
    transform: translateX(5px);
}

.industry-category-text {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 投稿数の表示 */
.industry-category-count {
    font-size: 13px;
    color: #999;
    font-weight: 400;
}

.industry-category-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    color: #9575cd;
}

.industry-category-arrow svg {
    width: 28px;
    height: 28px;
}

.industry-category-item:hover .industry-category-arrow {
    color: #7c4dff;
}

/* タームがない場合のメッセージ */
.no-industry-terms {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 14px;
    background: #f8f9fa;
    border-radius: 8px;
}

/* 行に4つ未満のアイテムがある場合の調整 */
.industry-category-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    max-width: 100%;
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
    .industry-category-row {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 640px) {
    .industry-heading {
        font-size: 20px;
        margin-bottom: 30px;
    }
    
    .industry-category-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .industry-categories {
        gap: 12px;
    }
    
    .industry-category-item {
        padding: 16px 18px;
    }
    
    .industry-category-text {
        font-size: 14px;
    }
    
    .industry-category-count {
        font-size: 12px;
    }
}

/* アニメーション */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.industry-category-item {
    animation: slideInLeft 0.5s ease-out backwards;
}

/* 各アイテムに遅延を設定 */
.industry-category-item:nth-child(1) { animation-delay: 0.1s; }
.industry-category-item:nth-child(2) { animation-delay: 0.15s; }
.industry-category-item:nth-child(3) { animation-delay: 0.2s; }
.industry-category-item:nth-child(4) { animation-delay: 0.25s; }
.industry-category-item:nth-child(5) { animation-delay: 0.3s; }
.industry-category-item:nth-child(6) { animation-delay: 0.35s; }
.industry-category-item:nth-child(7) { animation-delay: 0.4s; }
.industry-category-item:nth-child(8) { animation-delay: 0.45s; }

/* キーワードセクション */

/* キーワードグループ */
.keyword-groups {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.keyword-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* グループタイトル */
.keyword-group-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.keyword-group-bullet {
    color: #9575cd;
    font-size: 14px;
}

/* キーワードタグ */
.keyword-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.keyword-tag {
    display: inline-block;
    padding: 10px 20px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.keyword-tag:hover {
    background: #9575cd;
    border-color: #9575cd;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(149, 117, 205, 0.2);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    #keyword {
        padding: 40px 0;
    }
    
    .keyword-heading {
        font-size: 20px;
        margin-bottom: 30px;
    }
    
    .keyword-groups {
        gap: 30px;
    }
    
    .keyword-group-title {
        font-size: 15px;
    }
    
    .keyword-tags {
        gap: 8px;
    }
    
    .keyword-tag {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .keyword-tag {
        padding: 7px 14px;
        font-size: 12px;
    }
}

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

.keyword-group {
    animation: fadeIn 0.6s ease-out backwards;
}

.keyword-group:nth-child(1) { animation-delay: 0.1s; }
.keyword-group:nth-child(2) { animation-delay: 0.2s; }
.keyword-group:nth-child(3) { animation-delay: 0.3s; }

/* タグのホバーエフェクト */
.keyword-tag {
    position: relative;
    overflow: hidden;
}

.keyword-tag::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(149, 117, 205, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.keyword-tag:hover::before {
    width: 100%;
    height: 100%;
}
/*記事ページ*/
/* アイキャッチ内のカテゴリーラベルを非表示 */
.eye-catch .cat-label {
    display: none !important;
}
/* カテゴリーのフォルダアイコンを非表示 */
.entry-categories .cat-icon,
.entry-categories .tax-icon {
    display: none;
}
/* ================================
   関連記事 3カラムレイアウト
   ================================ */

/* 3カラムグリッドレイアウト */
.related-entries-wrap.custom-three-column {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0;
  }
  
  /* 関連記事カード */
  .related-entries-wrap .related-entry-card {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .related-entries-wrap .related-entry-card-content {
    margin-left: 0;
  }

  .related-entry-card-category .cat-label{
    position: inherit;
  }
  
  .related-entries-wrap .related-entry-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
  }
  
  /* リンクエリア */
  .related-entry-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
  }
  
  /* アイキャッチ画像 */
  .related-entry-card .entry-card-thumb {
    width: 100%;
    margin: 0;
    padding-top: 56.25%; /* 16:9 */
    position: relative;
    overflow: hidden;
  }
  
  .related-entry-card .entry-card-thumb-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .related-entry-card:hover .entry-card-thumb-image {
    transform: scale(1.05);
  }
  
  /* コンテンツエリア */
  .related-entry-card .entry-card-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
  
  /* カテゴリーラベル */
  .related-entry-card-category {
    margin-bottom: 8px;
  }
  
  .related-entry-card-category .cat-label {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75em;
    background-color: #333;
    color: #fff;
    border-radius: 3px;
    line-height: 1;
    font-weight: bold;
  }
  
  /* カテゴリー別の色設定（例） */
  .cat-label-1 { background-color: #e74c3c; }
  .cat-label-2 { background-color: #3498db; }
  .cat-label-3 { background-color: #2ecc71; }
  .cat-label-4 { background-color: #f39c12; }
  
  /* タイトル */
  .related-entry-card .entry-card-title {
    font-size: 1em;
    line-height: 1.5;
    margin: 0 0 10px 0;
    font-weight: bold;
    color: #333;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .related-entry-card:hover .entry-card-title {
    color: #0066cc;
  }
  
  /* スニペット（抜粋） */
  .related-entry-card .entry-card-snippet {
    font-size: 0.85em;
    color: #666;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  /* キーワードタグ */
  .related-entry-card-keywords {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }
  
  .keyword-tag-small {
    display: inline-block;
    padding: 3px 8px;
    font-size: 0.7em;
    background-color: #f0f0f0;
    color: #666;
    border-radius: 12px;
    line-height: 1;
    white-space: nowrap;
  }
  
  .keyword-tag-small:hover {
    background-color: #e0e0e0;
  }
  
  /* メタ情報（日付） */
  .related-entry-card .entry-card-meta {
    margin-top: 10px;
    font-size: 0.75em;
    color: #999;
  }
  
  .related-entry-card .post-date,
  .related-entry-card .post-update {
    margin-right: 10px;
  }
  
  /* Cocoonデフォルトスタイルのリセット */
  .related-entries .a-wrap {
    text-decoration: none !important;
  }
  
  .related-entries .e-card-content {
    padding: 15px !important;
  }
  
  .related-entries .card-thumb {
    margin: 0 !important;
  }
  
  /* レスポンシブ対応 */
  @media (max-width: 1023px) {
    .related-entries-wrap.custom-three-column {
      grid-template-columns: repeat(2, 1fr);
      gap: 15px;
    }
  }
  
  @media (max-width: 640px) {
    .related-entries-wrap.custom-three-column {
      grid-template-columns: 1fr;
      gap: 15px;
    }
    
    .related-entry-card .entry-card-content {
      padding: 12px;
    }
  }
  /* ================================
   カテゴリーページのカスタムスタイル
   ================================ */

/* シンプルなカテゴリータイトル */
.category-title-simple {
    font-size: 1.5em;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #333;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.category-post-count {
    font-size: 0.5em;
    background: #f0f0f0;
    color: #666;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: normal;
}

.category-description {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-left: 3px solid #333;
    border-radius: 5px;
    line-height: 1.6;
    color: #666;
}

/* ================================
   3カラムグリッドレイアウト
   ================================ */

.custom-three-column-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

/* エントリーカード */
.custom-three-column-grid .entry-card-wrap {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.custom-three-column-grid .entry-card-wrap:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* カードリンク */
.custom-three-column-grid .entry-card-wrap-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* アイキャッチ画像 */
.custom-three-column-grid .entry-card-thumb {
    width: 100%;
    margin: 0;
    padding-top: 56.25%; /* 16:9 */
    position: relative;
    overflow: hidden;
}

.custom-three-column-grid .entry-card-thumb-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.custom-three-column-grid .entry-card-wrap:hover .entry-card-thumb-image {
    transform: scale(1.05);
}

/* カードコンテンツ */
.custom-three-column-grid .entry-card-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin-left: 0;
}

/* カテゴリーラベル */
.custom-three-column-grid .entry-card-category {
    margin-bottom: 8px;
}

.custom-three-column-grid .cat-label {
    display: none;
    padding: 4px 10px;
    font-size: 0.75em;
    background-color: #333;
    color: #fff;
    border-radius: 3px;
    line-height: 1;
    font-weight: bold;
}

/* タイトル */
.custom-three-column-grid .entry-card-title {
    font-size: 1em;
    line-height: 1.5;
    margin: 0 0 10px 0;
    font-weight: bold;
    color: #333;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

.custom-three-column-grid .entry-card-wrap:hover .entry-card-title {
    color: #0066cc;
}

/* キーワードタグ */
.entry-card-keywords {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.keyword-tag-small {
    display: inline-block;
    padding: 3px 8px;
    font-size: 0.7em;
    background-color: #f0f0f0;
    color: #666;
    border-radius: 12px;
    line-height: 1;
    white-space: nowrap;
}

.keyword-tag-small:hover {
    background-color: #e0e0e0;
}

/* メタ情報（日付） */
.custom-three-column-grid .entry-card-meta {
    margin-top: 10px;
    font-size: 0.75em;
    color: #999;
}

.custom-three-column-grid .post-date,
.custom-three-column-grid .post-update {
    margin-right: 10px;
}

/* 広告・ウィジェットの全幅表示 */
#list + .ad-area,
#list + aside {
    grid-column: 1 / -1;
}

/* ================================
   カテゴリーページの業界・キーワードセクション
   ================================ */

.category-page-section {
    margin: 60px 0;
}

.category-page-section .front-container {
    max-width: 100%;
    padding: 0;
}

/* レスポンシブ対応 */
@media (max-width: 1023px) {
    .custom-three-column-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .category-title-simple {
        font-size: 1.5em;
    }
}

@media (max-width: 640px) {
    .custom-three-column-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .category-title-simple {
        font-size: 1.3em;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .category-post-count {
        font-size: 0.8em;
    }
    
    .custom-three-column-grid .entry-card-content {
        padding: 12px;
    }
}

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

/* メインコンテナ */
.contact-section {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
}

/* メインタイトル */
.contact-heading {
    margin: 0 auto 10px;
    color: #000000;
    letter-spacing: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 説明文 */
.contact-description {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 300;
  color: #000000;
  font-size: 18px;
  text-align: center;
  letter-spacing: 0.38px;
  line-height: 32.4px;
  white-space: nowrap;
}

/* フォームコンテナ */
.contact-form-container {
  margin-top: 33px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* 電話セクション */
.contact-phone-section {
  display: flex;
  border-top: 2px solid #000000;
  border-bottom: 2px solid #000000;
  padding: 34px 30px;
  align-items: center;
  gap: 50px;
  justify-content: center;
}

.contact-phone-title {
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #000000;
  font-size: 18px;
  letter-spacing: 0.38px;
  line-height: 32.4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.contact-phone-link {
  display: flex;
  background-size: 100% 100%;
  text-decoration: none;
  height: 67px;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.contact-phone-number {
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #000000;
  font-size: 37px;
  letter-spacing: 0.38px;
  line-height: 66.6px;
  white-space: nowrap;
}

.contact-phone-hours {
  font-weight: 300;
  color: #000000;
  font-size: 16px;
  letter-spacing: 0.38px;
  line-height: 28.8px;
  font-family: "Noto Sans JP", Helvetica;
  margin: 0;
  margin-bottom: 0!important;
  flex-shrink: 0;
}

/* フォームラッパー */
.contact-form-wrapper {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 0px 20px #005bac33;
  padding: 50px 75px;
}

.contact-form-title {
  margin: 0 auto 51px;
  color: #005bac;
  font-size: 30px;
  letter-spacing: 0.38px;
  line-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

/* フォームフィールド */
.contact-form-field {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form-field-textarea {
  margin-bottom: 30px;
}

.contact-form-label-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* バッジ */
.contact-form-required-badge {
  width: 53px;
  height: 29px;
  display: flex;
  background-color: #d8562b;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
}

.contact-form-optional-badge {
  width: 53px;
  height: 29px;
  display: flex;
  background-color: #30b0c5;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
}

.contact-form-badge-text {
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 0.38px;
  line-height: 25.2px;
  white-space: nowrap;
}

/* ラベル */
.contact-form-label {
  font-weight: 700;
  color: #000000;
  font-size: 18px;
  letter-spacing: 0.38px;
  line-height: 32.4px;
  white-space: nowrap;
  font-family: "Noto Sans JP", Helvetica;
}

/* 入力フィールド */
.contact-form-input {
  height: 45px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e1eaf1;
  padding: 0 12px;
  font-family: "Noto Sans JP", Helvetica;
  font-size: 16px;
  color: #000000;
  box-sizing: border-box;
}

.contact-form-input:focus {
  outline: 2px solid #005bac;
  border-color: #005bac;
}

.contact-form-textarea {
  height: 150px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e1eaf1;
  padding: 12px;
  font-family: "Noto Sans JP", Helvetica;
  font-size: 16px;
  color: #000000;
  resize: vertical;
  box-sizing: border-box;
}

.contact-form-textarea::-webkit-scrollbar {
  width: 0;
  display: none;
}

.contact-form-textarea:focus {
  outline: 2px solid #005bac;
  border-color: #005bac;
}

/* プライバシーポリシー */
.contact-form-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 20px;
    position: relative;
    cursor: pointer;
}

.contact-form-checkbox {
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border-radius: 2.5px;
  border: 1px solid #767676;
  cursor: pointer;
  margin: 0 10px 0 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.contact-form-checkbox:checked {
  background-color: #005bac;
  border-color: #005bac;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath fill='%23ffffff' d='M4.5 7.5L1.5 4.5L0.5 5.5L4.5 9.5L11.5 2.5L10.5 1.5L4.5 7.5Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.contact-form-checkbox:focus {
  outline: 2px solid #005bac;
  outline-offset: 2px;
}

.contact-form-privacy-label {
  font-weight: 300;
  color: #000000;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0.38px;
  line-height: 28.8px;
  white-space: nowrap;
  font-family: "Noto Sans JP", Helvetica;
  cursor: pointer;
}

/* 注意書き */
.contact-form-note {
  display: flex;
  justify-content: center;
  margin-bottom: 42px;
}

.contact-form-note-text {
  font-family: "Noto Sans JP", Helvetica;
  font-weight: 300;
  color: #000000;
  font-size: 14px;
  text-align: center;
  letter-spacing: 0.38px;
  line-height: 25.2px;
  white-space: nowrap;
}

/* 送信ボタン */
.contact-form-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000000;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  height: 66px;
  width: 100%;
  max-width: 330px;
  margin: 0 auto;
}

.contact-form-submit:hover {
  background-color: #333333;
}

.contact-form-submit:active {
  background-color: #000000;
}

.contact-form-submit:focus {
  outline: 2px solid #005bac;
  outline-offset: 2px;
}

.contact-form-submit-text {
  font-weight: 700;
  color: #ffffff;
  font-size: 18px;
  text-align: center;
  letter-spacing: 0.43px;
  line-height: normal;
  font-family: "Noto Sans JP", Helvetica;
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
  .contact-section {
    max-width: 100%;
    padding: 30px 15px;
  }
  
  .contact-heading {
    font-size: 32px;
    letter-spacing: 20px;
    margin-bottom: 40px;
  }
  
  .contact-form-wrapper {
    padding: 40px 50px;
  }
  
  .contact-phone-section {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .contact-phone-link {
    width: 250px;
    height: 60px;
  }
  
  .contact-phone-number {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 20px 10px;
  }
  
  .contact-heading {
    font-size: 28px;
    letter-spacing: 15px;
    margin-bottom: 30px;
  }
  
  .contact-description {
    font-size: 16px;
    white-space: normal;
    line-height: 1.6;
  }
  
  .contact-form-wrapper {
    padding: 30px 20px;
  }
  
  .contact-form-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  
  .contact-form-field {
    margin-bottom: 30px;
  }
  
  .contact-form-field-textarea {
    margin-bottom: 30px;
  }
  
  .contact-form-label {
    font-size: 16px;
  }
  
  .contact-form-input {
    height: 50px;
    font-size: 16px;
  }
  
  .contact-form-textarea {
    height: 120px;
  }
  
  .contact-form-privacy {
    margin: 50px 0 30px;
    flex-direction: column;
    gap: 10px;
  }
  
  .contact-form-checkbox {
    margin: 0;
  }
  
  .contact-form-privacy-label {
    font-size: 14px;
  }
  
  .contact-form-submit {
    height: 60px;
    max-width: 280px;
  }
  
  .contact-form-submit-text {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .contact-heading {
    font-size: 24px;
    letter-spacing: 10px;
  }
  
  .contact-description {
    font-size: 14px;
  }
  
  .contact-form-wrapper {
    padding: 20px 15px;
  }
  
  .contact-form-title {
    font-size: 20px;
  }
  
  .contact-form-label {
    font-size: 14px;
  }
  
  .contact-form-badge-text {
    font-size: 12px;
  }
  
  .contact-form-required-badge,
  .contact-form-optional-badge {
    width: 45px;
    height: 25px;
  }
  
  .contact-form-input {
    height: 45px;
    font-size: 14px;
  }
  
  .contact-form-textarea {
    height: 100px;
    font-size: 14px;
  }
  
  .contact-form-privacy-label {
    font-size: 13px;
  }
  
  .contact-form-note-text {
    font-size: 12px;
  }
  
  .contact-form-submit {
    height: 55px;
    max-width: 250px;
  }
  
  .contact-form-submit-text {
    font-size: 14px;
  }
  
  .contact-phone-section {
    padding: 20px 15px;
  }
  
  .contact-phone-title {
    font-size: 16px;
  }
  
  .contact-phone-link {
    width: 200px;
    height: 50px;
  }
  
  .contact-phone-number {
    font-size: 28px;
  }
  
  .contact-phone-hours {
    font-size: 14px;
  }
}

.article h2{
    background-color: #87559c;
    color: #fff;
}
.article h3 {
    border-left: 7px solid #87559C;
}