@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=RocknRoll+One&display=swap');

body {
    font-family: 'RocknRoll One', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4;
}

header {
    background-color: white;
    color: black;
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

header .logo {
    max-width: 150px;
    display: block;
    margin: 0 auto 10px;
}

header h1.shuji {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.5em;
    margin: 0;
}

header p {
    font-size: 1.2em;
    margin: 10px 0 0;
}

nav {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
}

nav ul li a:hover {
    text-decoration: underline;
}

main {
    padding: 20px;
}

.intro, .job-details, .employment-details, .company-details, .training-support, .work-life-balance, .message, .apply-now {
    background-color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.8em;
    margin-bottom: 10px;
}

p {
    font-size: 1em;
    line-height: 1.6;
    margin: 10px 0;
}

.intro-images img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px;
}

.instagram-feed {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.instagram-feed blockquote {
    max-width: 300px;
    margin: 10px;
    flex: 1;
}

.instagram-feed blockquote div {
    padding: 8px;
}

.instagram-feed blockquote a {
    text-align: center;
    display: block;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #333;
    color: white;
}

footer p {
    margin: 0;
    font-size: 0.9em;
}

a {
    color: #1e90ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.apply-now {
    text-align: center;
    padding: 20px;
    background-color: #ffeb3b;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.apply-now h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 2em;
    margin-bottom: 10px;
}

.apply-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #ff5722;
    color: white;
    text-transform: uppercase;
    font-size: 1.2em;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.apply-button:hover {
    background-color: #e64a19;
}

/* メディアクエリを追加 */
@media (max-width: 768px) {
    header h1.shuji {
        font-size: 2em;
    }

    nav ul li {
        display: block;
        margin: 5px 0;
    }

    nav ul li a {
        font-size: 1em;
    }

    h2 {
        font-size: 1.5em;
    }

    .apply-now h2 {
        font-size: 1.5em;
    }

    .apply-button {
        font-size: 1em;
        padding: 10px 20px;
    }

    .instagram-feed {
        flex-direction: column;
        align-items: center;
    }

    .instagram-feed blockquote {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    header h1.shuji {
        font-size: 1.8em;
    }

    nav ul li {
        margin: 5px 0;
    }

    nav ul li a {
        font-size: 0.9em;
    }

    h2 {
        font-size: 1.2em;
    }

    .apply-now h2 {
        font-size: 1.2em;
    }

    .apply-button {
        font-size: 0.9em;
        padding: 8px 16px;
    }

    p {
        font-size: 0.9em;
    }
}
