/* 全体のリセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

/* ヘッダー */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h1 {
    font-size: 24px;
    font-weight: bold;
    color: #0047AB;
}

.logo p {
    font-size: 12px;
    color: #666;
}

nav ul {
	display: block;
	padding-left:50px;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    font-size: 14px;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #0047AB;
}

/* メインビジュアル */
.main-visual {
    background-image: url('images/main_visual.png');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-top: 70px;
    position: relative;
}

.main-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 71, 171, 0.7);
}

.main-visual-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.main-visual h2 {
    font-size: 42px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 採用情報 */
.adoption {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.adoption-banner {
    background-color: #0047AB;
    color: #fff;
    text-align: center;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.adoption-banner h3 {
    font-size: 24px;
	font-weight: bold;
	margin-top: 0;
}

.adoption-content {
    text-align: center;
}

.adoption-content h3 {
    font-size: 28px;
    font-weight: bold;
    color: #C71585;
    margin-bottom: 20px;
    line-height: 1.4;
}

.adoption-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* セクションタイトル共通 */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title .en-title {
    display: block;
    font-size: 18px;
    color: #C71585;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: bold;
    position: relative;
    display: inline-block;
	padding-bottom: 15px;
	margin-top: 0;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #0047AB;
}

/* フィリピン人労働者の魅力 */
.charm {
    padding: 80px 0;
    background-color: #fff;
}

.charm-content {
    margin-top: 50px;
}

.charm-item {
    display: flex;
    margin-bottom: 60px;
    align-items: center;
}

.charm-item.reverse {
    flex-direction: row-reverse;
}

.charm-image {
    flex: 0 0 45%;
    padding: 0 20px;
}

.charm-text {
    flex: 0 0 55%;
    padding: 0 20px;
}

.charm-label {
    display: inline-block;
    color: #0047AB;
    font-size: 18px;
    margin-bottom: 10px;
}

.charm-text h3 {
    font-size: 24px;
    font-weight: bold;
	margin-bottom: 20px;
	margin-top: 0;
    color: #333;
}

.charm-text p {
    font-size: 16px;
    line-height: 1.8;
}

/* 対象分野 */
.target-areas {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.area-item {
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.area-item:hover {
    transform: translateY(-5px);
}

.area-item p {
    font-size: 16px;
    font-weight: bold;
}

/* ハヤテジャパンの強み */
.strengths {
    padding: 80px 0;
    background-color: #fff;
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.strength-item {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s;
}

.strength-item:hover {
    transform: translateY(-5px);
}

.strength-number {
    font-size: 36px;
    font-weight: bold;
    color: #0047AB;
    margin-bottom: 15px;
}

.strength-item h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    min-height: 50px;
}

.strength-image {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 50%;
}

.strength-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.more-button {
    text-align: center;
    margin-top: 50px;
}

.more-button a {
    display: inline-block;
    background-color: #0A2B5C;
    color: #fff;
    padding: 15px 60px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.more-button a:hover {
    background-color: #0047AB;
}

/* サービスの流れ */
.flow {
    padding: 80px 0;
    background-color: #f0f4f9;
}

.flow-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 50px;
}

.flow-item {
    text-align: center;
    width: 180px;
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.flow-arrow {
    margin: 0 10px;
    color: #0047AB;
    font-size: 24px;
}

.flow-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
}

.flow-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.flow-text .en-label {
    display: block;
    font-size: 12px;
    color: #0047AB;
    margin-bottom: 5px;
}

.flow-text h3 {
    font-size: 16px;
    font-weight: bold;
}

/* サポート内容 */
.support {
    padding: 80px 0;
    background-color: #fff;
}

.support-content {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.support-item {
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.support-item:hover {
    transform: translateY(-5px);
}

.support-photo {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 5px;
    margin-bottom: 20px;
}

.support-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.support-item:hover .support-photo img {
    transform: scale(1.05);
}

.support-header {
    margin-bottom: 15px;
}

.support-header .en-label {
    display: block;
    font-size: 14px;
    color: #0047AB;
    margin-bottom: 5px;
}

.support-header h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.support-header .number {
    color: #0047AB;
    font-size: 24px;
    margin-right: 10px;
}

.support-item p {
    font-size: 16px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .support-content {
        grid-template-columns: 1fr;
    }
}

/* 実績 */
.achievements {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.achievement-medals {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    margin-bottom: 60px;
}

.medal {
    width: 200px;
    height: 200px;
    background-color: #FFD700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.medal-inner {
    text-align: center;
    padding: 20px;
}

.medal-inner h4 {
    font-size: 16px;
    color: #8B4513;
    margin-bottom: 10px;
}

.medal-inner .number {
    font-size: 36px;
    font-weight: bold;
    color: #8B4513;
}

.medal-inner .unit {
    font-size: 14px;
    color: #8B4513;
}

.achievement-cases {
    margin-top: 50px;
}

.case {
    display: flex;
    margin-bottom: 40px;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.case-image {
    flex: 0 0 30%;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-content {
    flex: 0 0 70%;
    padding: 30px;
}

.case-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #0047AB;
}

.case-content p {
    font-size: 16px;
    line-height: 1.8;
}

/* よくある質問 */
.faq {
    padding: 80px 0;
    background-color: #f0f4f9;
}

.faq-content {
    margin-top: 50px;
}

.faq-item {
    margin-bottom: 30px;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.question {
    padding: 20px;
    background-color: #0047AB;
    color: #fff;
}

.question h3 {
    font-size: 18px;
	font-weight: bold;
	margin-top: 0;
}

.answer {
    padding: 20px;
}

.answer p {
    font-size: 16px;
    line-height: 1.8;
}

/* お問い合わせ */
.contact {
    padding: 80px 0;
    background: linear-gradient(to bottom, #0047AB, #00BFFF);
    color: #fff;
    text-align: center;
}

.contact h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

.contact p {
    font-size: 16px;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.phone a {
    display: flex;
    align-items: center;
    font-size: 32px;
    font-weight: bold;
}

.phone i {
    margin-right: 10px;
}

.hours {
    font-size: 14px;
    margin-top: 10px;
}

.contact-buttons {
    display: flex;
    gap: 20px;
}

.line-button, .mail-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    transition: opacity 0.3s;
}

.line-button {
    background-color: #06C755;
}

.mail-button {
    background-color: #FFA500;
}

.line-button:hover, .mail-button:hover {
    opacity: 0.9;
}

.line-button i, .mail-button i {
    margin-right: 10px;
}

/* フッター */
footer {
    padding: 50px 0;
    background-color: #0A2B5C;
    color: #fff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-logo h2 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-links ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.footer-links ul li a {
    font-size: 14px;
    transition: opacity 0.3s;
}

.footer-links ul li a:hover {
    opacity: 0.8;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .strengths-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .areas-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .main-visual {
        height: 400px;
        margin-top: 120px;
    }
    
    .main-visual h2 {
        font-size: 32px;
    }
    
    .charm-item, .charm-item.reverse {
        flex-direction: column;
    }
    
    .charm-image, .charm-text {
        flex: 0 0 100%;
        padding: 0;
        margin-bottom: 20px;
    }
    
    .strengths-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .flow-content {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
        margin: 15px 0;
    }
    
    .case {
        flex-direction: column;
    }
    
    .case-image, .case-content {
        flex: 0 0 100%;
    }
    
    .achievement-medals {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links ul {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .main-visual h2 {
        font-size: 24px;
    }
    
    .adoption-content h3 {
        font-size: 20px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .strengths-grid, .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    .footer-links ul {
        grid-template-columns: 1fr;
    }
}


/* 対象分野のアイコン */
.field-icon {
    object-fit: contain;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


/* 実績グラフ */
.achievement-graph {
    text-align: center;
    margin: 40px 0;
}

.achievement-graph img {
    max-width: 800px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

