@charset "UTF-8";

/* 基本スタイル */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Playfair+Display:wght@700&display=swap');

:root {
    /* --color-primary: #ec4899; pink-500 */
    --color-primary: #caa5a3;
    /* pink-500 */
    --color-text-base: #334155;
    /* slate-700 */
    --color-text-dark: #494848;
    /* slate-800 */
    --color-text-darker: #104ad1;
    /* slate-900 */
    --color-text-light: #64748b;
    /* slate-600 */
    --color-bg-light: #f8fafc;
    --color-bg-white: #ffffff;
    --color-bg-gray: #f0f4f9;
    /* gray-100 */
    /* --color-border: #e2e8f0; gray-200 */
    /* --color-border: #95a79b; gray-200 */
    --color-border: #eaedea;
    /* gray-200 */
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--color-bg-light);
    color: var(--color-text-base);
    margin: 0;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-text-dark);
    font-weight: 700;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

/* a:hover { */
/* color: #db2777;  */
/* } */

.container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

@media (max-width: 850px) {
    .container {
        padding: 3rem 1.5rem;
    }
}

.block {
    display: block;
}

/* ヘッダー */
.header {
    position: sticky;
    z-index: 50;
    top: 0;
    width: 100%;
    height: 70px;
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
    /* border-bottom: 1px solid var(--color-border); */
    background-color: var(--color-bg-white);

    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);

}

/* 制作サンプルサイト用固定ヘッダーがある場合の調整 */
body.has-sample-header .header {
    top: 45px;
}

@media (max-width: 768px) {
    body.has-sample-header .header {
        top: 40px;
    }
}

@media (max-width: 850px) {
    .header {
        height: auto;
        min-height: 60px;
    }
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    /* padding: 0.7rem; */
    /* 上下の余白を調整 */
    background-color: var(--color-bg-white);
    padding: 0 0.7rem;
}

@media (max-width: 850px) {
    .header-container {
        padding: 0 1rem;
        height: 60px;
    }
}

.logo {
    font-family: "Zen Old Mincho", serif;
    display: flex;
    /* アイコンとテキストを横並びにする */
    align-items: center;
    /* 垂直方向の中央揃え */
    gap: 0.2rem;
    /* アイコンとテキストの間隔 */
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-dark);
    letter-spacing: 0.025em;
}

.logo::before {
    content: url('../images/logo.svg');
    /* SVGファイルを指定 */
    display: block;
    /* or inline-block */
    /* ロゴのサイズを調整してください */
    width: 1.8rem;
    height: 1.8rem;
    margin-bottom: 0.2rem;
}

.mobile-menu-button {
    display: none;
    padding: 0.5rem;
    color: var(--color-text-light);
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 850px) {
    .mobile-menu-button {
        display: block;
    }
}

.hamburger-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    /* メニュー内の要素を垂直方向に中央揃え */
    color: var(--color-text-base);
    font-weight: 500;
}

@media (max-width: 850px) {
    .nav-menu {
        display: none;
    }
}

.nav-menu a {
    color: inherit;
    position: relative;
    /* 下線の位置を決めるための基準となります */
    padding-bottom: 0.3rem;
    /* テキストと下線の間の余白 */
    text-decoration: none;
    /* 元々ある下線を消します */
}

/* ホバー時に表示される下線のスタイル（初期状態） */
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    /* 初期状態では幅を0に */
    height: 1px;
    /* 下線の太さ */
    background-color: var(--color-text-light);
    /* 下線の色 */
    transition: width 0.3s ease-out;
    /* 幅が変化するアニメーション */
}

.nav-menu a:hover {
    color: #465265;
}

/* ホバー時に下線の幅を100%にする */
.nav-menu a:hover::after {
    width: 100%;
}

/* ヘッダーのお問い合わせボタンのスタイル調整 */
.nav-menu .cta-button {
    padding: 0.4rem 1.7rem;


    color: white;
    /* テキストカラーを白に強制 */
}

.nav-menu .cta-button:hover {
    color: white;
    /* テキストカラーを白に強制 */
}

/* お問い合わせボタンの下線アニメーションを無効化 */
.nav-menu .cta-button::after {
    display: none;
}


/* モバイルメニュー */
.mobile-menu {
    display: none;
    background-color: var(--color-bg-white);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 1rem;
    text-align: center;
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
}

.mobile-menu.show {
    display: block;
}

.mobile-menu a {
    display: block;
    color: var(--color-text-light);
    padding: 0.5rem 0;
}

/* display: none; */


/* ドロップダウンメニュー */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .nav-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-bg-white);
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
    list-style: none;
    padding: 0.5rem;
    margin-top: 0.75rem;
    /* メニューとの間に少し余白を作る */
    min-width: 180px;
    /* メニューの最小幅 */
    z-index: 60;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    /* 少し下から表示されるアニメーション */
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.dropdown-menu li a {
    padding: 0.5rem 1rem;
    white-space: nowrap;
    /* テキストが折り返さないようにする */
}

/* ドロップダウンメニュー内の項目の下線を無効化 */
.dropdown-menu li a::after {
    display: none;
}

/* ドロップダウンメニュー内の項目のホバー効果 */
.dropdown-menu li a:hover {
    /* background-color: var(--color-bg-gray); */
    color: var(--color-primary);
}


/* メインコンテンツ */
.section {
    padding-top: 3rem;
    padding-bottom: 3rem;

}

.section-container {
    max-width: 1280px;
    background-color: var(--color-bg-white);
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--color-border);
    margin: 0 auto;

}

.section-container2 {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem;



}

.section-title {
    font-family: "Zen Old Mincho", serif;
    font-size: 2.25rem;
    font-weight: 700;
    position: relative;
    /* 英語タイトルを重ねるための基準位置 */
    text-align: center;
    margin-bottom: 3rem;
    isolation: isolate;
    /* 新しいスタッキングコンテキストを作成 */
    z-index: 0;
    /* z-indexを明示的に設定 */
}

/* }isolation: isolate; を <h2> (.section-title) に指定すると、<h2> が独立したレイヤーのグループのようになります。PhotoshopやIllustratorの「グループ化」に近いイメージです。 */

/* セクションタイトルに重ねる英語表記 */
.section-title::before {
    content: attr(data-en-title);
    /* data-en-title属性の値を取得 */
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    /* 日本語より大きく */
    font-weight: 300;
    color: var(--color-border);
    /* 背景に溶け込むような薄い色 */
    z-index: -1;
    /* 日本語タイトルの背面に配置 */
    white-space: nowrap;
    /* 折り返しを防ぐ */
    user-select: none;
    /* テキスト選択を無効に */
}



.section-gray {
    /* background-attachment: fixed; スクロール時に背景を固定 */

    padding: 3rem 1rem;
    border-radius: 1.5rem;
    /* box-shadow と border は背景画像のデザインに合わせて一旦コメントアウト */
    /* border: 1px solid var(--color-border); */
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 850px) {
    .grid-3-col {
        grid-template-columns: 1fr;
    }
}

.data-en-title-Sec {
    display: none;
}

/* ヒーローセクション */

.main-content {
    background-color: #fcf8fa;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 24px, rgba(0, 0, 0, 0.03) 25px),
        repeating-linear-gradient(90deg, transparent, transparent 24px, rgba(0, 0, 0, 0.03) 25px);
    background-size: 25px 25px;

}

.hero-section {
    position: relative;
    display: flex;
    justify-content: center;
    /* 水平方向に中央揃え */
    align-items: center;
    /* 垂直方向に中央揃え */
    padding: 5rem 0;
    /* 左右のpaddingを削除 */

    /* 高さを確保 */
    /* 背景画像の設定（プレースホルダーを使用） */
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)), url('../images/ヒーロー05.jpg');
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 600px;
    min-height: 400px;
    /* border-top-left-radius: 5rem; */
    /* border-top-right-radius: 5rem; */
    border-radius: 0 0 7rem 7rem;
    /* テキストカラーを白に */
}

@media (max-width: 850px) {
    .hero-section {
        height: 500px;
        min-height: 300px;
        border-radius: 0 0 2rem 2rem;
        padding: 5rem 0 0;
        background-position: right;
    }
}

@media (max-width: 450px) {
    .hero-section {
        background-image: url(../images/ヒーロー06.jpg);
        background-size: cover;
        align-items: flex-end;
        padding-bottom: 0;
    }
}

.hero-container {
    position: absolute;
    width: 100%;
    height: auto;
    /* 親要素(hero-section)いっぱいに広がる */
    text-align: left;
    /* 中のテキストを左揃えに */
    /* .containerのpaddingを継承しつつ、marginをリセット */
    margin: 0;
}

@media (max-width: 450px) {
    .hero-container {
        padding: 0 1rem 1rem;
    }
}

.hero-text h1 {
    font-family: "Zen Old Mincho", serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    /* テキストカラーを白に */
    line-height: 1.2;
    margin-bottom: 1rem;
    /* 文字の視認性を高めるための影を追加 */
}

@media (max-width: 850px) {
    .hero-text h1 {
        font-size: 2rem;
    }
}

@media (max-width: 450px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }
}

.hero-highlight {
    color: var(--color-primary);
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: white;
    /* テキストカラーを白に */
    max-width: 42rem;
    /* 文字の視認性を高めるための影を追加 */
}

@media (max-width: 850px) {
    .hero-text p {
        font-size: 1rem;
    }
}

.cta-button {
    display: inline-block;
    background-color: var(--color-primary);
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease-in-out;
}

.cta-button:hover {
    background-color: #caa5a3;
    /* pink-600 */
    transform: scale(1.05);
    color: white;
    opacity: 0.9;
}


/* 私についてセクション----------------------------------------------------


--------------------------------------------------------------------------*/
.about-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3rem;
}

@media (max-width: 850px) {
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
}

.about-image-wrapper {
    width: 50%;
    margin-bottom: 0;
}

@media (max-width: 850px) {
    .about-image-wrapper {
        width: 100%;
        text-align: left;
    }
}

.about-image {
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    width: 100%;
}

@media (max-width: 450px) {
    .about-image {
        display: none;
    }
}

.about-text {
    width: 50%;
    text-align: left;
}

@media (max-width: 850px) {
    .about-text {
        width: 100%;
        text-align: left;
    }
}

.about-text h3 {
    color: var(--color-primary);
}

.about-text p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.profile-list {
    list-style: none;
    padding: 0;
    display: inline-block;
    text-align: left;
}

.profile-list li {
    margin-bottom: 0.5rem;

}

.profile-list i {
    margin-right: 0.5rem;
    color: var(--color-primary);
}

/* サービスセクション -------------------------------------------------------


--------------------------------------------------------------------------*/
.service-card {
    background-color: var(--color-bg-white);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--color-border);
    transition: box-shadow 0.3s, transform 0.3s;
    text-align: center;
}

.service-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-0.5rem);
}

.service-card-image-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.service-card-image {
    width: 100%;
    height: auto;
    /* border-radius: 9999px; */
    /* border: 4px solid var(--color-primary); */
    object-fit: cover;
}

.service-card h3 {
    font-size: 1.8rem;
    margin: 0 0 0.5rem 0;
    /* margin-bottom: 0.2rem; */
}

.service-card h4 {
    color: var(--color-primary);
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    margin-bottom: 1rem;
}



.service-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 3rem;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    background-color: var(--color-bg-white);
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
}

@media (max-width: 450px) {
    .service-button {
        padding: 0.8rem 2rem;
    }
}

.service-button:hover {
    background-color: var(--color-primary);
    color: white;
}

/* 強みセクション　-------------------------------------------------------


------------------------------------------------------------------------- */
.strengths-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 0.5rem;
}

.strength-item {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;

    /* border-radius: 1.5rem; */
}

@media (max-width: 850px) {
    .strength-item {
        flex-direction: column;
        gap: 1.5rem;
    }
}

.strength-image-wrapper {
    width: 41.666667%;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: right;
}

@media (max-width: 850px) {
    .strength-image-wrapper {
        width: 100%;
        justify-content: center;
    }
}

.strength-image-wrapper2 {
    width: 41.666667%;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: left;
}

@media (max-width: 850px) {
    .strength-image-wrapper2 {
        width: 100%;
        justify-content: center;
    }
}

.strength-image-wrapper img {
    width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.strength-image-wrapper2 img {
    width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}


.strength-item-decoration {
    position: absolute;
    bottom: -1rem;
    left: 3rem;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-primary);
    border-radius: 2rem;
    z-index: -10;
    /* display: none; */
}

@media (max-width: 850px) {
    .strength-item-decoration {
        left: 1rem;
        bottom: -0.5rem;
        width: 95%;
    }
}

.strength-item-decoration2 {
    position: absolute;
    bottom: -1rem;
    left: -3rem;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-primary);
    border-radius: 2rem;
    z-index: -10;
    /* display: none; */
}

@media (max-width: 850px) {
    .strength-item-decoration2 {
        left: 1rem;
        bottom: -0.5rem;
        width: 95%;
    }
}

/* .clipped-image-right { */
/* clip-path: polygon(0 0, 80% 0, 100% 100%, 0 100%); */
/* } */
/* .clipped-image-left { */
/* clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%); */
/* } */

.strength-text-wrapper {
    position: relative;
    width: 58.333333%;
    text-align: left;
    background-color: var(--color-bg-white);
    padding: 2rem;
    border-radius: 1.5rem;
    z-index: 20;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-border);
}

@media (max-width: 850px) {
    .strength-text-wrapper {
        width: 100%;
    }
}

.strength-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1rem;
    position: relative;
    /* 数字がはみ出しても表示されるように */
    overflow: visible;
    /* 見出しとサブタイトルの間の余白を調整 */
    margin-bottom: 1.5rem;
    isolation: isolate;
    /* 新しいスタッキングコンテキストを作成 */
    z-index: 0;
    /* z-indexを明示的に設定 */


}

.strength-number {
    position: absolute;
    top: -1.5rem;
    /* 位置を上に調整 */
    left: -1rem;
    /* 位置を左に調整 */
    font-style: italic;
    z-index: -1;
    /* テキストの背面に配置 */

    /* 丸い背景をなくす */
    background: none;
    width: auto;
    height: auto;
}


.strength-number span {
    /* フォントをセリフ体に変更し、大きく、薄い色にする */
    font-family: "Times New Roman", Times, serif;
    font-size: 6rem;
    /* フォントサイズを大きく */
    font-weight: bold;
    color: rgba(223, 209, 209, 0.5);
    /* 色を薄く */
    line-height: 1;
}

.strength-title {
    /* margin-left: 1.5rem; */
}

.strength-title2 {
    /* margin-left: 1.5rem; */
    text-align: start;
}

.strength-title h3,
.strength-title2 h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.strength-title p,
.strength-title2 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
}

.strength-description {
    line-height: 1.7;
    text-align: left;
    /* 説明文は常に左揃えにする */
}

.strength-item.reverse {
    flex-direction: row-reverse;
}

.strength-item.reverse .strength-text-wrapper {
    text-align: right;
}

@media (max-width: 850px) {
    .strength-item.reverse .strength-text-wrapper {
        text-align: left;
    }
}

@media (max-width: 850px) {
    .strength-item.reverse .strength-text-wrapper {
        text-align: left;
    }
}

.strength-item.reverse .strength-header {
    justify-content: flex-end;
}

@media (max-width: 850px) {
    .strength-item.reverse {
        flex-direction: column;
        gap: 1.5rem;
    }

    .strength-item.reverse .strength-header {
        justify-content: flex-start;
    }
}

@media (max-width: 850px) {
    .strength-item.reverse {
        flex-direction: column;
        gap: 1.5rem;
    }

    .strength-item.reverse .strength-header {
        justify-content: flex-start;
    }
}


/* お客様の声 */
.testimonial-card {
    position: relative;
    background-color: var(--color-bg-white);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--color-border);
}

@media (max-width: 850px) {
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
}

.testimonial-header {
    /* ヘッダーの余白を調整 */
    padding-top: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-icon {
    position: absolute;
    top: -2.2rem;
    left: 1.5rem;
    color: #caa5a3;
    /* 色を薄くして、より装飾的に */
    font-size: 3rem;
    /* アイコンを大きくする */
}

.testimonial-content {
    /* margin-topを削除 */
}

.testimonial-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
    /* h3のデフォルトマージンをリセット */
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    text-align: right;
    font-size: 0.875rem;
    color: #94a3b8;
    /* slate-400 */
}

/* 料金 */
.pricing-intro {
    text-align: center;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.tab-button {
    background-color: var(--color-bg-gray);
    color: var(--color-text-base);
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
}

.tab-button.active {
    background-color: var(--color-primary);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.tab-content>p {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--color-text-light);
}

.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th,
td {
    padding: 1rem;
    border-bottom: 1px solid var(--color-border);
}

thead tr {
    background-color: var(--color-bg-gray);
}

th {
    font-weight: 600;
}

tbody tr:hover {
    background-color: #f9fafb;
    /* gray-50 */
}

.pricing-cta {
    text-align: center;
    margin-top: 3rem;
}

@media (max-width: 850px) {
    .pricing-cta {
        margin-top: 2rem;
    }
}

.pricing-cta p {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}


/* お知らせ */
.news-list {
    list-style: none;
    padding: 0;
}

.news-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 1rem;
}

@media (max-width: 850px) {
    .news-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    margin-bottom: 0;
    width: 12rem;
    /* モバイル表示でのマージンを追加 */
}

@media (max-width: 850px) {
    .news-meta {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

.news-date {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.news-category {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    margin-left: 0.5rem;
}

.news-category.seminar {
    background-color: #fce7f3;
    color: #be185d;
}

.news-category.new-service {
    background-color: #fce7f3;
    color: #be185d;
}

.news-category.info {
    background-color: #e0e7ff;
    color: #3730a3;
}

/* お知らせ */
.news-category.news {
    background-color: #dcfce7;
    color: #166534;
}

/* ニュース */
.news-category.media {
    background-color: #fef9c3;
    color: #854d0e;
}

/* メディア */
.news-category.release {
    background-color: #fce7f3;
    color: #be185d;
}

/* リリース */
.news-category.important {
    background-color: #fee2e2;
    color: #991b1b;
}

/* 重要 */
.news-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    /* h3のデフォルトマージンをリセット */
}

.news-content p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-top: 0.25rem;
}


/* ブログ */
.blog-card {
    display: block;
    background-color: var(--color-bg-white);
    border-radius: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--color-border);
    transition: box-shadow 0.3s, transform 0.3s;
    overflow: hidden;
}

.blog-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-0.5rem);
}

.blog-card-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.blog-category {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.blog-category.rule {
    background-color: #f3e8ff;
    color: #7e22ce;
}

.blog-category.subsidy {
    background-color: #dcfce7;
    color: #166534;
}

.blog-category.workstyle {
    background-color: #dbeafe;
    color: #1d4ed8;
}

.blog-date {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.blog-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
}

.blog-card p {
    color: var(--color-text-base);
}

/* FAQ */
.faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: #f9fafb;
    /* gray-50 */
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: inset 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    /* gray-100 */
    cursor: pointer;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    position: relative;
    font-size: 1.125rem;
    font-weight: 700;
    padding-left: 2.5rem;
    /* Qのスペースを確保 */
}

.faq-question h3::before {
    content: 'Q';
    position: absolute;
    top: -6px;
    left: 0;
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: 700;
}

.faq-question-button {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-question-button.open {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    margin-top: 0;
}

.faq-answer.open {
    max-height: 500px;
    margin-top: 1rem;
}

/* お問い合わせ */
.contact-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3rem;
}

@media (max-width: 850px) {
    .contact-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
}

.contact-info {
    width: 50%;
    text-align: left;
}

@media (max-width: 850px) {
    .contact-info {
        width: 100%;
    }
}

.contact-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    font-size: 1.125rem;
}

.contact-info li {
    margin-bottom: 1rem;
}

.contact-form-wrapper {
    width: 50%;
}

@media (max-width: 850px) {
    .contact-form-wrapper {
        width: 100%;
    }
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.5);
}

.form-submit-wrapper {
    text-align: center;
}

.form-submit-wrapper .cta-button {
    padding-left: 3rem;
    padding-right: 3rem;
    border: none;
}


/* フッター */
.footer {
    background-color: var(--color-text-dark);
    color: white;
    padding: 3rem 2rem 1.5rem;
    /* パディングを調整 */
    text-align: left;
    /* デフォルトを左揃えに */
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}

@media (max-width: 850px) {
    .footer {
        padding: 3rem 1rem;
        text-align: center;
    }
}

.footer-sitemap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 3rem;
}

@media (max-width: 850px) {
    .footer-sitemap {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

.sitemap-column h4 {
    color: white;
    /* 見出しを白に */
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    /* 見出しの下に薄い線 */
    display: inline-block;
    /* 線を文字幅に合わせる場合はこれ、全体ならblock */
    width: 100%;
    /* 全幅に線を引く */
}

.sitemap-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-column li {
    margin-bottom: 0.8rem;
}

.sitemap-column a {
    color: #cbd5e1;
    /* slate-300 少し明るいグレー */
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.sitemap-column a:hover {
    color: var(--color-primary);
    /* ホバー時にメインカラーに */
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer p {
    margin-bottom: 0;
    font-size: 0.8rem;
    color: #94a3b8;
    /* slate-400 */
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #cbd5e1;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}