* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #EBEFF3;
    color: #333;
    font-family: "Noto Sans Myanmar", "Noto Sans", sans-serif;
    line-height: 1.65;
}
body.has-page-bg {
    background-color: #EBEFF3;
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
}
body.has-bg { background-size: cover; }
a { color: #1f5fa8; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.wrap { width: min(1000px, calc(100% - 32px)); margin: 0 auto; }
.page-head {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
    border-bottom: 3px solid #2B8CD4;
}
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; }
.brand { display: flex; align-items: center; gap: 10px; color: #1d4f7a; font-weight: 700; font-size: 1.15rem; }
.brand:hover { text-decoration: none; }
.mark, .logo {
    width: 36px; height: 36px; border-radius: 50%;
    object-fit: cover;
}
.mark {
    background: radial-gradient(circle at 30% 30%, #7eb6e0, #1d4f7a);
    box-shadow: inset 0 -8px 0 #2B8CD4;
}
.head-tools { display: flex; align-items: center; gap: 8px; }
.lang, .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 36px; padding: 0 12px; border-radius: 4px;
    background: #2B8CD4; color: #fff; font-weight: 700; border: 0; cursor: pointer;
}
.lang:hover, .nav-toggle:hover { text-decoration: none; background: #1d4f7a; }
.nav { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; }
.nav li { flex: 0 0 auto; min-width: 0; }
.nav a {
    display: block;
    padding: 12px 18px;
    color: #1d4f7a;
    font-weight: 700;
    text-align: center;
    border-bottom: 3px solid transparent;
}
.nav a.is-current, .nav a:hover { background: #e7f3fb; border-bottom-color: #2B8CD4; text-decoration: none; }
.nav-toggle { display: none; }
.hero {
    position: relative;
    height: 520px;
    overflow: hidden;
    background: #9ec8e4;
}
.hero-slides { height: 100%; }
.hero-slides img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    transition: opacity 1s ease;
}
.hero-slides img.is-current { opacity: 1; }
.hero-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .78);
    color: #1d4f7a;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}
.hero-prev { left: 16px; }
.hero-next { right: 16px; }
.media { display: grid; grid-template-columns: 1fr 280px; gap: 24px; align-items: end; }
.media img, .mission-art { grid-column: 2; grid-row: 1; width: 280px; height: 180px; object-fit: cover; border-radius: 6px; }
.media > :last-child { grid-column: 1; grid-row: 1; }
.page { flex: 1; display: flex; flex-direction: column; width: 100%; }
.page-intro {
    width: min(1000px, calc(100% - 32px));
    margin: 24px auto 0;
    padding: 0;
}
.crumb { margin: 0 0 18px; color: #7F7F7F; font-size: 13px; }
.crumb a { color: #7F7F7F; text-decoration: underline; }
.crumb a:hover { text-decoration: none; }
.page-intro h1 {
    margin: 0 0 22px;
    padding: 0;
    background: none;
    border: 0;
    color: #666;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.2;
}
.sheet {
    flex: 1;
    width: min(1000px, calc(100% - 32px));
    margin: 0 auto 25px;
    padding-bottom: 28px;
    background: #fff;
    border: 0;
    box-shadow: none;
}
body.is-home .sheet {
    position: relative;
    z-index: 1;
    margin-top: -150px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7) 150px, #fff 150px);
}
.block { padding: 24px 18px 10px; }
.block h1, .block h2 {
    margin: 36px 0 17px;
    padding: 8px 12px 0 30px;
    min-height: 47px;
    background: url("../images/common/title_level2.gif") left center / 100% 100% no-repeat;
    border: 0;
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}
.block > h1:first-child, .block > h2:first-child { margin-top: 0; }
.block p { margin: 0 0 14px; font-size: 1.05rem; }
.links ul { list-style: none; padding: 0; margin: 0 0 8px; }
.links li { margin: 12px 0; }
.links a { font-weight: 700; font-size: 1.05rem; }
.links a::before { content: "▸ "; color: #2B8CD4; }
.mission-art {
    background:
        linear-gradient(#f4f8fb, #f4f8fb) 0 70% / 100% 30% no-repeat,
        linear-gradient(160deg, #7eb6e0, #1d4f7a);
}
.place { margin: 8px 0 16px; color: #1d4f7a; }
.address-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; margin-bottom: 12px; }
.address-list p { margin: 0; line-height: 1.45; }
.block ol { padding-left: 1.3em; }
.block li { margin: 8px 0; font-size: 1.05rem; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 8px 0 24px; }
.card { text-align: center; }
.avatar {
    width: 96px; height: 96px; margin: 0 auto 10px; border-radius: 50%;
    display: grid; place-items: center; color: #fff; font-size: 2rem; font-weight: 700;
    background: linear-gradient(160deg, #7eb6e0, #1d4f7a);
}
.contact { color: #5c6b7a; font-size: .95rem; }
.block p.org-chart-frame, .block p.org-map-frame {
    margin: 0 auto 24px;
    padding: 14px;
    background: #fff;
}
.block p.org-chart-frame { width: 384px; max-width: 100%; }
.block p.org-map-frame { width: 577px; max-width: 100%; }
.block p.org-chart-frame img, .block p.org-map-frame img { display: block; width: 100%; height: auto; }
.members {
    display: grid;
    grid-template-columns: repeat(4, 171px);
    justify-content: center;
    column-gap: 46px;
    row-gap: 15px;
    max-width: 822px;
    margin: 0 auto 24px;
}
.member { text-align: center; font-weight: 700; line-height: 1.2; }
.member img { display: block; width: 171px; height: 214px; margin: 0 0 6px; object-fit: cover; }
.member p { margin: 0; }
.org-offices { margin: 0 0 8px 9px; font-size: 1.17rem; }
.org-offices dt {
    font-weight: 700;
    padding-left: 21px;
    background-repeat: no-repeat;
}
.org-offices dt.regional { background-image: url("../images/orga/icon01.png"); background-position: 4px 3px; }
.org-offices dt.branch { background-image: url("../images/orga/icon02.png"); background-position: 1px 2px; }
.org-offices dt.liaison { background-image: url("../images/orga/icon03.png"); background-position: 1px 5px; }
.org-offices dd { margin: 0 0 7px 21px; }
.page-foot { background: #2B8CD4; color: #fff; padding: 32px 0; }
.foot-row { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; }
.page-foot p { margin: 0 0 6px; }
.org { font-weight: 700; font-size: 1.15rem; }
@media (max-width: 800px) {
    .nav-toggle { display: inline-flex; }
    .nav { display: none; flex-direction: column; padding: 0 0 8px; }
    .nav.is-open { display: flex; }
    .nav li { flex: none; }
    .nav a { text-align: left; padding: 10px 4px; }
    .hero { height: 240px; }
    body.is-home .sheet { margin-top: 0; background: #fff; }
    .block { padding: 20px 16px 24px; }
    .media, .cards, .address-list, .foot-row { grid-template-columns: 1fr; display: grid; }
    .media img, .mission-art, .media > :last-child { grid-column: auto; grid-row: auto; }
    .members { grid-template-columns: repeat(2, 171px); }
    .page-intro, .sheet, .wrap { width: min(1000px, calc(100% - 16px)); }
    .block p.org-chart-frame, .block p.org-map-frame { width: auto; max-width: 100%; }
    .cards { grid-template-columns: repeat(2, 1fr); }
    .foot-row { display: grid; }
}
@media (max-width: 520px) {
    .cards { grid-template-columns: 1fr; }
    .brand span:last-child { font-size: 1rem; }
}
