:root {
    --color-text-black-400: #1a1a1a;
    --color-footer-background: #1a1a1a;
}

html {
    scroll-behavior: smooth;
}

.body {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    position: relative;
}

.container {
    max-width: 1020px;
    margin: 0 auto;
    padding: 0 40px;
}

.heading-secondary {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 80px;
    color: var(--color-text-black-400);
}

.heading-tertiary {
    font-size: 20px;
    font-weight: 500;
    color: var(--color-text-black-400);
}

.text {
    font-size: 16px;
    line-height: 30px;
    color: var(--color-text-black-400);
}

.header__container {
    height: 80px;
    max-width: 1280px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    margin: 0 auto;
}

.header__logo {
    height: 48px;
}

.header__list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.header__item {
    font-size: 16px;
    font-weight: 400;
    transition: opacity 0.2s;
    color: var(--color-text-black-400);
}

.header__item:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
    opacity: 0.7;
}

.hero {
    position: relative;
    height: 720px;
    background-image: url(../img/mainvisual.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero__content {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 240px;
    padding-left: 40px;
    padding-right: 40px;
}

.hero__title {
    font-size: 64px;
    font-weight: 500;
    color: var(--color-text-black-400);
}

.hero__description {
    color: #4D515B;
    font-size: 20px;
    font-weight: 400;
    padding-top: 40px;
}

.service {
    padding-top: 120px;
    padding-bottom: 120px;
}

.numbered-list__item {
    display: flex;
    gap: 32px;
}

.numbered-list__item:not(:first-child) {
    margin-top: 80px;
}

.numbered-list__number {
    color: #757575;
    font-size: 14px;
    padding-top: 4px;
}

.numbered-list__description {
    margin-top: 16px;
}

.about {
    background-color: #FAFAFA;
    padding-top: 120px;
    padding-bottom: 120px;
}

.about__description {
    margin-bottom: 80px;
}

.about__table {
    width: 100%;
    max-width: 600px;
    border-collapse: collapse;
}

.about__table tr {
    border-bottom: 1px solid #E0E0E0;
}

.about__table-head {
    font-size: 14px;
    font-weight: 500;
    color: #757575;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 16px;
    width: 140px;
    text-align: left;
}

.about__table-data {
    font-size: 16px;
    line-height: 30px;
    color: var(--color-text-black-400);
    padding: 20px 0;
}

.feature {
    padding-top: 120px;
    padding-bottom: 120px;
}

/* ===== Cases Section ===== */
.cases {
    padding-top: 120px;
    padding-bottom: 120px;
    background-color: #FAFAFA;
}

/* カードグリッド */
.cases__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

/* カード */
.case-card {
    background: #fff;
    padding: 40px 32px;
    border: 1px solid #e0e0e0;
    transition: all 0.2s;
    cursor: pointer;
    position: relative;
    min-height: 390px;
}

.case-card:hover {
    border-color: var(--color-text-black-400);
}

.case-card:hover .case-card__arrow {
    transform: translateX(4px);
}

.case-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.case-card__tag {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: #757575;
    border: 1px solid #e0e0e0;
    padding: 3px 10px;
}

.case-card__issue {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
    color: var(--color-text-black-400);
    margin-bottom: 16px;
}

.case-card__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 24px;
}

.case-card__company {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-black-400);
}

.case-card__industry {
    font-size: 14px;
    color: #757575;
}

.case-card__summary {
    font-size: 15px;
    color: var(--color-text-black-400);
    line-height: 1.9;
    border-top: 1px solid #e0e0e0;
    padding-top: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.case-card__arrow {
    position: absolute;
    bottom: 32px;
    right: 32px;
    font-size: 18px;
    color: var(--color-text-black-400);
    transition: transform 0.2s;
}

.contact {
    padding-top: 120px;
    padding-bottom: 120px;
}

.contact__heading {
    text-align: center;
}

.contact__description {
    text-align: center;
}

.contact__btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
}

.contact__btn {
    padding: 16px 40px;
    border: 1px solid var(--color-text-black-400);
    transition: all 0.2s;
}

.contact__btn:hover {
    background-color: var(--color-text-black-400);
    color: #FFFFFF;
}

.footer {
    background-color: var(--color-footer-background);
    padding-top: 80px;
    padding-bottom: 40px;
    color: #FFFFFF;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 100px;
}

.footer__nav-group {
    display: flex;
    gap: 80px;
}

.footer__nav-label {
    font-size: 14px;
    margin-bottom: 16px;
    opacity: 0.7;
}

.footer__nav-item {
    transition: opacity 0.2s;
}

.footer__nav-item:not(:first-child) {
    margin-top: 12px;
}

.footer__nav-item:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
    opacity: 0.7;
}

.copyright {
    text-align: center;
}

.pc-none {
    display: none;
}

.hamburger {
    display: none;
}

.menu-sp {
    display: none;
}




/* ===== Contact Section ===== */
.contact-page {
    margin-top: 64px;
    padding-top: 56px;
    padding-bottom: 120px;
}

/* ページタイトル */
.contact-page__header {
    margin-bottom: 80px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 48px;
}

.contact-page__title {
    font-size: 36px;
    font-weight: 400;
    line-height: 1.4;
}

.contact-page__lead {
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-black-400);
}

/* ===== Form Layout ===== */
.contact-form {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.form-group {
    border-top: 1px solid #e0e0e0;
    padding: 36px 0;
}

.form-group:last-of-type {
    border-bottom: 1px solid #e0e0e0;
}

/* ラベル列 */
.form-group__label-col {
    padding-right: 24px;
    margin-bottom: 8px;
}

.form-label {
    font-size: 16px;
    color: var(--color-text-black-400);
}

.form-label__required {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #fff;
    background: var(--color-text-black-400);
    padding: 2px 6px;
    margin-left: 8px;
}

.form-label__optional {
    display: inline-block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #757575;
    border: 1px solid #c8c8c8;
    padding: 1px 6px;
    margin-left: 8px;
    vertical-align: middle;
    line-height: 1.4;
}

/* 入力列 */
.form-group__input-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* インプット共通 */
.form-input,
.form-textarea,
.form-select {
    width: 100%;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    color: var(--color-text-black-400);
    background: #fafafa;
    border: 1px solid #e0e0e0;
    padding: 12px 16px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--color-text-black-400);
    background: #fff;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #b0b0b0;
    font-size: 14px;
}

.form-textarea {
    resize: vertical;
    min-height: 200px;
    line-height: 1.8;
}

/* 補助テキスト */
.form-hint {
    font-size: 14px;
    color: #757575;
    line-height: 1.7;
}

/* プライバシーポリシー同意 */
.privacy-section {
    margin-top: 56px;
    padding: 32px;
    background: #fafafa;
    border: 1px solid #e0e0e0;
}

.privacy-section__text {
    font-size: 14px;
    line-height: 2;
    color: var(--color-text-black-400);
}

.privacy-section__link {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.privacy-check-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    width: fit-content;
}

/* 送信ボタン */
.form-submit-area {
    margin-top: 56px;
    display: flex;
    justify-content: center;
}

.form-submit-btn {
    display: inline-block;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 15px;
    font-weight: 500;
    padding: 18px 72px;
    background: var(--color-text-black-400);
    color: #fff;
    border: 1px solid var(--color-text-black-400);
    cursor: pointer;
    letter-spacing: 0.1em;
    transition: background 0.2s, color 0.2s;
}

.form-submit-btn:hover {
    background: #fff;
    color: var(--color-text-black-400);
}



/* ===== Privacy Page ===== */
.privacy-page {
    margin-top: 64px;
    padding-top: 56px;
    padding-bottom: 120px;
}

.privacy-page__header {
    margin-bottom: 80px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 48px;
}

.privacy-page__title {
    font-size: 36px;
    font-weight: 500;
}

.privacy-page__intro {
    margin-bottom: 56px;
}

.privacy-page__body {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.privacy-section-block {
    margin-bottom: 56px;
}

.privacy-section-block__heading {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.privacy-link {
    text-decoration: underline;
    text-underline-offset: 2px;
    color: var(--color-text-black-400);
    transition: opacity 0.2s;
}

.privacy-link:hover {
    opacity: 0.6;
}

.privacy-page__date {
    margin-top: 80px;
    color: #757575;
    font-size: 14px;
}


/* ===== パンくず ===== */
.breadcrumb {
    padding: 24px 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb__list {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #757575;
}

.breadcrumb__item a {
    transition: opacity 0.2s;
}

.breadcrumb__item a:hover {
    opacity: 0.6;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.breadcrumb__sep {
    color: #c8c8c8;
}

.breadcrumb__item--current {
    color: var(--color-text-black-400);
}


.case-detail {
    padding-top: 80px;
    border-bottom: 1px solid #e0e0e0;
}

.case-detail__header {
    max-width: 800px;
    margin-bottom: 64px;
}

.case-detail__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.case-detail__tag {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: #757575;
    border: 1px solid #e0e0e0;
    padding: 3px 10px;
}

.case-detail__title {
    font-size: 36px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 28px;
    color: var(--color-text-black-400);
}

.case-detail__meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.case-detail__company {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-black-400);
}

.case-detail__industry {
    font-size: 15px;
    color: #757575;
}

.case-detail__eyecatch {
    width: 100%;
    margin-bottom: 96px;
}

.case-detail__eyecatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* コンテンツ本文 */
.case-detail__body {
    max-width: 720px;
    margin: 0 auto;
}

.case-detail__section {
    margin-bottom: 80px;
}

.case-detail__section:not(:first-of-type) {
    padding-top: 80px;
    border-top: 1px solid #e0e0e0;
    margin-bottom: 80px;
}

.case-detail__section-heading {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 24px;
}

.case-detail__section-text {
    font-size: 16px;
    line-height: 1.9;
    color: var(--color-text-black-400);
}

.case-detail__section-text:not(:first-of-type) {
    margin-top: 20px;
}

/* Before / After */
.case-detail__beforeafter {
    display: flex;
    gap: 24px;
    margin-top: 40px;
}

.case-detail__beforeafter-item {
    width: 50%;
}

.case-detail__beforeafter-label {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.case-detail__beforeafter-label--before {
    color: #757575;
}

.case-detail__beforeafter-label--after {
    color: var(--color-text-black-400);
}

.case-detail__beforeafter-img {
    width: 100%;
}

.case-detail__beforeafter-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 制作物リンク */
.case-detail__link-section {
    margin-top: 80px;
    padding-top: 64px;
    border-top: 1px solid #e0e0e0;
}

.case-detail__link-label {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: #757575;
    margin-bottom: 20px;
}

.case-detail__site-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid var(--color-text-black-400);
    padding-bottom: 4px;
    transition: opacity 0.2s;
}

.case-detail__site-link:hover {
    opacity: 0.6;
}

.case-detail__site-link-arrow {
    font-size: 14px;
    transition: transform 0.2s;
}

.case-detail__site-link:hover .case-detail__site-link-arrow {
    transform: translate(3px, -3px);
}

/* 一覧へ戻る */
.case-detail__back {
    margin-top: 120px;
    padding-top: 64px;
    padding-bottom: 64px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.case-detail__back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #757575;
    transition: color 0.2s;
}

.case-detail__back-link:hover {
    color: var(--color-text-black-400);
}


/* ===== Cases Page ===== */
.cases-page {
    padding-top: 80px;
    padding-bottom: 120px;
    border-bottom: 1px solid #e0e0e0;
}

.cases-page__header {
    margin-bottom: 80px;
    padding-bottom: 64px;
    border-bottom: 1px solid #e0e0e0;
}

.cases-page__title {
    font-size: 36px;
    font-weight: 500;
    color: var(--color-text-black-400);
    margin-bottom: 28px;
}

.cases-page__lead {
    font-size: 16px;
    line-height: 1.9;
    color: #4D515B;
}
