/* =========================================================================================
  NEW FEATURE STYLE FOR TABLET & PC
  LAST UPDATE : 2026/01/30
========================================================================================= */

/* =========================================================================================
  GLOBAL SETTINGS
========================================================================================= */
:root {
  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  /* Font sizes */
  --font-sm: 14px;
  --font-lg: 21px;
}

/* =========================================================================================
  UTILITY CLASSES
========================================================================================= */
/* Spacing utilities */
.mb-xs {
  margin-bottom: var(--spacing-xs);
}

.mb-md {
  margin-bottom: var(--spacing-md);
}

.mb-lg {
  margin-bottom: var(--spacing-lg);
}

/* =========================================================================================
  BASE LAYOUT
========================================================================================= */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}

.newFeature {
  margin: 0 0 64px; /* 64px: デザイン固有値 */
  padding-right: 10px;
  padding-left: 10px;
}

.contents .newFeature:last-child {
  margin: 0;
}

.nf-block {
  padding: var(--spacing-xs) 0 var(--spacing-lg);
  border-bottom: 1px dotted #dae0e5;
}

.newFeature .nf-block:last-child {
  margin: 0;
  padding: 0;
  border: none;
}

/* =========================================================================================
  TYPOGRAPHY
========================================================================================= */
.nf-block h3 {
  margin: 0 0 16px; /* 16px: デザイン固有値 */
  padding-left: 10px;
  border-left: var(--spacing-sm) solid #faa002;
  font-size: var(--font-lg);
  line-height: 1.8rem;
  text-align: start;
}

.nf-explain {
  font-size: var(--font-sm);
  text-align: start;
  line-height: 1.65rem;
}

.image-explain {
  font-size: var(--font-sm);
  text-align: start;
  line-height: 1.5rem;
}

/* =========================================================================================
  IMAGE COMPONENTS
========================================================================================= */
.newFeature .thumbnail-img img {
  width: 100%;
  height: auto;
  margin: auto;
  border-radius: 16px;
  box-shadow: 0px 0px 5px 0px #3333331c;
}

/* Image lists */
ul.nf-image {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

ul.nf-image li {
  width: 50%; /* 50%: 2列レイアウト */
}

/* 奇数は左、偶数は右に配置される */
ul.nf-image li:nth-child(odd) {
  padding-right: var(--spacing-sm);
}

ul.nf-image li:nth-child(even) {
  padding-left: var(--spacing-sm);
}

/* Image containers */
p.image-container {
  text-align: center;
}

/* Image styling */
ul.nf-image img,
p.nf-image img,
p.image-container img {
  width: 100%;
  border: 1px solid #dae0e5;
  vertical-align: bottom;
}

/* Single image container */
p.nf-image {
  width: 100%;
  height: auto;
}

/* =========================================================================================
  TEXT DECORATIONS
========================================================================================= */
.ie-align-center {
  text-align: center;
}

.ie-font-bold {
  font-weight: bold;
}

/* =========================================================================================
  目次
========================================================================================= */
.newFeature .nf-toc {
  background-color: #f8f8f8;
  border: none;
  border-radius: 8px;
  list-style-type: none;
  padding: 20px;
  margin: 0 0 var(--spacing-lg);
}

.nf-toc-title {
  font-size: var(--font-sm);
  height: 24px;
  font-weight: bold;
  margin-bottom: 5px;
}

.newFeature .nf-toc-body > ul {
  padding-left: 18px;
}

.newFeature .nf-toc-body > ul > li {
  font-size: var(--font-sm);
  font-weight: normal;
  line-height: 1.5;
  padding: 0;
  padding-bottom: 0.4em;
  margin-bottom: 0;
  margin-left: auto;
  list-style-type: disc;
}

/* =========================================================================================
  LINK COMPONENTS
========================================================================================= */
.nf-link-container {
  margin-top: var(--spacing-md);
  text-align: right;
}

.nf-link-container a {
  color: #0b649b;
  font-size: var(--font-sm);
  text-decoration: none;
}

/* =========================================================================================
  TABLE COMPONENTS
========================================================================================= */
.nf-detail table {
  width: 100%;
  margin-top: var(--spacing-md);
  border: 1px solid #dae0e5;
  border-collapse: collapse;
}

.nf-detail th,
.nf-detail td {
  padding: var(--spacing-sm);
  border: 1px solid #dae0e5;
  font-size: var(--font-sm);
  line-height: 1.25rem;
  vertical-align: middle;
}

.nf-detail th {
  width: 35%;
  background-color: #f0f2f5;
  text-align: center;
}

.nf-detail td {
  width: 65%; /* 65%: デザイン固有値 */
  text-align: left;
}
