@charset "utf-8";

/* ==========================================================================
   1. 変数・基本設定
   ========================================================================== */
:root {
    --shuko-blue: #2e8bb3;
    /* TSブルー：信頼の象徴 */
    --shuko-black: #1a1a1a;
    /* 墨色：東北殊工の重厚感 */
    --shuko-concrete: #a6a6a6;
    /* コンクリート色：現場の質感 */
    --white: #ffffff;
    /* 純白：誠実さと透明性 */
    --bg-cement: #f2f2f2;
    /* 企業情報セクション用：セメント白 */
    --bg-history: #f9f9f9;
    /* 沿革・募集要項用：極薄グレー */
}

/* 全要素のリセット：点を根絶する */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* リストマーカーを強制排除 */
ul,
ol,
li {
    list-style: none !important;
    list-style-type: none !important;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: var(--shuko-black);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.serif {
    font-family: 'Noto Serif JP', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.center {
    text-align: center;
}

.bg-dark {
    background-color: var(--shuko-black);
    color: var(--white);
}

.bg-light {
    background-color: var(--bg-cement);
}

/* 背景色によるセクションの分離 */
.bg-history {
    background-color: var(--bg-history);
    box-shadow: inset 0 10px 20px -10px rgba(0, 0, 0, 0.03), inset 0 -10px 20px -10px rgba(0, 0, 0, 0.03);
}

.blue-text {
    color: var(--shuko-blue);
}

.mb-60 {
    margin-bottom: 60px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-60 {
    margin-top: 60px;
}

/* 下線・境界線の完全排除 */
.no-border,
.no-border::after,
.pink-text::after,
.nav-item a .jp::after {
    display: none !important;
    content: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* ==========================================================================
   2. ヘッダー：垂直整合・一段下がらない・遷移あり
   ========================================================================== */
.site-header {
    background-color: var(--shuko-black);
    padding: 25px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--shuko-blue);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* 垂直整合の肝 */
}

/* ロゴエリア：h1としてのリセットを強化 */
.logo {
    margin: 0;
    padding: 0;
    display: block;
    border: none !important;
    list-style: none !important;
}

.logo a {
    text-decoration: none;
    display: block;
    border: none !important;
}

.logo-main {
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-decoration: none;
    line-height: 1;
}

.logo-sub {
    color: var(--shuko-concrete);
    font-size: 10px;
    letter-spacing: 0.1em;
    display: block;
    margin-top: 8px;
    font-weight: 400;
}

/* ナビゲーション */
.nav-menu {
    display: flex;
    list-style: none !important;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.nav-item {
    list-style: none !important;
    list-style-type: none !important;
}

.nav-item a {
    text-decoration: none;
    display: block;
    line-height: 1;
}

.nav-item .en {
    display: none !important;
}

.nav-item a .jp {
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    letter-spacing: 0.08em;
    position: relative;
    display: inline-block;
}

.nav-item a:hover .jp,
.nav-item a .jp.current {
    opacity: 1 !important;
}

.nav-item a .jp.current {
    border-bottom: 2px solid var(--shuko-blue);
    padding-bottom: 5px;
}

/* ==========================================================================
   3. ページヘッダー（1cmグラデーションエリア）
   ========================================================================= */
.page-header.bg-dark {
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    background: linear-gradient(to bottom, var(--shuko-black) 0%, var(--white) 100%) !important;
    position: relative;
    z-index: 1;
    border: none !important;
    /* グラデーション部分の境界線を消去 */
}

.page-header.bg-dark h2,
.page-header.bg-dark p,
.page-header.bg-dark .container {
    display: none !important;
}

/* ==========================================================================
   4. 事業内容・工法解説 (works.html 用)
   ========================================================================== */
.method-item {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.method-item.reverse {
    flex-direction: row-reverse;
}

.method-visual {
    flex: 1;
    position: relative;
}

.method-visual img,
.works-img-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    box-shadow: 20px 20px 0px var(--bg-cement);
    background-color: #333;
}

.method-info {
    flex: 1;
}

.method-number {
    font-size: 4rem;
    color: var(--bg-cement);
    line-height: 1;
    display: block;
    margin-bottom: -10px;
    font-weight: 900;
}

.method-info h3 {
    font-size: 1.8rem;
    color: var(--shuko-black);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--shuko-blue);
    display: inline-block;
}

.method-lead {
    font-weight: 700;
    color: var(--shuko-blue);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.method-body p {
    font-size: 1rem;
    margin-bottom: 25px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.comparison-item {
    position: relative;
}

.comparison-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid #ddd;
}

.comparison-item span {
    position: absolute;
    bottom: 0;
    left: 0;
    background: var(--shuko-black);
    color: var(--white);
    font-size: 10px;
    padding: 2px 8px;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.feature-list {
    background: var(--bg-history);
    padding: 25px;
    border-left: 4px solid var(--shuko-blue);
    margin-top: 20px;
}

.feature-list li {
    font-size: 0.95rem;
    margin-bottom: 10px;
    padding-left: 1.5em;
    position: relative;
    list-style: none;
}

.feature-list li::before {
    content: "■";
    position: absolute;
    left: 0;
    color: var(--shuko-blue);
}

/* ==========================================================================
   5. お問い合わせフォーム (contact.html 用)
   ========================================================================== */
.contact-tel-large p {
    font-size: 0.9rem;
    color: #666;
}

.contact-tel-large a {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--shuko-blue);
    text-decoration: none;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-history);
    padding: 60px;
    border-radius: 4px;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.form-group .required {
    background: var(--shuko-blue);
    color: var(--white);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 2px;
    margin-left: 10px;
    vertical-align: middle;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--shuko-blue);
}

.form-policy {
    margin-bottom: 30px;
}

.btn-submit {
    background: var(--shuko-blue);
    color: var(--white);
    border: none;
    padding: 20px 60px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.1em;
}

.btn-submit:hover {
    background: var(--shuko-black);
    transform: translateY(-2px);
}

/* ==========================================================================
   6. 沿革セクション (about.html 用)
   ========================================================================== */
.history-timeline {
    max-width: 900px;
    margin: 0 auto;
    padding-left: 20px;
    border-left: 1px solid #ddd;
}

.history-item {
    position: relative;
    padding-bottom: 60px;
    padding-left: 40px;
}

.history-item::before {
    content: "";
    position: absolute;
    left: -26px;
    top: 10px;
    width: 11px;
    height: 11px;
    background-color: var(--shuko-blue);
    border-radius: 50%;
}

.history-year {
    font-size: 2rem;
    font-weight: 900;
    color: var(--shuko-blue);
    line-height: 1.2;
}

.history-year span {
    display: block;
    font-size: 0.9rem;
    color: var(--shuko-concrete);
    letter-spacing: 0.1em;
}

/* ==========================================================================
   7. インデックス専用：HEROエリア (index.html)
   ========================================================================== */
#hero {
    width: 100%;
    height: 90vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--shuko-black);
    overflow: hidden;
    z-index: 10;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-company-name {
    font-size: 1.4rem;
    color: var(--white);
    letter-spacing: 0.4em;
    margin-bottom: 30px;
    font-weight: 700;
}

.hero-slogan {
    font-size: 3.5rem;
    color: var(--white);
    line-height: 1.5;
    letter-spacing: 0.15em;
    text-shadow: 0 0 25px rgba(0, 0, 0, 0.8);
}

.hero-link-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 120px 0;
}

.link-text-area {
    max-width: 70%;
}

.link-text-area h3 {
    color: var(--shuko-blue);
    font-size: 1.2rem;
    margin-bottom: 15px;
    letter-spacing: 0.2em;
}

.link-text-area p {
    color: var(--white);
    line-height: 2;
}

.btn-arrow {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    border: 1px solid var(--white);
    padding: 15px 30px;
    transition: 0.3s;
    display: inline-block;
}

.btn-arrow:hover {
    background: var(--white);
    color: var(--shuko-black);
}

/* ==========================================================================
   8. 共通：代表挨拶・実績一覧
   ========================================================================== */
.message-photo-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 80px;
    align-items: flex-start;
}

.section-title-left {
    font-size: 2.2rem;
    line-height: 1.4;
    letter-spacing: 0.1em;
    padding-left: 20px;
    border-left: 4px solid var(--shuko-blue);
    margin-bottom: 25px;
}

.message-slogan {
    font-size: 1.8rem;
    line-height: 1.4;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
    color: var(--shuko-black);
    padding-left: 20px;
}

.message-body p {
    padding-left: 20px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.service-card {
    background: var(--white);
    border-left: 8px solid var(--shuko-concrete);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.works-img-container {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.works-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-card-body {
    padding: 30px;
}

/* ==========================================================================
   9. 企業情報・アクセス
   ========================================================================== */
.profile-table {
    width: 100%;
    border-collapse: collapse;
}

.profile-table th {
    width: 30%;
    text-align: left;
    padding: 25px 0;
    border-bottom: 1px solid #ddd;
    color: var(--shuko-blue);
    font-weight: 700;
}

.profile-table td {
    padding: 25px 0;
    border-bottom: 1px solid #ddd;
}

.access-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.map-area {
    border: 1px solid #ddd;
    line-height: 0;
}

/* ==========================================================================
   10. フッター
   ========================================================================== */
.site-footer {
    background-color: #111;
    padding: 80px 0 30px;
    color: var(--white);
}

.footer-container {
    display: flex;
    justify-content: space-between;
}

.f-logo-main {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.f-logo-sub {
    font-size: 10px;
    opacity: 0.5;
    margin-bottom: 20px;
}

.f-tel a {
    color: var(--shuko-blue);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
}

.footer-menu {
    display: flex;
    gap: 35px;
}

.footer-menu a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.6;
}

.footer-bottom {
    margin-top: 80px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
}
.footer-group-logo {
    margin-bottom: 25px;
}

.footer-group-logo img {
    display: inline-block;
    filter: brightness(0) invert(1); /* 背景黒に対し白抜きにする設定 */
    opacity: 0.8;
}
.copyright {
    font-size: 0.7rem;
    opacity: 0.3;
}

/* ==========================================================================
   11. レスポンシブ
   ========================================================================== */
@media (max-width: 900px) {

    .method-item,
    .method-item.reverse {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {

    .header-container,
    .footer-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .nav-menu,
    .footer-menu {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .contact-tel-large a {
        font-size: 1.8rem;
    }

    .hero-slogan {
        font-size: 2rem;
    }

    .hero-link-content {
        flex-direction: column;
    }

    .link-text-area {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .service-grid,
    .message-photo-grid,
    .access-grid {
        grid-template-columns: 1fr !important;
    }
}