:root{
  --header-h: 64px;
  --sidebar-w: 240px;
  --main-w: 960px;
  --content-w: 800px;

  --color-bg-dark: #000;
  --color-bg-dark-2: #1a1a1a;
  --color-bg-dark-3: #262626;
  --color-menu-gray: #e5e5e5;
  --color-text: #1a1a1a;
  --color-teal: #047063;
  --color-line: rgba(255,255,255,.12);
  --color-panel-white: rgba(255,255,255,.71);
  --color-current-gray: #d9d9d9;

  --shadow-menu: 0 10px 24px rgba(0,0,0,.35);
}

*{
  box-sizing: border-box;
}

html,
body{
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body{
  color: var(--color-text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  background: var(--color-bg-dark);
  overflow-x: hidden;
  position: relative;
}

body::before{
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("../../images/RTTC_M_BG_02.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: -2;
}

body::after{
  content: "";
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,.35);
  z-index: -1;
}

a{
  color: inherit;
  text-decoration: none;
}

img{
  display: block;
  max-width: 100%;
  height: auto;
}

button{
  font: inherit;
  cursor: pointer;
}

.page-bg{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =========================
   header
========================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--color-bg-dark);
  border-bottom: 1px solid var(--color-line);
}

.site-header__inner{
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.menu-toggle{
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after{
  display: block;
  width: 24px;
  height: 2px;
  background: #e5e5e5;
  position: relative;
  margin: 0 auto;
}

.menu-toggle span::before,
.menu-toggle span::after{
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before{
  top: -8px;
}

.menu-toggle span::after{
  top: 8px;
}

.site-logo{
  display: flex;
  align-items: center;
  min-width: 0;
}

.site-logo img{
  height: 38px;
  width: auto;
  max-width: 100%;
}

.lang-switcher{
  position: relative;
  flex-shrink: 0;
}

.lang-switcher__button{
  height: 36px;
  padding: 0 12px 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.16);
  background: var(--color-bg-dark-2);
  color: #fff;
}

.lang-switcher__icon{
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.lang-switcher__icon--sp{
  display: none;
}

.lang-switcher__button span{
  font-size: 14px;
  color: #37d3c0;
  white-space: nowrap;
}

.lang-switcher__button i{
  display: block;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid #fff;
}

.lang-switcher__menu{
  position: absolute;
  right: 0;
  top: 44px;
  width: 180px;
  display: none;
  background: var(--color-bg-dark-2);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: var(--shadow-menu);
  overflow: hidden;
}

.lang-switcher__menu.is-open{
  display: block;
}

.lang-switcher__menu a{
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.lang-switcher__menu a:hover{
  background: var(--color-bg-dark-3);
}

.lang-switcher__menu a[aria-current="page"]{
  color: #37d3c0;
  font-weight: 700;
}

/* =========================
   layout
========================= */
.site-wrap{
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  flex: 0 0 auto;
}

.sidebar{
  width: var(--sidebar-w);
  flex: 0 0 var(--sidebar-w);
  background: var(--color-menu-gray);
  align-self: stretch;
}

.sidebar__inner{
  background: var(--color-menu-gray);
  width: 100%;
  min-height: 100%;
}

.sidebar__banner{
  width: 100%;
  height: 150px;
  background-image: url("../../images/RTTC_M_titlebanner.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.sidebar-nav{
  background: var(--color-menu-gray);
}

.sidebar-nav details{
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.sidebar-nav summary{
  list-style: none;
  height: 45px;
  padding: 0 36px 2px 14px;
  display: flex;
  align-items: center;
  background: var(--color-teal);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  position: relative;
  cursor: pointer;
}

.sidebar-nav summary::-webkit-details-marker{
  display: none;
}

.sidebar-nav summary::after{
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}

.sidebar-nav details[open] summary::after{
  transform: translateY(-50%) rotate(225deg);
}

.sidebar-nav__links a{
  display: block;
  padding: 8px 14px;
  background: rgba(255,255,255,.55);
  border-top: 1px solid rgba(0,0,0,.06);
  font-size: 14px;
}

.sidebar-nav__links a:hover{
  background: rgba(255,255,255,.82);
}

.sidebar-nav__links a.is-current{
  background: var(--color-current-gray);
}

.sidebar-nav__contact{
  display: block;
  padding: 12px 14px;
  background: rgba(255,255,255,.55);
  font-size: 14px;
  border-top: 1px solid rgba(0,0,0,.08);
}

.main-content{
  width: var(--main-w);
  flex: 0 0 var(--main-w);
  background: transparent;
  min-width: 0;
}

.main-content__inner{
  background: transparent;
  min-width: 0;
}

/* =========================
   index
========================= */
.hero{
  width: 100%;
  height: 500px;
  background-image: url("../../images/RTTC_M_mainvisual.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.content-panel{
  background: rgba(255,255,255,.71);
  padding: 40px 0 48px;
}

.content-panel__inner{
  max-width: var(--content-w);
  width: 100%;
  margin: 0 auto;
  min-width: 0;
}

.lead{
  margin: 0 0 32px;
  line-height: 1.9;
  font-size: 16px;
}

.top-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 20px;
}

.top-card{
  min-width: 0;
}

.top-card h2{
  margin: 0 0 12px;
  padding: 12px 16px;
  background: var(--color-teal);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.top-card__links a{
  display: block;
  padding: 8px 0;
  font-weight: 700;
  font-size: 16px;
}

/* =========================
   p001 article
========================= */
.main-content--article{
  width: var(--main-w);
  flex: 0 0 var(--main-w);
  min-width: 0;
}

.article-panel{
  background: rgba(255,255,255,.71);
  min-height: 100%;
}

.article-panel__inner{
  max-width: var(--content-w);
  width: 100%;
  margin: 0 auto;
  padding: 80px 0 32px;
  min-width: 0;
}

.article-big-nav{
  display: none;
}

.article-heading{
  margin: 0 0 60px;
  height: 80px;
  position: relative;

  background-image: url("../../images/RTTC_img_BigHeadline.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.article-heading__title{
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -70%);
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  color: #047063;
  line-height: 1;
  white-space: nowrap;
}

.article-band{
  margin: 0 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("../../images/RTTC_img_Headline.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 60px;
}

.article-band h2{
  margin: 0;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  word-break: break-word;
}

.article-media-block{
  margin: 0;
  min-width: 0;
}

.article-media-block img{
  width: 100%;
  height: auto;
}

.article-subsection{
  margin: 0;
  min-width: 0;
}

.article-subsection h3{
  margin: 0;
  min-height: 64px;
  padding: 18px 20px 14px;
  background: #333333;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  border-bottom: 4px solid #d9256b;
  word-break: break-word;
}

.article-body-text{
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: #1a1a1a;
}

.article-mini-title{
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  color: #047063;
}

.article-mini-title::before{
  content: "■";
  margin-right: 8px;
}

.article-inline-note{
  margin: 0;
}

.article-inline-note summary{
  list-style: none;
  cursor: pointer;
  color: #e4007f;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
}

.article-inline-note summary::-webkit-details-marker{
  display: none;
}

.article-inline-note summary::before{
  content: "〉";
  margin-right: 4px;
}

.article-inline-note[open] summary::before{
  content: "∨";
  margin-right: 4px;
}

.article-inline-note__body{
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.7;
  color: #1a1a1a;
}

.article-inline-note__body a{
  color: #047063;
  font-weight: 700;
  text-decoration: underline;
}

.article-mobile-links{
  display: none;
}

/* =========================
   footer
========================= */
.l-footer{
  width: 100%;
  background: #000;
  color: #f0f0f0;
  flex-shrink: 0;
  border-top: 1px solid rgba(255,255,255,.18);
}

.l-footer-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.l-footer-logo{
  width: 100%;
  text-align: center;
  margin: 0 0 12px;
  order: 2;
}

.l-footer-logo a{
  display: inline-block;
}

.l-footer-contents{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.l-footer-sns{
  margin: 0 0 24px;
  text-align: center;
  order: 1;
}

.l-footer-sns-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 6px;
}

.l-footer-sns-icon{
  width: 32px;
  height: 32px;
  border: 1px solid #f0f0f0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
  color: #f0f0f0;
}

.l-footer-nav{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  order: 3;
}

.l-footer-nav-item{
  margin: 0;
}

.l-footer-nav-text{
  color: #f0f0f0;
}

.l-footer-copy{
  font-size: 12px;
  padding: 0;
  text-align: center;
  border-top: none;
  order: 4;
  width: 100%;
}

/* =========================
   mobile drawer
========================= */
.drawer-overlay{
  display: none;
}

.drawer-overlay.is-open{
  display: block;
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(120,120,120,.45);
}

.mobile-drawer{
  display: none;
}

.mobile-drawer__buttons{
  padding: 32px 24px 24px;
}

.mobile-drawer__buttons a{
  display: block;
  margin-top: 20px;
  padding: 22px 14px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  background: #e5e5e5;
  border: 2px solid #9a9a9a;
}

.mobile-drawer__buttons a:first-child{
  margin-top: 0;
}

/* =========================
   responsive
========================= */
@media (max-width: 1200px){
  .site-wrap{
    padding: 0 16px 60px;
  }

  .main-content,
  .main-content--article{
    width: calc(100% - var(--sidebar-w));
    flex: 1 1 auto;
  }

  .hero{
    height: min(46vw, 500px);
  }

  .content-panel__inner,
  .article-panel__inner{
    max-width: var(--content-w);
    width: 100%;
  }
}

@media (max-width: 900px){
  .menu-toggle{
    display: block;
  }

  .site-header__inner{
    padding: 0 12px;
    gap: 8px;
  }

  .site-logo{
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-logo img{
    height: 38px;
    width: auto;
    max-width: 100%;
  }

  .lang-switcher__button{
    width: 44px;
    padding: 0;
    justify-content: center;
    gap: 0;
  }

  .lang-switcher__icon--pc{
    display: none;
  }

  .lang-switcher__icon--sp{
    display: block;
    width: 22px;
    height: 22px;
  }

  .lang-switcher__button span,
  .lang-switcher__button i{
    display: none;
  }

  .lang-switcher__menu{
    top: 52px;
    width: 200px;
  }

  .site-wrap{
    display: block;
    padding: 0;
  }

  .sidebar{
    display: none;
  }

  .main-content,
  .main-content--article{
    width: 100%;
    flex: 1 1 auto;
  }

  .hero{
    height: 56vw;
    min-height: 260px;
    max-height: 520px;
  }

  .content-panel{
    padding: 32px 0 36px;
  }

  .content-panel__inner{
    width: 100%;
    max-width: none;
    padding: 0 16px;
  }

  .lead{
    font-size: 15px;
    line-height: 1.8;
    margin: 0 0 28px;
  }

  .top-grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .top-card h2{
    font-size: 17px;
  }

  .top-card__links a{
    font-size: 16px;
  }

  .mobile-drawer{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1300;
    width: min(82vw, 360px);
    height: 100vh;
    background: var(--color-menu-gray);
    transform: translateX(-100%);
    transition: transform .18s ease;
    overflow-y: auto;
    display: block;
  }

  .mobile-drawer.is-open{
    transform: translateX(0);
  }

  .mobile-drawer__header{
    height: 64px;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
    padding: 0;
    background-image: url("../../images/RTTC_M_titlebanner_bg.png");
    background-repeat: repeat-x;
    background-position: left top;
    background-size: auto 64px;
    border-bottom: 1px solid rgba(0,0,0,.12);
    overflow: hidden;
  }

  .mobile-drawer__spacer{
    display: none;
  }

  .mobile-drawer__close{
    width: 64px;
    height: 64px;
    border: none;
    background: #e6e6e6;
    position: relative;
    padding: 0;
    margin: 0;
    display: block;
    flex-shrink: 0;
  }

  .mobile-drawer__close::before,
  .mobile-drawer__close::after{
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 24px;
    height: 2px;
    background: #000;
  }

  .mobile-drawer__close::before{
    transform: translate(-50%,-50%) rotate(45deg);
  }

  .mobile-drawer__close::after{
    transform: translate(-50%,-50%) rotate(-45deg);
  }

  .mobile-drawer__title{
    min-width: 0;
    height: 64px;
    margin-left: 12px;
    margin-right: 12px;
    background-image: url("../../images/RTTC_M_titlebanner_title.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 100% auto;
  }

  .mobile-drawer__nav details{
    border-bottom: 1px solid rgba(0,0,0,.10);
  }

  .mobile-drawer__nav summary{
    list-style: none;
    height: 45px;
    padding: 0 38px 2px 16px;
    display: flex;
    align-items: center;
    background: var(--color-teal);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    position: relative;
  }

  .mobile-drawer__nav summary::-webkit-details-marker{
    display: none;
  }

  .mobile-drawer__nav summary::after{
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translateY(-50%) rotate(45deg);
  }

  .mobile-drawer__nav details[open] summary::after{
    transform: translateY(-50%) rotate(225deg);
  }

  .mobile-drawer__links a{
    display: block;
    padding: 12px 16px;
    background: #f2f2f2;
    border-top: 1px solid rgba(0,0,0,.08);
    font-size: 14px;
  }

  .mobile-drawer__links a.is-current{
    background: var(--color-current-gray);
  }

  .article-panel__inner{
    width: 100%;
    max-width: none;
    padding: 40px 12px 0;
  }

  .article-big-nav{
    margin: 0 0 40px;
    display: grid;
    grid-template-columns: 60px 1fr 60px;
    align-items: center;
    column-gap: 0;
  }

  .article-big-nav--bottom{
    margin-top: 60px;
    margin-bottom: 32px;
  }

  .article-nav-btn{
    width: 60px;
    height: 60px;
    background-image: url("../../images/RTTC_M_button_back.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }

  .article-nav-btn--next{
    background-image: url("../../images/RTTC_M_button_next.png");
  }

  .article-nav-caption{
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    font-size: 18px;
    font-weight: 700;
    color: #b43131;
    background: rgba(255,255,255,.35);
    text-align: center;
  }

  .article-heading{
    height: clamp(50px, 16vw, 80px);
    background-image: url("../../images/RTTC_img_BigHeadline_sp.png");
    background-size: contain;
  }
  
  .article-heading__title{
    font-size: clamp(18px, 5.8vw, 30px);
  }

  .article-band{
    height: 60px;
    margin: 0 0 32px;
    background-image: url("../../images/RTTC_img_Headline_sp.png");
    background-size: 100% 60px;
  }

  .article-band h2{
    font-size: 30px;
  }

  .article-subsection h3{
    min-height: 100px;
    padding: 28px 20px 20px;
    font-size: 20px;
    border-bottom-width: 8px;
  }

  .article-body-text,
  .article-mini-title,
  .article-inline-note summary,
  .article-inline-note__body{
    font-size: 18px;
  }

  .article-mobile-links{
    display: block;
    margin: 0 calc(50% - 50vw);
    background: rgba(0,0,0,.3);
  }

  .article-mobile-links a{
    display: block;
    padding: 18px 20px;
    color: #fff;
    font-size: 18px;
    border-top: 1px solid rgba(255,255,255,.55);
  }

  .article-mobile-links a:first-child{
    border-top: none;
  }

  .l-footer{
    border-top: 1px solid rgba(255,255,255,.18);
    margin-top: 0;
  }

  .l-footer-inner{
    padding: 18px 16px 20px;
  }

  .l-footer-sns{
    margin: 0 0 24px;
  }

  .l-footer-logo{
    margin: 0 0 12px;
  }

  .l-footer-nav{
    display: none;
    margin: 0 0 18px;
  }
}

@media (max-width: 480px){
  .site-header__inner{
    height: 64px;
  }

  .site-logo img{
    height: 34px;
    width: auto;
    max-width: 100%;
  }

  .hero{
    height: 58vw;
    min-height: 220px;
  }

  .content-panel__inner{
    padding: 0 12px;
  }

  .lead{
    font-size: 14px;
  }

  .top-card h2{
    font-size: 16px;
  }

  .article-panel__inner{
    width: 100%;
    padding: 40px 12px 0;
  }

  .article-big-nav{
    grid-template-columns: 48px 1fr 48px;
  }

  .article-nav-btn{
    width: 48px;
    height: 48px;
  }

  .article-nav-caption{
    min-height: 48px;
    font-size: 14px;
    padding: 0 8px;
  }

  .article-heading{
    height: 80px;
    margin-bottom: 40px;
  }

  .article-heading__title{
    font-size: 24px;
  }

  .article-band{
    height: 60px;
    margin-bottom: 32px;
  }

  .article-band h2{
    font-size: 20px;
  }

  .article-subsection h3{
    min-height: 64px;
    padding: 18px 16px 14px;
    font-size: 16px;
    border-bottom-width: 4px;
  }

  .article-body-text,
  .article-mini-title,
  .article-inline-note summary,
  .article-inline-note__body{
    font-size: 14px;
  }

  .article-mobile-links a{
    font-size: 16px;
  }
}

.article-nav-caption{
  color: transparent;
  background: transparent;
  pointer-events: none;
}