/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}

html {
  scroll-padding-top: 95px;
  scroll-behavior: smooth;
}

/* [修正] font-weight: weight → 400 に修正 */
.playfair-display-uniquifier {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.zen-maru-gothic-regular {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-style: normal;
}

/* みぞれ墨東 (MizoletBokutoh) — đặt file vào fonts/ hoặc dùng Adobe Fonts kit */
@font-face {
  font-family: "mizoletbokutoh";
  src:
    local("MizoletBokutoh"),
    local("みぞれ墨東"),
    url("../fonts/mizoletbokutoh.woff2") format("woff2"),
    url("../fonts/mizoletbokutoh.woff") format("woff"),
    url("../fonts/mizoletbokutoh.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* [修正] bodyを1つに統合（重複していたものをまとめた） */
body {
  line-height: 1;
  font-family: sans-serif;
  background: #fff;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
  display:block;
}

nav ul {
  list-style:none;
}

blockquote, q {
  quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content:'';
  content:none;
}

/* [修正] aタグのリセットはリセットCSSと重複のため削除 */

/* change colours to suit your needs */
ins {
  background-color:#ff9;
  color:#000;
  text-decoration:none;
}

/* change colours to suit your needs */
mark {
  background: linear-gradient(transparent 10%, lemonchiffon 60%);
  color:#009899;
  line-height: 2em;
  font-size: 20px;
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom:1px dotted;
  cursor:help;
}

table {
  border-collapse:collapse;
  border-spacing:0;
}

/* change border colour to suit your needs */
hr {
  display:block;
  height:1px;
  border:0;
  border-top:1px solid #cccccc;
  margin:1em 0;
  padding:0;
}

.contents-separator-line {
  width: 100%;
  margin: 0 auto;
  height: 1px;
  background-color: #009899;
}

input, select {
  vertical-align:middle;
}

/* [修正] max-width: 600px のメディアクエリを1つに統合 */
@media (max-width: 600px) {
  main {
    width: 100%;
  }
  .hero-banner {
    display: block;
  }
  .hero-pc-only {
    display: none;
  }
  .main-image {
    width: 100%;
    height: auto;
  }
  .message {
    font-size: 14px;
    line-height: 28px;
    margin: 0 auto;
    text-align: left;
  }
  .favorite-message {
    font-size: 14px;
    line-height: 2em;
    margin: 0 auto;
    text-align: left;
  }
  .profile-main p {
    font-size: 14px;
    line-height: 28px;
  }
  .profile-image {
    width: 100%;
    height: auto;
  }
  .achievements-image {
    margin-top: 1em;
    width: 100%;
    height: auto;
  }
  .news\&media-image {
    margin-top: 1em;
    width: 100%;
    height: auto;
  }
  .vision-image {
    margin-top: 1em;
    width: 100%;
    height: auto;
  }
  .download-image {
    margin:0 auto 10px;
    width: 100%;
    height: auto;
    border: 1px solid #009899;
  }
  .download-pdf {
    width: 90%;
  }
  .sachicard-image {
    margin:0 auto 10px;
    width: 30%;
    height: auto;
  }
  .notice {
    font-size: 14px;
    margin: 0 auto;
    text-align: left;
  }
  .timeline {
    font-size: 14px;
    text-align: left;
    margin: 0 auto;
    padding-top: 20px;
    width: 100%;
  }
  .read-more {
    display: inline-block;
    margin-top: 5px;
    padding:5px 0 5px 0;
    border: 1px solid rgb(6, 199, 199);
    border-radius: 999px;
    color: rgb(6, 199, 199);
    text-decoration: none;
    width: 100%;
  }
  .read-more-achievements {
    font-size: 16px;
    line-height: 1.2em;
    margin: 0 auto;
    text-align: left;
    padding: 0 30px;
    width: 90%;
  }
  .read-more-news\&media {
    font-size: 16px;
    line-height: 1.2em;
    margin: 0 auto;
    text-align: left;
    padding: 0 30px;
    width: 90%;
  }
  .read-more-achievements-text {
    font-size: 10px;
    text-align: center;
    display: inline-block;
    padding:5px 0 5px 0;
    border: 1px solid rgb(6, 199, 199);
    border-radius: 10px;
    color: rgb(6, 199, 199);
    text-decoration: none;
    width: 30%;
    background-color:lemonchiffon;
  }
  .read-more-news\&media-text {
    font-size: 10px;
    text-align: center;
    display: inline-block;
    padding:5px 0 5px 0;
    border: 1px solid rgb(6, 199, 199);
    border-radius: 10px;
    color: rgb(6, 199, 199);
    text-decoration: none;
    width: 30%;
    background-color:lemonchiffon;
  }
  .achievements-title {
    margin: 0 auto;
    text-align: left;
    padding: 0 30px;
    width: 80%;
  }
  .news\&media-title {
    margin: 0 auto;
    text-align: left;
    padding: 0 30px;
    width: 80%;
  }
  .achievements-title-text {
    font-size: 20px;
    text-align: center;
    display: inline-block;
    padding: 15px 5px;
    border: 1px solid rgb(6, 199, 199);
    border-radius: 10px;
    color: rgb(6, 199, 199);
    text-decoration: none;
    width: 90%;
    background-color:lemonchiffon;
  }
  .news\&media-title-text {
    font-size: 20px;
    text-align: center;
    display: inline-block;
    padding: 15px 5px;
    border: 1px solid rgb(6, 199, 199);
    border-radius: 10px;
    color: rgb(6, 199, 199);
    text-decoration: none;
    width: 90%;
    background-color:lemonchiffon;
  }
  .archive-message {
    font-size: 14px;
    margin: 0 auto;
    text-align: left;
  }
  .profile-content {
    margin-top: 1em;
    width: 100%;
    height: auto;
  }
  .favorite-image {
    margin-top: 1em;
    width: 100%;
    height: auto;
  }
  .news\&media-list {
    gap: 1.5rem 1rem;
    max-width: 100%;
  }
  .news\&media-hn-list {
    gap: 1.5rem 1rem;
    max-width: 100%;
  }
  .download-hn-list {
    gap: 1.5rem 1rem;
    max-width: 100%;
  }
  .news\&media-tab {
    font-size: 12px;
    padding: 0.5em 0.75em;
  }
  .news\&media-download-btn {
    font-size: 12px;
  }
  .flex-onoff {
    display: block;
  }
  /* 文字サイズ */
  .font-big    { font-size: 20px; }  /* 大 */
  .font-Medium { font-size: 16px; }  /* 中 */
  .font-small  { font-size: 12px; }  /* 小 */
  .pc { display: none; }
  .br-sp { display: block; }
  /* .mobile { } */
}

/* [修正] min-width: 600px のメディアクエリを1つに統合 */
@media (min-width: 600px) {
  main {
    width: 60%;
    margin: 0 auto;
  }
  .header {
    padding: 14px 28px;
    min-height: 72px;
  }
  .brand-en {
    font-size: 13px;
    letter-spacing: 0.16em;
  }
  .brand-ja {
    font-size: 28px;
    letter-spacing: 0.18em;
  }
  .hero-banner {
    display: none;
  }
  .hero-pc-only {
    display: block;
  }
  .main-image {
    width: 100%;
    height: auto;
  }
  .message {
    font-size: 16px;
    line-height: 30px;
    margin: 0 auto;
    text-align: left;
    padding: 0 30px;
    width: 375px;
  }
  .favorite-message {
    font-size: 16px;
    line-height: 2em;
    margin: 0 auto;
    text-align: left;
    width: 375px;    
  }
  .profile-main p {
    font-size: 16px;
    line-height: 30px;
  }
  .profile-image {
    width: 50%;
    height: auto;
  }
  .achievements-image {
    margin-top: 1em;
    width: 50%;
    height: auto;
  }
  .news\&media-image {
    margin-top: 1em;
    width: 50%;
    height: auto;
  }
  .vision-image {
    width: 375px;
  }
  .download-image {
    margin: 0 auto 1em;
    width: 50%;
    height: auto;
    border: 1px solid #009899;  
  }
  .download-pdf {
    width: 50%;
  }
  .sachicard-image {
    margin: 0 auto 1em;
    width: 25%;
    height: auto;
  }
  .notice {
    font-size: 16px;
    margin: 0 auto;
    text-align: left;
    width: 375px;
  }
  .timeline {
    font-size: 16px;
    text-align: left;
    margin: 0 auto;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 375px;
  }
  .read-more {
    display: inline-block;
    margin-top: 5px;
    padding:5px 0 5px 0;
    border: 1px solid rgb(6, 199, 199);
    border-radius: 999px;
    color: rgb(6, 199, 199);
    text-decoration: none;
    width: 50%;
  }
  .read-more-achievements {
    font-size: 16px;
    line-height: 1.2em;
    margin: 0 auto;
    text-align: left;
    padding: 0 30px;
    width: 375px;
  }
  .read-more-news\&media {
    font-size: 16px;
    line-height: 1.2em;
    margin: 0 auto;
    text-align: left;
    padding: 0 30px;
    width: 375px;
  }
  .read-more-achievements-text {
    font-size: 10px;
    text-align: center;
    display: inline-block;
    padding:5px 0 5px 0;
    border: 1px solid rgb(6, 199, 199);
    border-radius: 10px;
    color: rgb(6, 199, 199);
    text-decoration: none;
    width: 20%;
    background-color:lemonchiffon;
  }
  .read-more-news\&media-text {
    font-size: 10px;
    text-align: center;
    display: inline-block;
    padding:5px 0 5px 0;
    border: 1px solid rgb(6, 199, 199);
    border-radius: 10px;
    color: rgb(6, 199, 199);
    text-decoration: none;
    width: 20%;
    background-color:lemonchiffon;
  }
  .archive-message {
    font-size: 16px;
    margin: 0 auto;
    text-align: left;
    width: 375px;
  }
  .achievements-title {
    font-size: 16px;
    line-height: 1.2em;
    margin: 0 auto;
    text-align: left;
    padding: 0 30px;
    width: 375px;
  }
  .news\&media-title {
    font-size: 16px;
    line-height: 1.2em;
    margin: 0 auto;
    text-align: left;
    padding: 0 30px;
    width: 375px;
  }
  .achievements-title-text {
    font-size: 16px;
    text-align: center;
    display: inline-block;
    padding:15px 5px;
    border: 1px solid rgb(6, 199, 199);
    border-radius: 10px;
    color: rgb(6, 199, 199);
    text-decoration: none;
    width: 90%;
    background-color:lemonchiffon;
  }
  .news\&media-title-text {
    font-size: 16px;
    text-align: center;
    display: inline-block;
    padding:15px 5px;
    border: 1px solid rgb(6, 199, 199);
    border-radius: 10px;
    color: rgb(6, 199, 199);
    text-decoration: none;
    width: 90%;
    background-color:lemonchiffon;
  }
  .profile-content {
    width: 375px;
  }
  .favorite-image {
    width: 375px;
  }
  .flex-onoff {
    display: flex;
  }
  /* 文字サイズ */
  .font-big    { font-size: 30px; }  /* 大 */
  .font-Medium { font-size: 22px; }  /* 中 */
  .font-small  { font-size: 16px; }  /* 小 */
  .mobile { display: none; }
  .br-sp { display: none; }
  .news\&media-download-btn {
    font-size: 16px;
  }
  .news\&media-hn-download-btn {
    font-size: 14px;
  }
  .download-hn-download-btn {
    font-size: 14px;
  }
  /* .pc { } */
}

h2 {
  background-color: #009899;
  color: #fff;
  width: 100%;
  text-align: center;
  border-radius: 20px;
  font-size: 16px;
  padding-top: 5px;
  padding-bottom: 5px;
  font-weight: normal;
  letter-spacing: 0.20em;
}

h3 {
  color: #adadad;
  width: 100%;
  text-align: center;
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: normal;
  letter-spacing: 0.20em;
  margin-top: 3px;
}

h4 {
  font-size: 20px;
  padding: 30px;
  font-weight: normal;
  text-align: center;
}

li{
  list-style:none;
  padding-top: 16px;
  padding-bottom: 16px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding: 10px 16px;
  min-height: 56px;
  height: auto;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 152, 153, 0.18);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9),
    0 4px 12px rgba(0, 80, 80, 0.08),
    0 10px 28px rgba(0, 60, 60, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.15em;
  text-decoration: none;
  line-height: 1.15;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
  
}

.brand:hover {
  opacity: 0.85;
}

.brand-en {
  font-size: 12px;
  color: #8a8a8a;
  letter-spacing: 0.14em;
  font-weight: 400;
}

.brand-ja {
  font-size: 22px;
  color: #009899;
  letter-spacing: 0.14em;
  font-weight: 700;
}

/* PC top nav — hidden on mobile */
.pc-nav {
  display: none;
}

.logo {
  font-size: 16px;
  padding-left: 5px;
  color: #888;
  letter-spacing: 0.10em;
}

.name {
  font-size: 20px;
  color: #009899;
  padding-right: 75px;
  letter-spacing: 0.20em;
}

.profile-content {
  text-align: center;
  margin: 0 auto;
}

.achievements-content {
  text-align: center;
  margin: 0 auto;
  padding: 1em 0;
}

.news\&media-content {
  text-align: center;
  margin: 0 auto;
  padding: 1em 0;
}

.news\&media-category-title {
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 1.5em;
}

.news\&media-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5em;
}

.news\&media-tab {
  padding: 0.5em 1em;
  border: 1px solid #009899;
  border-radius: 999px;
  background-color: #fff;
  color: #009899;
  font-size: 14px;
  cursor: pointer;
}

.news\&media-tab.is-active {
  background-color: #009899;
  color: #fff;
}

.news\&media-tab:disabled,
.news\&media-tab[aria-disabled="true"] {
  background-color: #f0f0f0;
  border-color: #ccc;
  color: #aaa;
  cursor: not-allowed;
  opacity: 0.7;
}

.news\&media-panel {
  display: none;
}

.news\&media-panel.is-active {
  display: block;
}

.news\&media-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.news\&media-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.news\&media-thumb {
  width: 100%;
  height: auto;
  display: block;
}

.news\&media-vol {
  margin-top: 0.75em;
  font-size: 16px;
  font-weight: 700;
}

.news\&media-date {
  margin-top: 0.25em;
  font-size: 14px;
  line-height: 1.5em;
}

.news\&media-download-btn {
  display: inline-block;
  width: 100%;
  margin-top: 0.75em;
  padding: 0.6em 0;
  background-color: #69bdb7;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  border-radius: 2px;
}

.news\&media-download-btn:hover {
  opacity: 0.85;
}

.news\&media-hn-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.news\&media-hn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.news\&media-hn-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  width: 100%;
}

.news\&media-hn-image {
  width: 100%;
  height: auto;
  border: 1px solid #009899;
}

.news\&media-hn-download-btn {
  display: inline-block;
  width: auto;
  max-width: 100%;
  margin-top: 0.75em;
  padding: 0.5em 1em;
  border: 1px solid rgb(6, 199, 199);
  border-radius: 10px;
  color: rgb(6, 199, 199);
  font-size: 12px;
  line-height: 1.4em;
  text-decoration: none;
  text-align: center;
  background-color: lemonchiffon;
}

.news\&media-hn-download-btn:hover {
  opacity: 0.85;
}

.download-hn-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.download-hn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.download-hn-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  width: 100%;
}

.download-hn-image {
  width: 100%;
  height: auto;
  border: 1px solid #009899;
}

.download-hn-download-btn {
  display: inline-block;
  width: auto;
  max-width: 100%;
  margin-top: 0.75em;
  padding: 0.5em 1em;
  border: 1px solid rgb(6, 199, 199);
  border-radius: 10px;
  color: rgb(6, 199, 199);
  font-size: 12px;
  line-height: 1.4em;
  text-decoration: none;
  text-align: center;
  background-color: lemonchiffon;
}

.download-hn-download-btn:hover {
  opacity: 0.85;
}

.vision-content {
  text-align: center;
  margin: 0 auto;
  padding: 1em 0;
}

/* [修正] グローバルの.vision-imageを独立して定義（メディアクエリ内と役割が異なるため残す） */
.vision-image {
  position: relative;
  margin: 0 auto;
}
.vision1-image {
  width:  300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
}
.vision1-letter {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  position: absolute;
  color: black;
  top: 50%;
  left: 20%;
  -ms-transform: translate(-20%,-50%);
  -webkit-transform: translate(-20%,-50%);
  transform: translate(-20%,-50%);
  margin:0;
  padding:0;
}
.vision1-letter-number {
  font-size: 48px;
}
.vision2-image {
  width:  300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
}
.vision2-image-overlay {
  position: absolute;
  top: 0;
  left: 50%;
  -ms-transform: translate(-50%,-0%);
  -webkit-transform: translate(-50%,-0%);
  transform: translate(-50%,-0%);
  width:  300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.3;
}
.vision2-letter {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  position: absolute;
  color: white;
  top: 50%;
  left: 20%;
  -ms-transform: translate(-20%,-50%);
  -webkit-transform: translate(-20%,-50%);
  transform: translate(-20%,-50%);
  margin:0;
  padding:0;
}
.vision2-letter-number {
  font-size: 48px;
}
.vision3-image {
  width:  300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
}
.vision3-letter {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  position: absolute;
  color: black;
  top: 50%;
  left: 20%;
  -ms-transform: translate(-20%,-50%);
  -webkit-transform: translate(-20%,-50%);
  transform: translate(-20%,-50%);
  margin:0;
  padding:0;
}
.vision3-letter-number {
  font-size: 48px;
}
.vision4-image {
  width:  300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
}
.vision4-image-overlay {
  position: absolute;
  top: 0;
  left: 50%;
  -ms-transform: translate(-50%,-0%);
  -webkit-transform: translate(-50%,-0%);
  transform: translate(-50%,-0%);
  width:  300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.3;
}
.vision4-letter {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  position: absolute;
  color: white;
  top: 50%;
  left: 20%;
  -ms-transform: translate(-20%,-50%);
  -webkit-transform: translate(-20%,-50%);
  transform: translate(-20%,-50%);
  margin:0;
  padding:0;
}
.vision4-letter-number {
  font-size: 48px;
}

.vision-h {
  color:#009899;
}

.download-content {
  text-align: center;
  margin: 0 auto;
  padding: 1em 0;
}
.download-content-main {
  margin: 0 auto 20px;
}

.download-pdf {
  font-size: 16px;
  line-height: 1.2em;
  margin: 0 auto;
  text-align: left;
}
.download-pdf-text {
  margin-bottom: 20px;
  font-size: 16px;
  text-align: center;
  display: inline-block;
  padding:5px 0 5px 0;
  border: 1px solid rgb(6, 199, 199);
  border-radius: 10px;
  color: rgb(6, 199, 199);
  text-decoration: none;
  width: 100%;
  background-color:lemonchiffon;
}

.archive-content {
  text-align: center;
  margin: 0 auto;
  padding: 1em 0;
}
.archive-title {
  font-size: 18px;
  text-align: left;
  margin: 15px 0;
}
.details {
	transition:
    .3s ease,
    content-visibility .3s allow-discrete;
	overflow: hidden;
	margin-top: -10px;
	padding-bottom: 20px;
	&:last-of-type {
		margin-bottom: 0;
	}
}
.details[open] {
	margin-top: 0;
	padding-bottom: 10px;
}
.details-summary {
	display: block;
	padding: 5px;
  transition:
    .3s ease,
    content-visibility .3s allow-discrete;
	transform: translateY(10px);
  background-color:lemonchiffon;
	font-size: 16px;
	font-weight: bold;
	color: #009899;
	&:hover {
		cursor: pointer;
	}
}
.details-summary::-webkit-details-marker {
	display: none;
}
.details[open] .details-summary {
	transform: translateY(0);
  background-color:#009899;
  color:#fff;
}
.details-content {
  line-height: 1.5em;
	font-size: 14px;
	padding: 20px;
  background-color:lemonchiffon;
	border-bottom: 2px solid #009899;
	border-left: 2px solid #009899;
	border-right: 2px solid #009899;
}

.social-icons {
  text-align: center;
  padding: 1.5rem;
}

.social-icons img {
  width: 35px;
  margin: 5px 5px;
}

.image-section {
  text-align: center;
}

/* =========================================================
   Mobile hero — chỉnh nhân vật / chữ tại đây (CSS variables)
   =========================================================
   Ví dụ:
   --hero-portrait-width: 110%;     phóng to / thu nhỏ
   --hero-portrait-left: 50%;       trái ↔ phải (điểm neo)
   --hero-portrait-bottom: -8%;     lên ↔ xuống (âm = hạ thấp hơn)
   --hero-portrait-object-x: 50%;   khung ảnh ngang (0%=trái, 100%=phải)
   --hero-portrait-object-y: 10%;   khung ảnh dọc (0%=đầu, 100%=chân)
   ========================================================= */
.hero-banner {
  /* --- Nhân vật (portrait) --- */
  --hero-portrait-width: 155%;
  --hero-portrait-height: 110%;
  --hero-portrait-left: 58%;
  --hero-portrait-bottom: -12%;
  --hero-portrait-translate-x: -50%;
  --hero-portrait-object-x: 52%;
  --hero-portrait-object-y: 10%;
  --hero-portrait-opacity: 1;
  --hero-portrait-z: 1;

  /* --- Slogan (chữ dọc) --- */
  --hero-slogan-top: 5%;
  --hero-slogan-left: 5%;
  --hero-slogan-font-weight: 700;      /* nét chữ: 500 / 700 / 900 */
  --hero-slogan-font-size: clamp(20px, 5.8vw, 28px);
  --hero-slogan-gap: 0em;           /* khoảng cách giữa 2 dòng dọc (nhỏ hơn = gần hơn) */
  --hero-slogan-long-offset-y: 4.8em;   /* かがやく社会へ: âm=lên, dương=xuống */
  --hero-slogan-long-offset-x: 0.8em;       /* かがやく社会へ: âm=trái, dương=phải */
  --hero-slogan-short-offset: -1em;   /* 誰もが: âm=lên, dương=xuống */

  /* --- Tên / chức danh --- */
  --hero-nameblock-bottom: 4%;
  --hero-name-font-size: clamp(65px, 11vw, 85px);
  --hero-title-font-size: clamp(18px, 3.6vw, 23px);
  --hero-name-font-weight: 400; /* みぞれ墨東 Regular */
  --hero-title-font-weight: 700;
  --hero-name-color: #006666;
  --hero-ruby-letter-spacing: 0.07em; /* khoảng cách trong nhóm さち */
  --hero-ruby-nudge-x: 0;             /* tinh chỉnh ngang nếu cần */

  /* --- Banner --- */
  --hero-banner-aspect: 3 / 4;

  display: none;
  position: relative;
  width: 100%;
  aspect-ratio: var(--hero-banner-aspect);
  overflow: hidden;
  line-height: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

.hero-portrait {
  position: absolute;
  left: var(--hero-portrait-left);
  bottom: var(--hero-portrait-bottom);
  width: var(--hero-portrait-width);
  height: var(--hero-portrait-height);
  transform: translateX(var(--hero-portrait-translate-x));
  object-fit: cover;
  object-position: var(--hero-portrait-object-x) var(--hero-portrait-object-y);
  opacity: var(--hero-portrait-opacity);
  z-index: var(--hero-portrait-z);
  pointer-events: none;
  /* Tránh nền lộ qua mép trong suốt gây ngả màu */
  isolation: isolate;
}

.hero-slogan {
  position: absolute;
  top: var(--hero-slogan-top);
  left: var(--hero-slogan-left);
  z-index: 2;
  display: flex;
  flex-direction: row;
  gap: var(--hero-slogan-gap);
  color: #fff;
  font-size: var(--hero-slogan-font-size);
  font-weight: var(--hero-slogan-font-weight);
  line-height: 1.35;
  letter-spacing: 0.12em;
  text-shadow: 0 1px 3px rgba(0, 80, 80, 0.28);
}

.hero-slogan.zen-maru-gothic-regular {
  font-weight: var(--hero-slogan-font-weight);
}

.hero-title.zen-maru-gothic-regular {
  font-weight: var(--hero-title-font-weight);
}

.hero-slogan-col {
  writing-mode: vertical-rl;
  text-orientation: upright;
  display: inline-block;
  font-weight: inherit;
}

.hero-slogan-col-long {
  margin-top: var(--hero-slogan-long-offset-y);
  margin-left: var(--hero-slogan-long-offset-x);
}

.hero-slogan-col-short {
  margin-top: var(--hero-slogan-short-offset);
}

.hero-nameblock {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--hero-nameblock-bottom);
  z-index: 2;
  text-align: center;
  color: var(--hero-name-color);
  line-height: 1.2;
}

.hero-name {
  margin: 0;
  font-family: mizoletbokutoh, "みぞれ墨東", "Mizolet Bokutoh", "Zen Maru Gothic", sans-serif;
  font-size: var(--hero-name-font-size);
  font-weight: var(--hero-name-font-weight);
  letter-spacing: 0.08em;
  line-height: 1.15;
}

.hero-name ruby {
  ruby-position: over;
  ruby-align: center;
}

.hero-name rt {
  font-size: 0.28em;
  font-weight: 500;
  letter-spacing: var(--hero-ruby-letter-spacing);
  text-align: center;
}

.hero-title {
  margin: 0.2em 0 0;
  font-size: var(--hero-title-font-size);
  font-weight: var(--hero-title-font-weight);
  letter-spacing: 0.18em;
}

.hero-pc-only {
  display: none;
  width: 100%;
  height: auto;
}

/* Appear animations */
@keyframes heroFadeSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroFadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-anim {
  opacity: 0;
  animation-duration: 1.4s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: forwards;
}

.hero-slogan-col.hero-anim {
  animation-name: heroFadeSlideLeft;
}

.hero-nameblock .hero-anim {
  animation-name: heroFadeSlideUp;
}

.hero-anim-delay-1 { animation-delay: 0.25s; }
.hero-anim-delay-2 { animation-delay: 0.55s; }
.hero-anim-delay-3 { animation-delay: 0.9s; }
.hero-anim-delay-4 { animation-delay: 1.25s; }

@media (prefers-reduced-motion: reduce) {
  .hero-anim {
    opacity: 1;
    animation: none;
  }
}

/* Must come AFTER .hero-banner / .hero-pc-only base rules */
@media (max-width: 600px) {
  .hero-banner {
    display: block;
  }
  .hero-pc-only {
    display: none;
  }
}

@media (min-width: 600px) {
  .hero-banner {
    display: none;
  }
  .hero-pc-only {
    display: block;
  }
}

.youtube-section,
.notice-section,
.greeting-section,
.profile-section,
.achievements-section,
.vision-section,
.download-section,
.archive-section {
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 2rem;
}

.news\&media-section {
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 2rem;
}

.video {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9のアスペクト比 */
  height: 0;
}

.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.container {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.left-column {
  width: 20%;
}

.right-column {
  width: 80%;
}

.left-column p,
.right-column p {
  margin: 0 0 10px;
  line-height: 1.2;
}

.menu-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding-right: 5px;
  margin-left: auto;
  background: none;
  border: none;
}

/* PC navigation: only enable when all items fit comfortably */
@media (min-width: 1100px) {
  .pc-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(0.15rem, 0.4vw, 0.5rem);
    margin-left: auto;
    flex: 1;
    min-width: 0;
  }

  .pc-nav-main {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    min-width: 0;
  }

  .pc-nav-side {
    position: relative;
    flex-shrink: 0;
    min-width: 9rem;
  }

  .pc-nav-side-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45em;
    width: 100%;
    padding: 0.55em 1em;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #555;
    font-family: inherit;
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.2;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  }

  .pc-nav-side-tab:hover {
    color: #009899;
    background-color: rgba(0, 152, 153, 0.06);
  }

  .pc-nav-side-tab:focus-visible {
    color: #009899;
    background-color: rgba(0, 152, 153, 0.06);
    box-shadow: 0 0 0 2px rgba(0, 152, 153, 0.3);
    outline: none;
  }

  .pc-nav-side.is-open .pc-nav-side-tab {
    background: #a5dede;
    color: #007f80;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(0, 90, 90, 0.14);
    outline: none;
  }

  .pc-nav-side-arrow {
    display: inline-block;
    font-size: 0.8em;
    transition: transform 0.2s ease;
  }

  .pc-nav-side.is-open .pc-nav-side-arrow {
    transform: rotate(180deg);
  }

  .pc-nav a {
    position: relative;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
  }

  .pc-nav-main a {
    color: #555;
    font-size: clamp(11px, 1vw, 14px);
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 0.55em clamp(0.45em, 0.7vw, 0.85em);
    border-radius: 999px;
    border-bottom: none;
  }

  .pc-nav-main a::after {
    content: "";
    position: absolute;
    left: 0.7em;
    right: 0.7em;
    bottom: 0.25em;
    height: 2px;
    border-radius: 2px;
    background: #009899;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.22s ease;
  }

  .pc-nav-main a:hover {
    color: #009899;
    background-color: rgba(0, 152, 153, 0.06);
  }

  .pc-nav-main a:hover::after {
    transform: scaleX(1);
  }

  .pc-nav-main a.is-active {
    color: #009899;
    background-color: rgba(0, 152, 153, 0.12);
    font-weight: 700;
  }

  .pc-nav-main a.is-active::after {
    transform: scaleX(1);
  }

  .pc-nav-side-links {
    position: absolute;
    top: calc(100% + 0.05rem);
    right: 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    width: max-content;
    min-width: 9rem;
    padding: 0.25rem 0;
    border-radius: 0.85rem;
    background: linear-gradient(180deg, #1aa5a5 0%, #007f80 100%);
    box-shadow:
      0 10px 24px rgba(0, 90, 90, 0.25),
      0 2px 6px rgba(0, 60, 60, 0.12);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.4rem);
    pointer-events: none;
    transition:
      opacity 0.18s ease,
      visibility 0.18s ease,
      transform 0.18s ease;
  }

  .pc-nav-side.is-open .pc-nav-side-links,
  .pc-nav-side:focus-within .pc-nav-side-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  @media (hover: hover) {
    .pc-nav-side:hover .pc-nav-side-links {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      pointer-events: auto;
    }
  }

  .pc-nav-side-links a {
    display: block;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.4;
    text-align: center;
    padding: 0.85em 1em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }

  .pc-nav-side-links a:last-child {
    border-bottom: none;
  }

  .pc-nav-side-links a:hover {
    background-color: rgba(255, 255, 255, 0.12);
    opacity: 1;
  }

  .pc-nav-side-links a.is-active {
    background-color: rgba(255, 255, 255, 0.22);
    font-weight: 700;
  }

  .menu-icon {
    display: none;
  }
  .overlay {
    display: none !important;
  }

  .header {
    padding: 14px clamp(20px, 2.5vw, 40px);
  }

  .brand {
    padding-left: clamp(200px, 20vw, 400px);
  }

  .pc-nav {
    /* Align the menu's right edge with the centered 60%-wide main image. */
    padding-right: calc(20vw - clamp(20px, 2.5vw, 40px));
  }
}

.bar {
  width: 30px;
  height: 2px;
  background-color: #009899;
  margin: 3px 0;
  transition: 0.4s;
}

.label {
  color: #009899;
  font-size: 12px;
  margin-top: 1px;
}

.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 0;
  background-color: rgb(255, 255, 255);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 1px;
  box-sizing: border-box;
  transition: height 0.3s ease;
  z-index: 100;
}
.overlay.show {
  height: 100vh;
  overflow-y: auto;
}

.menu {
  margin-top: 10px;
  padding-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu a {
  color: #6dc4c4;
  font-size: 25px;
  text-decoration: none;
  margin: 16px 0;
  line-height: 30px;
  transition: color 0.3s;
}

.menu a:hover {
  color: #009899;
}

.close-btn {
  background: none;
  border: none;
  color: rgb(0, 0, 0);
  cursor: pointer;
  font-size: 25px;
}

.close-btn:hover {
  color: #009899;
}

.header-over {
  position: relative;
  flex-shrink: 0;
  text-align: center;
  width: 100%;
  color: #009899;
}

.header-over h1 {
  margin: 0;
  font-size: 20px;
  font-weight: normal;
  letter-spacing: 0.20em;
}

.header-menu-title {
  margin-top: 8px;
  font-size: 20px;
  color: #009899;
}

h5 {
  position: relative;
  padding: 0 65px;
  text-align: center;
  font-weight: normal;
  color: #888;
  letter-spacing: 0.20em;
}

h5:before {
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 100%;
  height: 2px;
  content: '';
  background: #009899;
}

h5 span {
  position: relative;
  padding: 0 1em;
  background: #fff;
}

.wrapper {
  position: relative;
  width: 100%;
  height: 35px;
}

.center-item {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  writing-mode: horizontal-tb;
}

.right-item {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.achievements-subtitle {
  display: block;
  margin-top: 10px;
  font-size: 18px;
  color: #009899;
}

/* Achievements redesign */
.achievements-redesign {
  --achievement-teal: #04a2a2;
  scroll-margin-top: 90px;
}

.achievements-page {
  margin-top: 10px;
}

.achievement-page-separator {
  width: min(90%, 820px);
  height: 2px;
  margin: 28px auto 0;
  border: 0;
  background-color: #009899;
}

.achievement-category-nav {
  display: grid;
  gap: 14px;
  width: min(100%, 760px);
  margin: 28px auto 40px;
}

.achievement-category {
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 8px 20px;
  border: 2px solid currentColor;
  border-radius: 999px;
  background: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.achievement-category:hover,
.achievement-category:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(0, 90, 90, 0.12);
  outline: none;
}

.achievement-category span,
.achievement-group-title span {
  font-size: 1.35em;
  letter-spacing: 0;
}

.achievement-category .achievement-icon,
.achievement-group-title .achievement-icon {
  position: absolute;
  left: 24px;
  margin: 0;
}

/* Individual achievement pictograms supplied by the designer. */
.achievement-icon {
  display: inline-block;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  font-size: 0 !important;
  letter-spacing: 0 !important;
}

.achievement-icon--disaster { background-image: url("../img/achievement-icon-disaster.svg"); }
.achievement-icon--industry { background-image: url("../img/achievement-icon-industry.svg"); }
.achievement-icon--crime { background-image: url("../img/achievement-icon-crime.svg"); }
.achievement-icon--care { background-image: url("../img/achievement-icon-care.svg"); }
.achievement-icon--education { background-image: url("../img/achievement-icon-education.svg"); }

.achievement-category--disaster,
.achievement-group--disaster { color: #83afe7; }
.achievement-category--industry,
.achievement-group--industry { color: #f39a70; }
.achievement-category--crime,
.achievement-group--crime { color: #79c991; }
.achievement-category--care,
.achievement-group--care { color: #f08ab7; }
.achievement-category--education,
.achievement-group--education { color: #58b9e9; }

.achievement-category--disaster { background: #eef4fc; }
.achievement-category--industry { background: #fff3ed; }
.achievement-category--crime { background: #eff8f1; }
.achievement-category--care { background: #fff0f7; }
.achievement-category--education { background: #edf8fd; }

.achievement-list {
  width: min(100%, 820px);
  margin: 0 auto;
}

.achievement-group {
  box-sizing: border-box;
  width: min(100%, 620px);
  margin-inline: auto;
  padding: 30px 0 38px;
  border-top: none;
  scroll-margin-top: 100px;
}

/*.achievement-group:not(:last-child) {
  border-bottom: 2px solid var(--achievement-teal);
}*/

.achievement-group-title {
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 620px);
  min-height: 60px;
  margin: 0 auto 30px;
  padding: 8px 24px;
  border: 2px solid currentColor;
  border-radius: 999px;
  background: color-mix(in srgb, currentColor 10%, white);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.32em;
}

.achievement-card {
  box-sizing: border-box;
  width: min(100%, 620px);
  margin: 0 auto;
  text-align: center;
}

.achievement-card h5 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  color: var(--achievement-teal);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
  background: transparent;
}

.achievement-card h5 br {
  display: none;
}

.achievement-card h5 span {
  position: static;
  display: inline-block;
  padding: 0 12px;
  background-color: #fffbc7;
}

.achievement-card h5::before,
.achievement-dialog h5::before {
  display: none;
  content: none;
}

.achievement-card img {
  display: block;
  width: min(100%, 520px);
  max-height: 700px;
  margin: 25px auto 10px;
  border: 1px solid #ddd;
  object-fit: contain;
  background: #fff;
}

.achievement-newspaper-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 520px);
  aspect-ratio: 4 / 3;
  margin: 25px auto 10px;
  background-color: #ccc;
  color: #fff;
  font-size: 24px;
  letter-spacing: 0.04em;
}

.achievement-date {
  width: min(100%, 520px);
  margin: 0 auto 12px;
  color: #666;
  font-size: 12px;
  text-align: right;
}

.achievement-more {
  display: block;
  margin-left: auto;
  padding: 5px 13px;
  border: 1px solid var(--achievement-teal);
  border-radius: 999px;
  background: #fffbd2;
  color: var(--achievement-teal);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.achievement-more:hover,
.achievement-more:focus-visible {
  background: var(--achievement-teal);
  color: #fff;
  outline: none;
}

.achievement-card--placeholder {
  min-height: 120px;
}

.achievement-placeholder-line {
  display: block;
  width: min(70%, 300px);
  height: 14px;
  margin: 20px auto 0;
  background: #fffbc7;
}

.achievement-dialog {
  width: min(90vw, 620px);
  max-height: 85vh;
  padding: 42px 38px 36px;
  border: 1px solid #bbb;
  border-radius: 4px;
  color: #333;
  overflow-y: auto;
}

.achievement-dialog::backdrop {
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(2px);
}

.achievement-dialog-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #666;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.achievement-dialog h5 {
  margin: 0 0 25px;
  padding: 13px 20px;
  border: 1px solid var(--achievement-teal);
  border-radius: 15px;
  background: #fffbd2;
  color: var(--achievement-teal);
  font-size: 20px;
  line-height: 1.55;
  text-align: center;
}

.achievement-dialog p {
  margin: 0 0 1em;
  font-size: 15px;
  line-height: 2;
  text-align: left;
}

.achievement-dialog-table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.6;
}

.achievement-dialog-table caption,
.achievement-dialog-table th,
.achievement-dialog-table td {
  border: 1px solid #54c6c6;
  padding: 7px 9px;
}

.achievement-dialog-table caption {
  background: #eefafa;
  color: #333;
  font-weight: 700;
}

.achievement-dialog-table th {
  width: 28%;
  background: #dff6f6;
}

.achievement-dialog .achievement-table-notes {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.55;
}

@media (min-width: 900px) {
  .achievement-category-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: min(100%, 1080px);
    gap: 10px;
  }

  .achievement-category {
    min-height: 50px;
    padding: 7px 10px;
    font-size: 14px;
    letter-spacing: 0.08em;
  }

  .achievement-category .achievement-icon,
  .achievement-group-title .achievement-icon {
    left: 16px;
  }

  .achievement-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .achievement-list {
    width: min(100%, 920px);
  }
}

/* Keep the home-page achievement gateway consistent with the mobile design. */
@media (min-width: 900px) {
  .achievements-index {
    box-sizing: border-box;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem 2rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .achievements-index .contents-separator-line {
    width: 100%;
    margin-top: 0;
  }

  .achievements-index .achievement-category-nav {
    grid-template-columns: 1fr;
    width: min(100%, 760px);
    gap: 14px;
    margin: 28px auto 40px;
  }

  .achievements-index .achievement-category,
  .achievements-index .achievement-category:nth-child(4),
  .achievements-index .achievement-category:nth-child(5) {
    grid-column: auto;
    flex-direction: row;
    min-height: 56px;
    padding: 8px 20px;
    border-width: 2px;
    border-radius: 999px;
    font-size: 20px;
    letter-spacing: 0.28em;
    box-shadow: none;
  }

  .achievements-index .achievement-category .achievement-icon {
    position: absolute;
    left: 24px;
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .achievements-index .achievement-category:hover,
  .achievements-index .achievement-category:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(0, 90, 90, 0.12);
  }
}

@media (max-width: 600px) {
  .achievement-category-nav,
  .achievement-list {
    width: 90%;
  }

  .achievement-category {
    min-height: 48px;
    font-size: 17px;
  }

  .achievement-group {
    padding: 24px 0 32px;
  }

  .achievement-group-title {
    min-height: 50px;
    margin-bottom: 24px;
    font-size: 17px;
  }

  .achievement-card h5 {
    font-size: 17px;
    line-height: 1.55;
  }

  .achievement-card {
    width: 100%;
  }

  .achievement-card img {
    margin-top: 20px;
  }

  .achievement-dialog {
    padding: 40px 20px 28px;
  }

  .achievement-dialog h5 {
    font-size: 17px;
  }

  .achievement-dialog p {
    font-size: 14px;
    line-height: 1.85;
  }
}

.news\&media-subtitle {
  display: block;
  margin-top: 10px;
  font-size: 18px;
  color: #009899;
}

.profile-main p {
  margin-top: 10px;
  text-align: left;
  margin: 0 auto;
  padding-top: 20px;
  width: 100%;
}

.profile-subtitle {
  font-size: 18px;
  color: #009899;
}
.favorite-content {
  margin-top: 30px;
}

.favorite-image {
  position: relative;
  margin: 0 auto;
  background-color: #009899;
}
.favorite-image-file {
  width:  100%;
  height: 100px;
  border-radius: 0%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.7;
  display: block;
}
.favorite-letter {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  text-shadow:
  2px 2px 2px #009899, -2px -2px 2px #009899,
  -2px 2px 2px #009899,  2px -2px 2px #009899,
  2px 0 2px #009899, -2px  0 2px #009899,
  0 2px 2px #009899,  0 -2px 2px #009899;
  position: absolute;
  color: white;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  margin:0;
  padding:0;
}

/*popup template design*/
.popup-background{
  /*position size*/
  position: fixed;
  z-index : 100;
  top : 0;
  left : 0;
  height : 100vh;
  width : 100vw;

  /*design*/
  background-color: gray;
  opacity : 0.5
}
.popup{
  /*position size*/
  --height : 670px;
  --width : 375px;
  z-index : 101;
  position: fixed;
  top : calc(50vh - calc(var(--height) / 2));
  left : calc(50vw - calc(var(--width) / 2));
  height : var(--height);
  width : var(--width);

  /*design*/
  overflow: hidden;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0px 0px 3px 1px gray;
}
.popup > .close-button{
  /*position size*/
  --size : 20px;
  position:absolute;
  top : calc(var(--size)/4);
  left : calc(var(--width) - var(--size) * 5/4);/*css variables are available in children*/
  height : var(--size);
  width : var(--size);

  /*design*/
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  color : gray;
  font-size: var(--size);
  border-radius: calc(var(--size)/5);
}
.popup > .close-button:hover{
  /*design*/
  background-color: red;
  color : white;
}
.popup > .content{
  padding: 10px;
  text-align: center;
}

.popup > .content > P {
  line-height: 2em;
}

/*hide popup*/
.popup-flag{
  display:none;
}
.popup-flag:not(:checked) + .popup-background{
  display:none;
}
.popup-flag:not(:checked) + * + .popup{
  display:none;
}
#popupFlag1 + * +.popup{
  /*position size*/
  --height : 450px;
  --width : 375px;
}
#popupFlag2 + * +.popup{
  /*position size*/
  --height : 670px;
  --width : 375px;
}
#popupFlag3 + * +.popup{
  /*position size*/
  --height : 500px;
  --width : 375px;
}
