/* 基本スタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-image: url("../img/bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.br-pc {
    display: block;
}

.br-sp {
    display: none;
}

/* PC・SP表示切替用のクラス */
.pc-only {
    display: block;
}

.sp-only {
    display: none;
}

@media screen and (max-width: 767px) {
    .br-pc {
        display: none;
    }

    .br-sp {
        display: block;
    }

    .pc-only {
        display: none;
    }

    .sp-only {
        display: block;
    }
}

/* Elementorコンテナスタイル */
.elementor-section .elementor-container {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    flex-direction: column;
}

.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1140px;
    padding: 0 20px;
}

/* セクション共通スタイル */
.section-title {
    background-color: #395495;
    color: white;
    padding: 1rem;
    text-align: center;
    width: 100%;
}

.point-title {
    color: #395495;
    background-color: #fff;
    padding: 1rem;
    text-align: center;
    margin-bottom: 2rem;
    width: 100%;
    font-size: 3rem;
}

/* コンテンツスタイル */
.about-section {
    padding-top: 35px;
}


.about-content {
    display: flex;
    width: 100%;
    margin: 0 auto;
    gap: 2rem;
    padding-top: 2rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.about-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text p {
    margin-bottom: 1rem;
}

/* Recruitment セクション */
.recruitment-section {
    padding: 2rem 0;
    margin-top: 3rem;
}

.recruitment-content {
    width: 100%;
    border-radius: 8px;
}

.recruitment-content p {
    margin-bottom: 1rem;
}

/* Reason セクション */
.reason-section {
    padding: 3rem 0;
    margin: 0 1.5rem;
    border-style: solid;
    border-width: 4px 4px 4px 4px;
    border-color: #395495;
    border-radius: 10px 10px 10px 10px;
}

.reason-content {
    max-width: 1000px;
    margin: 0 auto;
}

.reason-item {
    margin-bottom: 3rem;
}

.reason-subtitle {
    background-color: #395495;
    color: white;
    padding: 0.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.2rem;
    position: relative;
    padding-left: 1.5rem;
}

.reason-subtitle::before {
    content: "▶";
    position: absolute;
    left: 0;
    color: #395495;
}

.reason-box {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding: 0 1rem;
}

.reason-image {
    flex: 1;
    max-width: 500px;
}

.reason-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.reason-text {
    flex: 1;
}

.reason-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Requirements セクション */
.requirements-section {
    padding: 3rem 0;

}

.requirements-content {
    max-width: 1280px;
    padding: 0 1rem;
}

.requirements-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    background-color: #fff;
}

.requirements-table th {
    width: 20%;
    min-width: 120px;
    background-color: #f5f5f5;
    padding: 1.5rem;
    border: 1px solid #ddd;
    vertical-align: top;
    font-weight: 800;
    font-size: 1.2em;
}

.requirements-table td {
    padding: 1.5rem;
    border: 1px solid #ddd;
}

.requirements-table h4 {
    font-size: 1.1rem;
    color: #395495;
    margin: 1.5rem 0 0.8rem;
}

.requirements-table h4:first-child {
    margin-top: 0;
}

.requirements-table ul {
    list-style-type: none;
    padding-left: 1.2rem;
}

.requirements-table ul li {
    position: relative;
    margin-bottom: 0.5rem;
}

.requirements-table ul li::before {
    content: "•";
    position: absolute;
    left: -1.2rem;
    color: #395495;
}

.requirements-table p {
    margin-bottom: 1rem;
}

/* 既存のスタイルに追加 */
.requirements-table .emphasis {
    font-weight: bold;
    color: #395495;
    font-size: 1.1rem;
    margin: 1rem 0;
}

.requirements-table .point-box {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.requirements-table .contact-info {
    font-size: 1.2rem;
    font-weight: bold;
    color: #395495;
    margin-top: 1rem;
}

.requirements-table h4 {
    margin-top: 1.5rem;
    color: #395495;
}

.requirements-table h4:first-child {
    margin-top: 0.5rem;
}

/* Flow セクション */
.flow-section {
    padding: 3rem 0;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.flow-header {
    text-align: center;
    background-color: #FFFFFF;
    padding: 2% 0% 2% 0%;
    margin: 0 1rem;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #50433A;
    border-radius: 40px 40px 40px 40px;
}

.flow-main-title {
    font-size: 2rem;
    color: #395495;
    text-align: center;
}

.flow-arrow-down {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #395495;
    margin: 0 auto;
}

.flow-content {
    max-width: 1140px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.flow-item {
    display: flex;
    margin-bottom: 2rem;
    background-color: #fff;
}

.flow-step {
    background-color: #395495;
    color: #fff;
    padding: 0.5rem 1rem;
    width: 300px;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
}

.step-number {
    display: contents;
}

.step-number span {
    margin-left: 0.5rem;
    font-size: 1.4rem;
}

.step-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-left: 0;
}

.flow-detail {
    background-color: #fff;
    padding: 2rem;
    flex-grow: 1;
}

.flow-detail p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-tel {
    font-size: 1.2rem;
    font-weight: bold;
    color: #395495;
    margin-top: 0.5rem;
}

.note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
    padding-left: 1rem;
    border-left: 3px solid #395495;
}

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
    .flow-item {
        flex-direction: column;
    }

    .flow-step {
        width: 100%;
        min-width: 100%;
        padding: 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .step-number {
        font-size: 1.1rem;
    }

    .step-number span {
        font-size: 1.5rem;
    }

    .step-title {
        font-size: 1.2rem;
        margin-left: 0;
        padding-top: 0px;
    }

    .flow-detail {
        padding: 1rem;
    }

    .contact-tel {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    .flow-main-title {
        font-size: 1.4rem;
    }

    .flow-item {
        padding: 1.2rem;
        margin-bottom: 2rem;
    }

    .step-number {
        font-size: 1.1rem;
    }
}

/* レスポンシブデザイン */
@media screen and (max-width: 1024px) {
    .elementor-section.elementor-section-boxed > .elementor-container {
        max-width: 1024px;
    }

    .elementor-section .elementor-container {
        flex-wrap: wrap;
    }

    .about-content {
        gap: 1.5rem;
    }

    .reason-box {
        gap: 1.5rem;
    }

    .company-name img {
        max-width: 220px;
    }

    .phone-number {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 767px) {
    .elementor-section.elementor-section-boxed > .elementor-container {
        max-width: 767px;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image {
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
        padding: 0.8rem;
    }

    .recruitment-content {
        padding: 1rem;
    }

    .reason-box {
        flex-direction: column;
    }

    .reason-image {
        max-width: 100%;
        margin-bottom: 1.5rem;
    }

    .reason-subtitle {
        font-size: 1.1rem;
        padding: 0.6rem;
    }

    .requirements-table,
    .requirements-table tbody,
    .requirements-table tr,
    .requirements-table th,
    .requirements-table td {
        display: block;
        width: 100%;
    }

    .requirements-table th {
        padding: 0.8rem;
        text-align: left;
        border-bottom: none;
    }

    .requirements-table td {
        padding: 1rem;
    }

    .requirements-table h4 {
        font-size: 1rem;
    }

    .flow-content {
        padding: 1.5rem 0.5rem;
    }

    .flow-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .flow-left {
        flex: 0 0 auto;
        width: 100px;
        margin: 0 auto;
    }

    .flow-title {
        text-align: center;
        font-size: 1.2rem;
    }

    .flow-arrow {
        left: 20px;
    }

    .header-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .header-contact {
        flex-direction: column;
        gap: 1rem;
    }

    .company-name img {
        max-width: 180px;
    }

    .contact-button {
        width: 100%;
        justify-content: center;
    }

    .requirements-table .emphasis {
        font-size: 1rem;
    }

    .requirements-table .point-box {
        padding: 1rem;
    }

    .requirements-table .contact-info {
        font-size: 1.1rem;
    }

    .flow-features {
        padding: 1rem;
    }

    .contact-tel {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 480px) {
    .section-title {
        font-size: 1.2rem;
    }

    .about-text, 
    .recruitment-content {
        font-size: 0.9rem;
    }

    .reason-section {
        padding: 2rem 0;
    }

    .reason-item {
        margin-bottom: 2rem;
    }

    .reason-subtitle {
        font-size: 1rem;
    }

    .reason-text {
        font-size: 0.9rem;
    }

    .requirements-content {
        padding: 0 0.5rem;
    }

    .requirements-table th,
    .requirements-table td {
        font-size: 0.9rem;
        padding: 0.8rem;
    }

    .flow-content {
        padding: 1rem 0.5rem;
    }

    .flow-item {
        padding: 0.8rem;
    }

    .flow-title {
        font-size: 1rem;
    }

    .flow-text {
        font-size: 0.9rem;
    }

    .company-name img {
        max-width: 150px;
    }

    .phone-number {
        font-size: 1.1rem;
    }

    .header-container {
        padding: 0 10px;
    }

    .flow-features {
        padding: 1rem;
    }

    .contact-tel {
        font-size: 1.1rem;
    }
}

/* Contact フォームセクション */
.contact-section {
    padding: 0 !important;
}

.contact-section .elementor-container {
    padding: 0 !important;
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;

}

.contact-title {
    max-width: 100% !important;
    width: 100% !important;
}

/* テーブルスタイル */
.form-table {
    width: 100%;
    margin-bottom: 2rem;
    border-collapse: collapse;
}

.form-table th,
.form-table td {
    padding: 1.5rem;
    border: 1px solid #ddd;
}

.form-table th {
    width: 30%;
    background-color: #f5f5f5;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
    vertical-align: middle;
}

.form-table td {
    width: 70%;
    background-color: #fff;
}

/* 入力フィールドスタイル */
.form-table input,
.form-table textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-table input:focus,
.form-table textarea:focus {
    border-color: #395495;
    outline: none;
}

/* プライバシーポリシーセクション */
.privacy-policy {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #fff;
    border: 1px solid #ddd;
    height: 300px;
    overflow-y: auto;
}

.privacy-policy h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.policy-content {
    height: 150px;
    overflow-y: auto;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #fff;
    border: 1px solid #ddd;
}

.checkbox-container {
    display: block;
    margin-top: 1rem;
    text-align: center;
}

/* 送信ボタン */
.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.submit-button {
    width: 70%;
    background-color: #000;
    color: white;
    padding: 1rem 4rem;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #002244;
}

.submit-note {
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
    .contact-content {
        padding: 1rem;
    }

    .form-table,
    .form-table tbody,
    .form-table tr,
    .form-table th,
    .form-table td {
        display: block;
        width: 100%;
    }

    .form-table th {
        padding: 0.8rem;
        border-bottom: none;
        text-align: left;
    }

    .form-table td {
        padding: 1rem;
    }

    .submit-button {
        width: 100%;
        padding: 0.8rem;
    }
}

/* Company セクション */
.company-section {
    padding: 3rem 0;
}

.company-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem 0;
    width: 100%;

}

/* 会社概要テーブル */
.company-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 3rem;
    background-color: #fff;
}

.company-table th {
    width: 25%;
    min-width: 120px;
    background-color: #f5f5f5;
    padding: 1.2rem;
    border: 1px solid #ddd;
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.company-table td {
    padding: 1.2rem;
    border: 1px solid #ddd;
}

.company-table a {
    color: #395495;
    text-decoration: none;
}

.company-table a:hover {
    text-decoration: underline;
}

/* 地図セクション */
.company-map {
    margin-bottom: 3rem;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.map-container {
    flex: 2;  /* 地図部分を2/3のスペースに */
    margin-bottom: 0;  /* 既存のmargin-bottomを削除 */
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.company-info {
    flex: 1;  /* 会社情報部分を1/3のスペースに */
    text-align: left;  /* 左寄せに変更 */
    padding: 2rem;
    border-radius: 8px;
}

.company-logo h3 {
    font-size: 2em;
    color: #395495;
    margin-bottom: 1rem;
}

.company-info p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* コピーライト */
.copyright {
    text-align: center;
    padding-top: 2rem;
    color: #666;
    font-size: 0.9rem;
}

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
    .company-map {
        flex-direction: column;  /* モバイルでは縦並びに */
        gap: 1rem;
    }

    .map-container {
        width: 100%;
        order: 2;
    }

    .map-container iframe {
        height: 300px;
    }

    .company-info {
        width: 100%;
        text-align: center;
        padding: 0 1rem;
        order: 1;
    }
}

@media screen and (max-width: 480px) {
    .company-content {
        padding: 0 0.5rem;
    }

    .company-table th,
    .company-table td {
        font-size: 0.9rem;
        padding: 0.8rem;
    }

    .map-container iframe {
        height: 250px;
    }

    .company-logo h3 {
        font-size: 1.3rem;
    }

    .company-info {
        font-size: 0.9rem;
    }
}

/* ヘッダー */
.site-header {
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 会社名 */
.company-name {
    display: flex;
    align-items: center;
}

.company-name img {
    max-width: 250px;
    height: auto;
    object-fit: contain;
}

/* レスポンシブ対応 */
@media screen and (max-width: 1024px) {
    .company-name img {
        max-width: 220px;
    }
}

@media screen and (max-width: 767px) {
    .company-name img {
        max-width: 180px;
    }
}

@media screen and (max-width: 480px) {
    .company-name img {
        max-width: 150px;
    }
}

/* 連絡先 */
.header-contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.phone-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    gap: 0.5rem;
}

.phone-icon {
    font-size: 1.2rem;
}

.phone-number {
    font-size: 1.4rem;
    font-weight: bold;
}

.contact-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #395495;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.mail-icon {
    font-size: 1.2rem;
}

/* トップ画像セクション */
.top-image-section {
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    margin: 0 auto;
}

.top-image-container {
    width: 100%;
    position: relative; /* 位置の基準点を設定 */
}

.top-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像のアスペクト比を保ちながら領域を埋める */
}

@media screen and (max-width: 767px) {
    .header-container {
        flex-direction: row; /* 横並びを維持 */
        padding: 0.8rem;
        gap: 1rem;
    }

    .company-name img {
        max-width: 150px;
    }

    .header-contact {
        gap: 0.5rem;
    }

    .header-info {
        display: none; /* 電話番号は非表示のまま */
    }

    .contact-button {
        padding: 0.5rem 1rem; /* ボタンサイズを調整 */
        font-size: 0.9rem;
    }

    .br-pc {
        display: none;
    }

    .br-sp {
        display: block;
    }
}

/* さらに小さい画面サイズ対応 */
@media screen and (max-width: 480px) {
    .company-name img {
        max-width: 120px;
    }

    .contact-button {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* 既存のスタイルに追加 */
.recruitment-lead {
    font-size: 1.2rem;
    font-weight: bold;
    color: #395495;
    padding-top: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.recruitment-points {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.section-title br {
    display: none;
}

@media screen and (max-width: 767px) {
    .section-title br {
        display: block;
    }
    
    .recruitment-lead {
        font-size: 1.1rem;
        text-align: left;
    }
    
    .recruitment-points {
        padding: 1.5rem;
    }
}

/* 既存のスタイルに追加 */
.reason-message {
    margin-top: 1.5rem;
    font-weight: bold;
    color: #395495;
    text-align: center;
    font-size: 1.1rem;
}

@media screen and (max-width: 767px) {
    .reason-message {
        font-size: 1rem;
        text-align: left;
    }
}

/* 漫画セクション用のスタイル */
.manga-section {
    padding: 3rem 0;
}

.manga-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem auto;
    max-width: 800px;
}

.manga-content img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
    .manga-section {
        padding: 2rem 0;
    }
    
    .manga-content {
        margin: 1.5rem auto;
        padding: 0 1rem;
    }
} 