@charset "UTF-8";
/*
 Theme Name: SANGO Child
 Theme URI: https://saruwakakun.design
 Author: SARUWAKA
 Author URI: https://saruwakakun.com
 Template: sango-theme
 Version: 3.0
*/
/*こちらはSANGOの子テーマ用CSSです。以下にCSSを記入していきましょう。*/

.footer {
    color: #fff;
    padding: 4rem 1rem 2rem;
    position: relative; /* 疑似要素の基準位置にする */
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #222;
    z-index: -1; /* コンテンツの背面に配置 */
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative; /* コンテンツを疑似要素より前面に表示 */
}

#content.page-forfront {
 margin-top: unset; /* または unset でも可 */
 padding: unset; /* または unset でも可 */
 background: unset; /* または unset でも可 */
}

/* 全てのページに適用されるスタイル */
body {
  font-family: Arial, sans-serif;
  color: #333;
}

/* メインページ以外のページに適用されるスタイル */
body:not(.home):not(.front-page) {
  /* メインページ以外のスタイル */
  background-color: #f0f0f0;
}

/* もしくは、bodyにhomeまたはfront-pageクラスがない場合に適用するという意味で以下のように書くこともできます */
body:not(.home):not(.front-page) {
    /* メインページ以外のスタイル */
}

/* SANGOテーマのヘッダーCSSを上書き */
/* ヘッダー全体のスタイル */
.header-contents {
  display: flex;
  align-items: center; /* 縦方向中央揃え */
  justify-content: space-between; /* 要素間にスペースを配置 */
}

/* 言語選択のスタイル */
.header-language-selector {
  margin-right: 1rem; /* ロゴとの間隔 */
}

.header-language-selector .language-selector {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 0.3rem 0.5rem;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-language-selector .language-selector i {
  margin-right: 0.3rem;
  color: #3f51b5;
}

.header-language-selector .language-selector select {
  border: none;
  background: transparent;
  font-size: 0.9rem;
  color: #333;
  cursor: pointer;
  outline: none;
}

/* ロゴのスタイル */
.header-logo {
  margin-right: auto; /* ヘッダーナビとの間隔を自動調整 */
}

/* ヘッダーナビのスタイル */
.desktop-nav {
  /* 必要に応じてスタイルを調整 */
}

.desktop-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav ul li {
  margin-left: 1rem;
}

.desktop-nav ul li a {
  color: #333;
  text-decoration: none;
}


/* フッター内のh3タグにスタイルを適用しない */
.footer .footer-heading {
    margin: 0; /* マージンをリセット */
    padding: 0; /* パディングをリセット */
    border: none; /* ボーダーを削除 */
    font-size: 1.125rem; /* 元のフォントサイズを再設定 */
    line-height: normal; /* 行の高さをリセット */
    font-weight: bold; /* 太字を再設定 */
}



/* CSS Variables (必要に応じて定義) */
:root {
    --primary-color: #3f51b5; /* インディゴ */
    --secondary-color: #7986cb; /* 明るいインディゴ */
    --text-color: #333;
    --font-size-base: 16px;
    --footer-bg-color: #222;
    --footer-link-color: #aaa;
}

/* ヒーローセクション */
.site-main .hero { /* 詳細度を上げる */
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: transparent;
    padding: 6rem 1rem 2rem;
}

.site-main .hero::before { /* 詳細度を上げる */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://ppl-ai-code-interpreter-files.s3.amazonaws.com/web/direct-files/5124977/06e973d4-52c6-4622-ae87-26606dd3695f/0/6105d6cc.png') no-repeat center center;
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
}

.site-main .hero-content { /* 詳細度を上げる */
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
}

.site-main .hero-text { /* 詳細度を上げる */
    flex: 1 1 400px;
    padding-right: 2rem;
    margin-bottom: 2rem;
}

.site-main .hero-image { /* 詳細度を上げる */
    flex: 1 1 400px;
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 1s forwards 1.2s;
}

.site-main .hero-image img { /* 詳細度を上げる */
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.site-main .hero-image:hover img { /* 詳細度を上げる */
    transform: scale(1.05);
}

.site-main .hero h1 { /* 詳細度を上げる */
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-main .hero p { /* 詳細度を上げる */
    font-size: 1.125rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.8s;
}

.site-main .btn { /* 詳細度を上げる */
    display: inline-block;
    padding: 0.9375rem 1.875rem;
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 1.1s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.site-main .btn::before { /* 詳細度を上げる */
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.site-main .btn:hover::before { /* 詳細度を上げる */
    left: 100%;
}

.site-main .btn:hover { /* 詳細度を上げる */
    background-color: #555;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.site-main .scroll-down { /* 詳細度を上げる */
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 1s forwards 1.5s;
    opacity: 0;
}

.site-main .scroll-down span { /* 詳細度を上げる */
    font-size: 0.75rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.site-main .scroll-down .mouse { /* 詳細度を上げる */
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    position: relative;
}

.site-main .scroll-down .mouse::before { /* 詳細度を上げる */
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 2px;
    animation: scrollAnim 2s infinite;
}

/* サービスセクション */
.site-main .services { /* 詳細度を上げる */
    padding: 5rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.site-main .section-title { /* 詳細度を上げる */
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
}

.site-main .section-subtitle { /* 詳細度を上げる */
    font-size: 1rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.site-main .services-grid { /* 詳細度を上げる */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.site-main .service-card { /* 詳細度を上げる */
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.site-main .service-card::before { /* 詳細度を上げる */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    transition: height 0.3s ease;
}

.site-main .service-card:hover { /* 詳細度を上げる */
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.site-main .service-card:hover::before { /* 詳細度を上げる */
    height: 10px;
}

.site-main .service-icon { /* 詳細度を上げる */
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    color: var(--primary-color);
}

.site-main .service-card h3 { /* 詳細度を上げる */
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 15px;
}

.site-main .service-card h3::after { /* 詳細度を上げる */
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.site-main .service-card p { /* 詳細度を上げる */
    margin-bottom: 1.25rem;
}

.site-main .service-link { /* 詳細度を上げる */
    display: inline-block;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    position: relative;
}

.site-main .service-link::after { /* 詳細度を上げる */
    content: '→';
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.site-main .service-link:hover::after { /* 詳細度を上げる */
    margin-left: 10px;
}

/* 実績セクション */
.site-main .works { /* 詳細度を上げる */
    padding: 5rem 1rem;
}

.site-main .works-content { /* 詳細度を上げる */
    max-width: 1200px;
    margin: 0 auto;
}

.site-main .works-grid { /* 詳細度を上げる */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.site-main .work-item { /* 詳細度を上げる */
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    cursor: pointer;
    height: 250px;
}

.site-main .work-image { /* 詳細度を上げる */
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.site-main .work-overlay { /* 詳細度を上げる */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 1.25rem;
    text-align: center;
}

.site-main .work-item:hover .work-overlay { /* 詳細度を上げる */
    opacity: 1;
}

.site-main .work-item:hover .work-image { /* 詳細度を上げる */
    transform: scale(1.1);
}

.site-main .work-title { /* 詳細度を上げる */
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.site-main .work-category { /* 詳細度を上げる */
    color: #ccc;
    font-size: 0.875rem;
    transform: translateY(20px);
    transition: transform 0.5s ease;
    margin-bottom: 15px;
}

.site-main .work-btn { /* 詳細度を上げる */
    padding: 8px 20px;
    background-color: #fff;
    color: var(--primary-color);
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.875rem;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.site-main .work-btn:hover { /* 詳細度を上げる */
    background-color: var(--primary-color);
    color: #fff;
}

.site-main .work-item:hover .work-title, /* 詳細度を上げる */
.site-main .work-item:hover .work-category, /* 詳細度を上げる */
.site-main .work-item:hover .work-btn { /* 詳細度を上げる */
    transform: translateY(0);
}

.site-main .view-more-btn { /* 詳細度を上げる */
    display: block;
    width: 200px;
    margin: 3rem auto 0;
    padding: 15px 30px;
    background-color: transparent;
    color: var(--primary-color);
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.site-main .view-more-btn:hover { /* 詳細度を上げる */
    background-color: var(--primary-color);
    color: #fff;
}

/* チームセクション */
.site-main .team { /* 詳細度を上げる */
    padding: 5rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.site-main .team-grid { /* 詳細度を上げる */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.site-main .team-member { /* 詳細度を上げる */
    text-align: center;
}

.site-main .member-image { /* 詳細度を上げる */
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    position: relative;
}

.site-main .member-image img { /* 詳細度を上げる */
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.site-main .member-image:hover img { /* 詳細度を上げる */
    transform: scale(1.1);
}

.site-main .member-name { /* 詳細度を上げる */
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.site-main .member-position { /* 詳細度を上げる */
    color: var(--secondary-color);
    font-size: 0.875rem;
    margin-bottom: 15px;
}

.site-main .member-bio { /* 詳細度を上げる */
    margin-bottom: 15px;
    font-size: 0.875rem;
}

.site-main .social-links { /* 詳細度を上げる */
    display: flex;
    justify-content: center;
}

.site-main .social-link { /* 詳細度を上げる */
    width: 30px;
    height: 30px;
    background-color: #f1f1f1;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.site-main .social-link:hover { /* 詳細度を上げる */
    background-color: var(--primary-color);
    color: #fff;
}

/* 会社概要セクション */
.site-main .about { /* 詳細度を上げる */
    padding: 5rem 1rem;
}

.site-main .about-content { /* 詳細度を上げる */
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.site-main .about-image { /* 詳細度を上げる */
    flex: 1 1 400px;
    position: relative;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.site-main .about-image img { /* 詳細度を上げる */
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-main .about-text { /* 詳細度を上げる */
    flex: 1 1 400px;
}

.site-main .about-text h2 { /* 詳細度を上げる */
    font-size: 2rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 15px;
}

.site-main .about-text h2::after { /* 詳細度を上げる */
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.site-main .about-text p { /* 詳細度を上げる */
    margin-bottom: 1.25rem;
}

.site-main .company-info { /* 詳細度を上げる */
    margin-top: 2.5rem;
}

.site-main .info-item { /* 詳細度を上げる */
    display: flex;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.site-main .info-label { /* 詳細度を上げる */
    width: 120px;
    font-weight: 700;
    margin-right: 1rem;
}

.site-main .info-value { /* 詳細度を上げる */
    flex: 1 1 200px;
}

/* お問い合わせセクション */
.site-main .contact { /* 詳細度を上げる */
    padding: 5rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.site-main .contact-content { /* 詳細度を上げる */
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.site-main .contact-info { /* 詳細度を上げる */
    flex: 1 1 350px;
}

.site-main .contact-info h3 { /* 詳細度を上げる */
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 15px;
}

.site-main .contact-info h3::after { /* 詳細度を上げる */
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.site-main .contact-details { /* 詳細度を上げる */
    margin-bottom: 30px;
}

.site-main .contact-item { /* 詳細度を上げる */
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.site-main .contact-icon { /* 詳細度を上げる */
    width: 20px;
    margin-right: 15px;
    color: var(--primary-color);
}

.site-main .contact-text { /* 詳細度を上げる */
    flex: 1;
}

.site-main .contact-form { /* 詳細度を上げる */
    flex: 1 1 350px;
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.site-main .form-group { /* 詳細度を上げる */
    margin-bottom: 20px;
}

.site-main .form-label { /* 詳細度を上げる */
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.site-main .form-control { /* 詳細度を上げる */
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.site-main .form-control:focus { /* 詳細度を上げる */
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(51,51,51,0.1);
}

.site-main textarea.form-control { /* 詳細度を上げる */
    min-height: 150px;
    resize: vertical;
}

.site-main .submit-btn { /* 詳細度を上げる */
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.site-main .submit-btn:hover { /* 詳細度を上げる */
    background-color: #555;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ニュースセクション */
.site-main .news { /* 詳細度を上げる */
    padding: 5rem 1rem;
}

.site-main .news-content { /* 詳細度を上げる */
    max-width: 1200px;
    margin: 0 auto;
}

.site-main .news-grid { /* 詳細度を上げる */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.site-main .news-item { /* 詳細度を上げる */
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.site-main .news-item:hover { /* 詳細度を上げる */
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.site-main .news-image { /* 詳細度を上げる */
    height: 200px;
    overflow: hidden;
}

.site-main .news-image img { /* 詳細度を上げる */
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.site-main .news-item:hover .news-image img { /* 詳細度を上げる */
    transform: scale(1.1);
}

.site-main .news-content-inner { /* 詳細度を上げる */
    padding: 1.5rem;
}

.site-main .news-date { /* 詳細度を上げる */
    font-size: 0.875rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.site-main .news-title { /* 詳細度を上げる */
    font-size: 1.25rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.site-main .news-excerpt { /* 詳細度を上げる */
    margin-bottom: 20px;
    font-size: 0.875rem;
    color: #666;
}

.site-main .read-more { /* 詳細度を上げる */
    display: inline-block;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    position: relative;
}

.site-main .read-more::after { /* 詳細度を上げる */
    content: '→';
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.site-main .read-more:hover::after { /* 詳細度を上げる */
    margin-left: 10px;
}

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

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Full Screen用 0401*/

/**
 * フルスクリーンページテンプレート用スタイル
 * テーマのstyle.cssに追加するか、カスタムCSSセクションに追加してください
 */

/* フルスクリーンコンテナ設定 */
.fullscreen-page-container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

/* 親テーマのコンテナ幅制限を上書き */
.fullscreen-page-container .container,
.fullscreen-page-container .content-area,
.fullscreen-page-container .site-content,
.fullscreen-page-container .entry-content,
.fullscreen-page-container .site-main {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* フルスクリーンページのスタイル */
.fullscreen-page {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* ヘッダー設定 */
.fullscreen-header {
    background: linear-gradient(135deg, rgba(8, 104, 191, 0.95), rgba(67, 149, 221, 0.95)), url('/wp-content/uploads/header-bg.jpg') no-repeat center center;
    background-size: cover;
    padding: 50px 30px 50px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.fullscreen-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 160px;
    background: linear-gradient(to top, rgba(247, 250, 252, 1), transparent);
}

.fullscreen-header-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
}

.fullscreen-header h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.fullscreen-header .page-description {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
    font-weight: 300;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

/* 装飾要素 */
.header-shape {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    top: -350px;
    right: -350px;
    z-index: 1;
}

.header-shape-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    bottom: -250px;
    left: -250px;
    z-index: 1;
}

/* コンテンツエリア */
.fullscreen-content {
    width: 100%;
    max-width: 100%;
}

/* セクションスタイル（コンテンツエディタ内で使用） */
.fullscreen-content .wp-block-group {
    padding: 100px 30px;
    position: relative;
}

.fullscreen-content .wp-block-group.has-background {
    padding: 100px 30px;
}

/* 斜めの区切り線（オプション） */
.fullscreen-content .wp-block-group.has-divider::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100px;
    bottom: -50px;
    left: 0;
    z-index: 2;
    background: inherit;
    transform: skewY(-2deg);
}

/* コンテンツ幅の制限と中央揃え */
.fullscreen-content .wp-block-group__inner-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

/* レスポンシブ調整 */
@media (max-width: 1024px) {
    .fullscreen-content .wp-block-group,
    .fullscreen-content .wp-block-group.has-background {
        padding: 80px 30px;
    }
    
    .fullscreen-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .fullscreen-header {
        padding: 120px 30px 90px;
    }
    
    .fullscreen-header h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .fullscreen-content .wp-block-group,
    .fullscreen-content .wp-block-group.has-background {
        padding: 60px 20px;
    }
    
    .fullscreen-header {
        padding: 0px 20px 0px;
    }
    
    .fullscreen-header h1 {
        font-size: 2rem;
    }
    
    .fullscreen-header .page-description {
        font-size: 1.1rem;
    }
}

/* シングル投稿ページのヘッダー下余白調整 */
.single .site-content,
.single-post .site-content {
    margin-top: 200px; /* ヘッダーの高さに合わせて調整 */
}

/* 必要に応じて高さを微調整 */
@media (max-width: 768px) {
    .single .site-content,
    .single-post .site-content {
        margin-top: 200px; /* モバイル用に調整 */
    }
}

/* シングル投稿ページ専用のスタイリング */
.single-post .site-content,
.single .site-content,
.single-post article.post,
.single article.post {
    padding-top: 50px; /* ヘッダーの高さより少し大きめの値 */
}

/* または特定の要素に適用 */
.single-post .entry-title,
.single .entry-title {
    padding-top: 30px; /* タイトル上部の余白調整 */
    margin-top: 0;
}

/* 見出し（タイトル）とメタ情報のスタイリング */
.single-post .entry-header,
.single .entry-header {
    margin-top: 30px; /* ヘッダー下のスペース確保 */
}

/* フルスクリーンテンプレートの余白修正（PC・スマホ共通） */
.fullscreen-page-container {
    margin-top: -30px; /* 必要に応じて調整 */
    padding-top: 0;
}

/* SANGOテーマのコンテンツ余白を上書き */
.page-template-fullscreen-page .site-content,
.page-template-fullscreen-page #content,
.page-template-fullscreen-page .content.page-forfront {
    margin-top: 0 !important;
    padding-top: 0 !important;
    background: none !important;
}

/* ヘッダー下のコンテンツ余白を調整 */
.page-template-fullscreen-page .fullscreen-content {
    padding-top: 0;
}

/* ヘッダー自体の余白を調整 */
.page-template-fullscreen-page .fullscreen-header {
    padding-top: 100px; /* ヘッダーの高さに応じて調整 */
}

/* SANGO固有の余白調整 */
.page-template-fullscreen-page .page-forfront {
    margin-top: 0 !important;
    padding: 0 !important;
}

/* 記事コンテナの余白削除 */
.page-template-fullscreen-page article.fullscreen-page {
    margin: 0;
    padding: 0;
}

/* SANGOテーマのグローバルな余白をリセット */
.page-template-fullscreen-page .wrap {
    max-width: 100%;
    padding: 0;
}

/* 万が一のため、記事内の最初の要素の余白も調整 */
.page-template-fullscreen-page .fullscreen-content > *:first-child {
    margin-top: 0;
    padding-top: 0;
}

/* モバイルメニューの余白調整 */
@media (max-width: 768px) {
    /* モバイル用ヘッダー余白調整 */
    .page-template-fullscreen-page .fullscreen-header {
        padding-top: 80px; /* モバイルヘッダーの高さに応じて調整 */
    }
    
    /* モバイルでの上部余白を強制的に削除 */
    .page-template-fullscreen-page #content,
    .page-template-fullscreen-page .site-content,
    .page-template-fullscreen-page .wrap,
    .page-template-fullscreen-page .entry-content {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    /* SANGOのモバイルメニュー下の余白調整 */
    .page-template-fullscreen-page .entry-header,
    .page-template-fullscreen-page .entry-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* モバイルで特に問題になりやすい要素の調整 */
    .page-template-fullscreen-page .container,
    .page-template-fullscreen-page .content-area {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
    
    /* フルスクリーンコンテナの位置調整（モバイル特有の問題に対応） */
    .fullscreen-page-container {
        margin-top: -60px; /* モバイルではもう少し大きな値が必要かもしれません */
    }
    
    /* SANGOのモバイルヘッダー固有の余白調整 */
    .page-template-fullscreen-page #fixed-container,
    .page-template-fullscreen-page .header {
        margin-bottom: 0 !important;
    }
}

/* さらに小さい画面サイズ（スマートフォン）の調整 */
@media (max-width: 480px) {
    .fullscreen-page-container {
        margin-top: -50px; /* スマホ用に調整 */
    }
    
    /* スマホでのヘッダー調整 */
    .page-template-fullscreen-page .fullscreen-header {
        padding-top: 70px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* スマホでのコンテンツ余白調整 */
    .page-template-fullscreen-page .fullscreen-content {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Contact Form 7のスタイル調整 */
.wpcf7-form .form-group {
    margin-bottom: 1.5rem;
}

.wpcf7-form .form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.wpcf7-form .form-control {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius-small);
    font-size: 1rem;
    transition: var(--transition-fast);
    background-color: rgba(247, 247, 247, 0.5);
}

.wpcf7-form .form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(8, 104, 191, 0.1);
    background-color: white;
}

.wpcf7-form textarea.form-control {
    min-height: 180px;
    resize: vertical;
}

.wpcf7-form .submit-btn {
    display: inline-block;
    width: 100%;
    padding: 1rem 0;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: 0 8px 20px rgba(8, 104, 191, 0.3);
}

.wpcf7-form .submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(8, 104, 191, 0.4);
}

/* エラーメッセージのスタイル */
.wpcf7-not-valid-tip {
    color: #f56565;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    border-color: #f56565;
    background-color: rgba(245, 101, 101, 0.1);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-small);
    margin-top: 1.5rem;
    margin-left: 0;
    margin-right: 0;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #48bb78;
    background-color: rgba(72, 187, 120, 0.1);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-small);
    margin-top: 1.5rem;
    margin-left: 0;
    margin-right: 0;
}

/* reCAPTCHA スタイル調整 */
.wpcf7-form .wpcf7-recaptcha {
    margin-bottom: 1.5rem;
}