@import url('https://fonts.googleapis.com/css2?family=Kaisei+Decol&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kiwi+Maru:wght@400;700&display=swap');

body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    overflow-x: hidden;
}
.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    overflow: hidden;
    background: linear-gradient(to bottom, rgba(255, 254, 245, 0.5) 30%, rgba(237,240,184, 0.5));
}
.hero {
    position: relative;
    background-image: url('webp_images/banner1.webp');
    background-size: cover;
    background-position: center;
    height: 100vh;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    text-shadow: 3px 3px 3px black;
}
.hero h1 {
    font-size: 3.5em;
    margin: 0;
    font-family: 'Kiwi Maru',"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
    animation: fadeIn 2s ease-in-out;
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 10px;
}
.hero h2 {
    font-size: 1.5em;
    margin: 10px 0 0;
    font-family: 'Kiwi Maru',"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
    animation: fadeIn 2s ease-in-out;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0px 24px;
    justify-content: center;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.scrolling-images {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 150px;
    margin: 40px 0;
    border: 0px solid #fff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.0);
}
.scrolling-images div {
    display: flex;
    padding: 0;
    margin: 0;
    animation: scrollImages 90s linear infinite;
}
.scrolling-images img {
    width: calc(100vw / 10);
    height: 100%;
    min-width: 130px;
    object-fit: cover;
    flex-shrink: 0;
    margin: 0 5px;
    border-radius: 5px;
}
@keyframes scrollImages {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}
.content {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 40px 20px;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 40px;
}
.section:nth-child(even) {
    flex-direction: row-reverse;
}
.section img {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin: 20px;
}
.section .text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}
.section h2 {
    color: #00695c;
    font-size: 2.5em;
    margin-bottom: 20px;
    position: relative;
    font-family: 'Kaisei Decol', serif;
}
.section h2 .highlight {
    color: red;
    font-size: 2.0em;
}
.section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 0;
    height: 2px;
    background-color: #00695c;
    transition: width 0.3s ease-in-out;
}
.section h2:hover::after {
    width: 100%;
    left: 0;
}
.section p {
    font-size: 1.2em;
    color: #333;
    line-height: 1.6;
}
.highlight-growth {
    color: #FF5722;
    font-weight: bold;
}
.highlight-together {
    color: #009688;
    font-weight: bold;
    font-style: italic;
}
.scroll-effect {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.scroll-effect.visible {
    opacity: 1;
    transform: translateY(0);
}
footer {
    background-color: #f8f8f8;
    color: #333;
    text-align: center;
    padding: 20px 0%;
    border-top: 1px solid #e7e7e7;
}
footer a {
    /* color: #fff; */
    text-decoration: none;
    margin-left: auto;
}
footer nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0;
    padding: 0;
}
footer p {
    margin-top: 10px;
    font-size: 0.9em;
    text-align: center; /* コピーライトをセンターに */
}
/* 緑背景「お問い合わせ」箇所 */
.cta-button {
    background-color: #00796b;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    opacity: 0;
    animation: slideIn 1.5s ease-in-out forwards;
    animation-delay: 1s;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: inline-block;
    margin-top: 10px;
}
.cta-button:hover {
    background-color: #004d40;
    transform: scale(1.05);
}
.contact-section {
    background-color: #00796b; /* 背景色を変更 */
    color: white; /* テキストの色を白に */
    padding: 50px 0; /* セクションのパディングを調整 */
    margin-top: 40px;
}
.contact-section .container {
    text-align: center; /* テキストを中央揃え */
    background: none; /* 背景を削除 */
    padding: 0;
    border: none;
    box-shadow: none;
}
.contact-section h2 {
    color: white; /* 見出しの色を白に */
    border-bottom: none; /* 下線を削除 */
}
.contact-section .cta-button {
    background-color: #004d40; /* ボタンの背景色を変更 */
    color: white;
}
.contact-section .cta-button:hover {
    background-color: #00332e; /* ホバー時の背景色を変更 */
}
.contact-details p {
    margin: 10px 0; /* マージンを調整 */
}
.recruitment-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.recruitment-table th, .recruitment-table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}
.recruitment-table tr:nth-child(even) {
    background-color: #f9f9f9;
}
.recruitment-table tr:nth-child(odd) {
    background-color: #e9f9e9;
}
.recruitment-table th {
    background-color: #00796b;
    color: white;
}
.recruitment-table ul {
    margin: 0 0 0 -24px;
}
.recruitment-table ol {
    margin: 0;
    padding: 0;
}
.recruitment-table li {
    list-style: none;
    padding-left: 1em;
    text-indent: -1em;
}

.nowrap {
    text-wrap: nowrap;
}

@media (max-width: 767px) {
    /* スマートフォン向けのスタイル */
    .hero h1 {
        font-size: 2.5em;
        margin: 0;
        font-family: 'Kiwi Maru',"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
        animation: fadeIn 2s ease-in-out;
        background: rgba(0, 0, 0, 0.3);
        padding: 20px;
        border-radius: 10px;
    }
    .section h2 {
        color: #00695c;
        font-size: 1.7em;
        margin-bottom: 20px;
        position: relative;
        font-family: 'Kaisei Decol', serif;
    }
    .section h2 .highlight {
        color: red;
        font-size: 2em;
    }
    .section p {
        font-size: 1em;
        color: #333;
        line-height: 1.6;
    }
    footer nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        max-width: 100%;
    }

    footer nav ul li {
        flex: 0 0 calc(50% - 10px); /* 各要素の幅を50%に設定し、間隔を考慮 */
    }
}


