@charset "utf-8";

#contents,
.l-main {
    padding-bottom: 0;
}

/* =========================================
   不動産用語集 PC（基準幅 1140px）
   ========================================= */
[class*="page-word"] {
    width: 100%;
    margin: 0 auto;
    background-color: #ffffff;
    color: #333333;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}

.section--word-mv {
    position: relative;
    height: 450px;
}

.section--word-mv h1 {
    position: relative;
    width: 100%;
    height: 450px;
}

.section--word-mv .section--word-mv__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section--word-mv__page-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.section--word-flow {
    background-color: #ffffff;
    padding-top: 60px;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 1140px;
    margin: 0 auto;
}

.section--word-flow__block {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-bottom: 60px;
}

.section--word-flow__block--plain {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-bottom: 40px;
}

.section--word-flow__heading {
    width: 100%;
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.5;
    color: #333333;
    border-left: 4px solid #f6e24c;
    padding-left: 14px;
}

.hiragana--word {
    display: flex;
    flex-direction: row;
    gap: 14px;
    align-items: flex-start;
    width: 100%;
}

.hiragana--word__row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hiragana--word__row--ya {
    gap: 85px;
}

.hiragana--word__btn--accent,
.hiragana--word__btn--light {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    padding: 10px;
    border-radius: 6px;
    box-sizing: border-box;
    box-shadow: 0 2px 1.5px rgba(38, 50, 56, 0.2);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.25;
    color: #000000;
    text-align: center;
    text-decoration: none;
}

.hiragana--word__btn--accent {
    background-color: #f6e24c;
}

.hiragana--word__btn--accent:hover {
    background-color: #feffd6;
}

.hiragana--word__btn--light {
    background-color: #feffd6;
}

.hiragana--word__btn--light:hover {
    background-color: #f6e24c;
}

/* ========================================= */
/* カテゴリから住宅用語を探す（Figma 24355:112872） */
/* check_list gap:25px / summary #feffd6 py:20px pl:20px */
/* label 18px medium / list pl:30px py:30px gap:14px */
/* link 16px underline w:245px / border #eaeaea radius:6px */
/* ========================================= */
.category--word {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.category--word__details {
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: none;
    border-radius: 6px;
    overflow: hidden;
    background-color: #ffffff;
}

.category--word__details[open] {
    border-bottom: 1px solid #eaeaea;
}

.category--word__details:not([open]) {
    background-color: #feffd6;
}

.category--word__summary {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    cursor: pointer;
    padding: 19px 18px 19px 20px;
    background-color: #feffd6;
    border: 1px solid #eaeaea;
}

.category--word__details[open] > .category--word__summary {
    border-radius: 6px 6px 0 0;
}

.category--word__details:not([open]) > .category--word__summary {
    border-radius: 6px;
}

.category--word__summary::-webkit-details-marker {
    display: none;
}

.category--word__label {
    flex: 1 1 auto;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    color: #000000;
}

.category--word__icon {
    display: block;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    transform-origin: center;
    background-image: url(/images/mobile/word/icon_category-arrow.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transform: rotate(180deg);
}

.category--word__details[open] .category--word__icon {
    transform: rotate(0deg);
}

.category--word__list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin: 0;
    padding: 26px 30px 25px;
    background-color: #ffffff;
}

.category--word__link {
    display: block;
    width: 245px;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #333333;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.category--word__link:hover {
    text-decoration: none;
}

.btn--word-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 340px;
    height: 70px;
    padding: 18px 85px;
    border-radius: 6px;
    box-sizing: border-box;
    background-color: #d83c3c;
    box-shadow: 0 2px 1.5px rgba(38, 50, 56, 0.14);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.btn--word-cta:hover {
    transform: translateY(4px);
}

.ui-arrow-triangle.ui-arrow-triangle--white {
    width: 12px;
    height: 16px;
}

/* 五十音行ページ サイドバー内カテゴリ（Figma 24361:115184） */
.section--word__sidebar .section--word-flow__block--plain:has(.category--word) {
    gap: 10px;
}

.section--word__sidebar .category--word {
    width: 100%;
    max-height: calc(100vh - 400px);
    gap: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
}

.section--word__sidebar .category--word__details {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    overflow: visible;
    background-color: transparent;
    border-bottom: 1px solid #cfd8dc;
}

.section--word__sidebar .category--word__details:not([open]) {
    gap: 0;
    background-color: transparent;
}

.section--word__sidebar .category--word__details[open] {
    border-bottom: none;
}

.section--word__sidebar .category--word__summary {
    gap: 12px;
    padding: 20px 10px;
    background-color: transparent;
    border: none;
    border-radius: 0;
    transition: background-color 0.4s ease;
}

.section--word__sidebar .category--word__summary:hover {
    background-color: #f6e24c;
}

.section--word__sidebar .category--word__details[open] > .category--word__summary,
.section--word__sidebar .category--word__details:not([open]) > .category--word__summary {
    border-radius: 0;
}

.section--word__sidebar .category--word__label {
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    color: #333333;
}

.section--word__sidebar .category--word__icon {
    width: 13px;
    height: 13px;
    transform: rotate(180deg);
}

.section--word__sidebar .category--word__details[open] .category--word__icon {
    transform: rotate(0deg);
}

.section--word__sidebar .category--word__list {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 3px;
    margin: 0;
    padding: 0;
    background-color: transparent;
    border-top: none;
}

.section--word__sidebar .category--word__link {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 45px;
    padding: 11px 15px;
    border-radius: 6px;
    box-sizing: border-box;
    background-color: #feffd6;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: #333333;
    text-decoration: none;
}

.section--word__sidebar .category--word__link:hover {
    background-color: #f6e24c;
}

.section--word__sidebar .category--word__link.is-current {
    background-color: #f6e24c;
}

.section--word__sidebar .category--word__details--first {
    padding-top: 0;
    border-top: 1px solid #cfd8dc;
}

.section--word__sidebar .category--word__details--collapse {
    padding-bottom: 0;
    border-bottom: 1px solid #cfd8dc;
}

.section--word__sidebar .category--word__details--collapse[open] {
    border-bottom: none;
}

.section--word__sidebar .btn--word-cta {
    width: 287px;
    height: 55px;
    padding: 18px 34px 18px 30px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.section--word__sidebar .btn--word-cta .ui-more-btn__arrow {
    right: 16px;
}

.section--word__sidebar .ui-arrow-triangle.ui-arrow-triangle--white {
    width: 9px;
    height: 12px;
}