/* ========================================
   Noto Serif JP（ローカル配信）
   ======================================== */

@font-face {
  font-family: "Noto Serif JP";
  src: url("./NotoSerifJP-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif JP";
  src: url("./NotoSerifJP-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* ========================================
   基本リセット
   ======================================== */
*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

::marker {
  color: #7A1433;
}

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

@media screen and (min-width: 768px) {
  html {
    scroll-padding-top: 200px;
  }
}

html,
body {
  color: #000000;
  font-family: "Noto Serif JP", serif;
  font-size: 1rem;
}

img {
  height: auto;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all .3s;
}

a:hover {
  opacity: .8;
}

/* ========================================
   ★★★ 法律条文の枠囲みスタイル統一（最優先） ★★★
   ======================================== */

blockquote {
    margin: 20px 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

.jobun {
    border: 2px dotted #999 !important;
    padding: 30px !important;
    margin: 0 !important;
    background-color: #f9f9f9 !important;
}

.jobun,
.jobun *,
.jobun p,
.jobun div {
    font-size: 15px !important;
    line-height: 2 !important;
}

.jobun p {
    margin: 15px 0 !important;
}

.jobun p:first-child {
    margin-top: 0 !important;
}

.jobun p:last-child {
    margin-bottom: 0 !important;
}

/* ========================================
   ユーティリティクラス
   ======================================== */
.sp-hidden {
  display: none;
}

@media screen and (min-width: 1200px) {
  .sp-hidden {
    display: block;
  }
}

.list-none {
  list-style: none;
}

.mb10 {
  margin-bottom: 10px;
}

.disc_none {
  list-style: none !important;
}

.padding-left {
  padding-left: 25px;
}

/* ========================================
   タイポグラフィ
   ======================================== */
#toptitle {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin: 0;
}

@media screen and (min-width: 1200px) {  
  #toptitle{
    font-size: 1.5rem;
  }
}

h1{
  border-left: 5px solid #7A1433;
  font-size: 1.5rem;
  line-height: 1.5;
  margin-bottom: 10px;
  padding-left: 20px;
}

@media screen and (min-width: 768px) {
  h1{
    font-size: 2rem;
  }
}

h2 {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.6;
}

@media screen and (min-width: 1200px) {
  h2 {
    font-size: 1.25rem;
  }
}

h3 {
  font-size: 1.125rem;
  font-weight: 500;
}

p {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.8;
  margin: 1em 0;
}

summary{
    cursor: pointer;
}

/* ========================================
   ヘッダー
   ======================================== */
.global-header {
  position: relative;
  width: 100%;
}

.global-header-inner {
  background: linear-gradient(180deg, #9B3A5A, #52262F);
  color: #fff;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
}

.global-header-inner-content {
  align-items: center;
  display: flex;
  height: 80px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1240px;
  padding: 0 20px;
  position: relative;
}

@media screen and (min-width: 1200px) {
  .global-header-inner-content {
    justify-content: space-around;
  }
}

@media screen and (max-width: 768px) {
  .global-header-inner-content .btn {
    display: none;
  }
}

@media screen and (max-width: 1199px) {
  .global-header-inner-content .btn {
    padding-right: 60px;
  }
}

.global-header-inner-content .btn a {
  border: 1px solid #fff;
  border-radius: 50vh;
  cursor: pointer;
  display: inline-block;
  line-height: 32px;
  min-width: 152px;
  text-align: center;
}

.global-header-inner-content .btn a:hover {
  opacity: .8;
}

@media screen and (max-width: 768px) {
  .header-logo #toptitle {
    font-size: 1.125rem;
  }
}

@media screen and (max-width: 768px) {
  .header-logo p {
    font-size: 0.75rem;
  }
}

/* ========================================
   ハンバーガーメニュー
   ======================================== */
.hamburger {
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 100;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
}

@media screen and (min-width: 1200px) {
  .hamburger {
    display: none;
  }
}

.hamburger .hamburger__line {
  position: absolute;
  left: 11px;
  width: 26px;
  height: 2px;
  background-color: #fff;
  transition: all .4s;
}

.hamburger .hamburger__line:nth-of-type(1) {
  top: 14px;
}

.hamburger .hamburger__line:nth-of-type(2) {
  top: 23px;
}

.hamburger .hamburger__line:nth-of-type(3) {
  top: 32px;
}

.hamburger.active .hamburger__line:nth-of-type(1) {
  transform: translateY(9px) rotate(-45deg);
}

.hamburger.active .hamburger__line:nth-of-type(2) {
  opacity: 0;
}

.hamburger.active .hamburger__line:nth-of-type(3) {
  transform: translateY(-9px) rotate(45deg);
}

/* ========================================
   グローバルナビゲーション
   ======================================== */
@media screen and (max-width: 1199px) {
  .global-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: linear-gradient(180deg, #9B3A5A, #52262F);
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform .4s;
    z-index: 90;
  }
}

.global-nav.active {
  transform: translateX(0);
}

.global-nav-list {
  display: block;
  padding: 100px 0 0;
}

@media screen and (min-width: 1200px) {
  .global-nav-list {
    display: flex;
    padding: 0;
  }
}

@media screen and (max-width: 1199px) {
  .global-nav-list li {
    padding: 15px 0;
  }
}

.global-nav-list li a {
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  padding: 0 15px;
  transition: all .3s;
}

.global-nav-list li a:hover {
  opacity: .8;
}

.global-nav-list li.btn {
  display: block;
  margin: 0 0 0 20px;
}

@media screen and (min-width: 1200px) {
  .global-nav-list li.btn {
    display: none;
  }
}

/* ========================================
   フッター
   ======================================== */
.global-footer {
  background: linear-gradient(180deg, #9B3A5A, #52262F);
  box-sizing: border-box;
  padding: 30px 20px;
}

.global-footer-inner {
  color: #fff;
  margin: 0 auto;
  max-width: 1240px;
}

@media screen and (min-width: 1200px) {
  .global-footer-inner-content {
    align-items: center;
    display: flex;
    justify-content: space-between;
  }
}

.global-footer-inner-content .footer-logo {
  display: inline-block;
  min-width: 240px;
  font-weight: 600;
  margin-right: 60px;
}

@media screen and (max-width: 1199px) {
  .global-footer-inner-content .footer-logo {
    display: block;
    margin-bottom: 20px;
  }
}

.global-footer-inner-content .footer-logo p {
  font-size: 1.25rem;
}

.global-footer-inner-content .footer-logo span {
  font-size: 0.75rem;
  word-break: keep-all;
}

.footer-nav-list {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  row-gap: 10px;
}

.footer-nav-list li {
  font-size: 0.75rem;
}

@media screen and (max-width: 768px) {
  .footer-nav-list li {
    width: 50%;
  }
}

.footer-nav-list li:not(:last-child) {
  border-right: 1px solid #fff;
}

@media screen and (max-width: 768px) {
  .footer-nav-list li:not(:last-child) {
    border: none;
  }
}

@media screen and (max-width: 1199px) {
  .footer-nav-list li:first-child a {
    padding-left: 0;
  }
}

.footer-nav-list li a {
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
  padding: 0 20px;
  transition: all .3s;
}

@media screen and (max-width: 768px) {
  .footer-nav-list li a {
    padding-left: 0;
  }
}

.footer-nav-list li a:hover {
  opacity: .8;
}

.copyright {
  margin-top: 30px;
  text-align: center;
}

/* ========================================
   メインコンテンツ
   ======================================== */
.content-wrapper {
  padding: 80px 0 0;
}

.content {
  margin: 0 auto;
  max-width: 1240px;
  padding: 10px 10px;
}

@media screen and (min-width: 768px) {
  .content {
    padding: 40px 20px 60px;
  }
}

/* ========================================
   データ詳細ページ
   ======================================== */
.data-detail .content {
  max-width: 850px;
}

.data-detail a {
  color: #9B3A5A;
  text-decoration: none; 
  font-weight: 500;
}

.data-detail p {
  font-size: 1.0625rem;
  letter-spacing: 0.08em;
  line-height: 2.5;
}

@media screen and (max-width: 768px) {
  .data-detail p {
    font-size: 0.875rem;
    line-height: 2;
  }
}

/* ========================================
   背景白ボックス
   ======================================== */
.back_white {
  background: #F5F3F3;
}

.back_white_box {
  background: #fff;
  box-shadow: 0px 2px 12px #f2f2f2;
  padding: 20px;
}

@media screen and (min-width: 768px) {
  .back_white_box {
    padding: 40px;
  }
}

.back_white_box:not(:nth-of-type(1)) {
  margin-top: 10px;
}

@media screen and (min-width: 768px) {
  .back_white_box:not(:nth-of-type(1)) {
    margin-top: 20px;
  }
}

.back_white_box .name {
  border-left: 5px solid #7A1433;
  font-size: 1.5rem;
  line-height: 1.5;
  margin-bottom: 10px;
  padding-left: 20px;
}

@media screen and (min-width: 768px) {
  .back_white_box .name {
    font-size: 2rem;
  }
}

.back_white_box_title {
  border-left: 5px solid #7A1433;
  padding-left: 20px;
  font-size: 1.125rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

@media screen and (min-width: 768px) {
  .back_white_box_title {
    font-size: 1.25rem;
  }
}

@media screen and (max-width: 768px) {
  .data-detail .back_white_box_title {
    font-size: 1.125rem;
  }
}

.back_white_box ul {
  line-height: 1.5;
  list-style: disc;
  padding-left: 1em;
}

.back_white_box ul li {
  font-size: 0.875rem;
}

.back_white_box ul li:not(:first-child) {
  margin-top: 10px;
}

.back_white_box ul li span {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 5px;
}

.data-detail .back_white_box ul li {
  font-size: 1.0625rem;
  letter-spacing: 0.08em;
  line-height: 2.5;
}

@media screen and (max-width: 768px) {
  .data-detail .back_white_box ul li {
    font-size: 0.875rem;
    line-height: 2;
  }
}

.data-detail .back_white_box ul li span {
  font-size: 1.0625rem;
  letter-spacing: 0.08em;
  line-height: 2.5;
}

@media screen and (max-width: 768px) {
  .data-detail .back_white_box ul li span {
    font-size: 0.875rem;
    line-height: 2;
  }
}

.back_white_box .decimal {
  list-style: decimal;
}

.back_white_box .decimal li {
  font-size: 0.875rem;
}

.data-detail .back_white_box .decimal li {
  font-size: 1.0625rem;
  letter-spacing: 0.08em;
  line-height: 2.5;
}

@media screen and (max-width: 768px) {
  .data-detail .back_white_box .decimal li {
    font-size: 0.875rem;
    line-height: 2;
  }
}

.back_white_box .decimal ::marker {
  color: #000;
  font-size: 1.25rem;
}

.back_white_box .katakana {
  list-style: katakana;
  padding-left: 2em;
  text-indent: .1em;
}

.back_white_box .list_none {
  list-style: none;
  text-indent: -1.5em;
}

/* ========================================
   その他のスタイル
   ======================================== */
#komakaijouhou ul{
    list-style: none;
    padding-left: 0;
    line-height: 1.8;
    margin-top: 5px;
}

#komakaijouhou li {
    margin: 0;
    line-height: 2;
}

ol{
    list-style-type: none; 
    padding-left: 1em; 
    margin-left: 0;
}

.kanren > li {
    font-weight: bold;
}

.kanren{
    padding-left: 0;
    margin-left: 1em;
}

.kanren > ul{
    padding-left: 0;
    margin-left: 1em;
}

.syoshiki{
    border-width: medium; 
    border-style: solid; 
    font-size: 14.5px;
}

.under{
    text-decoration: underline;
}

.youken{
    text-indent: -1em; 
    margin-left: 1em
}

.rekkyo ol{
    padding-left: 0;
}

.rekkyo ul{
    list-style-type: decimal;
    padding-left: 1em;
}

.jobunmei{
    font-weight: bold;
}

#search{ 
    width: 100%; 
    max-width: 500px; 
    margin: 0 left; 
}