.header-wrapper {
    width:100%;
    z-index:1000;
    position: fixed;
}
.global-menu {
    z-index:1000;
}

.header-wrapper .sticky-header {
    z-index:900;
}

/* footerの調整*/
.footer {
    width: 100%;
    height: 100%;
    margin-inline: auto;
    padding-block: 60px;
    background: var(--black, #222);
}

/* TOPの調整 */
.main {
    padding-block-start: 70px;
}
.case-item__img {
  aspect-ratio: 440 / 283;     /* 画像枠の比率を固定 */
  width: 100%;
  overflow: hidden;
  position: relative;
}
.case-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;           /* トリミングして枠いっぱいに表示 */
  display: block;
  object-position: bottom; /* 必要に応じて設定 */
}

.brand-card .swiper-slide {
    aspect-ratio: 13 / 8;
}

.brand-card .swiper-slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;        /* 枠いっぱいに表示し、余った部分はトリミング */
    display: block;
}


/* NEWSの調整 */
.news-main .home-news__header-title {
    text-align: center;
}

.news-main .home-news__list {
    max-width: 1140px;
    margin: auto;
}

.news-main .home-news__list {
    margin: 50px auto 30px auto;
}
.news-main .home-news__item-date {
    flex: 0 0 150px;
}
.news-main .pagination {
  margin-top: 40px;
  text-align: center;
  font-family: var(--font-family-ja);
}

.news-main .pagination-inner {
  display: inline-flex;
  gap: 8px;
  padding: 12px 20px;
  background-color: var(--color-surface);
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.news-main .page-numbers {
  display: inline-block;
  min-width: 40px;
  padding: 8px 12px;
  font-size: var(--font-size-14);
  line-height: 1;
  color: var(--color-black);
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--color-line);
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
}

.news-main .page-numbers:hover {
  background-color: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.news-main .page-numbers.current {
  background-color: var(--color-black);
  color: var(--color-white);
  font-weight: var(--font-weight-bold);
  border-color: var(--color-black);
  pointer-events: none;
}

.news-main .page-numbers.dots {
  background: none;
  border: none;
  color: var(--color-gray);
  padding: 8px 4px;
}

.news-main .page-numbers.next,
.news-main .page-numbers.prev {
  font-weight: var(--font-weight-bold);
  padding: 8px 14px;
}

.fv-linkButton:hover {
    color: var(--color-black)!important;
}

@media screen and (max-width: 800px) {
    .news-main .home-news__list {
        margin: 20px 5px 30px 5px;
    }
    .news-main .home-news__item-date {
        flex: 0 0 auto;
    }
    .news-main .linkButton--primary {
        width: 140px;
    }
    .news-main .entry__content {
        margin: 0 20px 30px 20px;
        margin-bottom: 30px;
        padding-bottom: 60px;
        border-bottom: 1px solid #d5d5d5;
    }
}
 
/* NEWSの詳細 */
.news__inner, .news-entry__inner {
    position: relative;
    max-width: 960px;
    width: 100%;
    margin: 0 auto 140px;
}

.news-entry__inner {
    margin-top: 50px;
}

.entry__content {
    margin-bottom: 30px;
    padding-bottom: 60px;
    border-bottom: 1px solid #d5d5d5;
}

.entry__content .entry__date {
    font-family: "Montserrat", sans-serif;
    font-weight: normal;
    font-size: calc(0.75rem + ((1vw - 0.234375rem) * 0.1294));
    letter-spacing: 0.06em;
    line-height: 1.75em;
    text-align: left;
    color: #888;
}

.entry__content .entry__title
{
    font-weight: normal;
    font-size: 24px;
    letter-spacing: 0.06em;
    line-height: 1.5em;
    text-align: left;
    color: #333;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #d5d5d5;
}

.entry__content p {
    font-weight: normal;
    font-size: 16px;
    letter-spacing: 0.05em;
    line-height: 2.25em;
    text-align: left;
    color: #333;
    margin-bottom: 1.5em;
}

.pager {
  display: flex;
  justify-content: space-between;
  list-style: none;
  gap: 10px;
}

.pager__btn a {
  display: inline-block;
  font-family: var(--font-family-ja);
  font-size: var(--font-size-14);
  font-weight: var(--font-weight-normal);
  color: var(--color-black);
  text-decoration: none;
  background-color: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: 4px;
  padding: 10px 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.pager__btn a:hover {
  background-color: var(--color-black);
  color: var(--color-white);
}

/* 特定の配置 */
.pager__btn-prev {
  margin-right: auto;
}

.pager__btn-next {
  margin-left: auto;
}

/* 事例 */
.modal__container {
    max-height: calc(100dvh - 100px);
}

.modal__content {
    padding-block: 50px;
}
.case-detail__slider {
    -webkit-margin-before: 50px;
    margin-block-start: 50px;
}

.case-detail__slider-item {
    height: calc(100dvh - 250px)!important;
}
.case-detail__slider-item img {
    object-fit: contain;
    height: inherit;
}

@media screen and (max-width: 800px) {
    .case-detail__slider-item {
        display: flex!important;
        justify-content: center;
        align-items: center;
        height: unset!important;
    }
    .case-detail__slider-item img {
        max-height: 350px;
        object-fit: contain;
        height: inherit;
    }
}

/* プライバシーポリシー */
.privacypolicy__inner {
    max-width: 900px;
    margin: auto;
}
.privacypolicy__inner .privacy__content {
    margin: 0 auto 6.25em;
}
.privacypolicy__inner .privacy__content .title {
    width: 100%;
    font-weight: normal;
    font-size: 24px;
    letter-spacing: 0.06em;
    line-height: 1.5em;
    text-align: left;
    color: #333;
    padding-bottom: 30px;
    margin-bottom: 40px;
    border-bottom: 1px solid #d5d5d5;
}
.privacypolicy__inner .privacy__content .text {
    width: 100%;
    font-weight: normal;
    font-size: 16px;
    letter-spacing: 0.05em;
    line-height: 2.25em;
    text-align: left;
    color: #333;
}
.privacypolicy__inner .privacy__content .address {
    font-weight: normal;
    font-size: 16px;
    letter-spacing: 0.05em;
    line-height: 2.25em;
    margin-top: 1.25em;
    text-align: left;
    color: #333;
}

@media screen and (max-width: 800px) {
    .privacypolicy__inner {
        margin: 0 20px 0 20px;
    }
}

/* カスタムメイドキッチンのフローの調整 */
#anchor-3 .linkButton--primary{
    color: var(--color-white) !important;
}

/* ランドリーミニキッチンの資料バナー調整 */
.product-download .download-list {
    justify-content: center;
}

.brand-toprank__detail .linkButton .icon-right {
    width: 15px;
    height: 15px;
}

/* お問い合わせフォームのスタイル調整 */
.tel-contact-info {
    display: flex;
    max-width: 980px;
    justify-content: space-around;
    margin: auto;
    height: 130px;
    align-items: center;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-left: none;
    border-right: none;
}
.tel-contact-info .tel-label {
    font-size: 0.75em;
}
.tel-contact-info .tel-number {
    /* Tel. 03-3815-8121 */
        font-family: 'Poppins';
        font-style: normal;
        font-weight: 400;
        font-size: 20px;
        line-height: 100%;
        /* or 20px */
        letter-spacing: 0.1em;

        /* black */
        color: #222222;

}

.tel-contact-info .text {
    /* お電話でのお問い合わせ */
    height: 30px;
    font-family: 'Zen Kaku Gothic Antique';
    font-style: normal;
    font-weight: 700;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 0.1em;
    color: #222222;
    align-items: center;
    display: flex;
    /* black */
    color: #222222;
}
.tel-contact-info .annotation {
    /* 平日 9：00〜17：30 */
    height: 15px;

    /* PC/本文_1行 */
    font-family: 'Zen Kaku Gothic Antique';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 100%;
    /* identical to box height, or 15px */
    letter-spacing: 0.1em;

    /* black */
    color: #222222;
}

.tab-buttons {
    max-width: 980px;
    height: 250px;
    display: flex;
    margin: auto;
    justify-content: space-around;
    align-items: end;
    color: #999999;
}

.cotact-detail-wrapper {
    background-color: #F5F5F5;
}
.contents-wrapper {
    max-width: 1120px;
    margin: auto;
}

.contact-info {
    display: flex;
    max-width: 980px;
    height: 200px;
    align-items: center;
    margin: auto;
    justify-content: center;
}

.contact .active {
    color: #222222;
    border-bottom: 2px solid #222222;
}

.wpcf7-form p {
    display: flex;
    /* width: 1030px; */
    margin-bottom: 50px;
    justify-content: space-between;
}


.form-req {
    width: 59px;
    height: 27px;
    background: #222222;
    font-weight: normal;
    font-size: 16px;
    line-height: 27px;
    text-align: center;
    color: #FFFFFF;
    /* margin-right: auto; */
}

.contents-wrapper label {
    text-align: left;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.wpcf7-form-control-wrap {
    position: relative;
}

.contents-wrapper .input {
    background: #FFFFFF;
}

.contents-wrapper input[type="text"], .contents-wrapper input[type="email"], .contents-wrapper input[type="tel"] {
    width: 677px;
    border: 1px solid #ccc;
    background: #FFFFFF;
    margin-left: 40px;
    padding-left: 5px;
}

.contents-wrapper textarea {
    width: 1004px;
    margin-top: 12px;
    border: 1px solid #ccc;
    background: #FFFFFF;
    padding-left: 5px!important;
}
.contents-wrapper .not-center {
    align-items: center;
    flex-wrap: wrap;
}
.wpcf7-submit {
    border: 1px solid var(--color-black);
    background-color: var(--color-black);
    color: var(--color-white);
}

.contents-wrapper .label-line {
    width: 260px;
    font-weight:600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contents-wrapper a.dotted-underline {
    border-bottom: 1px dotted;
    margin-left: 15px;
}

.wpcf7-form-control-wrap .wpcf7-form-control {
    padding: 1px 10px 1px 0px;
}

.wpcf7-textarea {
    line-height: normal;
}

.wpcf7-spinner {
  display: none !important;
}

.contents-wrapper > form {
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.contents-wrapper a {
  text-decoration: none; /* 通常の下線を消す */
  border-bottom: 1px dotted #999999; /* 点線の下線を追加 */
}

.wpcf7-submit {
    align-items: center;
    justify-content: center;
    width: 220px;
    max-width: 100%;
    padding-block: 18px;
    gap: 10px;
    border-radius: 100px;
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-100);
    letter-spacing: 0.1em;
    text-align: center;
    text-decoration: none;
}

.contact .tab-btn:hover {
    color: #222222;
    border-bottom: 2px solid #222222;
}

.wpcf7-form .contact-line{
    display: flex;
    flex-direction: row;
    width: 1030px;
    justify-content: left;
}

.contents-wrapper .contact-line p {
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.form-free {
    width: 59px;
    height: 27px;
    background: #FFFFFF;
    font-weight: normal;
    font-size: 16px;
    line-height: 27px;
    text-align: center;
    color: #999999;
    /* margin-right: auto; */
    border: 1px solid #999999;
}

.contents-wrapper .pos-center p {
    display: contents;
}

.contents-wrapper .pos-center {
    margin: auto;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}
.contents-wrapper .pos-center-detail {
    flex-direction: column;
    margin-left: 300px;
}

.contents-wrapper .contact-line .wpcf7-list-item label {
    background: white;
    padding: 10px;
    border: 1px solid #ccc;
    min-width: 200px;
    display: flex;
    justify-content: center;
}

.contents-wrapper .contact-line .wpcf7-list-item {
    margin-left: 40px;
    margin-bottom: 10px;
}

.policy-agreement {
    margin-bottom: 10px!important;
}

.confirm form {
    max-width: 600px;
    width: 100%;
    margin: auto;
}

.confirm .wpcf7-form .contact-line {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: left;
}

.confirm.contents-wrapper label {
    display: block;
}
.confirm.contents-wrapper .contact-line p {
    justify-content: left;
}

.confirm .wpcf7-form p {
    font-size: 20px;
}
.confirm .label-line {
    font-size: 16px;
}
.confirm .wpcf7-previous, .confirm .wpcf7-submit {
    font-size: 16px;
}

.confirm .wpcf7-previous {
    border: 1px solid var(--color-black);
    background-color: var(--color-white);
    color: var(--color-black);
    align-items: center;
    justify-content: center;
    width: 220px;
    max-width: 100%;
    padding-block: 18px;
    gap: 10px;
    border-radius: 100px;
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-100);
    letter-spacing: 0.1em;
    text-align: center;
    text-decoration: none;
}

.confirm .pos-center {
    justify-content: space-between;
}

.thanks {
    text-align: center;
    padding: 0 0 50px 0;
    font-size: 16px;
}
.header {
    height: 70px;
    margin-inline: 0;

}
.sticky-header {
    max-width: 1920px;
}

.case-tags__container .active-tag {
    background: black;
    color: white;
}

.home-case__list {
    grid-template-columns: repeat(2, calc(45%));
}
.home-news__list {
    width: 80%;
}

.container {
    width:100%;
}
.home-news__inner {
    display: flex;
    /* grid-template-columns: auto calc(80%); */
}

.about__company .company-inner {
    display: block;
}
.about__company-content {
    margin-top: 40px;
}
.about__achievements-content-item .item-content {
    min-width: 100px;
}

.custom-made-kitchen .lineup-item-intro, .laundry-mini-kitchen .lineup-item-intro,
.laundry-mini-kitchen .laundry-mini-kitchen__anchor, .laundry-mini-kitchen #anchor-1, 
.laundry-mini-kitchen #anchor-2 {
    max-width: var(--width-container-md);
    margin: auto;
}

.laundry-mini-kitchen .lineup-item-intro {
    margin-bottom: 50px;
}

.custom-made-kitchen .feature-list__item--reverse .feature-list__content {
    align-items: normal;
    text-align: left;
}


@media (max-width: 800px) {
/* フォーム調整用 */
  .contents-wrapper {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .label-title {
    display: block;
    margin-bottom: 0.2em;
  }

  .form-req {
    display: inline-block;
    margin-left: 0;
  }

  .wpcf7-form p {
    margin-bottom: 1.5em;
  }

  .wpcf7-form input,
  .wpcf7-form textarea {
    width: 100%;
    box-sizing: border-box;
  }

  .policy-agreement,
  .pos-center {
    text-align: center;
  }

  .contents-wrapper input[type="text"], .contents-wrapper input[type="email"], .contents-wrapper input[type="tel"] {
    margin-left: 0;
    width: 100%;
    padding: 0 5px 0 5px;
  }
  .contents-wrapper label {
    display: flow;
    flex-direction: column;
    width: 100%;
  }

  .tab-buttons {
    width: 100%;
    height: 100px;
  }
  .tel-contact-info {
    width: 100%;
    flex-direction: column;
  }

  .wpcf7-form .contact-line {
    flex-direction: column;
    width: 100%;
    justify-content: left;
  }
  .contents-wrapper .contact-line p {
    justify-content: left;
  }
  .contents-wrapper .pos-center-detail {
    margin-left: 0;
    text-align: left;
  }
  .free-line-2, .free-line-3, .free-line-4 {
    margin-bottom: 10px;
  }
  .contents-wrapper .pos-center {
    display: contents;
  }
  .contents-wrapper .contact-line .form-wrap {
    width: 100%;
  }
  .confirm .wpcf7-previous {
    width: 100%;
    margin-bottom:10px;
  }
  .page-title {
    padding-block: 80px 70px;
  }
  .home-news__list {
    align-self: auto;
    margin: auto;
    width: 90%;
  }
}