/*
Theme Name: Bucks
Theme URI: 
Author: Your Name
Author URI: 
Description: Bucks company website theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bucks
*/

/* ==========================================================================
   1. Base Settings
   ========================================================================== */
/* ベースとなるスタイル設定 */
html {
    font-size: 62.5%;
}

body {
    font-family: "Zen Kaku Gothic New", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    margin: 0;
    position: relative;
    font-size: 1.6rem;
    overflow-x: hidden;
}

.wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.inner {
    max-width: 1920px;
    margin: 0 auto;
    width: 100%;
}

/* ==========================================================================
   2. Layout Components
   ========================================================================== */
/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    padding: 0 40px;
    height: 80px;
    box-shadow: none;  /* シャドウを削除 */
}

.header .inner {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 15px 0;
}

.logo {
    width: 158px;
    margin-left: 116px;
}

.logo img {
    filter: brightness(0);
}

/* ナビゲーション */
.nav {
    margin-left: auto;
    margin-right: 60px;
}

.menu {
    display: flex;
    gap: 60px;
    list-style: none;
}

.menu a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 1.4rem;
    font-family: 'Poppins';
}

/* お問い合わせボタン共通 */
.contact-btn {
    width: 210px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-family: "Zen Kaku Gothic New";
    font-weight: bold;
    font-size: 1.4rem;
    position: relative;
}

.contact-btn .arrow {
    position: absolute;
    right: 20px;
    width: 24px;
    height: 24px;
}

.contact-btn::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 1px solid #000;
    border-radius: 30px;
    pointer-events: none;
}

/* ==========================================================================
   3. Front Page Sections
   ========================================================================== */
/* メインビジュアル */
.mainvisual {
    margin-top: 120px;
    position: relative;
    height: 1000px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background-color: #fff;
}

.mainvisual::before,
.mainvisual::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
}

.mainvisual::before {
    top: -40px;
    height: calc(42% + 40px);
    background-color: #fff;
}

.mainvisual::after {
    bottom: 0;
    height: 58%;
    background-color: #ffc600;
}

.mainvisual .inner {
    position: relative;
    z-index: 1;
}

/* メインビジュアルタイトル */
.mainvisual-title {
    color: #fff;
    font-size: 16rem;
    font-family: 'Poppins';
    line-height: 1.1;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 210%);
    z-index: 10;
    text-align: center;
    white-space: nowrap;
}

.mainvisual-title span:first-child {
    font-size: 9rem;
    font-weight: 500;
    display: block;
}

.mainvisual-title span:last-child {
    margin-top: -20px;
    font-weight: 500;
}

/* メインビジュアルコンテンツ */
.mainvisual-content {
    position: relative;
    height: 100%;
}

.visual-item {
    position: absolute;
    width: 67rem;
    height: 74rem;
    transform: translateX(-50%);
}

.visual-item.left {
    left: calc(50% - 35.5rem);
}

.visual-item.right {
    left: calc(50% + 35.5rem);
}

.visual-item.left .image-container img {
    width: 140%;
    height: 140%;
    object-fit: cover;
    object-position: 100% 20%;
}

.visual-item.right .image-container img {
    width: 150%;
    height: 150%;
    object-fit: cover;
    object-position: center 30%;
}

.channel-name {
    color: #9d9d9d;
    font-size: 1.6rem;
    font-family: "Zen Kaku Gothic New";
    font-weight: bold;
    margin-bottom: -1.5rem;
    margin-left: 2rem;
    z-index: 2;
}

.image-container {
    position: relative;
    margin-top: 2rem;
    height: 100%;
    overflow: hidden;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.social-icons {
    position: absolute;
    top: -1px;
    right: 5px;
    display: flex;
    gap: 0;
    z-index: 5;
}

.social-icon {
    width: 30px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #fff;
    transform: scale(1.1);
}

.social-icon img {
    width: 20px;
    height: 20px;
}

.follower-count {
    position: absolute;
    top: 80px;
    right: -50px;
    transform: rotate(90deg);
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: left;
    color: #fff;
    font-family: 'Poppins';
}

.follower-label {
    font-size: 1.6rem;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

.follower-number {
    font-size: 5rem;
    line-height: 40px;
}

/* サービスセクション */
.service {
    padding: 40px 0 120px 0;
    background-color: #fff;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.service-inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* サービスヘッダー */
.service-header {
    font-family: 'Poppins';
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto 80px;
    position: relative;
    padding-top: 36px;
}

.service-title-group {
    flex-shrink: 0;
    position: relative;
    padding-right: 40px;
    display: flex;
    flex-direction: column;
}

.service-category {
    font-family: "Zen Kaku Gothic New";
    font-weight: 500;
    font-size: 1.8rem;
    color: #ffc600;
    margin-bottom: 10px;
    line-height: 1;
}

.service .section-title {
    font-size: 7.2rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.1em;
    height: 7.2rem;
    display: flex;
    align-items: center;
}

.service-line {
    width: 60px;
    height: 3px;
    background-color: #333;
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(10px);
}

/* サービスアイテムのグリッドレイアウト */
.service-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

/* サービス番号の基本スタイル */
.service-number {
    font-family: 'Poppins';
    font-weight: 600;   
    color: transparent;
    -webkit-text-stroke: 1px #000;
    position: absolute;
    font-size: 13rem;
    z-index: 1;
    line-height: 1;
}

/* 最初のサービスアイテム（01）の番号位置調整 */
.service-item:first-child .service-number {
    top: -40px;
    right: 620px;
    left: auto;
}

/* 2番目と3番目のサービスアイテムの番号位置調整 */
.service-item:nth-child(2) .service-number,
.service-item:nth-child(3) .service-number {
    top: -40px;
    right: 15px;
}

/* サービス画像の共通スタイル */
.service-image {
    position: relative;
    margin-bottom: 24px;
    overflow: visible;
}

.service-image::before,
.service-image::after {
    content: '';
    position: absolute;
    width: 64px;
    height: 64px;
    z-index: 2;
}

.service-image::before {
    top: -10px;
    left: -10px;
    border-left: 15px solid #FFC600;
    border-top: 15px solid #FFC600;
}

.service-image::after {
    bottom: -10px;
    right: -10px;
    border-right: 15px solid #FFC600;
    border-bottom: 15px solid #FFC600;
}

.service-image-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* サービス名の共通スタイル */
.service-name {
    font-family: 'Poppins';
    font-weight: 600;
    font-size: 6rem;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
    line-height: 1;
}

.service-name-ja {
    font-family: "Zen Kaku Gothic New";
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 30px;
    display: block;
}

/* 黄色下線の共通スタイル */
.service-name-underline {
    position: absolute;
    height: 26px;
    background-color: #FFC600;
    z-index: -1;
}

/* CASTINGアイテムのスタイル */
.service-item:first-child {
    grid-column: 1 / -1;
    display: flex;
    gap: 40px;
    align-items: center;
}

.service-item:first-child .service-image {
    flex: 0 0 490px;
    width: 490px;
    height: 570px;
}

.service-item:first-child .service-name,
.service-item:first-child .service-name-ja {
    text-align: left;
}

.service-item:first-child .service-name-underline {
    width: 370px;
    bottom: 0;
    left: -10px;
}

/* 02, 03のアイテムのスタイル */
.service-item:nth-child(2),
.service-item:nth-child(3) {
    width: 490px;
    margin-top: 80px;
}

.service-item:nth-child(2) .service-image,
.service-item:nth-child(3) .service-image {
    width: 490px;
    height: 300px;
}

.service-item:nth-child(2) .service-name,
.service-item:nth-child(3) .service-name {
    text-align: center;
}

.service-name-line {
    position: relative;
    display: inline-block;
}

.service-name-line .service-name-underline {
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}



/* 02の下線サイズ */
.service-item:nth-child(2) .service-name-line:first-of-type .service-name-underline {
    width: 520px;
}

.service-item:nth-child(2) .service-name-line:last-of-type .service-name-underline {
    width: 410px;
}

/* 03の下線サイズ */
.service-item:nth-child(3) .service-name-line:first-of-type .service-name-underline {
    width: 300px;
}

.service-item:nth-child(3) .service-name-line:last-of-type .service-name-underline {
    width: 270px;
}

/* 説明文スタイル */
.service-description {
    font-size: 1.8rem;
    line-height: 1.8;
    margin-top: 50px;
    text-align: left;
    max-width: 490px;
    margin-left: auto;
    margin-right: auto;
}

.service-sns-icon img {
    object-fit: contain;
    filter: brightness(0);
}

/* その他の調整 */
.service-name br {
    margin-bottom: 20px;
    display: block;
}

/* サービス説明文 */
.service-description {
    font-size: 1.4rem;
    line-height: 1.8;
}

.service-item:first-child .service-description {
    text-align: left;
}

/* 2番目と3番目のアイテム */
.service-item:nth-child(2),
.service-item:nth-child(3) {
    margin-top: 80px;
}

.service-item:nth-child(2) .service-content,
.service-item:nth-child(3) .service-content {
    text-align: center;
    padding: 40px 0;
}

.service-item:nth-child(2) .service-name,
.service-item:nth-child(3) .service-name {
    font-size: 6rem;
    margin-bottom: 16px;
    text-align: center;
}

.service-item:nth-child(2) .service-name-ja,
.service-item:nth-child(3) .service-name-ja {
    text-align: center;
}

/* 02, 03の説明文 */
.service-item:nth-child(2) .service-description,
.service-item:nth-child(3) .service-description {
    font-size: 1.8rem;
    line-height: 1.8;
    margin-top: 50px;
    text-align: left;
    max-width: 490px;
    margin-left: auto;
    margin-right: auto;
}

/* 02, 03の黄色下線 */
.service-item:nth-child(2) .service-name .service-name-underline,
.service-item:nth-child(3) .service-name .service-name-underline {
    position: absolute;
    height: 26px;
    background-color: #FFC600;
    z-index: -1;
    left: 50%;
    transform: translateX(-50%);
}

.service-item:nth-child(2) .service-name .service-name-underline:last-of-type {
    width: 420px; /* CONSULTING の幅に合わせる */
    bottom: 0;
}
.service-item:nth-child(2) .service-name-line:last-of-type .service-name-underline {
    bottom: 0;
    width: 410px;
}

/* CREATOR AGENCY の下線調整 */
.service-item:nth-child(3) .service-name .service-name-underline:last-of-type {
    width: 300px; /* CREATOR の幅に合わせる */
}
.service-item:nth-child(3) .service-name-line:last-of-type .service-name-underline {
    width: 270px;
}

/* 2行目のテキストの位置調整 */
.service-item:nth-child(2) .service-name br,
.service-item:nth-child(3) .service-name br {
    margin-bottom: 10px; /* 行間を調整 */
    display: block;
}

/* SNSアイコングループ */
.service-sns-icons {
    display: flex;
    gap: 24px;
    margin-top: 24px;
}

.service-sns-icon {
    width: 32px;
    height: 32px;
}

.service-sns-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0);
}

/* サービスコンテンツの配置調整 */
.service-item:first-child {
    align-items: center;
}

.service-item:first-child .service-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 570px;
    padding: 40px 0;
}

/* 02, 03の黄色下線 */
.service-name-line .service-name-underline {
    position: absolute;
    height: 26px;
    background-color: #FFC600;
    z-index: -1;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}

/* 行間の調整 */
.service-name br {
    margin-bottom: 20px;
    display: block;
}

/* 02, 03の画像サイズ調整 */
.service-item:nth-child(2) .service-image,
.service-item:nth-child(3) .service-image {
    width: 490px;
    height: 300px;
    margin: 0 auto; /* 中央配置 */
    aspect-ratio: auto; /* 既存のaspect-ratioを上書き */
}

.service-item:nth-child(2) .service-image img,
.service-item:nth-child(3) .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 画像コンテナの追加 */
.service-item:nth-child(2) .service-image-container,
.service-item:nth-child(3) .service-image-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.service-item {
    position: relative;  /* 追加：番号の基準位置として */
    padding-top: 0;  /* 追加：番号のスペース確保 */
}

/* サービスアイテムの位置調整 */
.service-item {
    position: relative;
}


/* 説明テキスト */
.section-text {
    font-family: "Zen Kaku Gothic New";
    text-align: left;
    margin: 0;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.75;
    width: 549px;
    letter-spacing: 0.05em;
    padding-top: 42px; /* SERVICEの中心に合わせて調整 */
}

/* ABOUTセクション */
.about {
    background-color: #1A1A1A;
    color: #fff;
    padding: 140px 0;
    text-align: center;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.about-inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* ABOUTタイトル */
.about-title-group {
    margin-bottom: 80px;
    position: relative;
    display: inline-block;
}

.about-category {
    font-family: "Zen Kaku Gothic New";
    font-size: 1.6rem;
    font-weight: 500;
    color: #FFC600;
    margin-bottom: 10px;
    line-height: 1;
}

.about .section-title {
    font-family: 'Poppins';
    font-size: 7.2rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.1em;
}

/* ABOUTテキスト */
.about-text {
    font-family: "Zen Kaku Gothic New";
    font-size: 3.6rem;
    font-weight: 500;
    line-height: 2;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
}

.about-description {
    font-family: "Zen Kaku Gothic New";
    font-size: 2rem;
    line-height: 2;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

/* CREATORセクション */
.creator {
    background-color: #FFC600;
    padding: 140px 0;
    text-align: center;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.creator-inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* CREATORタイトル */
.creator-title-group {
    margin-bottom: 80px;
    position: relative;
    display: inline-block;
}

/* タイトルと縦線の間のスペース確保 */
.creator-title-group::after {
    content: '';
    width: 2px;  /* 縦線の幅 */
    height: 53px;  /* 縦線の長さ */
    background-color: #000000;  /* 縦線の色 */
    position: absolute;
    bottom: -80px;  /* タイトルからの距離 */
    left: 50%;  /* 中央配置 */
    transform: translateX(-50%);  /* 完全中央に */
}

.creator-category {
    font-family: "Zen Kaku Gothic New";
    font-size: 1.6rem;
    font-weight: 500;
    color: #1A1A1A;
    margin-bottom: 10px;
    line-height: 1;
}

.creator .section-title {
    font-family: 'Poppins';
    
    font-size: 7.2rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.1em;
    color: #000000;
}
/* トップページのカードグリッドは変更なし */
.creator-items {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 100px;  /* トップページは既存の余白を維持 */
}


/* クリエイターページのカードグリッド */
.page.creator-page .creator-items {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 180px;  /* カードグリッドの上部マージンを増やす */
}

/* クリエイターカード */
.creator-item {
    background-color: #f4f4f4;  /* 白背景 */
    border-radius: 10px;
    overflow: hidden;
}

.creator-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.creator-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* クリエイターカードの詳細文 */
.creator-description {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: #333;
    font-family: "Zen Kaku Gothic New";
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    -webkit-line-clamp: 3;  /* 3行に制限 */
    overflow: hidden;
    height: 75px;  /* 3行分の高さを固定 */
}

/* SNSアイコンの位置を固定 */
.creator-content {
    padding: 24px;
    text-align: left;
    position: relative;  /* 追加 */
    height: 200px;      /* 高さを固定 */
}

.creator-sns {
    display: flex;
    gap: 8px;
    position: absolute;  /* 追加 */
    bottom: 24px;       /* 追加 */
    left: 24px;         /* 追加 */
}

.creator-name {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 16px;
    font-family: "Zen Kaku Gothic New";
}

.creator-sns a {
    width: 24px;
    height: 24px;
    display: block;
    transition: opacity 0.3s ease;
}

.creator-sns a:hover {
    opacity: 0.7;
}

.creator-sns img {
    width: 100%;
    height: 100%;
}

/* もっと見るボタン */
.more-btn {
    width: 210px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background-color: #000000;
    color: #ffc600;
    text-decoration: none;
    border-radius: 30px;
    font-family: "Zen Kaku Gothic New";
    font-weight: bold;
    font-size: 1.4rem;
    position: relative;
    margin: 0 auto; /* 中央配置のために追加 */
    margin-top: 100px;

}

.more-btn::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 1px solid #000000;
    border-radius: 30px;
    pointer-events: none;
}

/* もっと見るボタンの矢印 */
.more-btn .arrow {
    position: absolute;
    right: 10px;
    width: 20px;  /* 24pxから16pxに変更 */
    height: 20px; /* 24pxから16pxに変更 */
}

/* NEWSセクション */
.news {
    background-color: #fff;
    padding: 140px 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.news-inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* NEWSヘッダー */
.news-header {
    display: flex;
    align-items: flex-start;
    gap: 140px;
}

/* NEWSタイトルグループ */
.news-title-group {
    position: relative;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.news-category {
    font-family: "Zen Kaku Gothic New";
    font-size: 1.8rem;
    font-weight: 500;
    color: #FFC600;
    margin-bottom: 10px;
    line-height: 1;
}

.news .section-title {
    font-family: 'Poppins';
    font-size: 7.2rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.1em;
}

.news .section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #333;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
}

/* NEWSカード */
.news-items {
    display: flex;
    gap: 24px;
}

.news-item {
    width: 255px;
    transition: opacity 0.3s ease;
}

.news-item:hover {
    opacity: 0.7;
}

.news-link {
    text-decoration: none;
    color: #1A1A1A;
    display: block;
}

.news-image {
    width: 100%;
    aspect-ratio: 16/9;  /* 標準的な16:9比率に統一 */
    overflow: hidden;
    margin-bottom: 24px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-date {
    font-family: 'Poppins';
    font-size: 1.4rem;
    color: #9D9D9D;
    margin-bottom: 16px;
    padding: 0 10px;
}

.news-title {
    font-size: 1.6rem;
    line-height: 1.75;
    padding: 0 10px;
}

/* もっと見るボタン */
.news .more-btn {
    background-color: #000000;
    color: #fff;
    margin: 60px 0 0; /* 左寄せに変更 */
}

.news .more-btn::after {
    border-color: #000000;
}

/* NEWSコンテンツ全体のレイアウト */
.news-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 左寄せ */
}
/* ==========================================================================
   5. Footer
   ========================================================================== */
/* フッター基本設定 */
.footer {
    background-color: #1A1A1A;
    padding: 80px 0 40px;
    color: #fff;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* フッターナビゲーション */
.footer-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
}

.footer-logo {
    width: 158px;
}

.footer-logo img {
    filter: brightness(100); /* 白色に変更 */
}

.footer-menu {
    display: flex;
    gap: 60px;
    list-style: none;
}

.footer-menu a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 1.4rem;
    font-family: 'Poppins';
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-menu-ja {
    font-family: "Zen Kaku Gothic New";
    font-size: 1.2rem;
    color: #9D9D9D;
    margin-top: 8px;
    font-weight: normal;
}

/* フッター下部 */
.footer-bottom {
    display: flex;
    justify-content: flex-end; /* 右寄せに変更 */
    align-items: center;
    margin-bottom: 80px;
    gap: 40px; /* Instagram と お問い合わせの間隔 */
}


.footer-instagram {
    width: 24px;
    height: 24px;
    display: block;
}

.footer-instagram img {
    width: 100%;
    height: 100%;
    filter: brightness(100);
}



/* フッターのお問い合わせボタン */
.footer .contact-btn {
    background-color: #FFC600;
    color: #000;
}

.footer .contact-btn::after {
    border-color: #FFC600;
}

.footer .contact-btn .arrow {
    filter: brightness(0);
}

/* コピーライト */
.copyright {
    font-family: 'Poppins';
    font-size: 1.2rem;
    color: #9D9D9D;
    text-align: center;
    padding-top: 40px;
}


/* お問い合わせページ */
.contact {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(
        to bottom,
        #F7F7F7 0%,        /* 鼠色の開始位置 */
        #F7F7F7 230px,     /* 鼠色の終了位置（高さ240px） */
        #fff 230px,        /* 白色の開始位置 */
        #fff 100%          /* 白色の終了位置 */
    );
}

.contact-inner {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* ヘッダー部分の調整 */
.contact-header {
    margin-bottom: 60px;  /* さらに縮小 */
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 116px;
}

/* カテゴリーテキスト */
.contact-category {
    font-family: "Zen Kaku Gothic New";
    font-size: 1.8rem;
    font-weight: 500;
    color: #333;  /* 黒色に変更 */
    margin-bottom: 10px;
    line-height: 1;
}

/* メインタイトル */
.contact .section-title {
    font-family: 'Poppins';
    font-size: 7.2rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.1em;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 40px;  /* タイトルと線の間隔 */
}

/* 横線 */
.contact .section-title::after {
    content: '';
    width: 60px;
    height: 3px;
    background-color: #333;
    position: static;  /* absoluteから解除 */
    transform: none;  /* transformを解除 */
}

/* 黄色の装飾の基本設定 */
.contact::before,
.contact::after,
.contact .decoration {
    content: '';
    position: absolute;
    height: 40px;
    background-color: #FFC600;
}

/* 左の黄色の長方形 */
.contact::before {
    width: 92px;  /* 元の幅を維持 */
    top: 210px;
    left: 0;
}

/* 左から2番目の黄色の長方形 */
.contact .decoration {
    width: 40px;
    top: 210px;
    left: 122px;
    position: absolute;  /* absoluteの位置指定は.contactを基準にします */
    height: 40px;
    background-color: #FFC600;
}

/* 右側の黄色の長方形 */
.contact::after {
    width: 296px;  /* 幅を60pxに変更 */
    top: 210px;
    right: 0;
}

/* フォーム全体の調整 */
.contact-form {
    max-width: 810px;
    margin: 0 auto;
    margin-top:220px;

}

/* フォームグループの調整 */
.form-group {
    margin-bottom: 24px;  /* さらに縮小 */
}

.form-group:last-of-type {
    margin-bottom: 32px;
}

/* ラベルの調整 */
.form-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.form-label-text {
    font-family: "Zen Kaku Gothic New";
    font-size: 1.6rem;
    font-weight: bold;
    color: #333;
}

/* 必須マークの調整 */
.required {
    background-color: #000;
    color: #fff;
    font-size: 1.2rem;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
}

/* 入力フィールドの調整 */
.form-input {
    width: 100%;
    padding: 16px 24px;
    border: 1px solid #DDDDDD;
    border-radius: 8px;
    font-size: 1.6rem;
    background-color: #F7F7F7;
    font-weight: 500;
    font-family: "Zen Kaku Gothic New";
}

.form-input:focus {
    outline: none;
    border-color: #FFC600;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(255, 198, 0, 0.1);
}

textarea.form-input {
    height: 240px;
    resize: vertical;
}

/* フォームグループの横並び設定 */
.form-group.name-group {
    display: flex;
    gap: 40px;  /* 名前とフリガナの間隔 */
}

.form-group.name-group .form-group {
    flex: 1;  /* 均等に幅を分配 */
    margin-bottom: 0;  /* 下マージンを削除 */
}

/* プライバシーポリシー部分の中央揃え */
.privacy-policy {
    margin: 32px 0;
    padding: 24px 0;
    text-align: center;
    font-family: "Zen Kaku Gothic New";
}

.privacy-policy-text {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: #666;
    font-weight: 500;
    font-family: "Zen Kaku Gothic New";
}

.privacy-policy-text br {
    display: inline-block;  /* brタグのマージンを制御するため */
    margin-bottom: 8px;    /* 行間の調整 */
}

.privacy-policy-link {
    color: #000;
    text-decoration: underline;
    font-weight: 500;
    transition: opacity 0.3s ease;
    font-family: "Zen Kaku Gothic New";
}

/* プレースホルダーのフォント設定 */
.form-input::placeholder {
    font-family: "Zen Kaku Gothic New";
}

/* 送信ボタンの中央揃え */
.submit-button-wrapper {
    margin-top: 32px;
    display: flex;          /* 追加 */
    justify-content: center; /* 追加 */
}

.submit-button {
    width: 210px;
    height: 50px;
    background-color: #FFC600;
    color: #000;
    border: none;
    border-radius: 30px;
    font-family: "Zen Kaku Gothic New";
    font-weight: bold;
    font-size: 1.4rem;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    display: flex;          /* inline-flexから変更 */
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

.submit-button:hover {
    opacity: 0.7;
}

.submit-button::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 1px solid #FFC600;
    border-radius: 30px;
    pointer-events: none;
}

/* 送信ボタンの矢印位置調整 */
.submit-button::before {
    content: '';
    position: absolute;
    right: 20px;
    width: 24px;
    height: 24px;
    background-image: url('../images/allow01.svg');
    background-size: contain;
    background-repeat: no-repeat;
    filter: brightness(0);
}

/* エラーメッセージの調整 */
.wpcf7-not-valid-tip {
    color: #ff4444;
    font-size: 1.2rem;
    margin-top: 8px;
    display: block;
}

.wpcf7-response-output {
    margin: 40px 0 0;
    padding: 16px;
    border-radius: 8px;
    font-size: 1.4rem;
    text-align: center;
}

/* ==========================================================================
   4. Common Page Header
   ========================================================================== */
/* ページ基本設定 */
.page {
    padding-top: 50px;  /* ヘッダーの高さ分 */
    background-color: #fff;  /* 追加：白背景 */
}

/* WordPress管理バー対応 */
.admin-bar .header {
    top: 32px;  /* 管理バーの高さ分を追加 */
}

.admin-bar .page {
    padding-top: 50px;  /* 管理バーがある場合の余白 */
}

/* スマートフォンサイズでの管理バー対応（782px以下） */
@media screen and (max-width: 782px) {
    .admin-bar .header {
        top: 46px;  /* モバイル時の管理バーは46px */
    }

    .admin-bar .page {
        padding-top: 50px;
    }
}

/* メインセクション */
.page-section {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(
        to bottom,
        #F7F7F7 0%,
        #F7F7F7 230px,
        #fff 230px,
        #fff 100%
    );
}

.page-inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

/* ヘッダー部分 */
.page-header {
    margin-bottom: 60px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* カテゴリーテキスト */
.page-category {
    font-family: "Zen Kaku Gothic New";
    font-size: 1.8rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
    line-height: 1;
}

/* メインタイトル */
.page-section .section-title {
    font-family: 'Poppins';
    font-size: 7.2rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.1em;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 40px;
}

/* 横線 */
.page-section .section-title::after {
    content: '';
    width: 60px;
    height: 3px;
    background-color: #333;
    position: static;
}

/* 黄色の装飾 */
.page-section::before,
.page-section::after,
.page-section .decoration {
    content: '';
    position: absolute;
    height: 40px;
    background-color: #FFC600;
}

/* 左の黄色の長方形 */
.page-section::before {
    width: 92px;
    top: 210px;
    left: 0;
}

/* 左から2番目の黄色の長方形 */
.page-section .decoration {
    width: 40px;
    top: 210px;
    left: 122px;
}

/* 右側の黄色の長方形 */
.page-section::after {
    width: 296px;
    top: 210px;
    right: 0;
}

/* ページネーションの位置調整 */
.pagination {
    margin-top: 80px;  /* カードグリッドとの間隔 */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

/* CREATORセクションのもっと見るボタン */
.creator .more-btn .arrow {
    position: absolute;
    right: 10px;
    width: 20px;
    height: 20px;
    filter: none;  /* 既存のfilterを解除 */
}

/* 通常のもっと見るボタンの矢印（黒背景用） */
.more-btn .arrow {
    position: absolute;
    right: 10px;
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);  /* 白色に変換 */
}

/* ニュースページのカードグリッド */
.page.news-page .news-items {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 346px);  /* カードの幅を固定 */
    gap: 40px 32px;  /* 縦40px、横32pxの間隔 */
    margin-top: 180px;
    justify-content: center;  /* グリッドを中央寄せ */
}

/* ニュースカード */
.page.news-page .news-item {
    width: 100%;
    color: #1A1A1A;
    cursor: default;  /* カーソルをデフォルトに */
}

/* ホバー効果を削除 */
.page.news-page .news-item:hover {
    opacity: 1;
}

.page.news-page .news-image {
    width: 100%;
    aspect-ratio: 16/9;  /* 標準的な16:9比率に統一 */
    overflow: hidden;
    margin-bottom: 24px;
}

.page.news-page .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page.news-page .news-date {
    font-family: 'Poppins';
    font-size: 1.4rem;
    color: #9D9D9D;
    margin-bottom: 16px;
    padding: 0 10px;
}

.page.news-page .news-title {
    font-size: 1.6rem;
    line-height: 1.75;
    padding: 0 10px;
}

/* 会社概要の図とテキストのレイアウト */
.company-concept {
    display: flex;
    align-items: center;
    gap: 120px;
    margin: 180px auto 160px;
    max-width: 1000px;
}

/* 図の部分 */
.company-diagram {
    position: relative;
    width: 400px;
    height: 400px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-diagram img {
    width: 100%;
    height: auto;
}

/* テキスト部分 */
.company-catch {
    text-align: left;
    flex-grow: 1;
}

.catch-title {
    font-size: 3.6rem;
    font-weight: bold;  /* 500に指定 */
    margin-bottom: 40px;
    line-height: 1.8;
    font-family: "Zen Kaku Gothic New";
    letter-spacing: 0.3em;  /* 字間を300（0.3em）に設定 */
}

.catch-description {
    font-size: 1.8rem;
    font-weight: 500;  /* 500に指定 */
    line-height: 2;
    color: #000000;
    font-family: "Zen Kaku Gothic New";
    letter-spacing: 0.3em;  /* 字間を300（0.3em）に設定 */
}

/* 会社情報テーブル */
.company-info {
    max-width: 1000px;
    margin: 0 auto;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    position: relative;
}

/* テーブルの各行のスタイル */
.info-table tr {
    position: relative;
}

/* 各行の黄色線部分 */
.info-table tr::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20%;  /* 黄色線の長さ */
    height: 1px;
    background-color: #FFC600;
}

/* 各行のグレー線部分 */
.info-table tr::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;  /* 黄色線の終わりから */
    width: 100%;  /* 残りの幅 */
    height: 1px;
    background-color: #DDDDDD;
}

.info-table th,
.info-table td {
    padding: 32px;
    border-bottom: none;  /* 既存のボーダーを削除 */
    font-family: "Zen Kaku Gothic New";
    text-align: left;
    font-weight: 500;
    line-height: 1.8;
}

.info-table th {
    width: 320px;
    color: #000000;
}

.info-table td {
    color: #000000;
}

/* 最初の行の上部にも線を追加 */
.info-table::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 20%;
    height: 1px;
    background-color: #FFC600;
}

.info-table::after {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    width: 100%;
    height: 1px;
    background-color: #DDDDDD;
}

/* キャッチコピーの黄色下線付きテキスト */
.catch-title .highlight {
    position: relative;
    display: inline-block;
    z-index: 1;  /* テキストを線の上に表示 */
}

.catch-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;  /* 下線の位置を調整 */
    left: -3%;  /* 中央から開始 */
    width: 100%;  /* 文字幅より少し狭く */
    height: 24px;  /* 線の太さ */
    background-color: #FFC600;
    z-index: -1;  /* テキストの背後に配置 */
}

/* プライバシーポリシーページ */
.privacy-content {
    max-width: 1000px;
    margin: 120px auto 0;
    font-family: "Zen Kaku Gothic New";
}

.privacy-intro {
    font-size: 1.6rem;
    line-height: 2;
    margin-bottom: 80px;
}

.privacy-section {
    margin-bottom: 60px;
}

.privacy-title {
    font-size: 2.4rem;
    font-weight: 500;
    margin-bottom: 32px;
    position: relative;
    padding-bottom: 24px;
}

/* 会社概要ページと同じ黄色とグレーの線 */
.privacy-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20%;
    height: 1px;
    background-color: #FFC600;
}

.privacy-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 100%;
    height: 1px;
    background-color: #DDDDDD;
}

.privacy-text {
    font-size: 1.6rem;
    line-height: 2;
    color: #000000;
}

/* プライバシーポリシーのリストスタイル */
.privacy-list {
    list-style: none;
    padding: 0;
    counter-reset: privacy-counter;  /* カウンターをリセット */
}

.privacy-list li {
    font-size: 1.6rem;
    line-height: 2;
    color: #000000;
    margin-bottom: 16px;
    padding-left: 2.5em;  /* 数字用のスペースを確保 */
    position: relative;
}

.privacy-list li::before {
    counter-increment: privacy-counter;  /* カウンターをインクリメント */
    content: counter(privacy-counter);  /* カウンターの値を表示 */
    position: absolute;
    left: 0;
    top: 50%;  /* 垂直方向の中央配置 */
    transform: translateY(-50%);  /* 完全な中央配置のための調整 */
    width: 24px;
    height: 24px;
    background-color: #FFC600;  /* 黄色の背景 */
    border-radius: 50%;  /* 円形に */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #FFFFFF;  /* 数字を白色に */
    font-weight: bold;
    text-align: center;  /* テキストを中央揃え */
}

/* 取引先ロゴスライダー */
.partners {
    background-color: #fff;
    padding: 20px 0 10px 0;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.partners-inner {
    max-width: 100%;
    margin: 0 auto;
}

.partners-slider {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.partners-track {
    display: inline-flex;
    animation: scroll-left 60s linear infinite;
    align-items: center;
}

.partner-logo {
    display: inline-block;
    margin: 0 -50px;
    min-width: 280px;
    height: 67px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

.partner-logo img {
    max-width: 280px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.partner-logo:hover img {
    transform: scale(1.05);
}

/* アニメーション定義 */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   単体ニュース記事ページ
   ========================================================================== */
.single-news-page {
    padding-top: 140px;
}

.single-news-article {
    max-width: 800px;
    margin: 0 auto;
}

.single-news-image {
    width: 100%;
    aspect-ratio: 16/9;  /* より標準的な16:9比率 */
    overflow: hidden;
    margin-bottom: 40px;
    border-radius: 8px;
}

.single-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-news-meta {
    margin-bottom: 40px;
    text-align: left;
}

.single-news-date {
    font-family: 'Poppins';
    font-size: 1.4rem;
    color: #9D9D9D;
    margin-bottom: 16px;
}

.single-news-title {
    font-size: 2.8rem;
    font-weight: bold;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.single-news-content {
    font-size: 1.6rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 60px;
}

.single-news-content p {
    margin-bottom: 24px;
}

.single-news-content h2,
.single-news-content h3 {
    margin: 40px 0 20px;
    font-weight: bold;
}

.single-news-content h2 {
    font-size: 2.4rem;
}

.single-news-content h3 {
    font-size: 2.0rem;
}

.back-to-news {
    text-align: center;
    margin: 60px 0;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.4rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.arrow-left {
    font-size: 1.6rem;
}