@charset "utf-8";

/* =========================================================
   基本設定 & 変数定義
========================================================= */
/* カラーパレット */
:root {
    --color-main: #401f0f;        /* メインカラー（濃い茶色）*/
    --color-accent: #ffce11;      /* アクセントカラー（黄色）*/
    --color-bg-light: #ffffff;    /* 背景色（白）*/
    --color-border: #e0c7b2;      /* ボーダーカラー（薄い茶色）*/
    --color-footer-bg: #563322;   /* フッター背景色（中間茶色）*/
    --color-gray: #6c757d;        /* グレー */
    --color-text-dark: #2f2f2f;   /* 暗いテキスト */
    --color-border-light: #d3d3d3; /* 薄いボーダー */
}

/* 全体リセット (Bootstrapの影響を考慮しつつ、不要な重複は削除) */
*,
*:before,
*:after {
    box-sizing: border-box;
}
html {
    font-size: 14px;
    -webkit-text-size-adjust: 100%;
}
ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}
main {
    display: block;
    background-color: var(--color-bg-light);
    flex: 1; /* #page flex container用 */
}
#page {
    display: flex;
    flex-direction: column;
}
/* Bootstrapの上書き */
h1 {
    font-size: 2rem; /* 共通h1の定義に統一 */
}
h2,
h3 {
    color: var(--color-main);
}
.gray {
    color: var(--color-gray);
}
main .btn {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}
/* card, img-thumbnail の設定は既存のものを維持しつつ整理 */
.card {
    border-color: var(--color-border);
    height: 510px;
}
.card-body p {
    margin-bottom: initial;
}
.img-thumbnail {
    width: 100%;
    padding: .25rem;
    background-color: transparent;
    border: none;
}

/* =========================================================
   ヘッダー (Navbar)
========================================================= */
.navbar {
    border-bottom: 1px solid #a29080;
    background-color: var(--color-main);
}
.navbar .navbar-collapse {
    flex-grow: 0;
}
.navbar .navbar-brand {
    height: 50px;
}
.navbar .navbar-brand img {
    height: 100%;
}
.navbar .navbar-nav .nav-link {
    /* デフォルトのnav-linkの色を調整する場合はここに設定 */
}
.navbar .navbar-nav .active > .nav-link,
.navbar .navbar-nav .active > .nav-link span {
    color: var(--color-accent);
}
.navbar .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: rgba(251, 251, 241, 1);
}
.navbar-nav li span {
    margin-left: 10px;
    color: #838383;
    font-size: 10px;
}

/* =========================================================
   パンくずリスト
========================================================= */
#breadcrumb-wrapper,
.breadcrumb {
    font-size: 0.9rem;
    background-color: var(--color-footer-bg);
}
#breadcrumb-wrapper {
    border-bottom: 1px solid #a29080;
}
.breadcrumb a {
    color: rgba(255, 255, 255, .5);
}
.breadcrumb a:hover,
.breadcrumb a:focus {
    color: rgba(255, 255, 255, 1);
}
.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    padding-right: 1rem;
    color: rgba(255, 255, 255, .5);
}
.breadcrumb-item.active {
    color: #ffffff;
}

/* =========================================================
   フッター (Layout Footer + ID Footer)
========================================================= */
/* l-footer (新デザイン要素) */
.l-footer {
    padding: 20px 0;
    width: 100%;
    background-color: #d8d8d8; /* #d8d8d8 が多く使用されているためこちらを優先 */
}
.l-footer__inner {
    padding: 0 15px;
    width: 100%;
    text-align: center;
}
.l-footer__navilist {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}
.l-footer__navilist li {
    width: 50%;
}
.l-footer__navilist li > ul > li {
    display: none; /* スマホデフォルトは非表示 */
}
.l-footer__navilist li a,
.l-footer__navilist li span {
    display: block;
    border: 0;
    color: #000;
    font-size: 12px;
    text-align: left;
    line-height: 2;
}
.l-footer__copyright {
    display: block;
    margin-top: 20px;
    color: #000;
    font-size: 13px;
}
/* ID footer の要素（ロゴ、著作権、NEWS部分）*/
#footer {
    margin-top: auto;
}
#footer .container {
    color: var(--color-border); /* #e0c7b2 */
}
#footer #copyright {
    border-top: 1px solid #774831;
    background-color: var(--color-main);
    color: var(--color-border);
}
#footer img {
    width: 360px;
}
.footer-ttl {
    font-size: 1rem;
    font-weight: bold;
    margin: 1.5rem 0;
    color: var(--color-main);
    text-align: center;
}
#footer address p,
#footer-news li {
    margin-bottom: 0.5rem;
    text-align: center;
}
#footer-news li span {
    display: inline-block;
    margin-right: 0.5rem;
}

/* =========================================================
   トップページ (page-top)
========================================================= */
#page-top h1 {
    font-weight: bold !important;
    color: var(--color-accent);
}
#page-top h1 + span {
    font-size: 3rem;
    font-weight: bold;
    color: #ffffff;
    line-height: 110%;
    margin-top: 0.2rem;
    display: block;
}
#page-top .jumbotron-fluid {
    height: 640px;
    background: url("../img/top-image.jpg") no-repeat center center;
    background-size: cover;
    border-bottom: #dddddd; /* 値がないため残存 */
}
#page-top .jumbotron-fluid .container {
    height: 100%;
}
#page-top .jumbotron-fluid .btn {
    padding-left: 3rem;
    padding-right: 3rem;
    margin-top: 1.5rem;
    font-weight: bold;
    border-width: 3px;
    border-color: #fff;
}
/* 各セクション */
#page-top section {
    border-bottom: 1px solid var(--color-border);
    background-color: var(--color-bg-light);
    padding: 5rem 0;
}
#page-top section:nth-child(odd) {
    background-color: var(--color-bg-light); /* 重複設定を整理 */
}
#page-top section .container > h2 {
    margin-bottom: 30px;
    font-size: 2.5rem;
}
#page-top section .container > h2 + p {
    max-width: 700px;
    margin: 0 auto 50px;
}
#sec1 h3 {
    font-size: 1.4rem;
}
#sec2 {
    line-height: 180%;
}
#sec2 .row {
    min-height: 160px;
    color: var(--color-text-dark);
}
#sec4 .card-body .clearfix p,
#sec4 .card-body .clearfix h3 {
    margin-left: 115px;
    line-height: 130%;
}
#sec4 .card-body .card-title {
    margin-bottom: 5px;
    color: var(--color-main);
}
#sec4 .card-body .card-subtitle {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #968075;
}
#sec4 img {
    width: 100%;
}
#sec4 .btn {
    width: 100%;
    background-color: var(--color-main);
    border: none;
    padding: 1rem 0;
}
#sec5 article > .row {
    border: 1px solid #dddddd;
}
#sec5 > div:nth-child(1) img {
    width: 100%;
}
#sec5 h3 {
    margin-bottom: 0.1rem;
}
#sec5 article > div div header {
    padding: 10px;
}

/* =========================================================
   下層ページ (page)
========================================================= */
/* .c-concept (ご挨拶ページヘッダー) */
.c-concept {
    padding: 30px 0;
    background-repeat: no-repeat;
    background-image: url(../img/message-image.jpg);
    background-size: cover;
    background-position: 50% 50%;
}
.c-concept__inner {
    padding: 0 20px;
}
.c-concept__lead {
    /* color: #fff; */
    font-weight: normal;
    letter-spacing: 2.8px;
}

.c-concept__lead p {
    /* 読みづらい本の画像の上に文字が来ているため、背景を半透明の白にして視認性を確保 */
    background-color: rgba(255, 255, 255, 0.85); /* 85%不透明度の白 */
    color: #000000; /* 文字色を黒に戻す（fuchidori2の影響を打ち消す） */
    
    /* 文字と背景の間に余白を持たせる */
    padding: 15px; 
    
    /* 独立したブロックとして表示し、背景全体に適用させる */
    display: block; 
    
    /* 周囲の要素との間にマージンを取る（必要に応じて調整）*/
    margin: 10px 0 20px;
    
    /* ふちどり (fuchidori2) を無効化または調整 */
    -webkit-text-stroke: initial;
    text-stroke: initial;
    text-shadow: none;
}

/* .message-bk と jumbotron の重複設定を整理 */
.message-bk,
#page .jumbotron {
    background: url("../img/message-image.jpg") no-repeat center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #f1efff;
    border-bottom: #dddddd;
    border-radius: initial;
}
.message-bk {
    position: absolute;
    width: 100%;
    height: 80%;
}
#page .jumbotron .container {
    padding: 0;
}
#page .jumbotron .container p {
    margin-bottom: 0;
}
#page h1.page-ttl {
    font-size: 2rem;
}
#page h1 + span {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    line-height: 110%;
    margin-top: 0.2rem;
    display: block;
}
#page h1 + small {
    font-size: 1.5rem;
    color: #ffffff;
    line-height: 110%;
    margin-top: 0.2rem;
}
#page article {
    padding: 5rem 0;
}
#page section {
    padding-bottom: 5rem;
}
#page section:last-child {
    padding-bottom: 2rem;
}
#page h2 + p {
    margin: 0 0 1.2rem;
}
#page main img {
    max-width: 100%;
}
.space_h {
    padding: 16px;
}

/* =========================================================
   ユーティリティ
========================================================= */
/* 縁取り/影 */
.fuchidori {
    color: #ffffff;
    font-weight: 700;
    /* 基本の影設定: PC/タブレットデフォルト */
    text-shadow: 0 0 5px #000, 0 0 10px #000, 0 0 15px rgba(0, 0, 0, 0.5);
}
.fuchidori2 {
    color: black;
    -webkit-text-stroke: 0.2px #000;
    text-stroke: 0.5px #000;
    /* text-shadowの追加を検討 (fuchidori1と統一する場合) */
}
/* .fuchidori メインタイトル調整 (PC/タブレット) */
.main-title.fuchidori {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 8px #000, 0 0 20px #000, 2px 2px 5px rgba(0, 0, 0, 0.8);
}
.u-sp-mb30 {
    /* メディアクエリ内で定義されているため、ここではプレースホルダ */
}
/* ローディングとロゴ */
.loash-log {
    text-align: center;
}
.logo {
    width: 25%;
    height: 25%;
    margin-top: -5%;
}
.recruit-image {
    background: url("../img/recruit.jpg") no-repeat top center;
    background-size: contain;
    height: 228px;
}
.recruite-btn {
    margin-top: 20px;
    text-align: center;
}
.btn-w-240 {
  width:240px;
}
.c-btn:focus,
.c-btn:active,
.c-btn:focus *,
.c-btn:active * {
  color: #000 !important;
}

/* =========================================================
   コンポーネント: c-navi (ナビゲーションボタン)
========================================================= */
.c-navi {
    padding: 30px 0;
    text-align: center;
}
.c-navi__inner {
    padding: 0 20px;
    width: 100%;
}
.c-navi__list {
    display: block;
}
.c-navi__list li {
    margin-top: 20px;
    text-align: center;
}
.c-navi__list li a {
    width: 240px;
}
.c-navi.is-concept .c-navi__list a {
    background-color: #fff;
    opacity: 0.8;
}
.c-btn {
    display: inline-block;
    border: 1px solid #979797;
    border-radius: 3px;
    padding: 6px 16px;
    color: #000;
    font-size: 18px;
    background-image: url(../img/icn_arrow.svg);
    background-size: 7px 12px;
    background-position: 98% 50%;
    background-repeat: no-repeat;
}
.c-btn.is-concept {
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
}
.c-btn__en {
    margin-left: 10px;
    font-size: 12px;
}
.c-inquiry__btn .c-btn {
    width: 260px;
    padding: 15px 0;
    background-color: #e3f3f1;
    border-radius: 3px;
    border: none;
    color: #000;
    font-size: 16px;
}

/* =========================================================
   コンポーネント: c-title (セクションタイトル)
========================================================= */
.c-title {
    color: #000;
    font-size: 18px;
    letter-spacing: 2.8px;
    text-align: center;
}
.c-title__sub {
    margin-top: 10px;
    color: #000000;
    font-size: 14px;
    font-weight: normal;
    text-align: center;
}
.c-title__en {
    font-size: 12px;
    font-weight: normal;
}
.c-title__color-base {
    color: #000000;
}
.c-sectiontitle {
    border: 1px solid #979797;
    border-radius: 3px;
    padding: 10px 17px;
    font-size: 16px;
    font-weight: normal;
}

/* =========================================================
   コンポーネント: c-works (事業内容セクション)
========================================================= */
.c-works {
    padding: 30px 0;
    background-color: #f8f8f8;
}
.c-works__inner {
    padding: 0 15px;
}
.c-works__wrap {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
.c-works__wrap > div {
    width: 48%;
    padding: 10px;
}
.c-works__leftcontents {
    margin: 10px;
    padding-right: 15px;
}
.c-works__rightimage {
    padding-right: 10px;
}
.c-works__clm {
    width: 100%;
}
.c-works__report {
    margin: 0 auto;
    width: 750px !important;
}
.c-works__report-list li {
    margin-bottom: 10px;
    font-weight: bold;
    line-height: 1.5;
}
.c-works__report-list2 {
    margin-top: 30px;
}
.c-works__report-list2 dl dt,
.c-works__report-list2 dl dd {
    line-height: 1.79px;
}
.c-works__image {
    margin-top: 20px;
    margin-right: 10px;
}
.c-works__leftSentence {
    float: left;
}
.c-works__image-size {
    width: 400px;
    height: 300px;
}
.c-works__cover {
    display: table;
}
.c-works__inline {
    display: table-cell;
}
.c-works__image-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.c-works__image-list li {
    width: 48%;
    margin: 0 0 20px 0;
}
.c-works__tempoimage-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.c-works__tempoimage-list li {
    width: 100%;
}
.c-works__image-caption {
    margin-left: 11px;
    margin-top: 5px;
    font-size: 11px;
    text-align: left;
    letter-spacing: 1px;
}
.c-works__logowrap {
    padding: 0 30px;
}
.c-works__info {
    padding: 0 30px;
    text-align: center;
}
.c-works__name {
    margin-top: 10px;
    margin-bottom: 30px;
    font-size: 16px;
}
.c-works__name span {
    display: block;
    font-size: 10px;
}
.c-works__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dadada;
    width: 284px;
    height: 180px;
    background-color: #fff;
}
.c-works__tenpologoimg {
    box-shadow: 0 0 0 1px #979797;
    margin: 30px 20px 10px 20px;
    padding-top: 50px;
    padding-bottom: 50px;
}

/* =========================================================
   コンポーネント: table (テーブル)
========================================================= */
.table1,
.c-table__company {
    margin: 20px 0 0;
    width: 100%;
    border-top: 1px solid var(--color-border-light);
    border-left: 1px solid var(--color-border-light);
}
.table1 th,
.table1 td,
.c-table__company th,
.c-table__company td {
    border-right: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
    padding: 8px;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 1.9px;
}
.table1 th,
.c-table__company th {
    font-weight: bold;
    background-color: #f7f7f7;
}
.c-table__company th {
    /* table1と会社概要テーブルで異なる設定（PCでの背景色）があるため、PCメディアクエリで調整 */
}

/* =========================================================
   フォーム
========================================================= */
.form1 label {
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.form1 input,
.form1 textarea,
.form1 select {
    max-width: 768px;
}
.form1 .form-group {
    margin-bottom: 2rem;
}

/* =========================================================
   メディアクエリ (750px/768px未満) の統合
========================================================= */
/* スマホ (Max-width: 767.98px) */
@media (max-width: 767.98px) {
    /* fuchidori調整 */
    .main-title.fuchidori {
        font-size: 2.2rem;
    }
    .jumbotron-fluid .fuchidori.h5 {
        font-size: 1rem;
    }
    .fuchidori {
        text-shadow: 0 0 3px #000, 0 0 8px #000;
    }
    /* c-works調整 */
    .c-works__wrap > div {
        width: 100%;
    }
    .c-works__image-size {
        width: 100%;
        height: 230px;
        padding-bottom: 30px;
    }
    .c-works__image-list li {
        width: 100%;
    }
    .c-concept__title {
        text-align: center;
        margin-bottom: 20px !important;
    }
    /* ロゴ調整 */
    .logo {
        width: 23%;
        height: 23%;
    }
    .loash-log {
        margin-top: 10px;
    }
    .u-sp-mb30 {
        margin-bottom: 30px !important;
    }
    /* l-footer 調整 */
    .l-footer {
        padding: 20px 0;
    }
    .l-footer__inner {
        padding: 0;
    }
    .l-footer__navilist li a,
    .l-footer__navilist li span {
        font-size: 10px;
        text-align: center;
    }
    .l_footer__smtdispaynone {
        display: none;
    }
    .l_footer__smtdispay {
        font-size: 13px;
    }
    .l_footer__smtdispay a {
        color:#000;
    }
    .l-footer__copyright {
        margin-top: 10px;
        font-size: 10px;
    }
}


/* =========================================================
   メディアクエリ (Min-width: 750px/768px) の統合
========================================================= */
/* PC/タブレット (Min-width: 750px/768px) */
@media only screen and (min-width: 750px) {
    /* c-navi */
    .c-navi {
        padding: 70px 0;
    }
    .c-navi.is-concept {
        padding: 115px 0 0;
    }
    .c-navi__inner {
        margin: 0 auto;
        padding: 0;
        width: 520px;
    }
    .c-navi__list {
        display: flex;
        justify-content: space-between;
    }
    .c-navi__list_one {
        display: flex;
        justify-content: center;
    }
    .c-btn {
        position: relative;
        padding: 15px 20px;
        font-size: 18px;
        width: 260px;
    }
    .c-btn:hover, .c-btn:hover * {
       color: #000;
    }
    .c-btn.c-btn__small {
        width: 230px;
        padding: 12px 15px;
        font-size: 13px;
    }
    /* c-works */
    .c-works {
        padding: 70px 0 50px;
    }
    .c-works__inner {
        margin: 0 auto;
        padding: 0;
        width: 860px;
    }
    .c-works__wrap {
        padding: 30px 5px 30px;
    }
    .c-works__double {
        display: flex;
        justify-content: space-between;
    }
    .c-works__report-list li {
        margin-bottom: 20px;
    }
    .c-works__report-list2 {
        margin-top: 30px;
    }
    .c-works__report-list2 dl dt,
    .c-works__report-list2 dl dd {
        line-height: 1.79px;
    }
    .c-works__image {
        width: 750px;
    }
    .c-works__image-list {
        justify-content: space-evenly;
    }
    .c-works__image-list li {
        width: 229px;
        margin: 0 0 30px 0;
    }
    .c-works__tempoimage-list li {
        margin: 0 28px 0 0;
        width: 230px;
    }
    .c-works__image-caption {
        margin-top: 5px;
        margin-left: 0px;
        font-size: 12px;
        text-align: left;
    }
    .c-works__restaurant {
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
    .c-works__logowrap {
        width: 284px;
    }
    .c-works__name {
        margin-bottom: 30px;
        font-size: 16px;
    }
    .c-works__name span {
        display: block;
        font-size: 10px;
    }
    .c-works__logo {
        width: 284px;
        height: 180px;
    }
    .c-works__tenpologoimg {
        margin: 30px 0 0 0;
        width: 230px;
        padding-top: 50px;
        padding-bottom: 50px;
    }
    /* c-concept */
    .c-concept {
        padding: 10px 0 75px;
    }
    .c-concept__inner {
        margin: 0 auto;
        padding: 0;
        width: 860px;
    }
    .c-concept__title {
        margin: 50px auto 0;
        width: 289px;
        height: 44px;
        background-size: 289px 44px;
        color: black;
    }
    .c-concept__lead {
        margin-top: 55px;
        font-size: 18px;
        color: black;
    }
    .c-concept__lead p {
        margin-bottom: 30px;
    }
    /* c-title */
    .c-title {
        font-size: 18px;
    }
    .c-title__sub {
        margin-top: 15px;
    }
    .c-sectiontitle {
        font-size: 16px;
    }
    /* l-footer */
    .l-footer {
        padding: 45px 0 20px;
    }
    .l-footer__inner {
        margin: 0 auto;
        padding: 0;
        width: 800px;
    }
    .l-footer__navilist {
        justify-content: space-between;
    }
    .l-footer__navilist li {
        width: auto;
    }
    .l-footer__navilist li > ul > li {
        display: block;
        margin-top: 15px;
    }
    .l-footer__navilist li a,
    .l-footer__navilist li span {
        font-size: 13px;
        text-align: left;
    }
    .l_footer__smtdispay {
        display: none;
    }
    .l-footer__copyright {
        margin-top: 60px;
        font-size: 13px;
    }
    /* table */
    .table1,
    .c-table__company {
        margin: 0 auto;
        width: 600px;
    }
    .table1 th,
    .table1 td,
    .c-table__company th,
    .c-table__company td {
        padding: 10px;
        font-size: 12px;
    }
    .table1 th {
        background-color: #f7f7f7; /* table1のPC背景色を統一 */
    }
    .c-table__company th {
        background-color: #fff; /* 会社概要テーブルのPC背景色 */
    }
    /* .l-contents */
    .l-contents {
        padding: 0;
    }
}