body {
    margin: 0;
    font-family: "Sitka Text", serif;
    font-weight: 600; /* Semibold */
    letter-spacing: 0.03em;
}

/* --------------------------------
   レイアウト用コンテナ
   -------------------------------- */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 100px; /* PC */
}

/* 画面幅が小さくなるにつれて左右の余白を減らす */
@media (max-width: 1199px) {
    .container {
      padding: 0 80px;
    }
}

@media (max-width: 991px) {
    .container {
      padding: 0 60px;
    }
}

@media (max-width: 767px) {
    .container {
      padding: 0 32px;
    }
}

@media (max-width: 479px) {
    .container {
      padding: 0 20px;
    }
}

/* 汎用flexクラス（必要に応じて使う） */
.flex {
    display: flex;
}

/* --------------------------------
   ヘッダー（PC）
-------------------------------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #f7f7f7;
    z-index: 3000;
}

#header .container {
    display: flex;
    align-items: center;
    height: 80px;
    margin: 0 auto;
}

/* ロゴ */
.logo {
    width: 120px;
    height: auto;
    margin-right: auto;
}

.logo img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* グローバルナビ（PC） */
.g-nav {
    display: block;
}

.g-nav .sp-nav {
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.g-nav a.menu-item {
    display: inline-block;
    padding: 6px 12px;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 0.08em;
    text-transform: capitalize;
    color: #EE7B33;
    position: relative;
    border-radius: 8px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.g-nav a.menu-item:hover {
    color: #fff;
    background-color: #EF8C4C;
    border-radius: 8px;
}

/* ============================
   ハンバーガー（SPのみ）
============================ */
.hamburger {
    display: none;
    width: 28px;
    height: 22px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3100;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    margin-bottom: 6px;
    transition: .3s;
}

.hamburger span:last-child {
    margin-bottom: 0;
}

/* ハンバーガー → × */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ============================
   SPメニュー（オーバーレイ）
============================ */
.sp-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.sp-menu.open {
    display: flex;
}

.sp-menu-inner {
    text-align: center;
}

.sp-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sp-menu-list li {
    margin: 32px 0;
}

.sp-menu-list a {
    color: #fff;
    font-size: 22px;
    font-weight: 300;
    text-decoration: none;
    line-height: 1.4;
}

/* サブ文字 */
.sp-menu-list a span {
    display: block;
    font-size: 13px;
    opacity: 0.7;
    margin-top: 4px;
}

/* ============================
   スマホ表示時（〜768px）
============================ */
@media (max-width: 768px) {

    header {
        background-color: #332E2D;
    }

    #header .container {
        height: 64px;
        padding: 0 16px;
        box-sizing: border-box;
        position: relative;
    }

    /* PCナビを非表示 */
    .g-nav {
        display: none;
    }

    /* ハンバーガー表示 */
    .hamburger {
        display: block;
    }

    body {
        margin: 0;
        padding-top: 64px !important;
    }
}

@media (max-width: 370px) {
    #home .title {
        font-size: 24px;
        white-space: normal;
        line-height: 1.3;
    }
}

body {
    margin: 0;
    padding-top: 80px;
}

/* MVセクション全体 */
#home {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* 画像＋タイトルを包む箱 */
#home .mv-inner {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* MV画像（PC/SP共通） */
#home .mv-inner img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
}

/* MV上のキャッチコピー */
#home .title {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    font-size: 32px;
    line-height: 1.4;
    font-weight: 600;
    padding: 0 16px;
    white-space: nowrap;
    overflow: visible;
    word-break: keep-all;
}

/* SP用調整 */
@media screen and (max-width: 767px) {

    /* picture の幅制限を解除して全幅にする */
    #home .mv-inner picture {
        display: block;
        width: 100%;
    }

    #home .mv-inner img {
        display: block;
        width: 100%;
        height: auto !important;
        max-width: 100% !important;
        object-fit: cover;
    }

    /* タイトル */
    #home .title {
        top: 30%;
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
        font-size: 24px;
        line-height: 1.5;
    }
}

/* 他セクション共通のサブタイトル（Visionなど用） */
.sub-title {
    display: block;
    font-size: 14px;
    color: #777777;
    margin-top: 4px;
    margin-bottom: 62px;
}

#vision {
    width: 100%;
    margin: 0;
    padding: 0;
}

#vision .vision-inner {
    display: flex;
    align-items: center;
    width: 100%;
}

#vision .vision-img {
    flex: 0 0 auto;
}

#vision .vision-img img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
}

#vision .box {
    flex: 1;
    max-width: 540px;
    margin: 0 auto;
    padding: 0 24px;
}

#vision h2 {
    font-size: 46px;
    margin: 0 0 6px;
    color: #EF8C4C;
    line-height: 1.1;
}

#vision p {
    font-size: 14px;
    color: #6E6E6E;
    font-weight: 300;
    line-height: 2.4;
    margin: 0;
}

/* SP用レイアウト調整 */
@media screen and (max-width: 767px) {

    #vision .vision-inner {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    #vision .box {
        max-width: 100%;
        padding: 32px 16px 24px;
        margin: 0;
    }

    #vision h2 {
        font-size: 28px;
        margin-top: 24px;
        margin-bottom: 4px;
    }

    .sub-title {
        font-size: 12px;
        margin-bottom: 36px;
    }

    #vision p {
        font-size: 13px;
        line-height: 2;
    }

    #vision .vision-img {
        width: 100%;
        margin-top: 16px;
    }

    #vision .vision-img img {
        width: 100%;
        height: auto;
        display: block;
    }
}

/* Tablet（768px〜1180px）はSPと同じ構造にしつつ、画像だけ差し替え */
@media screen and (min-width: 768px) and (max-width: 1180px) {

    #vision .vision-inner {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    #vision .vision-img,
    #vision .vision-img picture,
    #vision .vision-img img {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0;
        padding: 0;
    }

    #vision .box {
        max-width: 100%;
        padding: 32px 16px 24px;
        margin: 0;
    }

    #vision h2 {
        font-size: 32px;
        margin-top: 24px;
        margin-bottom: 4px;
    }

    #vision p {
        font-size: 14px;
        line-height: 2.2;
    }
}

#service {
    width: 100%;
    margin: 0;
    padding: 80px 0;
    background-color: #EFF0F3;
}

#service h2 {
    font-size: 46px;
    margin: 0 0 6px;
    color: #EF8C4C;
    line-height: 1.1;
}

#service .text-title {
    font-size: 24px;
    line-height: 1.4;
    font-weight: 600;
    margin: 0 0 12px;
    color: #111;
}

#service .text-desc {
    font-size: 16px;
    line-height: 2.0;
    font-weight: 300;
    width: 100%;
    margin: 0;
    color: #5F5F5F;
}

/* 2つのサービスを横並び */
.service-items {
    display: flex;
    justify-content: space-between;
    gap: 82px;
    margin-top: 48px;
}

.item-service {
    flex: 1;
}

/* 01/02共通：シリアル＋英語を横並びで左揃え */
.service-head {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: flex-start;  /* ← 左揃え */
}

/* シリアルバッジ */
.serial {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 67px;
    height: 28px;
    padding: 0;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background-color: #EE7B33;
}

/* 英語キー */
.text-key {
    font-size: 16px;
    font-weight: 600;
    color: #EE7B33;
    margin: 0;
    line-height: 1.2;
}

/* 日本語タイトル（01/02共通） */
.item-service-title {
    font-size: 24px;
    font-weight: 600;
    margin: 16px 0 0;
    text-align: left;
}

/* 画像（01/02共通） */
.service-itm-img {
    margin-top: 24px;
}

.service-itm-img img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.item-text-desc {
    font-size: 14px;
    line-height: 1.6;
    font-weight: 300;
    color: #5F5F5F;
    margin-top: 24px;
}

.wrap-tag {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 24px;
}

.tag {
    background-color: #D9DCE4;
    padding: 0 8px;
    font-size: 12px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.5px;
    border-radius: 30px;
}

/* SP用（767px以下） */
@media screen and (max-width: 767px) {

    #service {
        padding: 48px 0;
    }

    /* コンテナの左右余白調整 */
    #service .container {
        padding: 0 16px;
        box-sizing: border-box;
    }

    /* 見出しまわり */
    #service h2 {
        font-size: 30px;
        margin-top: 24px;
        margin-bottom: 4px;
    }

    #service .text-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    #service .text-desc {
        font-size: 14px;
        line-height: 1.8;
    }

    /* 2つのサービスを縦並びに */
    .service-items {
        display: flex;
        flex-direction: column;
        gap: 32px;
        margin-top: 32px;
    }

    .item-service-left {
        margin-top: 24px;
    }

    .item-service-right {
        margin-top: 24px;
    }

    .item-service {
        width: 100%;
    }

    /* ヘッダーまわりを少しコンパクトに */
    .service-head {
        gap: 12px;
    }

    .serial {
        min-width: 56px;
        height: 24px;
        font-size: 14px;
    }

    .text-key {
        font-size: 14px;
    }

    .item-service-title {
        font-size: 18px;
        margin-top: 8px;
        color: #3A3A3A;
    }

    .service-itm-img {
        margin-top: 6px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    }

    .item-text-desc {
        font-size: 13px;
        line-height: 1.8;
        margin-top: 16px;
    }

    .wrap-tag {
        gap: 10px;
        margin-top: 16px;
    }

    .tag {
        font-size: 11px;
        line-height: 18px;
        padding: 0 8px;
    }
}

#value {
    width: 100%;
    margin: 0;
    padding: 80px 0;
}

#value h2 {
    font-size: 46px;
    margin: 0 0 6px;
    color: #EF8C4C;
    line-height: 1.1;
}

#value .value-text {
    display: flex;
    align-items: center;
    gap: 20px;
}

#value .text-title {
    font-size: 24px;
    line-height: 1.4;
    font-weight: 600;
    margin: 0 0 12px;
    color: #111;
}

#value .text-desc {
    font-size: 16px;
    line-height: 1.7;
    font-weight: 300;
    width: 100%;
    margin: 0 0 62px;
    color: #5F5F5F;
}

.value-item {
    position: relative;
    width: 100%;
    margin-bottom: 32px;
}

.value-img {
    display: block;
    width: 100%;
    height: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

/* 画像の上にテキストを重ねる */
.value-text {
    position: absolute;
    top: 30%;               /* 画像中央に配置 */
    left: 45%;
    transform: translate(-50%, -50%);
    width: 80%;             /* テキスト幅調整 */
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    color: #ffffff;
}

/* 英語タイトル */
.item-value-title {
    width: 45%;
    font-size: 16px;
    font-weight: 600;
    color: #EF8C4C;
    margin: 0;
}

/* 日本語タイトル */
.item-value-title-jp {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-top: 4px;
}

/* 説明文 */
.item-value-desc {
    width: 55%;
    font-size: 14px;
    font-weight: 300;
    line-height: 2.0;
    color: #ffffff;
    margin: 26px 0 0;
}

/* SP版（767px以下） */
@media screen and (max-width: 767px) {

    #value {
        padding: 48px 0;
    }

    #value .container {
        padding: 0 16px;
        box-sizing: border-box;
    }

    #value h2 {
        font-size: 30px;
        margin-top: 24px;
        margin-bottom: 4px;
    }

    #value .text-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    #value .text-desc {
        font-size: 14px;
        line-height: 1.8;
        margin-bottom: 52px;
    }

    .value-item {
        position: relative;
        margin-bottom: 40px;
    }

    .value-img {
        display: block;
        width: 100vw;
        max-width: 100vw;
        margin-left: 50%;
        transform: translateX(-50%);
        height: 240px;
        object-fit: cover;
        box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    }

    /* ★ 見出しと同じ余白に合わせるポイント */
    .value-text {
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        width: 100%;
        padding: 0;
        box-sizing: border-box;

        display: flex;
        flex-direction: column;
        gap: 8px;
        color: #ffffff;
    }

    .item-value-title,
    .item-value-title-jp,
    .item-value-desc {
        width: 100%;
    }

    .item-value-title {
        font-size: 14px;
        font-weight: 600;
        margin: 0;
        color: #EF8C4C;
    }

    .item-value-title-jp {
        font-size: 18px;
        font-weight: 600;
        margin: 0;
        color: #ffffff;
    }

    .item-value-desc {
        font-size: 13px;
        line-height: 1.8;
        margin: 0;
        color: #ffffff;
    }
}

#about {
    width: 100%;
    margin: 0;
    padding: 80px 0;
    background-color: #EFF0F3;
}

#about h2 {
    font-size: 46px;
    margin: 24px 0 6px;
    color: #EF8C4C;
    line-height: 1.1;
}

.about-wrapper {
    display: flex;
    gap: 100px;
    align-items: flex-start;
}

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

.about-profile p {
    margin: 0;
}

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

.text-positon {
    font-size: 14px;
    font-weight: 300;
    color: #666;
}

.about-profile .text-positon {
    margin-top: 20px;
    margin-bottom: 4px;
}

.text-name {
    font-size: 20px;
    font-weight: 600;
    margin-top: 0;
}

.text-desc {
    color: #5F5F5F;
    font-weight: 300;
    width: 65%;
    line-height: 2;
}

@media screen and (max-width: 767px) {

    #about {
        padding: 48px 0;
    }

    #about .container {
        padding: 0 16px;
        box-sizing: border-box;
    }

    #about h2 {
        font-size: 30px;
        margin-top: 24px;
        margin-bottom: 4px;
    }

    /* 画像とテキストの配置 */
    .about-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        margin-top: 80px;
    }

    .about-profile {
        width: 68%;
        max-width: 280px;
        text-align: left;
        position: relative;
    }

    .profile-img {
        width: 100%;
        height: auto;
        display: block;
    }

    .about-profile .text-positon,
    .about-profile .text-name {
        position: absolute;
        text-align: left;
        color: #111;
        right: 0;
        transform: translateX(50%);
        white-space: nowrap;
    }

    /* 役職（上） */
    .about-profile .text-positon {
        top: -8%;
        font-size: 12px;
        margin: 0;
    }

    /* 名前（下） */
    .about-profile .text-name {
        top: 0;
        font-size: 18px;
        font-weight: 600;
        margin: 0;
    }

    /* 紹介文 */
    .text-desc {
        width: 100%;
        font-size: 14px;
        line-height: 1.9;
        color: #5F5F5F;
    }
}

#contact {
    width: 100%;
    margin: 0;
    padding: 80px 0;
}

#contact h2 {
    font-size: 46px;
    margin: 24px 0 6px;
    color: #EF8C4C;
    line-height: 1.1;
}

/* フォーム全体 */
.contact-wrapper {
    margin-top: 120px;
    margin-bottom: 40px;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

/* 1行分：ラベル + 入力欄 */
.form-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
}

/* 左側ラベル */
.form-label {
    width: 25%;
    font-size: 16px;
    font-weight: 300;
    color: #EF8C4C;
    text-align: left;
    padding-top: 10px;
}

/* 右側入力エリア */
.form-input,
.form-textarea {
    width: 75%;
    border: 1px solid #EF8C4C;
    padding: 10px 12px;
    font-size: 14px;
    font-family: inherit;
    background-color: #fff;
    outline: none;
    box-sizing: border-box;
}

/* テキストエリア */
.form-textarea {
    resize: vertical;
}

/* フォーカス時 */
.form-input:focus,
.form-textarea:focus {
    border-color: #EE7B33;
}

/* 送信ボタン */
.form-actions {
    text-align: center;
    margin-top: 40px;
}

.btn-submit {
    display: inline-block;
    min-width: 200px;
    padding: 12px 32px;
    background-color: #EF8C4C;
    color: #fff;
    border: none;
    font-size: 14px;
    cursor: pointer;
}

.btn-submit:hover {
    background-color: #EE7B33;
}

/* スマホ対応：縦並びに切り替え */
@media (max-width: 768px) {
    #contact {
        padding: 48px 0;
    }

    #contact .container {
        padding: 0 16px;
        box-sizing: border-box;
    }

    #contact h2 {
        font-size: 30px;
        margin-bottom: 0 !important;
    }

    #contact .sub-title {
        margin-bottom: 60px !important;
    }

    #contact .text-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    #contact .contact-wrapper {
        margin-top: 0;
    }

    .form-row {
        flex-direction: column;
    }

    .form-label {
        font-size: 14px;
        width: 100%;
        padding-top: 0;
        margin-bottom: 8px;
    }

    .form-input,
    .form-textarea {
        width: 100%;
    }
}

#footer {
    background-color: #332E2D;
    color: #F0F0F0;
    padding: 60px 0 160px;
    font-size: 14px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.footer-left {
    width: 50%;
}

.footer-logo {
    width: 120px;
    height: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.footer-logo img {
    display: block;
    max-width: 100%;
    height: auto;
}

.company-info div {
    clear: both;
    margin-bottom: 12px; /* 行間が欲しければお好みで */
}

/* 会社情報 */
.company-info dt {
    width: 100px;
    float: left;
    opacity: 0.8;
    margin-bottom: 28px;
    line-height: 1.8;
    font-weight: 600;
}

.company-info dd {
    margin-left: 110px;
    margin-bottom: 8px;
    font-weight: 300;
}

/* 右側ナビ */
.footer-nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav ul li {
    margin-bottom: 12px;
    text-align: left;
}

.footer-nav ul li a {
    color: #F0F0F0;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.2;
    display: inline-block;
}

.footer-nav ul li span {
    font-size: 12px;
    opacity: 0.7;
    display: block;
}

.footer-nav ul li a span {
    display: block;
    font-size: 12px;
    opacity: 0.7;
    margin-top: 4px;
}

/* スマホ対応 */
@media (max-width: 768px) {
    footer#footer {
    padding-bottom: 30px !important;
    margin: 0;
    }

    #footer {
        margin-bottom: 20px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 40px;
    }

    .footer-left, .footer-nav {
        width: 100%;
        text-align: left;
    }

    .footer-nav {
        display: none;
    }
}
