@charset "UTF-8";
/* SCSSの読み込み */
@import url(all.css);
/* font-weight */
@font-face {
  font-family: "Malina";
  font-weight: 400;
  src: url(/css/fonts/Malina.otf) format("opentype");
}
:root {
  /* カラー */
  --color-text: #333;
  --color-rose: #99594d;
  --color-pink: #e3bdb6;
  --color-baby-pink: #f7ebe9;
  --color-beige: #e9e3dd;
  --color-gray: #999;
  /* font-family */
  --font-family-noto: "Noto Sans JP", sans-serif;
  --font-family-mincho: "Noto Serif JP", serif;
  --font-family-maru: "Zen Maru Gothic", sans-serif;
  --font-family-malina: "Malina", cursive;
  /* font-weight */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-SemiBold: 600;
  --font-weight-bold: 700;
}

@media screen and (min-width: 768px) {
  :root {
    /* フォントサイズ */
    --font-size-h1: 5.4rem;
    --font-size-h2: 5rem;
    --font-size-h3: 4.2rem;
    --font-size-h4: 3rem;
    --font-size-h5: 2rem;
    --font-size-h6: 1.8rem;
    --font-size-base: 1.6rem;
    --font-size-sm: 1.4rem;
    --font-size-xs: 1.2rem;
    /* line-height */
    --line-height-title: 1.5;
    --margin-height-title: -0.25em;
    --line-height-base: 2;
    --margin-height-base: -0.5em;
    --line-height-sm: 1.714286;
    --line-height-xs: 1.6666667;
    /* letter-spacing */
    --letter-spacing-base: 0.06em;
  }
}
@media screen and (max-width: 767px) {
  :root {
    /* フォントサイズ */
    --font-size-h1: 2em;
    --font-size-h2: 1.75em;
    --font-size-h3: 1.5625em;
    --font-size-h4: 1.375em;
    --font-size-h5: 1.25em;
    --font-size-h6: 1.125em;
    --font-size-base: 1em;
    --font-size-sm: 0.875em;
    --font-size-xs: 0.75em;
    /* line-height */
    --line-height-title: 1.5;
    --line-height-base: 1.875;
    --line-height-sm: 1.714286;
    --line-height-xs: 1.666667;
    /* letter-spacing */
    --letter-spacing-base: 0.06em;
  }
}
/*===============================================
  切り替え用
===============================================*/
.pc-none {
  display: none !important;
}

a[href^="tel:"] {
  pointer-events: none;
}

/*===============================================
  ページネーション
===============================================*/
.pagenation {
  font-size: var(--font-size-base);
  padding-top: 3em;
}
.pagenation li {
  width: 36px;
  line-height: 40px;
  margin: 5px 4px 0;
}

/*===============================================
  詳細ページ前後
===============================================*/
.paginated {
  font-size: var(--font-size-base);
}
.paginated__list {
  padding-top: 1.5em;
  margin-top: 2em;
}
.paginated__link {
  line-height: var(--line-height-base);
  letter-spacing: var(--letter-spacing-base);
}
.paginated__link--prev::before {
  margin-right: 1em;
}
.paginated__link--next::after {
  margin-left: 1em;
}

/*===============================================
  wrapper
===============================================*/
#wrapper {
  min-width: 1200px;
  font-size: var(--font-size-base);
}

/*===============================================
  header
===============================================*/
#header {
  padding: 20px 30px 20px 40px;
}
#header .header__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
#header .header__logo {
  width: clamp(130px, 10.15625vw, 195px);
}
#header .header__other {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-direction: column;
  row-gap: clamp(20px, 1.5625vw, 30px);
  margin-left: auto;
}
#header .header__mail {
  width: 260px;
}
#header .header__tel {
  font-size: clamp(30px, 2.0833333333vw, 40px);
  padding: 10px 0;
}
#header.header--other .header__logo {
  position: absolute;
  top: 0;
  left: 0;
}
#header.header--entrance {
  padding-right: clamp(40px, 3.125vw, 60px);
}
#header.header--entrance .header__inner {
  align-items: flex-end;
}

/*===============================================
  footer
===============================================*/
#footer {
  padding: 100px 0;
}
#footer .footer__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  -moz-column-gap: 75px;
       column-gap: 75px;
  width: 1080px;
  padding-top: 50px;
}
#footer .footer__info {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  row-gap: 10px;
  line-height: 1.5;
}
#footer .footer__info-item dt {
  width: 80px;
  margin-right: 10px;
}
#footer .footer__add {
  margin: -0.25em 0;
}
#footer .footer__add:has(+ .footer__info-item) {
  margin-bottom: 0;
  padding-bottom: 5px;
}
#footer .footer__link {
  width: 260px;
  margin: 0 auto 20px;
}
#footer .footer__link:last-child {
  margin-bottom: 0;
}
#footer .copy {
  padding: 30px 0 0;
}

/*フッターナビ
-----------------------------*/
.footer-nav__list {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  row-gap: 24px;
}
.footer-nav__item {
  line-height: var(--line-height-base);
  margin: var(--margin-height-base) 0;
}
.footer-nav__link {
  transition: all 0.3s ease-out;
}
.footer-nav__link > span {
  display: inline-block;
  letter-spacing: var(--letter-spacing-base);
  margin-right: 1em;
}
.footer-nav__link > span:last-child {
  margin-right: 0;
}
.footer-nav__link .en:not(.en--min) {
  font-weight: var(--font-weight-bold);
}
.footer-nav__link .en--min {
  font-size: var(--font-size-sm);
}
.footer-nav__link .ja {
  color: var(--color-rose);
  font-size: var(--font-size-sm);
}
.footer-nav__link:hover {
  transform: translateX(6px);
}
.footer-nav__link[aria-current=page] {
  color: var(--color-rose);
}

/*コピーライト
-----------------------------*/
.copy {
  font-size: 1.3rem;
  padding: clamp(40px, 3.125vw, 60px) 0 clamp(54px, 4.1666666667vw, 80px);
}
.copy p {
  letter-spacing: var(--letter-spacing-base);
}

/*===============================================
  fixed固定
===============================================*/
/*ページトップ
-----------------------------*/
#pagetop {
  bottom: 40px;
  right: 30px;
}

/*サイドボタン
-----------------------------*/
#side {
  bottom: 10px;
  right: 10px;
}

/*===============================================
  visual
===============================================*/
.visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.visual > * {
  width: 100%;
  min-width: 1240px;
}

/*メインビジュアル
-----------------------------*/
.visual__main {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  height: clamp(700px, 54.1666666667vw, 1040px);
  padding-top: clamp(95px, 7.34375vw, 141px);
}
.visual__main::before {
  content: "";
  width: min(50% + 240px, 62.5%);
  height: 65.385%;
  background: var(--color-pink);
  position: absolute;
  bottom: 0;
  right: min(99px, 5.15625%);
  z-index: -1;
}
.visual__main-box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-left: max(50% - 850px, 5.7292%);
}
.visual__main-catch {
  flex-direction: column;
  row-gap: clamp(15px, 1.1458333333vw, 22px);
}
.visual__main-catch > span {
  height: clamp(32px, 2.5vw, 48px);
}
.visual__main-catch > span:nth-of-type(2) {
  height: clamp(59px, 4.5833333333vw, 88px);
}
.visual__main-catch img {
  width: auto;
  height: 100%;
}
.visual__main-deco {
  padding-left: clamp(60px, 4.6875vw, 90px);
  margin: clamp(54px, 4.1666666667vw, 80px) 0 clamp(48px, 3.6458333333vw, 70px);
  position: relative;
}
.visual__main-deco img {
  width: clamp(202px, 15.78125vw, 303px);
  height: clamp(88px, 6.875vw, 132px);
  -o-object-fit: contain;
     object-fit: contain;
}
.visual__main-deco::after {
  content: "";
  width: 169.721%;
  aspect-ratio: 667/188;
  background: url(../img/visual/mv_deco-illustration.png) no-repeat left top/contain;
  position: absolute;
  left: calc(100% - 2px);
  bottom: clamp(-98px, -5.1041666667vw, -66px);
}
.visual__main-text {
  font-size: clamp(1rem, 0.78125vw, 1.5rem);
  letter-spacing: 0.025em;
  margin-right: -0.025em;
}
.visual__main-images {
  width: min(50% + 170px, 58.855%);
  height: 87.5%;
  right: 0;
}
.visual__main-images::before {
  content: "";
  width: 23.009%;
  aspect-ratio: 1;
  background: var(--color-rose);
  position: absolute;
  top: 31.539%;
  left: 27.185%;
  z-index: 2;
  opacity: 0.6;
}
.visual__main-image {
  width: 20.834vw;
  min-width: 270px;
  height: 43.9561%;
}
.visual__main-image--lb {
  bottom: 0;
  left: 20.354%;
  z-index: 3;
}
.visual__main-image--lt {
  top: 16.814%;
  left: 0;
  z-index: 2;
}
.visual__main-image--rb {
  bottom: 20.8792%;
  right: 2.655%;
  z-index: 3;
}
.visual__main-image--rt {
  width: 41.667vw;
  min-width: 540px;
  top: 0;
  right: 0;
  z-index: 0;
}
.visual__main-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/*サブビジュアル
-----------------------------*/
.visual__sub {
  align-items: flex-start;
  height: clamp(400px, 30.7291666667vw, 590px);
  padding-top: clamp(60px, 4.6875vw, 90px);
  background-size: min(211px, 10.9896%);
  background-position: left max(50% - 960px, 0px) bottom;
}
.visual__sub::before {
  width: 41.667%;
  max-width: calc(50% - 160px);
  height: 67.797%;
}
.visual__sub::after {
  width: clamp(520px, 41.6666666667vw, 800px);
  height: 84.746%;
  right: max(50% - 620px, 17.709%);
  bottom: 0;
}
.visual__sub-box {
  width: 34.636%;
  max-width: 665px;
  padding-top: clamp(40px, 3.125vw, 60px);
  margin-left: max(50% - 700px, 13.542%);
}
.visual__sub-box::after {
  width: clamp(175px, 13.5416666667vw, 260px);
  top: clamp(-60px, -3.125vw, -40px);
}
.visual__sub-catch {
  row-gap: clamp(14px, 1.1458333333vw, 22px);
  margin-bottom: clamp(30px, 2.34375vw, 45px);
}
.visual__sub-catch > span {
  font-size: clamp(2.7rem, 2.1875vw, 4.2rem);
}
.visual__sub-catch::before {
  width: clamp(68px, 5.2604166667vw, 101px);
  top: clamp(-71px, -3.6979166667vw, -48px);
  left: clamp(-125px, -6.5104166667vw, -84px);
}
.visual__sub-catch::after {
  height: clamp(80px, 6.25vw, 120px);
}
.visual__sub-text {
  font-size: clamp(1rem, 0.78125vw, 1.5rem);
  letter-spacing: 0.025em;
  margin-right: -0.025em;
}

/*===============================================
  グローバルナビ
===============================================*/
.gnav__list {
  display: flex;
  justify-content: center;
  align-items: center;
  -moz-column-gap: clamp(50px, 3.6458333333vw, 70px);
       column-gap: clamp(50px, 3.6458333333vw, 70px);
}
.gnav__link {
  display: block;
  text-align: center;
  position: relative;
  padding: 1px 0;
}
.gnav__link > span {
  display: block;
  line-height: 2;
  transition: all 0.3s ease-out;
}
.gnav__link .en {
  font-size: clamp(1.6rem, 0.9375vw, 1.8rem);
  letter-spacing: 0.025em;
  margin: -0.5em -0.025em -0.5em 0;
}
.gnav__link .ja {
  font-size: var(--font-size-sm);
  letter-spacing: var(--letter-spacing-base);
  margin-right: calc(var(--letter-spacing-base) * -1);
  color: var(--color-rose);
  white-space: nowrap;
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 0;
}
.gnav__link:hover .en, .gnav__link[aria-current=page] .en {
  opacity: 0;
}
.gnav__link:hover .ja, .gnav__link[aria-current=page] .ja {
  opacity: 1;
  pointer-events: visible;
}

/*===============================================
  main#container
===============================================*/
#container {
  line-height: var(--line-height-base);
  letter-spacing: var(--letter-spacing-base);
}

/*===============================================
  パンくずリスト
===============================================*/
.breadcrumb {
  height: 40px;
}
.breadcrumb__list {
  width: 1080px;
}
.breadcrumb__item {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  letter-spacing: var(--letter-spacing-base);
}

/*===============================================
  main共通
===============================================*/
.section {
  padding: clamp(140px, 10.4166666667vw, 200px) 0;
}

.inbox {
  width: 1080px;
}

/*電話番号
-----------------------------*/
.com-tel {
  font-size: 4rem;
}
.com-tel-num::before {
  width: 0.75em;
  margin-right: 0.25em;
}
.com-tel-num span {
  margin: -0.2em 0 -0.15em;
}
.com-tel .com-replace {
  height: 0.375em;
  margin-top: 0.55em;
}

/*ボタン
-----------------------------*/
.com-btn {
  width: 400px;
  max-width: 100%;
  height: 50px;
}
.com-btn--mail {
  padding-right: 0.875em;
}
.com-btn--mail::before {
  width: 1.625em;
  margin-right: 1.25em;
}
.com-btn--window {
  height: 80px;
}
.com-btn--window::before {
  width: 1.5em;
  margin-right: 1em;
}
.com-btn--ig {
  height: 80px;
}
.com-btn--ig::before {
  width: 1.875em;
  margin-right: 1em;
}

/*テーブル
-----------------------------*/
.com-table {
  line-height: 1.875;
}
.com-table tr th {
  text-align: right;
  padding: 24px 20px;
}
.com-table tr td {
  padding: 24px 20px;
}

/*テキストボックス
-----------------------------*/
.com-text {
  margin: var(--margin-height-base) 0;
}
.com-text p {
  margin-right: calc(var(--letter-spacing-base) * -1);
}
.com-text strong {
  font-size: var(--font-size-h6);
  line-height: 1.888889;
}
.com-text .mb {
  margin-bottom: calc(var(--line-height-base) * 1em);
}

/*SB未記入テキスト
-----------------------------*/
.com-empty {
  font-size: var(--font-size-h4);
  line-height: var(--line-height-title);
  padding: 2.5em 0;
}

/*===============================================
  タイトル
===============================================*/
/*大タイトル
-----------------------------*/
.com-title01 {
  font-size: var(--font-size-h3);
  row-gap: 30px;
  padding-top: 120px;
  margin-bottom: 60px;
}
.com-title01::before {
  font-size: var(--font-size-h2);
  transform: rotate(-15deg);
  white-space: nowrap;
  padding-top: 0.2em;
  margin-bottom: -0.2em;
}
.com-title01 .ja {
  letter-spacing: var(--letter-spacing-base);
  margin-right: calc(var(--letter-spacing-base) * -1);
}
.com-title01 .en {
  font-size: var(--font-size-xs);
  letter-spacing: 0.025em;
  margin-right: -0.025em;
}

/*中タイトル
-----------------------------*/
.com-title02 {
  row-gap: 37px;
  margin-bottom: 40px;
}
.com-title02 .sub {
  font-size: var(--font-size-h6);
  letter-spacing: 0.025em;
  padding-bottom: 5px;
  margin: -2px -0.025em 0 0;
}
.com-title02 .sub + .main {
  margin-top: var(--margin-height-title);
}
.com-title02 .main {
  font-size: var(--font-size-h4);
  line-height: var(--line-height-title);
  letter-spacing: var(--letter-spacing-base);
  margin-right: calc(var(--letter-spacing-base) * -1);
}
.com-title02 .main:first-of-type {
  margin-top: var(--margin-height-title);
}
.com-title02 .main:last-of-type {
  margin-bottom: var(--margin-height-title);
}

/*小タイトル
-----------------------------*/
.com-title03 {
  font-size: var(--font-size-h5);
}
.com-title03 > span {
  line-height: var(--line-height-title);
  letter-spacing: var(--letter-spacing-base);
  margin-right: calc(var(--letter-spacing-base) * -1);
}
.com-title03 > span:first-of-type {
  margin-top: var(--margin-height-title);
}
.com-title03 > span:last-of-type {
  margin-bottom: var(--margin-height-title);
}

/*===============================================
  共通セクション
===============================================*/
/*お問い合わせ
-----------------------------*/
.com-contact {
  padding: clamp(80px, 5.2083333333vw, 100px) 0;
}
.com-contact__box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  row-gap: 40px;
  padding: clamp(85px, 6.5104166667vw, 125px) 0;
}
.com-contact__box::before {
  width: calc(100vw - 80px);
  max-width: 1820px;
  min-width: 1120px;
}
.com-contact__box::after {
  width: calc(100vw - 120px);
  max-width: 1540px;
  min-width: 1080px;
  height: clamp(205px, 16.9791666667vw, 326px);
  bottom: clamp(95px, 7.5520833333vw, 145px);
}
.com-contact__title {
  padding-top: 63px;
  margin-bottom: 0;
}
.com-contact__title::before {
  top: -27px;
  right: -113px;
}
.com-contact__item {
  width: 460px;
  margin-bottom: 20px;
}
.com-contact__item:last-of-type {
  margin-bottom: 0;
}
.com-contact__item--mail a {
  width: 100%;
  height: 70px;
}
.com-contact__item--tel {
  height: 120px;
  background: #fff;
}
.com-contact--top {
  padding: clamp(140px, 10.4166666667vw, 200px) 0 0;
}
.com-contact--development, .com-contact--works {
  padding-top: 0;
}

/*バナーリンクセクション
-----------------------------*/
.com-bnr {
  padding: clamp(80px, 6.25vw, 120px);
}
.com-bnr__list {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 40px;
}
.com-bnr__item {
  width: calc(50% - 20px);
}
.com-bnr__item:only-of-type {
  width: 660px;
  margin-left: auto;
}
.com-bnr__link {
  padding: 30px;
}
.com-bnr__inner {
  padding: 15px;
}
.com-bnr__title {
  align-items: flex-end;
  flex-direction: row;
  -moz-column-gap: 20px;
       column-gap: 20px;
  padding-top: 72px;
  margin-bottom: 40px;
}
.com-bnr__title::before {
  top: -2px;
  right: -10px;
}

/*お知らせ
-----------------------------*/
.com-news::before {
  width: 100%;
  max-width: 1920px;
  height: 150px;
  bottom: clamp(140px, 10.4166666667vw, 200px);
}
.com-news:has(+ .com-contact)::after {
  height: calc(100% + 200px);
}
.com-news__box {
  display: grid;
  grid-template: "title list" 184px "btn list" auto/260px 1fr;
  gap: 60px 80px;
  align-items: flex-start;
}
.com-news__title {
  padding-top: 100px;
  margin-bottom: 0;
  grid-area: title;
}
.com-news__title::before {
  top: -0.16em;
  left: -1em;
}
.com-news__list {
  grid-area: list;
}
.com-news__item {
  margin-bottom: 30px;
}
.com-news__item-link {
  grid-template-columns: 220px 1fr;
  -moz-column-gap: 40px;
       column-gap: 40px;
}
.com-news__item-image img {
  max-height: 220px;
}
.com-news__item-inner {
  transform: translateY(7px);
  padding: 23px 0 22px;
  row-gap: 30px;
}
.com-news__item-tags {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  gap: 10px;
}
.com-news__item-tag {
  padding: 0 12px;
}
.com-news__item-title {
  margin: -0.5em 0;
}
.com-news__item-date {
  line-height: 1;
}
.com-news__btn {
  grid-area: btn;
}
.com-news .com-empty {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 294px;
  grid-area: list;
}
.com-news--entrance {
  padding: clamp(100px, 7.2916666667vw, 140px) 0 0;
}
.com-news--entrance::before {
  width: 1080px;
  bottom: 0;
}
.com-news--entrance .com-news__box {
  min-height: 520px;
}

/*===============================================
  エントランスページ
===============================================*/
/*エントランスリンク
-----------------------------*/
.entrance-area {
  display: grid;
  grid-template-rows: repeat(2, clamp(200px, 15.625vw, 300px));
  row-gap: clamp(20px, 1.5625vw, 30px);
  max-width: 1920px;
  padding: 0 clamp(20px, 1.5625vw, 30px);
  margin: 0 auto;
}
.entrance-area__list {
  display: grid;
  -moz-column-gap: clamp(20px, 1.5625vw, 30px);
       column-gap: clamp(20px, 1.5625vw, 30px);
}
.entrance-area__list--top {
  grid-template-columns: repeat(2, 1fr);
}
.entrance-area__list--bottom {
  grid-template-columns: repeat(3, 1fr);
}
.entrance-area__item {
  outline-width: 4px;
  outline-offset: -4px;
}
.entrance-area__item--official .entrance-area__title::before {
  top: -0.7em;
  left: -4em;
}
.entrance-area__item--socket .entrance-area__title::before {
  top: -0.8em;
  left: -3.5em;
}
.entrance-area__item--designer .entrance-area__title::before {
  top: -0.7em;
  left: -3.4em;
}
.entrance-area__item--development .entrance-area__title::before {
  font-size: clamp(1.6rem, 1.25vw, 2.4rem);
  top: -0.8em;
  left: -7.25em;
}
.entrance-area__item--space .entrance-area__title::before {
  top: -0.8em;
  left: -3em;
}
.entrance-area__link {
  justify-content: flex-start;
  padding-top: clamp(46px, 3.6458333333vw, 70px);
}
.entrance-area__title {
  font-size: clamp(3rem, 2.0833333333vw, 4rem);
  row-gap: clamp(14px, 1.09375vw, 21px);
  padding-top: 0;
  margin-bottom: clamp(20px, 1.5625vw, 30px);
}
.entrance-area__title::before {
  font-size: clamp(2rem, 1.5625vw, 3rem);
}
.entrance-area__title .en {
  font-size: clamp(1rem, 0.625vw, 1.2rem);
}
.entrance-area__text {
  min-width: clamp(300px, 22.9166666667vw, 440px);
  font-size: clamp(1.2rem, 0.8333333333vw, 1.6rem);
  line-height: 1.75;
  padding: 0.75em 1em;
}
.entrance-area__text p {
  text-align: center;
}

/*===============================================
  トップページ
===============================================*/
/*株式会社リルグとは
-----------------------------*/
.top-about {
  margin-bottom: clamp(270px, 20.8333333333vw, 400px);
}
.top-about::before {
  width: calc(50% - 200px);
  max-width: 760px;
  height: clamp(300px, 20.8333333333vw, 400px);
  top: clamp(-90px, -4.6875vw, -60px);
  left: max(50% - 960px, 0px);
}
.top-about::after {
  width: 98%;
  max-width: 1756px;
  min-width: 1240px;
  height: clamp(240px, 40vw - 265px, 503px);
}
.top-about .inbox {
  min-height: 770px;
  padding-left: 540px;
}
.top-about__title {
  align-items: flex-start;
  margin-left: 0;
}
.top-about__title::before {
  width: 229px;
  height: 86px;
  top: -9px;
  right: -145px;
}
.top-about__image {
  width: calc(50vw - 150px);
  max-width: 700px;
  min-width: 450px;
  height: 600px;
  position: absolute;
  top: 70px;
  right: calc(50% + 100px);
}
.top-about__image::before {
  content: "";
  width: 580px;
  aspect-ratio: 1;
  background: var(--color-beige);
  position: absolute;
  right: 220px;
  bottom: -190px;
  z-index: -1;
}
.top-about__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/*事業紹介
-----------------------------*/
.top-business:has(.top-business__images) {
  padding-bottom: 0;
}
.top-business:has(.top-business__images) .top-business__images {
  padding-top: clamp(140px, 10.4166666667vw, 200px);
}
.top-business::before {
  height: calc(100% - clamp(170px, 13.0208333333vw, 250px));
}
.top-business::after {
  width: 98%;
  max-width: 1820px;
  height: clamp(888px, 2808px - 100vw, 1350px);
  background-size: 16.484%;
  bottom: clamp(280px, 50vw - 340px, 620px);
}
.top-business__title::before {
  top: 13px;
  right: 50%;
}
.top-business__text {
  text-align: center;
}
.top-business__list {
  padding-top: 80px;
}
.top-business__item {
  min-height: 430px;
  margin-bottom: 100px;
  position: relative;
  z-index: 0;
}
.top-business__item-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  row-gap: 30px;
  min-height: 240px;
  padding: 50px 40px;
}
.top-business__item-inner > * {
  width: 100%;
}
.top-business__item-btn {
  margin-top: auto;
}
.top-business__item-images, .top-business__item-image {
  width: 500px;
  height: 430px;
  position: absolute;
  top: 0;
}
.top-business__item-images::before {
  aspect-ratio: 1;
  width: 280px;
}
.top-business__item-images img {
  width: 280px;
}
.top-business__item-images img:nth-of-type(2) {
  margin-bottom: -130px;
}
.top-business__item-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: right center;
     object-position: right center;
}
.top-business__item:nth-of-type(2n + 1) {
  padding-right: 580px;
}
.top-business__item:nth-of-type(2n + 1) .top-business__item-image, .top-business__item:nth-of-type(2n + 1) .top-business__item-images {
  right: 0;
}
.top-business__item:nth-of-type(2n) {
  padding-left: 580px;
}
.top-business__item:nth-of-type(2n) .top-business__item-image, .top-business__item:nth-of-type(2n) .top-business__item-images {
  left: 0;
}
.top-business__images {
  display: grid;
  grid-template-columns: repeat(5, minmax(auto, 380px));
  -moz-column-gap: 25px;
       column-gap: 25px;
  justify-content: center;
  width: 104.167vw;
  min-width: 1280px;
  margin-left: -2.0834vw;
}

/*代表デザイナー
-----------------------------*/
.top-designer::before {
  width: 110%;
  max-width: 2088px;
  padding-top: min(251px, 13.07292%);
  top: clamp(60px, 4.6875vw, 90px);
}
.top-designer::after {
  width: calc(50% - 260px);
  height: clamp(400px, 30.2083333333vw, 580px);
}
.top-designer .inbox {
  min-height: 705px;
  padding-right: 560px;
}
.top-designer__title {
  align-items: flex-start;
  text-align: left;
  padding-top: 183px;
  margin-left: 0;
  margin-bottom: 80px;
}
.top-designer__title::before {
  top: 44px;
  right: -144px;
}
.top-designer__profile {
  font-size: var(--font-size-h5);
  line-height: 1;
  margin-bottom: 1.8em;
}
.top-designer__profile-company {
  margin-bottom: 1.35em;
}
.top-designer__profile-name--ja {
  font-size: 1.3em;
}
.top-designer__profile-name--en {
  font-size: 0.75em;
}
.top-designer__roles {
  font-size: var(--font-size-h6);
  line-height: 1.66667;
  border-left-width: 4px;
  padding-left: calc(1em - 2px);
}
.top-designer__image {
  position: absolute;
  top: 0;
  left: calc(50% + 35px);
}
.top-designer__btn {
  margin-top: 60px;
}

/*会社情報
-----------------------------*/
.top-company {
  padding: 0;
}
.top-company::before {
  width: 104.167%;
  max-width: 2000px;
  height: clamp(290px, 22.3958333333vw, 430px);
  top: clamp(-80px, -4.1666666667vw, -56px);
}
.top-company::after {
  height: clamp(280px, 20.8333333333vw, 400px);
}
.top-company .inbox {
  padding: clamp(140px, 10.4166666667vw, 200px) 0;
}
.top-company__title {
  padding-top: 76px;
}
.top-company__title::before {
  top: -23px;
  left: -57px;
}
.top-company__inner {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}
.top-company__inner:has(.top-company__map) > * {
  width: 520px;
}
.top-company__inner:has(.top-company__map) .top-company__table th {
  width: 120px;
}
.top-company__table {
  width: 100%;
}
.top-company__table th {
  width: 200px;
}
.top-company__table td .com-replace {
  height: var(--font-size-sm);
  vertical-align: baseline;
}
.top-company__map {
  min-height: 520px;
}

/*===============================================
  デザイナーについて
===============================================*/
/*代表デザイナー紹介
-----------------------------*/
.designer-about {
  background: linear-gradient(to top, var(--color-pink) clamp(350px, 26.0416666667vw, 500px), #fff clamp(350px, 26.0416666667vw, 500px));
  margin-bottom: clamp(270px, 20.8333333333vw, 400px);
}
.designer-about::before {
  width: calc(50% - 320px);
  max-width: 640px;
  height: 400px;
  background-position: right 24% center;
  top: clamp(100px, 7.8125vw, 150px);
  left: max(50% - 960px, 0px);
}
.designer-about::after {
  width: 98%;
  max-width: 1650px;
  min-width: 1280px;
  height: clamp(280px, 30vw - 98px, 478px);
  bottom: clamp(150px, 50vw - 550px, 410px);
}
.designer-about__title::before {
  top: 9px;
  right: -92px;
}
.designer-about__title::after {
  content: "";
  width: 1200px;
  height: 174px;
  background: url(../img/designer/deco_about-rt.png) no-repeat right bottom/contain;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -54px;
  z-index: -2;
}
.designer-about__box {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  transform: translateX(10px);
}
.designer-about__inner {
  width: 600px;
  min-height: 600px;
  padding: 100px;
  margin-top: 60px;
}
.designer-about__inner::before {
  width: calc(100% + 100px);
}
.designer-about__profile {
  font-size: var(--font-size-h5);
  line-height: 1;
  margin-bottom: 1.8em;
}
.designer-about__profile-company {
  margin-bottom: 1.35em;
}
.designer-about__profile-name--ja {
  font-size: 1.3em;
}
.designer-about__profile-name--en {
  font-size: 0.75em;
}
.designer-about__roles {
  font-size: var(--font-size-h6);
  line-height: 1.66667;
  border-left-width: 4px;
  padding-left: calc(1em - 2px);
}
.designer-about__btn {
  margin-top: 60px;
}
.designer-about__list {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  padding-top: 100px;
}
.designer-about__item {
  width: calc(50% - 20px);
}
.designer-about__item-title {
  row-gap: 27px;
  margin-bottom: 30px;
}
.designer-about__item-careers, .designer-about__item-licenses {
  min-height: calc(100% - 110px);
  line-height: 1.75;
  row-gap: 2em;
  padding: 56px 25px 56px 50px;
}
.designer-about__item-career--year {
  width: 6.25em;
}
.designer-about__item-career--content {
  width: calc(100% - 6.25em);
}

/*代表デザイナー　ふじた ともこの想い
-----------------------------*/
.designer-thoughts__title::before {
  top: -5px;
  left: -120px;
}
.designer-thoughts__title .ja span {
  display: inline-block;
  margin-right: 1em;
}
.designer-thoughts__title .ja span:last-child {
  margin-right: 0;
}
.designer-thoughts__image {
  margin-bottom: 80px;
}

/*所属デザイナー紹介
-----------------------------*/
.designer-intro__title::before {
  top: 6px;
  right: -175px;
}
.designer-intro__item {
  margin-bottom: 50px;
}
.designer-intro__item-title {
  justify-content: center;
  min-height: 120px;
  padding: 20px;
  margin-bottom: 0;
  row-gap: 17px;
}
.designer-intro__item-inner {
  display: grid;
  grid-template: "image text" auto "image career" 1fr/320px 1fr;
  gap: 40px 60px;
  align-items: flex-start;
  padding: 48px 50px 57px;
}
.designer-intro__item-image {
  grid-area: image;
}
.designer-intro__item-image img {
  aspect-ratio: 0.8;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.designer-intro__item-text {
  grid-area: text;
  margin: var(--margin-height-base) 0;
}
.designer-intro__item-career {
  grid-area: career;
  padding: 30px;
}
.designer-intro__item-heading {
  font-size: var(--font-size-h5);
  margin-bottom: 20px;
}

/*===============================================
  商品開発
===============================================*/
/*商品開発について
-----------------------------*/
.development-about {
  margin-top: 80px;
}
.development-about::before {
  content: "";
  width: 98%;
  max-width: 1760px;
  height: calc(100% - 320px);
  max-height: 1210px;
  background: url(../img/product-development/img_about-back01.png) no-repeat left top/22.728%, url(../img/product-development/img_about-back02.png) no-repeat right top 55.556%/22.728%, url(../img/product-development/img_about-back03.png) no-repeat left clamp(-50px, 50vw - 870px, 90px) bottom/42.046%;
  position: absolute;
  left: max(50% - 960px, 0px);
  top: 160px;
  z-index: 0;
}
.development-about__title {
  padding-top: 50px;
}
.development-about__title::before {
  top: -61px;
  right: -65px;
}
.development-about__image {
  text-align: center;
  margin-bottom: 80px;
}
.development-about__text {
  text-align: center;
}
.development-about__btn {
  margin: 60px auto 0;
}

/*商品紹介
-----------------------------*/
.development-product__title::before {
  top: 18px;
  left: -129px;
}
.development-product__item {
  margin-bottom: 50px;
}
.development-product__item-title {
  justify-content: center;
  min-height: 120px;
  padding: 15px 0 20px;
  margin-bottom: 0;
  row-gap: 17px;
}
.development-product__item-inner {
  padding: 50px;
}
.development-product__item-image {
  width: 880px;
  margin: 0 auto 50px;
}
.development-product__item-image img {
  width: 100%;
  aspect-ratio: 880/480;
  -o-object-fit: cover;
     object-fit: cover;
}
.development-product__item-text {
  margin: var(--margin-height-base) 0;
}
.development-product__item-btn {
  margin: 50px auto 0;
}

/*===============================================
  空間デザイン
===============================================*/
/*空間デザインについて
-----------------------------*/
.space-about {
  margin-top: 80px;
}
.space-about::before {
  content: "";
  width: 99%;
  max-width: 1900px;
  height: calc(100% - 340px);
  max-height: 1060px;
  background: url(../img/space-design/img_about-back01.png) no-repeat left top/21.053%, url(../img/space-design/img_about-back02.png) no-repeat right top 55.556%/21.053%, url(../img/space-design/img_about-back03.png) no-repeat right max(850px, 50vw + 178px) bottom/23.158%;
  position: absolute;
  right: max(50% - 960px, 0px);
  top: 170px;
  z-index: 0;
}
.space-about__title {
  padding-top: 50px;
}
.space-about__title::before {
  top: -61px;
  right: -65px;
}
.space-about__image {
  text-align: center;
  margin-bottom: 80px;
}
.space-about__text {
  text-align: center;
}
.space-about__btn {
  margin: 60px auto 0;
}

/*事業紹介
-----------------------------*/
.space-business__title::before {
  top: 18px;
  left: -129px;
}
.space-business__item {
  margin-bottom: 50px;
}
.space-business__item-title {
  justify-content: center;
  min-height: 120px;
  padding: 15px 0 20px;
  margin-bottom: 0;
  row-gap: 17px;
}
.space-business__item-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 50px;
}
.space-business__item-inner:has(+ .space-business__item-inner) {
  padding-bottom: 15px;
}
.space-business__item-inner:nth-of-type(2n) {
  flex-direction: row-reverse;
}
.space-business__item-image {
  width: 450px;
}
.space-business__item-image img {
  aspect-ratio: 1.40625;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.space-business__item-text {
  width: 460px;
  padding: calc(20px + var(--margin-height-base)) 0;
}

/*===============================================
  実績紹介
===============================================*/
/*実績紹介　一覧
-----------------------------*/
.works-list__title::before {
  width: 227px;
  height: 108px;
  top: -4px;
  right: -192px;
}
.works-list__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: row;
  gap: 60px 90px;
}
.works-list__item-link > * {
  margin-bottom: 30px;
}
.works-list__item-link > *:last-child {
  margin-bottom: 0;
}
.works-list__item-title {
  padding-bottom: 30px;
}

/*実績紹介　詳細
-----------------------------*/
.works-detail__title {
  margin-bottom: 50px;
}
.works-detail__images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: row;
  gap: 60px 90px;
}
.works-detail__images:has(+ .works-detail__text) {
  margin-bottom: 60px;
}
.works-detail__text {
  padding: calc(50px + var(--margin-height-base)) 50px;
}

/*==================================================
 ニュース一覧
================================================== */
.news-archive__title {
  align-items: flex-start;
  margin-left: 0;
  margin-bottom: 0;
}
.news-archive__title::before {
  top: 0;
  left: -1em;
}
.news-archive .com-news__list {
  padding-top: 60px;
}
.news-archive .com-empty {
  margin-top: 60px;
}
.news-archive .tag-select {
  height: 0;
  margin-bottom: 0;
}

/*タグリスト
-----------------------------*/
.tag-select {
  margin-bottom: 50px;
}
.tag-select__box {
  min-width: 240px;
}
.tag-select__box::after {
  right: 18px;
}
.tag-select__dropdown {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  padding: 12px 48px 12px 12px;
}

/*==================================================
 ニュース詳細
================================================== */
.news-detail__title {
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: solid 2px var(--color-pink);
}
.news-detail__post {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-sm);
  margin-bottom: 20px;
}
/*==================================================
 お問い合わせ
================================================== */
.contact-form__title::before {
  top: 0.5em;
  left: -1.5em;
}
.contact-form__table {
  margin-bottom: 56px;
}
.contact-form__table tr th {
  width: 350px;
  text-align: left;
  line-height: 2.375;
}
.contact-form__table tr th .optional-mark,
.contact-form__table tr th .required-mark {
  font-size: var(--font-size-sm);
  line-height: 2;
  padding: 0 0.5em;
  margin-top: 5px;
}
.contact-form__table tr td {
  vertical-align: middle;
  line-height: 2.375;
}
.contact-form .contact-submits-wrap {
  padding-top: 32px;
}
.contact-form .contact-submits-wrap > * {
  width: 320px;
  height: 60px;
  margin: 20px 15px 0;
}

/*==================================================
 お問い合わせ完了
================================================== */
.contact-complete__title::before {
  top: 0.5em;
  left: -1.5em;
}
.contact-complete__text {
  text-align: center;
}

/*==================================================
プライバシーポリシー
================================================== */
.privacy-policy__title::before {
  top: 0.5em;
  left: -2.5em;
}
.privacy-policy__box {
  margin-bottom: 80px;
}
.privacy-policy__box-title {
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: solid 2px var(--color-pink);
}

/*==================================================
 サイトマップ
================================================== */
.sitemap-list__title::before {
  top: 0.5em;
  left: -2.5em;
}
.sitemap-list__items {
  display: grid;
  grid-template-rows: repeat(6, 1fr);
  grid-auto-flow: column;
  gap: 20px 80px;
}
.sitemap-list__item:first-of-type {
  grid-column-start: 1;
  grid-column-end: 3;
}
.sitemap-list__link {
  font-size: var(--font-size-h6);
  line-height: var(--line-height-base);
  padding: 15px 20px;
}
.sitemap-list__link .en {
  margin-right: 1em;
}
.sitemap-list__link .ja {
  font-size: var(--font-size-sm);
}

/*===============================================
  404エラー
===============================================*/