@charset "utf-8";
/* ============================================================
   横浜留学センター 目的別ページ共通(workingholiday / junior / voice)
   abroad/index.html のインラインCSSと同じデザイン。
   ヒーローの背景画像は各ページの style 属性で指定する。
   ============================================================ */

/* ---------- ies-world.com 共通パーツ ---------- */
.iesGlobalHeader, .iesGlobalFooter, .iesRelatedBanner {
    all: initial; display: block;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
}
.iesGlobalHeader *, .iesGlobalFooter *, .iesRelatedBanner * { box-sizing: border-box; font-family: inherit; }
.iesGlobalHeader { display: block; background: #134b88; color: #fff; font-size: 13px; line-height: 1.6; }
.iesGlobalHeader__inner { max-width: 1000px; margin: 0 auto; padding: 8px 15px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.iesGlobalHeader__logo { color: #fff; font-weight: bold; text-decoration: none; font-size: 14px; }
.iesGlobalHeader__nav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.iesGlobalHeader__nav a { color: #fff; text-decoration: none; opacity: 0.9; font-size: 13px; }
.iesGlobalHeader__nav a:hover { opacity: 1; text-decoration: underline; }
.iesGlobalHeader__cta { background: #c96725; padding: 5px 12px; border-radius: 4px; opacity: 1 !important; }
.iesGlobalHeader__cta:hover { background: #b1591e; text-decoration: none !important; }
.iesRelatedBanner { display: block; background: #fffaf0; border-top: 1px solid #f0e0c0; border-bottom: 1px solid #f0e0c0; padding: 18px 15px; text-align: center; }
.iesRelatedBanner__label { color: #134b88; font-size: 13px; font-weight: bold; margin: 0 0 10px; }
.iesRelatedBanner__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.iesRelatedBanner__item { display: inline-block; background: #fff; border: 1px solid #134b88; color: #134b88; text-decoration: none; font-size: 12px; padding: 8px 14px; border-radius: 20px; transition: 0.2s; }
.iesRelatedBanner__item:hover { background: #134b88; color: #fff; }
.iesGlobalFooter { display: block; background: #134b88; color: #fff; padding: 25px 15px 15px; font-size: 12px; line-height: 1.7; }
.iesGlobalFooter__inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.iesGlobalFooter__logo { margin: 0 0 6px; }
.iesGlobalFooter__logo a { color: #fff; font-size: 18px; font-weight: bold; text-decoration: none; }
.iesGlobalFooter__slogan { opacity: 0.85; margin: 0 0 15px; font-size: 12px; }
.iesGlobalFooter__links { list-style: none; margin: 0 0 15px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; }
.iesGlobalFooter__links li { margin: 0; padding: 0; }
.iesGlobalFooter__links a { color: #fff; text-decoration: underline; opacity: 0.9; }
.iesGlobalFooter__links a:hover { opacity: 1; }
.iesGlobalFooter__copyright { opacity: 0.6; font-size: 11px; margin: 10px 0 0; }
@media only screen and (max-width: 600px) {
    .iesGlobalHeader__inner { flex-direction: column; align-items: flex-start; }
    .iesGlobalHeader__nav { gap: 10px; }
}

/* ---------- 本文 ---------- */
.ab { color: #333; line-height: 1.8; font-size: 16px; }
main.ab { margin: 0; }
.ab a { display: inline; color: #134b88; text-decoration: underline; }
.ab a:hover { color: #c96725; }
.ab section { margin: 0; padding: 56px 0; }
.ab-wrap { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.ab-wrap--narrow { max-width: 780px; }
.ab-sec--gray { background: #f4f6f9; }
.ab .ab-sec--warm { background: #fffaf0; border-top: 1px solid #f0e0c0; border-bottom: 1px solid #f0e0c0; }
.ab-h2 { text-align: center; font-size: 26px; color: #134b88; margin: 0 0 8px; line-height: 1.4; }
.ab-lead { text-align: center; margin: 0 0 32px; color: #555; }
.ab-text p { margin: 0 0 1em; }
.ab-text h3 { font-size: 19px; color: #134b88; margin: 1.6em 0 .5em; line-height: 1.5; }
.ab-note { font-size: 14px; color: #555; }

/* パンくず */
.ab-crumb { max-width: 1000px; margin: 0 auto; padding: 10px 20px; font-size: 13px; color: #666; }
.ab-crumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.ab-crumb li { flex: none; }
.ab-crumb li + li::before { content: "›"; margin-right: 4px; color: #999; }
.ab .ab-crumb a { color: #134b88; padding: 0; width: auto; }
.ab .ab-crumb a:hover { background: none; }

/* ボタン */
.ab .ab-btn { display: inline-block; text-decoration: none; font-weight: bold; border-radius: 6px; padding: 14px 26px; font-size: 17px; line-height: 1.4; text-align: center; transition: .2s; }
.ab .ab-btn--main { background: #c96725; color: #fff; box-shadow: 0 3px 0 #9c4f1b; }
.ab .ab-btn--main:hover { background: #b1591e; color: #fff; }
.ab .ab-btn--sub { background: #fff; color: #134b88; border: 2px solid #134b88; }
.ab .ab-btn--sub:hover { background: #134b88; color: #fff; }
.ab-btn small { display: block; font-weight: normal; font-size: 12px; }
.ab-center { text-align: center; margin: 24px 0 0; }

/* ヒーロー */
.ab .ab-hero { padding: 56px 0 48px; color: #fff; text-align: center; background-color: #134b88; background-position: center; background-size: cover; background-repeat: no-repeat; }
.ab-hero__sub { font-size: 15px; margin: 0 0 10px; letter-spacing: .05em; }
.ab-hero h1 { font-size: 32px; line-height: 1.4; margin: 0 0 18px; color: #fff; }
.ab-hero__catch { font-size: 18px; margin: 0 0 26px; }
.ab-hero__catch strong { color: #ffe066; }
.ab-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0 0 30px; padding: 0; }
.ab-badges li { background: rgba(255,255,255,.95); color: #134b88; font-weight: bold; padding: 8px 16px; border-radius: 30px; font-size: 15px; }
.ab-badges li span { color: #c96725; font-size: 18px; }
.ab-hero__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.ab-hero .ab-btn--sub { background: rgba(255,255,255,.95); }
.ab-hero__note { font-size: 13px; margin: 16px 0 0; opacity: .9; }

/* カード */
.ab-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ab-cards--2 { grid-template-columns: repeat(2, 1fr); }
.ab-cards--4 { grid-template-columns: repeat(4, 1fr); }
.ab-card { background: #fff; border-radius: 10px; padding: 24px 20px; box-shadow: 0 2px 10px rgba(0,0,0,.07); }
.ab-card__num { display: inline-block; background: #134b88; color: #fff; border-radius: 50%; width: 34px; height: 34px; line-height: 34px; text-align: center; font-weight: bold; margin-bottom: 10px; }
.ab-card h3 { font-size: 19px; color: #134b88; margin: 0 0 10px; line-height: 1.5; }
.ab-card p { margin: 0 0 8px; font-size: 15px; }
.ab-card__more { font-size: 14px; }
.ab-card__tag { display: inline-block; font-size: 12px; font-weight: bold; color: #c96725; border: 1px solid #c96725; border-radius: 3px; padding: 0 6px; margin: 0 0 8px; }

/* チェックリスト */
.ab-check { list-style: none; margin: 0 auto; padding: 0; max-width: 720px; }
.ab-check li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px dashed #d6dde6; }
.ab-check li::before { content: "✓"; position: absolute; left: 4px; top: 9px; color: #c96725; font-weight: bold; font-size: 18px; }

/* 料金表 */
.ab-price { width: 100%; max-width: 720px; margin: 0 auto 16px; border-collapse: collapse; background: #fff; }
.ab-price th, .ab-price td { border: 1px solid #d6dde6; padding: 14px 16px; text-align: left; }
.ab-price th { background: #eaf0f7; width: 55%; font-weight: normal; }
.ab-price td { font-weight: bold; color: #c96725; font-size: 18px; }
.ab-price td small { display: block; font-weight: normal; color: #555; font-size: 13px; }
.ab-price__note { max-width: 720px; margin: 0 auto; font-size: 14px; color: #555; }

/* 流れ */
.ab-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.ab-steps li { position: relative; padding: 0 0 22px 60px; }
.ab-steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 42px; height: 42px; line-height: 42px; text-align: center; background: #c96725; color: #fff; border-radius: 50%; font-weight: bold; }
.ab-steps li::after { content: ""; position: absolute; left: 20px; top: 46px; bottom: 4px; border-left: 2px dashed #c9d3df; }
.ab-steps li:last-child::after { display: none; }
.ab-steps strong { display: block; color: #134b88; font-size: 17px; }

/* 声 */
.ab-voice { background: #fff; border-left: 5px solid #c96725; padding: 18px 20px; margin: 0 0 16px; border-radius: 0 8px 8px 0; }
.ab-voice p { margin: 0 0 6px; }
.ab-voice cite { font-style: normal; font-size: 14px; color: #666; }

/* 卒業生の手紙 */
.ab-letter { background: #fff; border: 1px solid #f0e0c0; border-radius: 10px; padding: 28px 30px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.ab-letter__head { display: flex; align-items: center; gap: 16px; margin: 0 0 18px; }
.ab-letter__head img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: center top; flex: none; }
.ab-letter__name { font-weight: bold; color: #134b88; font-size: 18px; margin: 0; line-height: 1.4; }
.ab-letter__role { font-size: 13px; color: #c96725; margin: 0; }
.ab-letter p { margin: 0 0 1em; }
.ab-letter__src { font-size: 13px; color: #777; margin: 0 !important; }

/* モデルケース */
.ab-case { background: #fff; border-radius: 10px; padding: 24px 24px 12px; box-shadow: 0 2px 10px rgba(0,0,0,.07); margin: 0 0 20px; }
.ab-case h3 { font-size: 19px; color: #134b88; margin: 0 0 4px; line-height: 1.5; }
.ab-case__who { font-size: 14px; color: #666; margin: 0 0 14px; }
.ab-case dl { margin: 0; }
.ab-case dt { font-weight: bold; color: #c96725; font-size: 14px; }
.ab-case dd { margin: 0 0 12px; font-size: 15px; }
.ab-disclaimer { background: #fff8e6; border: 1px solid #f0d9a0; border-radius: 6px; padding: 10px 14px; font-size: 14px; color: #6b5310; max-width: 780px; margin: 0 auto 24px; }

/* FAQ */
.ab-faq details { background: #fff; border: 1px solid #d6dde6; border-radius: 8px; margin: 0 0 12px; }
.ab-faq summary { cursor: pointer; padding: 16px 20px; font-weight: bold; color: #134b88; }
.ab-faq summary::before { content: "Q. "; color: #c96725; }
.ab-faq details p { margin: 0; padding: 0 20px 16px; }

/* お問い合わせ */
.ab-contact { background: #134b88; color: #fff; text-align: center; }
.ab-contact .ab-h2 { color: #fff; }
.ab-contact .ab-lead { color: #fff; opacity: .9; }
.ab-contact .ab-hero__cta { margin-bottom: 26px; }
.ab-contact .ab-btn--sub { border-color: #fff; }
.ab-info { display: inline-block; text-align: left; font-size: 15px; background: rgba(255,255,255,.1); padding: 16px 24px; border-radius: 8px; }
.ab-info dt { font-weight: bold; float: left; width: 6em; }
.ab-info dd { margin: 0 0 6px 6em; }
.ab-contact .ab-info a { color: #fff; }

/* 関連ページ */
.ab-related { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; margin: 0; padding: 0; }
.ab .ab-related a { display: inline-block; background: #fff; border: 1px solid #134b88; border-radius: 20px; padding: 8px 16px; font-size: 14px; text-decoration: none; }
.ab .ab-related a:hover { background: #134b88; color: #fff; }

.ab-update { text-align: right; font-size: 13px; color: #777; padding: 10px 20px; max-width: 1000px; margin: 0 auto; }

/* スマホ下部固定ボタン */
.ab-fixed { display: none; }

@media screen and (max-width: 768px) {
    .ab section { padding: 40px 0; }
    .ab .ab-hero { padding: 40px 0 36px; }
    .ab-hero h1 { font-size: 24px; }
    .ab-hero__catch { font-size: 16px; }
    .ab-h2 { font-size: 22px; }
    .ab-cards, .ab-cards--2, .ab-cards--4 { grid-template-columns: 1fr; }
    .ab-price th { width: 55%; }
    .ab-letter { padding: 22px 18px; }
    .ab-fixed { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; box-shadow: 0 -2px 8px rgba(0,0,0,.15); }
    .ab-fixed a { flex: 1; display: block; text-align: center; padding: 13px 4px; font-weight: bold; font-size: 15px; text-decoration: none; }
    .ab-fixed__tel { background: #fff; color: #134b88; }
    .ab-fixed__form { background: #c96725; color: #fff; }
    body { padding-bottom: 52px; }
    #pagetop { bottom: 64px; }
}
