/* ================================
  nociw ◆ card 専用スタイル
  File: /nociw_card/assets/css/nociw_style.css
  Created by Megu.y & Sora
================================ */

html, body {
  margin: 0;
  padding: 0;
  background-color:  #24211e;
}

body {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

img, a {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: auto;
}

/* ▼ レイアウト調整（全体） */
.nociw-main {
  max-width: 960px;
  margin: 50px auto;
  padding: 30px 30px 50px;
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  background-color: rgba(255, 255, 245, 0.9);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ▼ トップタイトル見出し */
.nociw-main h1 {
  font-size: 2.4em;
  color: #b2a167;
  margin-bottom: 0.8em;
  text-align: center;
}

.mv-area {
  text-align: center;
}

/* ▼ セクションタイトル */
.nociw-main h2 {
  display: block;
  font-size: 2em;
  color: #b2a167;
  margin-bottom: 1em;
  border-bottom: 2px solid #b2a167;
  padding-bottom: 0.3em;
  text-align: left;
}

/* ▼ セクション見出し */
.nociw-main h3 {
  display: block;
  font-size: 1.5em;
  color: #775c36;
  margin-top: 1.8em;
  margin-bottom: 1em;
  border-left: 8px solid #b2a167;
  padding: 0 0 2px 0.6em;
  text-align: left;
}

/* ▼ 各セクションの上下マージン */
.card-info,
.apply-info,
.guide-info {
  margin: 50px 0;
}

/* ▼ カード解説ブロック */
.guide-info {
  text-align: left;
}

.btn-guide {
  display: inline-block;
  background-color: #a8915f;
  color: #fff;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn-guide:hover {
  background-color: #bba770;
}

.guide-note {
  margin-top: 8px;
  font-size: 0.85em;
  color: #444;
}

.card-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
}

.card-carousel {
  width: 100%;
  max-width: 260px;
  height: auto;
}

.card-carousel img {
  width: 100%;
  height: auto;
  border-radius: 0;
}

/* ▼ カルーセル：ドットの色とサイズ */
.swiper-pagination-bullet {
  background-color: #aeb090 !important;
  opacity: 1;
  width: 10px;
  height: 10px;
  margin: 0 4px;
}

.swiper-pagination-bullet-active {
  background-color: #a3ba52 !important;
}

.swiper-pagination {
  text-align: center;
  margin-top: 8px !important;
  position: static !important;
}

.card-description {
  flex: 1;
  min-width: 280px;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ▼ 共通ボタンスタイル */
.nociw-button {
  display: inline-block;
  color: #fff;
  width: 16em;
  font-weight: bold;
  text-align: center;
  padding: 14px 24px;
  border: none;
  border-radius: 24px;
  text-decoration: none;
  transition: background-color 0.3s;
  background-color: #b2a167;
}

.order-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 20px;
}

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

.nociw-button.domestic {
  background-color: #293640;
}

.nociw-button.domestic:hover {
  background-color: #3f5566;
}

.nociw-button.overseas {
  background-color: #62785b;
}

.nociw-button.overseas:hover {
  background-color: #7e9577;
}

.nociw-button.guide {
  background-color: #b2a167;
}

.nociw-button.guide:hover {
  background-color: #d7c175;
}

.note-small {
  font-size: 0.75em;
  color: #666;
  margin-top: 0.5em;
}

.nociw-main hr {
  border: none;
  border-top: 2px dotted #b2a167;
  margin: 50px 0 30px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1em;
}

.sub-en {
  display: block;
  font-size: 0.7em;
  color: #9fa17f;
}

.lang-switch {
  font-size: 0.9em;
  color: #444;
  text-align: right;
}

.lang-switch a {
  text-decoration: none;
  margin: 0 0.3em;
  color: #666;
}

.lang-switch a:hover {
  text-decoration: underline;
}

.order-details-box {
  border: 3px solid #b2a167;
  padding: 20px;
  margin: 50px 0;
  background-color: #f3f0db;
  border-radius: 8px;
}

.accordion-wrapper {
  margin-top: 1em;
}

.accordion-btn {
  background-color: #62785b;
  border: none;
  padding: 16px 20px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  width: 100%;
  text-align: left;
  border-radius: 4px;
  color: #fcfcf6;
  word-break: break-word;
}

.accordion-btn:hover {
  background-color: #789171;
}

.accordion-panel {
  padding: 10px 16px;
  border-top: 1px dashed #ccc;
}

.small-diamond {
  font-size: 80% !important;
}

.no-save {
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  user-select: none;
  touch-action: none;
}

.lang-switch a.active {
  font-weight: bold;
  color: #000;
}

.location::before {
  content: 'Location: ';
  font-weight: normal;
  color: #8f8153; /* お好みで少し色を落とすと見やすくなる */
  margin-right: 0.3em;
}

.location {
  font-weight: bold;
  display: block;
}

  .lang-toggle {
    width: 100%;
    box-sizing: border-box; 
    padding: 0.5em 2em 0.5em 0;
    border-bottom: 1px solid #322d29;
    text-align: right;
    background-color: #322d29;
    color: #EEEAC4;
  }

   .roman {
      display: block;
      font-size: 0.78em;
      color: #8c8680;
    }
    .stx {
      display: inline-block;
      font-size: 0.86em;
      font-weight: nomal;
      color: #fff;
      padding-bottom: 2px;
    }

dl.keyword-list {
  margin: 0.5em 0.8em 1.2em;
  padding: 0;
}

dl.keyword-list dt {
  font-weight: bold;
  margin-bottom: 1em;
}

dl.keyword-list dd {
  display: inline-block;
  position: relative;
  margin: 0.2em 0.8em 0.4em 0.2em;   /* 間隔調整 */
  padding-left: 1em;      /* ◆ と文字の間のスペース */
  color: #b2a167;
}

dl.keyword-list dd::before {
  content: '◆';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7em;
  color: #b2a167;
}
  .keywords_tit {
    font-weight: 700;
    color: #b2a167;
    margin: 10px 0 1em;
  }

  .accordion {
    margin-top: 2em;
    border-top: 1px solid #241b14;
  }
  .accordion-header {
    background-color: #35261a;
    color: #fff;
    padding: 1em;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .accordion-header h2 {
    font-size: 1.2em;
    margin: 0;
  }
  .toggle-icon {
    font-size: 1.1em;
    font-weight: 700;
    padding-right: 0.4em;
    color: #8c8680;
  }
  .accordion-content {
    display: none;
    background-color: #e8dfcb;
    padding: 1em 1em 1.5em;
    color: #201710;
  }
  .lang-text {
    display: none;
  }
  .lang-text.active {
    display: block;
  }
.card-right a {
  color: #fff;  /* 本文と同じ色 */
  text-decoration: underline;
  transition: opacity 0.2s ease;
  text-underline-offset: 5px;   /* 下に少しずらす */
  text-decoration-thickness: 1px; /* お好みで線の太さも調整 */
}
.card-right a:hover {
  opacity: 0.6;
}

input[type="radio"] {
  accent-color: #b2a167;
  margin-right: 0.3em;        /* マルと文字の間隔 */
}
.lang-switch label {
  color: #999;                /* デフォルトは暗め */
  margin-right: 1em;
  cursor: pointer;
  transition: color 0.3s ease;
}

  .card-right td {
    padding: 1em 0 0.7em 1.5em;
    /* vertical-align: top; */
  }
  .card-right tr {
    border-bottom: 1.8px dotted #8c8680;
  }

  .card-right th {
    text-align: left;
    padding: 1em 1em 0.7em 1em;
    vertical-align: top;
    font-weight: bold;
    font-size: 0.94em;
    width: 16em;
    color: #fff;
  }

/* --------------------------------------------------- */
　index（共通）
/* --------------------------------------------------- */
.guide-inner {
  max-width: 960px;
  width: 96%;
  margin: 0 auto;
}

.guide-auth-box {
  margin-top: 20px;
}

.guide-auth-box input[type="text"] {
  padding: 6px 10px;
  font-size: 1em;
  width: 240px;
  max-width: 90%;
}

.guide-auth-box button {
  padding: 6px 16px;
  font-size: 1em;
  margin-left: 8px;
  background-color: #444;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.guide-auth-box button:hover {
  background-color: #666;
}

.guide-btn-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5em;
  margin: 20px auto 40px;
}

.guide-btn {
  display: inline-flex;
  min-width: 48px;
  min-height: 48px;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  background-color: #2c2c2c;
  color: #fff;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.2s;
}

.index-btn {
  display: inline-flex;
  padding:10px 20px;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  background-color: #2c2c2c;
  color: #fff;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.2s;
}

.guide-btn:hover,
.index-btn:hover {
  background-color: #5a5a5a;
  transform: scale(1.05);
  color: #fff;
}

  .ainu-word {
    font-style: italic;
  }

/* ▼ PC */
@media screen and (min-width: 769px) {
  .card-container {
    max-width: 960px;
    margin: 50px auto 100px auto;
    padding: 1em;
  }

  .card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
  }

  .card-left img {
    max-width: 280px;
    height: auto;
    border-radius: 10px;
  }
  .card-right {
    flex: 1;
  }

  .card-right table {
    width: 100%;
    border-collapse: collapse;
    color: #fff;
  }

  .keyword-box {
    width: 98%;
    min-height: 4em;
    height: auto;
    box-sizing: border-box;
    border: 2px solid #b2a167;
    border-radius: 10px;
    padding: 0.6em 1em 0.6em;
    margin: 30px auto 0;
    color: #dbcea0;
    word-break: break-all;
   background-color: rgba(50, 45, 41, 0.6);
  }

/* --------------------------------------------------- */
　
/* --------------------------------------------------- */


}

/* ▼ SP */
@media screen and (max-width: 768px) {
  .nociw-main {
  border-radius: 0;
  padding: 30px 15px 50px;
  }

  .nociw-main h1 {
    font-size: 1.8em;
    font-weight: bold;
  }

  .nociw-main h2 {
    font-size: 1.3em;
    font-weight: bold;
  }

  .nociw-main h3 {
    font-size: 1.16em;
  }

  .card-flex {
    flex-direction: column;
    align-items: center;
  }

  .card-carousel {
    max-width: 200px;
  }

  .card-description {
    text-align: left;
  }

  .center-text {
    text-align: left;
  }

  .order-buttons {
    justify-content: center;
  }

/* Guide */

  .accordion-btn {
    font-size: 1em;
    padding: 12px 16px;
  }

  /* .lang-text.ja {
    display: block !important;
  } */
.nociw-main ul {
  padding-left: 1.2em;
  list-style-position: outside;
}
.nociw-main li {
  margin-left: 0;
}

[class^="name_"], .ainu-text {
  font-family: 'Noto Sans CJK JP', 'Noto Sans JP', 'Noto Sans Ainu', sans-serif;
}

  .card-grid {
    flex-direction: column;
    align-items: center;
  }

  .card-left {
    width: 60%;
    box-sizing: border-box;
    margin: 0 auto;
    text-align: center;
  }

  .card-left img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 10px;
  }

  .card-right {
    width: 100%;
    box-sizing: border-box;
    padding-top: 0;
    margin-top: -1px;
  }

  .card-right table {
    width: 100%;
    font-size: 0.95em;
    color: #fff;
  }

  .card-right th,
  .card-right td {
    display: block;
    box-sizing: border-box;
  }

  .card-right td {
  /* border-bottom: 1px dotted #8c8680; */
  border-top: none !important;
  box-sizing: border-box;
  padding: 0.8em 1.2em 1.4em !important;
  }

  .card-right th {
    width: 100% !important;
    box-sizing: border-box;
    background: #493e35;
    color: #fff;
    border-bottom: none !important;
    padding: 0.5em 1em;
  }
  .card-right th > span {display: inline-block;}

  .keyword-box {
    height: auto;
  }

dl.keyword-list {
    margin: 0.5em 0.8em !important;
    padding: 0;
}
.accordion-header h2 {
    font-size: 1em !important;
}
.roman {
    display: block;
    font-size: 0.84em !important;
    color: #8c8680;
}
.lang-toggle {
   text-align: center;
   font-size: 0.92em;
   margin-top: 50px;
   padding-bottom: 16px;
   background-color: rgba(50, 45, 41, 0.5);
   border-bottom: none !important;
 }
  .card-container {
    width: 100%;
    box-sizing: border-box;
    margin: 50px auto 80px auto;
    padding: 10px;
  }

  .keyword-box {
    width: 98%;
    box-sizing: border-box;
    min-height: 1em;
    height: auto;
    border: 2px solid #b2a167;
    border-radius: 10px;
    padding: 0.6em 1em 0.8em;
    margin: 30px auto;
    color: #dbcea0;
    word-break: break-all;
   background-color: rgba(50, 45, 41, 0.6);
  }

/* --------------------------------------------------- */
　index
/* --------------------------------------------------- */

 .guide-inner {
    width: 100%;
    padding: 0 10px;
  }

  .guide-auth-box input[type="text"] {
    width: 90%;
    font-size: 1em;
  }

  .guide-auth-box button {
    display: block;
    width: 60%;
    margin: 10px auto 0;
    font-size: 1em;
  }

  .guide-btn {
    width: 44px;
    height: 44px;
    font-size: 0.95em;
  }

}
