@charset "utf-8";

/* 全体コンテンツ
---------------------------------------------- */
section {
    margin: 13rem auto;
    padding: 0 7rem;
}

section h2 {
    /* color: #000; */
    font-size: 2.4rem;
    font-weight: normal;
    margin: 0 7rem 9rem 0;
    line-height: 1.2;
}

section h2 span {
    display: inline-block;
    font-size: 8rem;
    font-weight: 500;
    margin-bottom: 3.6rem;
    padding-bottom: 2.4rem;
    border-bottom: 1px solid #fff;
}

section p {
    margin-bottom: 1em;
    letter-spacing: normal;
    line-height: 2;
}

section p + p {
    margin-top: 1em;
}

@media screen and (max-width: 1024px) {
    section {
        margin: 6rem auto 7rem;
        padding: 0 4rem;
    }
    
    section h2 {
        margin: 0 0 6rem;
    }
    
    section h2 span {
        font-size: 6rem;
    }
}

@media screen and (max-width: 767px) {
    section {
        margin: 5rem auto 6rem;
        padding: 0 2rem;
        display: block !important;
    }
    
    /* h2全体のスタイル - 日本語部分 */
    section h2 {
        font-size: 2.6rem !important;
        font-weight: 600 !important;
        margin: 0 0 3.5rem !important;
        width: 100% !important;
        line-height: 1.5 !important;
        border-left: 4px solid #fff;
        padding-left: 1.5rem;
        display: flex !important;
        flex-direction: column-reverse !important;
    }
    
    /* span = 英語部分を小さく */
    section h2 span {
        display: block !important;
        font-size: 1.3rem !important;
        font-weight: 300 !important;
        margin-top: 0.8rem !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        border-bottom: none !important;
        opacity: 0.65;
        letter-spacing: 0.05em;
        order: 2 !important;
    }
    
    /* br要素を非表示 */
    section h2 br {
        display: none !important;
    }
}


/* フォーム（全体）
------------------------------- */
.required {
    color: #f00;
    margin-left: 0.5rem;
}

form {
    max-width: 1183px;
    width: 100%;
}

form a {
    text-decoration: underline;
    color: #000;
}

form table p {
    margin-bottom: 0;
}

form th {
    width: 20.3%;
    padding: 0 1em 1em 0;
    white-space: nowrap;
}

form td {
    padding-bottom: 1em;
}

form td input {
    width: 100%;
    height: 40px;
    padding: 0.5rem;
    border: 1px solid #dfdfdf;
}

form td input[type="radio"],
form td input[type="checkbox"] {
    width: auto;
    height: auto;
    border: 1px solid #dfdfdf;
    margin-right: 1.4rem;
}

form td textarea {
    width: 100%;
    height: 190px;
    padding: 0.5rem;
    border: 1px solid #dfdfdf;
}

form .btn-submit {
    padding: 5rem 0 0;
}

form ul.btn-submit {
    display: flex;
    justify-content: center;
    padding: 0;
}

form .btn-submit li {
    list-style-type: none;
    margin-bottom: 0;
}

form .btn-submit input {
    width: 280px;
    height: auto;
    background-color: #222222;
    color: #fff;
    font-size: 1.8rem;
    border: none;
    padding: 1.8rem 0;
    cursor: pointer;
}

form .btn-submit input.btn-reset {
    color: #000;
    background-color: #ccc;
    margin-right: 2rem;
}

form .btn-submit p {
    margin-bottom: 0;
}

/* タブレット・スマホ無効 */
@media screen and (min-width: 960px) {
    form a:hover {
        color: #032361;
        text-decoration: none;
    }
    
    form .btn-submit input {
        transition: 0.3s;
    }
    
    form .btn-submit input:hover {
        opacity: 0.7;
    }
}

@media screen and (max-width: 767px) {
    form th {
        display: block;
        width: 100%;
        padding: 0 0 0.5em;
    }

    form td {
        display: block;
        padding-bottom: 1.5em;
    }
    
    form td input[type="radio"],
    form td input[type="checkbox"] {
        margin-right: 1rem;
    }
    
    form .btn-submit {
        padding: 1rem 0 0;
    }

    form .btn-submit input {
        width: 100%;
    }
    
    form .btn-submit input.btn-reset {
        margin: 0 0 2rem;
    }
}


/* ----------------------------------------------
トップページ
---------------------------------------------- */

/* メインイメージ
---------------------------------------------- */
.mainVisual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}
.mainVisual::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    position: absolute;
    z-index: 1;
}

.mainVisual_img {
    width: 100%;
    height: calc(80vh - 118px);
}
.mainVisual_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mainVisual_sp {
    display: none;
}

.mainVisual p {
    color: #fff;
    /* background-color: #000; */
    font-size: clamp(4.7rem, 4vw, 5.8rem);
    font-weight: bold;
    text-align: center;
    padding: 0 4.5rem;
    line-height: 1.6;
    position: absolute;
    width: 88%;
    max-width: 1250px;
    z-index: 2;
}

@media screen and (max-width: 1024px) {
    .mainVisual p {
        font-size: clamp(3.4rem, 4.4vw, 4.7rem);
    }
}

@media screen and (max-width: 767px) {
    .mainVisual {
        min-height: auto !important;
        height: auto !important;
    }
    
    .mainVisual_img {
        height: auto !important;
        min-height: 400px !important;
        position: relative;
    }
    
    .mainVisual_img img {
        height: auto !important;
        min-height: 400px !important;
        width: 100% !important;
        display: block !important;
        object-fit: cover !important;
    }
    
    .mainVisual p {
        font-size: clamp(1.8rem, 4.5vw, 2.6rem) !important;
        padding: 1.5rem 2rem !important;
        line-height: 1.5 !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 90% !important;
        max-width: 100% !important;
        z-index: 2 !important;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7) !important;
    }
}

@media screen and (max-width: 666px) {
    .mainVisual_pc {
        display: none;
    }

    .mainVisual_sp {
        display: block;
    }
    
    .mainVisual p {
        /* background-color: rgba(0,0,0,0.75); */
        margin: 0 2rem;
        padding: 1rem 2rem;
        line-height: 1.4;
    }
}

/* Corporate Philosophy セクション - 改善版 */
#philosophy {
  background-color: #222222; /* 事業案内(#business)と同じ色 */
  color: #fff;
  padding: 9rem 7rem 3rem; /* レイアウトも事業案内に合わせる */
}

#philosophy h2,
#philosophy h2 span {
  color: #fff;
  border-color: #fff;
}

#philosophy p {
  color: #ddd;
}
#Corporate {
    display: flex;
    justify-content: space-between;
    margin: 13rem auto;
    padding: 0 7rem;
    max-width: 1520px;
}

#Corporate h2 {
    font-size: 2.4rem;
    font-weight: normal;
    margin-right: 7rem;
    flex-shrink: 0;
    line-height: 1.2;
}

#Corporate h2 span {
    display: block;
    font-size: 8rem;
    font-weight: 500;
    margin-bottom: 3.6rem;
    padding-bottom: 2.4rem;
    border-bottom: 1px solid #fff;
}

.corporate-content {
    max-width: 1183px;
    width: 100%;
    flex-grow: 1;
}

.corporate-content > h1 {
    font-size: 3.6rem;
    text-align: center;
    margin-bottom: 4rem;
    font-weight: bold;
    color: #fff;
    letter-spacing: 0.05em;
}

/* 経営理念セクション全体 */
#greeting {
    align-items: center;  /* 垂直方向の中央揃え */
}

/* ITは競争力の源泉の下のメッセージ */
.company-message {
    text-align: left;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    background: none;
    border-radius: 0;
    border: none;
    font-weight: normal;
    max-width: 1183px;
    width: 100%;
	transform: translateY(-3rem);
}

.company-message p {
    font-size: 2.0rem;
    line-height: 1.8;
    margin-bottom: 1.5em;
    color: #fff;
}

.company-message p:last-child {
    margin-bottom: 0;
}

/* 経営理念（Management Philosophy）の強調 */
#greeting .company-inner p:nth-child(-n+4),
#company .company-inner p:nth-child(-n+4) {
  font-size: 2.6rem;      /* 通常より大きめに */
  font-weight: 600;       /* 太字でインパクト */
  line-height: 1.6;
  color: #ccc;            /* 背景が暗いので白で明瞭に */
  letter-spacing: 0.05em;
  text-align: center;     /* 中央揃えで印象を統一 */
  margin-bottom: 0.8rem;
}


/* サービス領域セクション */
#customSection {
    margin: -8rem auto 13rem !important;
    padding: 0;
}

#customSection h1 {
    text-align: center;
    font-size: 3.2rem;
    margin-bottom: 5rem;
    font-weight: bold;
    position: relative;
    padding-bottom: 2rem;
}

#customSection h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #4a90e2, #50c878);
    margin: 1.5rem auto 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.service {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 1px solid #444;
    border-radius: 12px;
    padding: 3rem 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1e88e5, #26a69a, #66bb6a, #9ccc65)!important;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.service:nth-child(1) h3::before { color: #1e88e5 !important; }
.service:nth-child(2) h3::before { color: #26a69a !important; }
.service:nth-child(3) h3::before { color: #66bb6a !important; }
.service:nth-child(4) h3::before { color: #9ccc65 !important; }

.service:hover::before {
    transform: scaleX(1);
}

.service:hover {
    transform: translateY(-8px);
    border-color: #666;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.service h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #fff;
    line-height: 1.4;
}

.service h3::before {
    content: '▸';
    display: inline-block;
    margin-right: 0.5rem;
    font-size: 1.2em;
}

.service:nth-child(1) h3::before { color: #4a90e2; }
.service:nth-child(2) h3::before { color: #50c878; }
.service:nth-child(3) h3::before { color: #e24a4a; }
.service:nth-child(4) h3::before { color: #f4a460; }

.service p {
    font-size: 1.5rem;
    line-height: 1.9;
    color: #ccc;
}

/* ========================================
   私たちの強みセクション - 改善版
======================================== */

.center-message {
    max-width: 1200px;
    margin: -4rem auto 8rem;
    padding: 5rem 4rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 16px;
    border: 1px solid #555;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.center-message h1 {
    font-size: 3.6rem !important;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem !important;
    color: #fff;
    position: relative;
    padding-bottom: 2rem;
}

.center-message h1::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #4a90e2, #50c878);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

.center-message h2 {
    font-size: 2.8rem !important;
    font-weight: 600;
    text-align: center;
    margin-bottom: 4rem !important;
    color: #4a90e2 !important;
    line-height: 1.6;
    padding: 0 2rem;
}

/* 上部のメッセージ */
.center-message > p.emphasis-paragraph {
    font-size: 1.9rem !important;
    line-height: 1.0;
    text-align: center;
    margin-bottom: 3rem;
    color: #e0e0e0;
    padding: 2.5rem 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 4px solid #4a90e2;
}

/* 強みリスト全体 */
.center-message > div {
    display: grid;
    gap: 2rem;
    margin-top: 4rem;
}

/* 各強みの見出し */
.center-message > div h3 {
    font-size: 2.0rem !important;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #fff;
    padding-left: 3rem;
    position: relative;
    letter-spacing: 0.05em;
}

.center-message > div h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 85%;
    border-radius: 4px;
}

.center-message > div h3:nth-of-type(1)::before {
    background: linear-gradient(180deg, #4a90e2, #357abd);
}

.center-message > div h3:nth-of-type(2)::before {
    background: linear-gradient(180deg, #50c878, #3da35d);
}

.center-message > div h3:nth-of-type(3)::before {
    background: linear-gradient(180deg, #f4a460, #e8903a);
}

/* 詳細説明文 */
.center-message > div p {
    font-size: 1.7rem !important;
    line-height: 1.0;
    color: #d0d0d0;
    padding: 2rem 3rem;
    margin-bottom: 0rem;
    background-color: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    border-left: 4px solid #555;
    transition: all 0.3s ease;
}

.center-message > div p:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-left-color: #4a90e2;
    transform: translateX(5px);
}

/* 各強みブロックに余白 */
.center-message > div > h3:not(:first-of-type) {
    margin-top: 2rem;
}

/* タブレット対応 */
@media screen and (max-width: 1024px) {
    .center-message {
        margin: 6rem auto;
        padding: 4rem 3rem;
    }
    
    .center-message h1 {
        font-size: 3rem !important;
    }
    
    .center-message h2 {
        font-size: 2.4rem !important;
        margin-bottom: 3rem !important;
    }
    
    .center-message > p.emphasis-paragraph {
        font-size: 1.7rem !important;
        padding: 2rem 2.5rem;
        margin-bottom: 4rem;
    }
    
    .center-message > div h3 {
        font-size: 2.1rem !important;
        padding-left: 2.5rem;
    }
    
    .center-message > div p {
        font-size: 1.6rem !important;
        padding: 1.8rem 2.5rem;
    }
}

/* スマホ対応 */
@media screen and (max-width: 767px) {
    .center-message {
        margin: 5rem 2rem;
        padding: 3rem 2rem;
        border-radius: 12px;
    }
    
    .center-message h1 {
        font-size: 2.6rem !important;
        margin-bottom: 1.5rem !important;
        padding-bottom: 1.5rem;
    }
    
    .center-message h1::after {
        width: 80px;
        height: 3px;
    }
    
    .center-message h2 {
        font-size: 2rem !important;
        margin-bottom: 2.5rem !important;
        padding: 0 1rem;
    }
    
    .center-message > p.emphasis-paragraph {
        font-size: 1.5rem !important;
        padding: 1.8rem 2rem;
        margin-bottom: 3rem;
        border-left-width: 3px;
    }
    
    .center-message > div {
        gap: 3rem;
    }
    
    .center-message > div h3 {
        font-size: 1.9rem !important;
        padding-left: 2.2rem;
        margin-bottom: 1.5rem;
    }
    
    .center-message > div h3::before {
        width: 6px;
    }
    
    .center-message > div p {
        font-size: 1.5rem !important;
        padding: 1.5rem 2rem;
        margin-bottom: 2rem;
        border-left-width: 3px;
    }
    
    .center-message > div > h3:not(:first-of-type) {
        margin-top: 1.5rem;
    }
}
/* タブレット対応 */
@media screen and (max-width: 1024px) {
    #Corporate {
        display: block;
        margin: 6rem auto 7rem;
        padding: 0 4rem;
    }
    
    #Corporate h2 {
        margin-right: 0;
        margin-bottom: 6rem;
    }
    
    #Corporate h2 span {
        font-size: 6rem;
    }
    
    .corporate-content > h1 {
        font-size: 3rem;
    }
    
    .company-message p {
        font-size: 1.6rem;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .center-message {
        margin: 6rem 0;
        padding: 3rem 2.5rem;
    }
    
    .center-message h1 {
        font-size: 2.8rem;
    }
    
    .center-message h2 {
        font-size: 2.2rem;
    }
}

/* スマホ対応 */
@media screen and (max-width: 767px) {
    #Corporate {
        margin: 5rem auto 6rem;
        padding: 0 2rem;
    }
    
    #Corporate h2 {
        font-size: 2rem;
        margin-bottom: 4.5rem;
    }
    
    #Corporate h2 span {
        font-size: clamp(4.5rem, 10vw, 6rem);
    }
    
    .corporate-content > h1 {
        font-size: 2.4rem;
        margin-bottom: 3rem;
    }
    
    .company-message {
        margin-bottom: 6rem;
        padding: 2rem 1.5rem;
    }
    
    .company-message p {
        font-size: 1.4rem;
        line-height: 2;
    }
    
    #customSection {
        margin: 6rem 0;
    }
    
    #customSection h1 {
        font-size: 2.4rem;
        margin-bottom: 3rem;
    }
    
    .service {
        padding: 2rem 1.8rem;
    }
    
    .service h3 {
        font-size: 1.8rem;
    }
    
    .service p {
        font-size: 1.4rem;
    }
    
    .center-message {
        margin: 6rem 0;
        padding: 2.5rem 2rem;
    }
    
    .center-message h1 {
        font-size: 2.4rem;
    }
    
    .center-message h2 {
        font-size: 1.9rem;
    }
    
    .center-message > p {
        font-size: 1.4rem;
        padding: 0 1rem;
    }
    
    .center-message > div h3 {
        font-size: 1.7rem;
        padding-left: 2rem;
    }
    
    .center-message > div p {
        font-size: 1.4rem;
        padding: 1.2rem 1.8rem;
    }
}

/* サービス領域のスタイル改善 */
#customSection {
    margin: 6rem 0;
    padding: 0 2rem;
}

#customSection h1 {
    text-align: center;
    font-size: 3.2rem;
    margin-bottom: 4rem;
    font-weight: bold;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 1px solid #444;
    border-radius: 12px;
    padding: 3rem 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4a90e2, #50c878, #e24a4a, #f4a460);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service:hover::before {
    transform: scaleX(1);
}

.service:hover {
    transform: translateY(-8px);
    border-color: #666;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.service h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #fff;
    line-height: 1.4;
    min-height: 2.8em;
}

.service p {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #ccc;
    margin: 0;
}

/* アイコン追加（オプション） */
.service h3::before {
    content: '▸';
    display: inline-block;
    margin-right: 0.5rem;
    color: #4a90e2;
    font-size: 1.2em;
}

.service:nth-child(1) h3::before { color: #4a90e2; }
.service:nth-child(2) h3::before { color: #50c878; }
.service:nth-child(3) h3::before { color: #e24a4a; }
.service:nth-child(4) h3::before { color: #f4a460; }

/* タブレット対応 */
@media screen and (max-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    #customSection h1 {
        font-size: 2.8rem;
    }
    
    .service {
        padding: 2.5rem 2rem;
    }
    
    .service h3 {
        font-size: 1.8rem;
    }
    
    .service p {
        font-size: 1.4rem;
    }
}

/* スマホ対応 */
@media screen and (max-width: 767px) {
    .service-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    #customSection h1 {
        font-size: 2.4rem;
        margin-bottom: 3rem;
    }
    
    .service {
        padding: 2rem 1.8rem;
    }
    
    .service h3 {
        font-size: 1.8rem;
        min-height: auto;
    }
    
    .service p {
        font-size: 1.4rem;
    }
}
</style>

/* 私たちの強みセクション */
.center-message {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 16px;
    border: 1px solid #444;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.center-message h1 {
    font-size: 3.2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
    color: #fff;
    position: relative;
    padding-bottom: 1.5rem;
}

.center-message h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #4a90e2, #50c878);
    margin: 1rem auto 0;
}

.center-message h2 {
    font-size: 2.4rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2.5rem;
    color: #4a90e2;
}

.center-message > p {
    font-size: 1.０rem !important;
    line-height: 2;
    text-align: center;
    margin-bottom: 4rem;
    color: #ddd;
    padding: 0 2rem;
}

.emphasis-paragraph.top-message {
    line-height: 2.2 !important; /* 行間を広げる */
    margin-bottom: 2em !important;
}
	
/* 強みリスト */
.center-message > div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

.center-message h3 {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #fff;
    padding-left: 2.5rem;
    position: relative;
}

.center-message h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 80%;
    background: linear-gradient(180deg, #4a90e2, #50c878);
    border-radius: 3px;
}

.center-message > div > h3:nth-of-type(1)::before {
    background: linear-gradient(180deg, #4a90e2, #357abd);
}

.center-message > div > h3:nth-of-type(2)::before {
    background: linear-gradient(180deg, #50c878, #3da35d);
}

.center-message > div > h3:nth-of-type(3)::before {
    background: linear-gradient(180deg, #f4a460, #e8903a);
}

.center-message > div p {
    font-size: 1.0rem;
    line-height: 1.9;
    color: #ccc;
    padding-left: 2.5rem;
    margin-bottom: 2rem;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 1.5rem 2.5rem;
    border-radius: 8px;
    border-left: 3px solid #444;
}

.top-message{
	 font-size: 2.0rem !important;  /* 上のメッセージのサイズ */
}

.detail-message {
    font-size: 1.8rem !important;
    word-wrap: normal;
    word-break: normal;
    line-break: strict;
}



/* タブレット対応 */
@media screen and (max-width: 1024px) {
    .center-message {
        margin: 5rem auto;
        padding: 3rem 2.5rem;
    }
    
    .center-message h1 {
        font-size: 2.8rem;
    }
    
    .center-message h2 {
        font-size: 2.2rem;
    }
    
    .center-message > p {
        font-size: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .center-message h3 {
        font-size: 1.8rem;
    }
}

/* スマホ対応 */
@media screen and (max-width: 767px) {
    .center-message {
        margin: 4rem 2rem;
        padding: 2.5rem 2rem;
        border-radius: 12px;
    }
    
    .center-message h1 {
        font-size: 2.4rem;
        margin-bottom: 1.5rem;
    }
    
    .center-message h2 {
        font-size: 1.9rem;
        margin-bottom: 2rem;
    }
    
    .center-message > p {
        font-size: 1.4rem;
        padding: 0 1rem;
        margin-bottom: 2.5rem;
    }
    
    .center-message > div {
        gap: 2rem;
    }
    
    .center-message h3 {
        font-size: 1.7rem;
        padding-left: 2rem;
        margin-bottom: 1rem;
    }
    
    .center-message h3::before {
        width: 5px;
    }
    
    .center-message > div p {
        font-size: 1.4rem;
        padding: 1.2rem 1.8rem;
        margin-bottom: 1.5rem;
    }
}
</style>



/* 会社概要 */
.home-content {
    margin: 0 auto;
}

#company {
    background-color: #000000;
    margin: 0 auto;
    padding: 13rem 7rem 3rem 7rem;
}

section {
    margin: 13rem auto;
    padding: 0 7rem;
}

section h2 {
    font-size: 2.4rem;
    font-weight: normal;
    margin: 0 7rem 9rem 0;
    line-height: 1.2;
}

section h2 span {
    display: inline-block;
    font-size: 8rem;
    font-weight: 500;
    margin-bottom: 3.6rem;
    padding-bottom: 2.4rem;
    border-bottom: 1px solid #fff;
}

.company-inner {
    max-width: 1183px;
    width: 100%;
}

#company dl {
    display: flex;
    align-items: flex-start;
}

#company dt {
    width: 20.4%;
    margin-right: 4rem;
    padding: 2rem 0;
    border-bottom: 1px solid #7f7f7f;
    white-space: nowrap;
    flex-shrink: 0;
}

#company dd {
    width: 76.6%;
    padding: 2rem 0;
    border-bottom: 1px solid #ccc;
    padding-left: 2rem;
    flex-grow: 1;
}

@media screen and (max-width: 1024px) {
    #company {
        padding: 6rem 4rem 7rem;
    }
    
    section {
        margin: 6rem auto 7rem;
        padding: 0 4rem;
    }
    
    section h2 {
        margin: 0 0 6rem;
    }
    
    section h2 span {
        font-size: 6rem;
    }
}

/* ここに追加 */
#company dt[style*="visibility: hidden"] {
  height: 0;
  margin: 0;
  padding: 0;
  border: none;
}


@media screen and (max-width: 767px) {
    #company {
        padding: 5rem 2rem 6rem;
    }
    
    section {
        margin: 5rem auto 6rem;
        padding: 0 2rem;
    }
    
    
    
    #company dl {
        flex-direction: column;
    }
    
    #company dt {
        width: 100%;
        margin-right: 0;
        padding-bottom: 0;
        border-bottom: none;
    }
    
    #company dl:first-of-type dt {
        border-top: 1px solid #ccc;
    }
    
    #company dd {
        width: 100%;
    }
}

/* 空のdtを持つdlのスタイル */
#company dl:has(dt[style*="visibility: hidden"]) dd {
  margin-left: calc(20.4% + 4rem);
  width: calc(76.6% - 2rem);
}

#company dt[style*="visibility: hidden"] {
  display: none !important;
}

#company dd.no-border {
  border-bottom: none !important;
  padding: 2rem 0 2rem 2rem;
}

#company dd.with-border {
  border-bottom: 1px solid #ccc !important;
  padding: 2rem 0 2rem 2rem;
}

/* 空のdtを持つdlのスタイル */
#company dl:has(dt[style*="visibility: hidden"]) dd {
  margin-left: calc(20.4% + 4rem);
  width: calc(76.6% - 2rem);
}

#company dt[style*="visibility: hidden"] {
  display: none !important;
}

#company dd.no-border {
  border-bottom: none !important;
  padding: 2rem 0 2rem 2rem;
}

#company dd.with-border {
  border-bottom: 1px solid #ccc !important;
  padding: 2rem 0 2rem 2rem;
}


/* ========================================
   事業案内セクション - 改善版
======================================== */
@media screen and (max-width: 1024px) {
    #business {
        padding: 6rem 4rem 7rem;
    }
    
    section {
        margin: 6rem auto 7rem;
        padding: 0 4rem;
    }
    
    section h2 {
        margin: 0 0 6rem;
    }
    
    section h2 span {
        font-size: 60rem;
    }
}
#business {
    background-color: #1a1a1a;
    margin: 0;
    padding: 9rem 7rem 6rem;
}

#business h2 {
    color: #fff;
    margin-bottom: 6rem;
}

#business h2 span {
    border-color: #fff;
}

.business-inner {
    margin-top: 60px;
    gap: 2.5rem;
    align-items: start;
    flex-grow: 1;
}

.business-box {
	margin: 10px;
    position: relative;
    border: 2px solid #3a3a3a;
    background: linear-gradient(135deg, #222 0%, #2a2a2a 100%);
    border-radius: 12px;
    flex: 1;
    min-height: 150px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.business-box:hover {
    border-color: #4a90e2;
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.2);
    transform: translateY(-3px);
}

.business-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4a90e2, #357abd);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.business-box.active::before,
.business-box:hover::before {
    opacity: 1;
}

/* 見出し部分 */
.business-box h3 {
    color: #fff;
    /* font-size: clamp(2rem, 1.5vw, 2.4rem); */ /* この行をコメントアウト */
    font-weight: 600;
    padding: 2.5rem 3rem;
    line-height: 1.6;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.business-box h3::after {
    content: '▼';
    position: absolute;
    right: 3rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: #4a90e2;
    transition: transform 0.3s ease;
}

.business-box.active h3::after {
    transform: translateY(-50%) rotate(180deg);
}

.business-box:hover h3 {
    color: #4a90e2;
}

.business-box h3 .main-text {
    display: block;
    font-size: clamp(2.8rem, 2.5vw, 3.2rem); /* 28px ~ 32px */
    font-weight: 700; /* より太く */
    color: #fff;
    line-height: 1.3;
}

.business-box h3 .sub-text {
    display: block;
    font-size: 1.2rem; /* 12px */
    font-weight: 300; /* より細く */
    color: #888;
    margin-top: 0.8rem; /* 間隔を少し広げる */
    letter-spacing: 0.05em;
    opacity: 0.8; /* 少し透明に */
}

/* コンテンツ部分 */
.business-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    padding: 0 3rem;
    background: rgba(0, 0, 0, 0.2);
}

.business-box.active .business-content {
    max-height: 5000px;
    padding: 3rem;
    border-top: 1px solid #3a3a3a;
}

/* 段落スタイル */
.business-content p {
    font-size: 1.7rem;
    line-height: 2;
    color: #d0d0d0;
    margin-bottom: 2rem;
    letter-spacing: 0.03em;
}

.business-content p:last-child {
    margin-bottom: 0;
}

/* 強調段落 */
.business-content p.emphasis-paragraph {
    font-size: 3.0rem !important;
    font-weight: 600;
    color: #e8e8e8;
    padding: 2rem 2.5rem;
    background: rgba(74, 144, 226, 0.08);
    border-left: 4px solid #4a90e2;
    border-radius: 8px;
    margin-bottom: 2.5rem;
    line-height: 1.9;
}

/* 見出し（h4） */
.business-content h4 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #4a90e2;
    margin: 3rem 0 1.8rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(74, 144, 226, 0.3);
}

.business-content h4:first-child {
    margin-top: 0;
}

/* リストスタイル */
.business-content ul {
    margin: 2rem 0;
    padding-left: 0;
}

.business-content ul li {
    font-size: 1.6rem;
    line-height: 1.9;
    color: #d0d0d0;
    margin-bottom: 1.8rem;
    padding-left: 2.5rem;
    position: relative;
}

.business-content ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #4a90e2;
    font-size: 1.4rem;
    font-weight: bold;
}

.business-content ul li strong {
    color: #4a90e2;
    font-weight: 600;
    font-size: 1.7rem;
}

.business-content ul li br + * {
    margin-top: 0.5rem;
    display: inline-block;
}

/* タブレット対応 */
@media screen and (max-width: 1024px) {
	@media screen and (max-width: 1024px) {
    .business-box h3 .main-text {
        font-size: clamp(2.4rem, 2.2vw, 2.8rem); /* 24px ~ 28px */
        font-weight: 700;
    }
    
    .business-box h3 .sub-text {
        font-size: 1.1rem; /* 11px */
        margin-top: 0.6rem;
    }
}
    #business {
        padding: 6rem 4rem;
    }
    
    .business-inner {
        gap: 2rem;
    }
    
    .business-box h3 {
        font-size: clamp(1.8rem, 2vw, 2.1rem);
        padding: 2rem 2.5rem;
    }
    
    .business-box h3::after {
        right: 2.5rem;
    }
    
    .business-box h3 span {
        font-size: 1.3rem;
    }
    
    .business-box.active .business-content {
        padding: 2.5rem;
    }
    
    .business-content p {
        font-size: 1.6rem;
    }
    
    .business-content p.emphasis-paragraph {
        font-size: 1.7rem !important;
        padding: 1.8rem 2rem;
    }
    
    .business-content h4 {
        font-size: 1.9rem;
        margin: 2.5rem 0 1.5rem;
    }
    
    .business-content ul li {
        font-size: 1.5rem;
        padding-left: 2rem;
    }
}

/* スマホ対応 */
@media screen and (max-width: 767px) {
	@media screen and (max-width: 767px) {
    .business-box h3 .main-text {
        font-size: clamp(2rem, 4.5vw, 2.4rem); /* 20px ~ 24px */
        font-weight: 700;
    }
    
    .business-box h3 .sub-text {
        font-size: 1rem; /* 10px */
        margin-top: 0.5rem;
    }
}
    #business {
        padding: 5rem 2rem;
    }
    
    .business-inner {
        gap: 1.5rem;
    }
    
    .business-box {
        border-radius: 8px;
    }
    
    .business-box h3 {
        font-size: 1.9rem;
        padding: 2rem;
        line-height: 1.5;
    }
    
    .business-box h3::after {
        right: 2rem;
        font-size: 1.2rem;
    }
    
    .business-box h3 span {
        font-size: 1.2rem;
    }
    
    .business-content {
        padding: 0 2rem;
    }
    
    .business-box.active .business-content {
        padding: 2rem;
    }
    
    .business-content p {
        font-size: 1.5rem;
        line-height: 1.9;
        margin-bottom: 1.5rem;
    }
    
    .business-content p.emphasis-paragraph {
        font-size: 1.6rem !important;
        padding: 1.5rem 1.8rem;
        margin-bottom: 2rem;
    }
    
    .business-content h4 {
        font-size: 1.8rem;
        margin: 2rem 0 1.2rem;
    }
    
    .business-content ul {
        margin: 1.5rem 0;
    }
    
    .business-content ul li {
        font-size: 1.4rem;
        line-height: 1.8;
        margin-bottom: 1.5rem;
        padding-left: 1.8rem;
    }
    
    .business-content ul li strong {
        font-size: 1.5rem;
    }
}
/* 事業案内アコーディオン機能 */
.business-box {
    cursor: pointer;
}

.business-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    padding: 0 2rem;
}

.business-box.active .business-content {
    max-height: 3000px;
    padding: 2rem;
}

@media screen and (max-width: 767px) {
    .business-content {
        padding: 0 1.5rem;
    }
    
    .business-box.active .business-content {
        padding: 1.5rem;
    }
}

.emphasis-paragraph {
  font-size: 3.0em !important; /* 通常より20%大きい。必要に応じて調整可能 */
  line-height: 1.8;
  font-weight: 300S !important; /* 少し太めにすることで視認性アップ */


/* 交通アクセス
------------------------------- */
#access {
    margin: 13rem auto;
    /* margin: 28rem auto 13rem; */
}

.access-text {
    margin-right: 7rem;
}

#access iframe {
    max-width: 1183px;
}

@media screen and (max-width: 1024px) {
    #access {
        margin: 6rem auto 7rem;
    }
    
    .access-text {
        margin-right: 0;
    }
    
    #access iframe {
        margin-top: 4rem;
    }
}

@media screen and (max-width: 767px) {
    #access {
        margin: 5rem auto 6rem;
    }
    
    #access iframe {
        height: 317px;
        margin-top: 3rem;
    }
}


/* お問い合わせ　エントリーフォーム
---------------------------------------------- */
#contact, .entry {
    color: #000;
}
#contact h2 span,
.entry h2 span {
    border-bottom: 1px solid #000;
}

#contact, .entry {
    background-color: #fafafa;
    margin: 13	auto;
    padding: 12rem 7rem;
}


@media screen and (max-width: 1024px) {
    #contact, .entry {
        padding: 6rem 4rem;
    }
}

@media screen and (max-width: 767px) {
    #contact, .entry {
        padding: 5rem 2rem;
    }
}



/* お問い合わせセクション全体を白背景に */
#contact {
  background-color: #fff;
  color: #000; /* テキストは黒に */
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* セクション見出し */
#contact h2 {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 30px;
  color: #000;
}

/* フォーム全体の幅と配置 */
#contact form {
  width: 90%;
  max-width: 800px;
}

/* テーブルの基本スタイル */
#contact table {
  width: 100%;
  border-collapse: collapse;
}

#contact th {
  text-align: left;
  width: 30%;
  padding: 12px 10px;
  vertical-align: top;
  font-weight: normal;
}

#contact td {
  padding: 12px 10px;
}

/* 入力欄のデザイン */
#contact input[type="text"],
#contact textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  font-size: 1.4rem;
  border-radius: 4px;
  background-color: #fff;
  color: #000;
}

/* チェックボックス＋文言を横並びに */
#contact td label.privacy-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.4rem;
  color: #000;
}

#contact input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #000;
  cursor: pointer;
}

/* プライバシーポリシーリンク */
#contact a {
  color: #0073e6;
  text-decoration: underline;
}

#contact a:hover {
  opacity: 0.8;
}

/* 送信ボタン */
#contact .btn-submit input[type="submit"] {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 10px 40px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.6rem;
  transition: opacity 0.3s;
}

#contact .btn-submit input[type="submit"]:hover {
  opacity: 0.8;
}

/* 小さい画面用 */
@media screen and (max-width: 768px) {
  #contact th {
    display: block;
    width: 100%;
    margin-bottom: 4px;
  }

  #contact td {
    display: block;
    width: 100%;
  }

  #contact .btn-submit {
    text-align: center;
  }
}



/* ----------------------------------------------
採用情報
---------------------------------------------- */

/* ページタイトル
------------------------------- */
.recruit .page-title {
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 4rem;
    position: relative;
}
.recruit .page-title::before {
    content: '';
    display: block;
    width: 100vw;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    transform: translate(-50%, -50%);
}

.recruit .page-title-img {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
}
.recruit .page-title-img img {
    width: 100%;
    max-height: 550ox;
    object-fit: cover;
}

.recruit .page-title h1 {
    color: #fff;
    font-size: 2.4rem;
    font-weight: normal;
    line-height: 1.6; 
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    z-index: 2;
}

.recruit .page-title h1 span {
    display: inline-block;
    font-size: 8rem;
    font-weight: bold;
}

@media screen and (max-width: 1024px) {
    .recruit .page-title h1 span {
        font-size: 6rem;
    }
}

@media screen and (max-width: 767px) {
    .recruit .page-title {
        height: 200px;
        background: url(../images/img_recruit_title.jpg) no-repeat;
        background-size: cover;
        background-position: 60%;
        padding: 0 2rem;
    }
    
    .recruit .page-title-img {
        display: none;
    }
    
    .recruit .page-title h1 {
        font-size: 2rem;
    }
    
    .recruit .page-title h1 span {
        font-size: 4.5rem;
    }
}




/* ----------------------------------------------
プライバシー
---------------------------------------------- */

/* ページタイトル
------------------------------- */
.privacy .page-title {
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 4rem;
}

.privacy .page-title h1 {
    background-color: #fafafa;
    width: 100vw;
    font-size: 2.4rem;
    font-weight: normal;
    margin: 0 calc(50% - 50vw);
    padding: 6rem calc(50vw - 50%);
    line-height: 1.6;
    color: #000;
}

.privacy .page-title h1 span {
    display: inline-block;
    font-size: 8rem;
    font-weight: bold;
}

@media screen and (max-width: 1024px) {
    .privacy .page-title h1 {
        padding: 4.8rem calc(50vw - 50%);
    }
    
    .privacy .page-title h1 span {
        font-size: 6rem;
    }
}

@media screen and (max-width: 767px) {
    .privacy .page-title {
        padding: 0 2rem;
    }
    
    .privacy .page-title h1 {
        font-size: 2rem;
    }
    
    .privacy .page-title h1 span {
        font-size: 4.5rem;
    }
}


/* 本文
------------------------------- */
.privacy section {
    max-width: 1520px;
    padding: 0 4rem;
}

.privacy h2 {
    font-size: 3.2rem;
    font-weight: bold;
    margin: 2em 0 1em;
    padding-bottom: 1rem;
    border-bottom: 1px solid #fff;
    line-height: 1.6;
}

.privacy ol {
    margin-bottom: 1em;
    padding-left: 1.5em;
}

.privacy ol li {
    list-style-type: decimal;
    margin-bottom: 1em;
    padding-left: 0.5em;
}

.privacy ol ol {
    margin-top: 1em;
}

@media screen and (max-width: 767px) {
    .privacy section {
        padding: 0 2rem;
    }
    
    .privacy h2 {
        font-size: 2.4rem;
    }
}

/* 会社概要セクション
---------------------------------------------- */
#company .company-inner {
    max-width: 1183px;
    width: 100%;
}

#company .company-inner dl {
    display: block;  /* flexからblockに変更 */
    margin-bottom: 2rem;
}

#company .company-inner dt {
    display: inline-block;
    width: 20%;
    padding-right: 2rem;
    font-size: 1.6rem;
    vertical-align: top;
}

/* visibility:hiddenのdtは完全に非表示 */
#company .company-inner dt[style*="visibility: hidden"] {
    display: none;
}

#company .company-inner dd {
    display: inline-block;
    width: 78%;  /* dtの20% + padding分を考慮 */
    font-size: 1.6rem;
    line-height: 1.8;
    padding-left: 0;
    margin-left: 0;
    vertical-align: top;
}


/* dtとddの枠線調整 */
#company .company-inner dt.thin-border {
    border-bottom: 1px solid #666;
    padding-bottom: 1.5rem;
}
/* border-bottom: none !important;を持つdtにも線を表示 */
#company .company-inner dt.thin-border[style*="border-bottom: none"] {
    border-bottom: 1px solid #666 !important;
    padding-bottom: 1.5rem;
}

#company .company-inner dd.thick-border {
    border-bottom: 2px solid #999;
    padding-bottom: 1.5rem;
}

#company .company-inner dd.no-border {
    border-bottom: none;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

#company .company-inner dd.with-border {
    border-bottom: 2px solid #999;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

/* ========================================
   スマホ用タイトルデザイン(統一) - 全セクション
   ======================================== */
@media screen and (max-width: 767px) {
    /* 全セクション共通 - タイトルデザイン */
    section h2,
    #company h2,
    #business h2,
    #contact h2,
    #greeting h2,
    #Corporate h2,
    #philosophy h2 {
        font-size: 2.6rem !important;
        font-weight: 600 !important;
        margin: 0 0 3.5rem !important;
        width: 100% !important;
        line-height: 1.5 !important;
        border-left: 4px solid #fff;
        padding-left: 1.5rem;
        display: flex !important;
        flex-direction: column-reverse !important;
    }
    
    /* 全セクション共通 - 英語タイトル(小さく) */
    section h2 span,
    #company h2 span,
    #business h2 span,
    #contact h2 span,
    #greeting h2 span,
    #Corporate h2 span,
    #philosophy h2 span {
        display: block !important;
        font-size: 1.3rem !important;
        font-weight: 300 !important;
        margin-top: 0.8rem !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        border-bottom: none !important;
        opacity: 0.65;
        letter-spacing: 0.05em;
        order: 2 !important;
    }
    
    /* br要素を非表示 */
    section h2 br,
    #company h2 br,
    #business h2 br,
    #contact h2 br,
    #greeting h2 br,
    #Corporate h2 br,
    #philosophy h2 br {
        display: none !important;
    }
    
    /* セクション全体を縦並びに */
    section,
    #company,
    #business,
    #contact,
    #greeting,
    #Corporate,
    #philosophy {
        display: block !important;
    }
    
    /* コンテンツ幅を100%に */
    #company .company-inner,
    #contact form {
        width: 100% !important;
    }
    
    /* 会社概要のインデント調整 */
    .company-inner dl {
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        width: 100% !important;
    }
    
    .company-inner dt {
        padding-left: 0 !important;
        margin-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        display: block !important;
    }
    
    .company-inner dd {
        padding-left: 0 !important;
        margin-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
        display: block !important;
        text-indent: 0 !important;
    }
    
    /* 非表示のdtを完全に削除 */
    .company-inner dt[style*="visibility: hidden"] {
        display: none !important;
    }
}