body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding: 0;
    margin: 0;
    background-color: #f5f5f5;
}

.page-title {
    color: #01013b;
    text-align: center;
    padding: 1rem 0;
    margin-bottom: 0rem;
    margin-top: 3rem;
    font-size: 2.5rem;
    font-weight: bold;
    text-decoration: none;
}

.page-title .custom-text {
    font-family: system-ui;
}

.intro {
    background-color: #fff;
    padding: 2rem;
    margin: 1rem auto;
    max-width: 800px;
    box-sizing: border-box;
    width: 100%;
}

.intro img {
    width: 70%;
    height: auto;
    margin: 1rem auto;
    display: block;
}

.intro h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 1rem;
    gap: 1rem;
}

.features article {
    background-color: #fff;
    padding: 1rem;
    flex: 1 1 calc(33.33% - 1rem);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1, h2, h3 {
    margin-top: 0;
}

.details {
    padding: 1rem;
    background-color: #fff;
    margin: 1rem;
}

.container {
    max-width: 800px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
}

header, .intro, .services {
    width: 100%;
}

.services article {
    background-color: #f9f9f9;
    padding: 1.5rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    border-radius: 5px;
}

.services h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.services p {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* 追加: 会社概要ページのスタイル */
dl {
    padding: 0;
    margin: 0;
}

/* 会社名とその値を横並びで表示するためのスタイルを追加 */
dt, dd {
    display: block; /* 各項目を新しい行に表示するために変更 */
    font-size: 1.4rem; /* dtとddの文字サイズを一致させる */
    margin: 0; /* 余白をリセット */
}

dt {
    font-weight: bold;
    margin-top: 1rem;
}

dd {
    margin-bottom: 1rem;
}

/* Contact form styling */
.contact-form {
    background-color: #f6f6f6;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.contact-form dt {
    margin-bottom: 10px;
    font-weight: bold;
}

.contact-form dd {
    margin-bottom: 20px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    background-color: #007BFF;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.contact-form button:hover {
    background-color: #0056b3;
}

.required {
    color: red;
    font-weight: bold;
    margin-left: 5px;
}

.optional {
    color: #888;
    font-weight: normal;
    margin-left: 5px;
}

.recruitment-details {
    background-color: #f6f6f6;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.recruitment-details dl, .application-form dl {
    padding: 0;
    margin: 0;
}

.recruitment-details dt, .application-form dt {
    font-weight: bold;
    margin-top: 1rem;
}

.recruitment-details dd, .application-form dd {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.recruitment-details dd {
    color: #333;
}

.application-form dd {
    margin-bottom: 20px;
}

.footer-space {
    height: 50px; /* お好みのピクセル数に調整してください */
}

@media (max-width: 768px) {

    /* 既存のモバイル用スタイル */
    .page-title {
        margin-top: 4rem;
        font-size: 1.9rem;
        line-height: 1.4;
        /*word-break: break-word;*/
    }

    /* その他、モバイル用のスタイルをこちらに追加 */
}

.services h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.services ul {
    padding-left: 20px;
}

.services li {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}