/* ※reset */
body main {
  font-size: 16px;
}
div.pankuzu {
  width: 100%;
  padding: 16px 24px 10px 24px;
}
div.pankuzu ul {
  max-width: 1280px;
  justify-content: flex-end;
}
@media screen and (max-width: 768px) {
  div.pankuzu ul {
    justify-content: flex-start;
  }
  div.pankuzu ul li:nth-of-type(n + 2) {
    padding: 0 0 0 16px;
  }
  div.pankuzu ul li:nth-of-type(n + 2):before {
    top: 9px;
  }
}

/* || -------------------- reform  */

section.fv {
  position: relative;
  width: 100%;
  padding: 0 40px 70px 40px;
}
section.fv::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 375px;
  background-color: #FBEFDF;
  z-index: -1;
}

section.fv div.inner {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto 0 auto;
}
section.fv figure {
  width: 100%;
  max-width: 1210px;
  margin-left: auto;
}
section.fv figure img {
  object-fit: cover;
  width: 100%;
  height: 470px;
}
section.fv div.catch {
  position: absolute;
  top: 40px;
  left: -10px;
}
section.fv h1 {
  font-family: "M PLUS 1p";
  width: 100%;
  min-width: 360px;
  background-color: #FFFFFF;
  border-bottom: 4px solid #F98A19;
  padding: 14px 14px;
  margin: 0 0 30px 0;
}
section.fv h1 span.eng {
  display: block;
  font-weight: 700;
  font-size: 0.875em;
  color: #F98A19;
}
section.fv h1 span.title {
  font-weight: 800;
  font-size: 2em; /* 32px */
}
section.fv p.lead {  
  font-size: 1.5em; /* 24px */
  font-weight: 700;
  line-height: 2.5;
  margin-left: 20px;
}
section.fv p.lead span {
  box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	display: inline;
	padding: 8px;
	background-color: #FFFFFF;
}
section.fv p.about {
  position: absolute;
  right: 40px;
  bottom: -40px;

  width: calc(100% - 80px);
  max-width: 700px;
  background-color: #FFFFFF;
  font-weight: 600;
  padding: 30px 30px;
}

@media screen and (max-width: 768px) {
  section.fv::before {
    left: 0;
    bottom: 0;
    width: 100%;
    height: 80%;
  }
  section.fv figure {
    margin-bottom: -40px;
  }
  section.fv figure img {
    height: 300px;
  }

  section.fv h1 {
    min-width: unset;
    padding: 10px 10px;
    margin: 0 0 10px 0;
  }
  section.fv h1 span.title {
    font-size: min(7.5vw, 1.625em);  /* 320px → 20px */
  }
  section.fv div.catch {
    position: relative;
    top: 0;
    left: -10px;
    margin-bottom: 10px;
  }
  section.fv p.lead {
    font-size: min(5.63vw, 1.5em);  /* 320px → 16px */
    margin-left: 10px;
  }
  section.fv p.about {
    position: static;
    width: 100%;
    background-color: transparent;
    padding: 0 0 0 0;
  }
}

@media screen and (max-width: 500px) {
  section.fv {
    padding: 0 24px 30px 24px;
  }
  section.fv figure img {
    height: 200px;
  }
}

/* || -------------------- case */

div.bg-grid {
  width: 100%;
  background: url('../images/bg-grid.webp') repeat;
  padding: 40px 24px 50px;
}
div.bg-grid section.case {
  position: relative;
  width: 100%;
  max-width: 1010px;
  margin: 0 auto 50px;
}
div.bg-grid section.case::before {
  content: 'CASE STUDY';
  position: absolute;
  top: 0;
  left: -540px;
  
  transform: rotate(-90deg);
  transform-origin: top right;
  font-size: 5em;
  font-weight: 700;
  color: #AAAAAA;
  opacity: 0.1;
  z-index: -1;
}

div.bg-grid ul.num-list {
  position: relative;
  width: 100%;
  z-index: 5;
}
div.bg-grid ul.num-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
}
div.bg-grid ul.num-list li:not(:last-child) {
  margin: 0 0 20px;
}
div.bg-grid ul.num-list figure {
  width: 40%;
  max-width: 400px;
  margin-right: 30px;
}
div.bg-grid ul.num-list figure img {
  object-fit: cover;
  width: 100%;
  height: 220px;
}
div.bg-grid ul.num-list div.detail {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: calc(60% - 30px);
}
div.bg-grid ul.num-list div.detail p.num {
  width: 60px;
  font-family: "M PLUS 1p";
  font-size: 1.375em; /* 22px */
  font-weight: 700;
  text-align: center;
  color: #49A0F8;
  margin-right: 16px;
}
div.bg-grid ul.num-list div.detail p.num span {
  display: block;
  font-size: 2em;
}
div.bg-grid ul.num-list div.detail h2 {
  width: calc(100% - 76px);
  font-size: 1.25em; /* 20px */
  font-weight: 700;
  border-top: 1px solid #707070;
  padding-top: 28px;
  margin: 14px 0 16px;
}
div.bg-grid ul.num-list div.detail div {
  display: flex;
  flex-wrap: wrap;

  width: calc(100% - 76px);
  margin-left: auto;
}
div.bg-grid ul.num-list div.detail p.outline {
  display: flex;
  align-items: center;
  width: calc((100% - 40px)/2);
  min-width: 210px;
  font-weight: 700;
  margin: 0 0 16px 0;
}
div.bg-grid ul.num-list div.detail p.outline:first-of-type {
  margin: 0 40px 16px 0;
}
div.bg-grid ul.num-list div.detail p.outline span {
  display: block;
  text-align: center;
  width: 90px;
  border: 1px solid #F98A19;
  color: #F98A19;
  padding: 8px 8px;
  margin-right: 10px;
}
div.bg-grid ul.num-list div.detail p.text {
  width: 100%;
  font-size: 0.875em;
}

@media screen and (max-width: 1024px) {
  div.bg-grid ul.num-list div.detail p.outline:first-of-type {
    margin: 0 20px 16px 0;
  }
}
@media screen and (max-width: 768px) {
  .reform div.bg-grid {
    padding: 30px 24px 30px;
  }
  div.bg-grid section.case {
    max-width: 600px;
    margin: 0 auto 30px;
  }
  div.bg-grid section.case::before {
    top: -38px;
    left: -6%;

    transform: rotate(0);
    font-size: min(13.13vw, 5em);
  }
  div.bg-grid ul.num-list li {
    flex-direction: column;
  }
  div.bg-grid ul.num-list figure {
    width: 100%;
    margin: 0 auto 0;
    order: 2;
  }
  div.bg-grid ul.num-list figure img {
    height: 200px;
  }
  div.bg-grid ul.num-list div.detail {
    order: 1;
  }
  div.bg-grid ul.num-list div.detail p.num {
    width: 50px;
    font-size: 1.12em;
    margin-right: 10px;
  }
  div.bg-grid ul.num-list div.detail h2 {
    width: calc(100% - 60px);
    font-size: 1.12em;
    padding-top: 18px;
    margin: 14px 0 16px;
  }
  div.bg-grid ul.num-list div.detail {
    width: 100%;
    margin: 0 auto 16px;
  }
  div.bg-grid ul.num-list div.detail div {
    width: 100%;
  }
  div.bg-grid ul.num-list div.detail p.outline {
    width: auto;
    font-weight: 700;
    margin: 0 0 10px 0;
  }
  div.bg-grid ul.num-list div.detail p.outline span {
    padding: 4px 4px;
  }
  div.bg-grid ul.num-list div.detail p.outline:first-of-type {
    margin: 0 20px 10px 0;
  }
}
@media screen and (max-width: 375px) {
  div.bg-grid ul.num-list p.outline {
    width: 100%;
  }
}

/* || -------------------- maker */

div.bg-grid div.maker {
  width: 100%;
  max-width: 890px;
  margin: 0 auto 50px;
}
div.bg-grid div.maker h2 {
  text-align: center;
  font-size: 1.25em; /* 20px */
  font-weight: 700;
  
  background-color: #FFFCF6;
  border-top: 2px solid #333333;
  border-bottom: 2px solid #333333;
  padding: 20px 20px;
  margin: 0 0 30px;
}
div.bg-grid div.maker ul {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 704px;
  margin: 0 auto 0;
}
div.bg-grid div.maker ul li {
  width: calc((100% - 64px)/4);
  margin: 0 8px 16px;
}

@media screen and (max-width: 768px) {
  div.bg-grid div.maker {
    margin: 0 auto 20px;
  }
  div.bg-grid div.maker h2 {
    text-align: left;
    font-size: 1.12em;
    padding: 10px 10px;
    margin: 0 0 10px;
  }
  div.bg-grid div.maker ul li {
    min-width: 126px;
    margin: 0 5px 10px;
  }
}

/* || -------------------- cta */

div.bg-grid div.cta {
  width: 100%;
  max-width: 1260px;
  border: 2px solid #F98A19;
  border-radius: 10px;
  background-color: #FFFFFF;
  box-shadow: 2px 2px 0px #F98A19;
  
  padding: 40px 40px;
  margin: 0 auto 0;
}
div.bg-grid div.cta div.inner {
  width: 100%;
  max-width: 860px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0 auto 0;
}
div.bg-grid div.cta div.midashi-speech {
  margin: 0 0 30px 0;
}
div.bg-grid div.cta h2 {
  font-size: 1.875em; /* 30px */
  font-weight: 800;
}
div.bg-grid div.cta h2 span {
  color: #F98A19;
}

div.bg-grid div.cta div.tel {
  width: calc(50% - 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 30px 0;
}
div.bg-grid div.cta div.tel span {
  display: block;
}
div.bg-grid div.cta div.tel svg {
  width: 14%;
  max-width: 56px;
  fill: #F98A19;
  stroke: none;
  margin-right: 10px;
}
div.bg-grid div.cta div.tel span:last-child {
  font-family: "M PLUS 1p";
  font-size: min(5.33vw, 2.5em);
  font-weight: 800;
  color: #F98A19;
}
div.bg-grid div.cta ul.info {
  width: 50%;
  border-left: 1px dashed #aaa;
  margin: 0 0 26px 40px;
  padding-left: 40px;
}
div.bg-grid div.cta ul.info li {
  display: flex;
}
div.bg-grid div.cta ul.info li span {
  width: 86px;
  flex-shrink: 0;
}
div.bg-grid div.cta a.btn-shadow {
  width: calc(50% - 10px);
  max-width: 420px;
}

@media screen and (max-width: 1024px) {
  div.bg-grid div.cta div.tel {
    width: calc(50% - 20px);
    margin: 0 0 30px 0;
  }
  div.bg-grid div.cta div.tel span:last-child {
    font-size: min(3.91vw, 2.5em);
  }
  div.bg-grid div.cta ul.info {
    width: 50%;
    margin: 0 0 26px 20px;
    padding-left: 20px;
  }
}
@media screen and (max-width: 768px) {
  div.bg-grid div.cta {
    padding: 30px 20px 20px;
  }
  div.bg-grid div.cta h2 {
    font-size: min(7.5vw, 1.625em);  /* 320px → 20px */
  }

  div.bg-grid div.cta div.tel {
    width: 100%;
    margin: 0 auto 10px;
  }
  div.bg-grid div.cta div.tel span:last-child {
    font-size: min(7.5vw, 2.5em);
  }
  div.bg-grid div.cta ul.info {
    width: 100%;
    max-width: 638px;
    border-left: unset;
    border-top: 1px dashed #aaa;
    margin: 0 auto 26px;
    padding: 10px 0 0 0;
  }
  div.bg-grid div.cta ul.info li {
    max-width: 300px;
    margin: 0 auto;
  }
}
@media screen and (max-width: 500px) {
  div.bg-grid div.cta div.tel svg {
    margin: 10px 6px 0 0;
  }
  div.bg-grid div.cta a.btn-shadow {
    width: 100%;
    margin: 0 auto;
  }
  div.bg-grid div.cta a.btn-shadow:first-of-type {
    margin: 0 auto 10px;
  }
}
@media screen and (max-width: 375px) {
  div.bg-grid div.cta h2 span {
    display: block;
  }
}


/* || -------------------- work */

section.works {
  width: 100%;
  background-color: #FFFCF6;
  padding: 50px 24px 50px 24px;
  margin: 0 0 100px 0;
}
section.works div.inner {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto 0;
}
section.works a.btn-shadow {
  max-width: 300px;
  margin: 0 auto 0 auto;
}

section.works ul.list-more {
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 0 auto 20px auto;
}
section.works ul.list-more li {
  width: calc((100% - 60px)/3);
  margin: 0 30px 30px 0;
}
section.works ul.list-more li:nth-child(3n) {
  margin-right: unset;
}
section.works ul li a {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #333333;
  background-color: #FFFFFF;

  transition: all 0.3s;
}
section.works ul li a:hover {
  background-color: #F8F8F8;
}

section.works ul li span.tag {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;

  min-width: 130px;
  text-align: center;
  color: #FFFFFF;
  background-color: #F98A19;
  border-radius: 0 0 30px 0;
  padding: 10px 0 10px 0;
}

section.works ul li span.tag.other {
  background-color: #A39075;
}

section.works ul li h3.midashi-small {
  font-size: 1.25em; /* 20px */
  padding: 0 20px 0 20px;
  margin: 0 0 10px 0;
}
section.works ul li p.textarea {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;

  overflow: hidden;
  width: 100%;
  padding: 0 20px 0 20px;
  margin: 0 0 10px 0;
}
section.works ul li p.textarea br {
  display: none;
}
section.works ul li p.constr {
  width: 100%;
  font-size: 1.125em;
  font-weight: 700;
  color: #F98A19;
  padding: 0 20px 0 20px;
  margin: 0 0 10px 0;
}
section.works ul li span.more-text {
  display: block;
  width: 100%;
  border-top: 1px dashed #AAAAAA;
  text-align: center;
  color: #AAAAAA;
  padding: 10px 20px 10px 20px;
  margin-top: auto;
}

section.works ul li div.image {
  width: 100%;
  margin: 0 0 20px 0;
}
section.works ul li figure {
  position: relative;
}
section.works ul li figure img {
  object-fit: cover;
  width: 100%;
}

section.works ul li.pic-one figure {
  width: 100%;
  height: 100%;
}
section.works ul li.pic-one figure figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #E0636399;
  color: #FFFFFF;
  padding: 4px 10px 4px 10px;
}
section.works ul li.pic-one figure img {
  height: 250px;
}

section.works button.btn-shadow {
  max-width: 170px;
  padding: 20px 20px 20px 20px;
  margin: 0 auto 0 auto;
}

section.works ul li.pic-two div.image {
  display: flex;
  align-items: end;
  justify-content: space-between;
}
section.works ul li.pic-two figure.Before {
  width: 100%;
  max-width: 140px;
  margin: 0 10px 0 0;
}
section.works ul li.pic-two figure.Before img {
  height: 140px;
}
section.works ul li.pic-two figure.After {
  width: 100%;
  max-width: 250px;
}
section.works ul li.pic-two figure.After img {
  height: 250px;
}
section.works ul li.pic-two figure.Before figcaption,
section.works ul li.pic-two figure.After figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  color: #FFFFFF;
  padding: 4px 10px 4px 10px;
}
section.works ul li.pic-two figure.Before figcaption {
  background-color: #33333399;
}
section.works ul li.pic-two figure.After figcaption {
  background-color: #E0636399;
}

@media screen and (max-width: 1280px) {
  section.works ul li.pic-two figure.Before {
    width: calc(37% - 10px);
    max-width: unset;
  }
  section.works ul li.pic-two figure.After {
    width: 63%;
    max-width: unset;
  }
}
@media screen and (max-width: 1040px) {
  section.works ul.list-more li {
    width: calc((100% - 30px)/2);
  }
  section.works ul.list-more li:nth-child(3n) {
    margin-right: 30px;
  }
  section.works ul.list-more li:nth-child(2n) {
    margin-right: unset;
  }
}
@media screen and (max-width: 768px) {
  section.works {
    padding: 30px 24px;
    margin: 0 0 50px 0;
  }
  section.works ul.list-more {
    margin: 0 auto 0;
  }
  section.works ul li.pic-one figure img {
    height: 200px;
  }
  section.works ul li.pic-two figure.Before img {
    height: 100px;
  }
  section.works ul li.pic-two figure.After img {
    height: 200px;
  }
}

@media screen and (max-width: 600px) {
  section.works div.inner {
    max-width: 500px;
  }
  section.works ul.list-more li {
    width: 100%;
    margin: 0 auto 30px auto;
  }
  section.works ul.list-more li:nth-child(3n) {
    margin-right: unset;
  }
  section.works ul li.pic-one figure img {
    height: 250px;
  }
  section.works ul li.pic-two figure.Before img {
    height: 140px;
  }
  section.works ul li.pic-two figure.After img {
    height: 250px;
  }
}

@media screen and (max-width: 425px) {
  section.works ul li.pic-one figure img {
    height: 200px;
  }
  section.works ul li.pic-two figure.Before img {
    height: 110px;
  }
  section.works ul li.pic-two figure.After img {
    height: 200px;
  }
}


/* || -------------------- bathroom */
.bathroom div.bg-grid ul.num-list div.other {
  width: 100%;
  background-color: #FFFCF6;
  padding: 30px 30px;
  margin-top: 20px;
  order: 3;
}
.bathroom div.bg-grid ul.num-list div.other h2 {
  font-size: 1.125em;
  font-weight: 700;
  margin: 0 0 10px 0;
}
.bathroom div.bg-grid ul.num-list div.other span {
  background: linear-gradient(0, #FFD4A8 30%, transparent 30%, transparent 100%);
}
.bathroom div.bg-grid ul.num-list div.other p {
  font-size: 0.875em;
}

@media screen and (max-width: 768px) {
  .bathroom div.bg-grid ul.num-list div.other {
    padding: 20px 20px;
  }
}

/* || -------------------- roofwall */
.roofwall section.insp {
  position: relative;
  width: 100%;
  max-width: 1130px;
  margin: 0 auto 50px;
  z-index: 5;
}
.roofwall section.insp > h2 {
  width: fit-content;
  font-size: 1.5em; /* 24px */
  font-weight: 700;
  margin: 0 auto 10px;
}
.roofwall section.insp > h2 span {
  background: linear-gradient(0, #FFF3A7 30%, transparent 30%, transparent 100%);
}
.roofwall section.insp > p {
  position: relative;
  width: fit-content;
  font-size: 0.875em;
  margin: 0 auto 40px;
}
.roofwall section.insp > p::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -20px;
  width: 18px;
  height: 18px;
  border: 10px solid #AAAAAA;
  border-color: transparent #AAAAAA #AAAAAA transparent;
  transform: translate(-50%) rotate(45deg);
}
.roofwall section.insp ul {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
}
.roofwall section.insp ul li {
  display: flex;
  flex-direction: column;
  
  width: calc((100% - 50px)/6);
  background-color: #F5F5F5;
  border-radius: 6px;
  padding: 16px 5px;
}
.roofwall section.insp ul li:not(:nth-child(6n)) {
  margin-right: 10px;
}
.roofwall section.insp ul li p {
  flex-grow: 1;
  align-content: center;
  text-align: center;
  font-weight: 700;
  margin: 0 0 20px;
}
.roofwall section.insp ul li figure {
  width: calc(100% - 20px);
  margin: 0 auto;
}
.roofwall section.insp ul li img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  aspect-ratio: 15 / 11;
  background-color: #ddd;
}

@media screen and (max-width: 1024px) {
  .roofwall section.insp {
    max-width: 900px;
  }
  .roofwall section.insp ul li {
    width: calc((100% - 30px)/4);
    margin: 0 0 10px;
  }
  .roofwall section.insp ul li:not(:nth-child(6n)) {
    margin-right: unset;
  }
  .roofwall section.insp ul li:not(:nth-child(4n)) {
    margin-right: 10px;
  }
}
@media screen and (max-width: 768px) {
  .roofwall section.insp {
    max-width: 600px;
    margin: 0 auto 40px;
  }
  .roofwall section.insp > h2 {
    font-size: 1.25em; /* 20px */
  }
  .roofwall section.insp ul li {
    width: calc((100% - 20px)/3);
    margin: 0 0 10px;
    padding: 10px 5px;
  }
  .roofwall section.insp ul li:not(:nth-child(4n)) {
    margin-right: unset;
  }
  .roofwall section.insp ul li:not(:nth-child(3n)) {
    margin-right: 10px;
  }
  .roofwall section.insp ul li p {
    font-size: min(4.38vw, 1em);  /* 320px → 14px*/
    margin: 0 0 10px;
  }
}
@media screen and (max-width: 500px) {
  .roofwall section.insp {
    max-width: 420px;
  }
  .roofwall section.insp ul li {
    width: calc((100% - 10px)/2);
    margin: 0 0 10px;
  }
  .roofwall section.insp ul li:not(:nth-child(3n)) {
    margin-right: unset;
  }
  .roofwall section.insp ul li:not(:nth-child(2n)) {
    margin-right: 10px;
  }
}

/* || -------------------- window */
.window section.point {
  position: relative;
  width: 100%;
  max-width: 1130px;
  margin: 0 auto 50px;
  z-index: 5;
}
.window section.point > h2 {
  width: fit-content;
  font-size: 1.5em;
  font-weight: 700;
  margin: 0 auto 10px;
}
.window section.point > h2 span {
  background: linear-gradient(0, #FFF3A7 30%, transparent 30%, transparent 100%);
}
.window section.point > p {
  position: relative;
  width: fit-content;
  font-size: 0.875em;
  margin: 0 auto 20px;
}
.window section.point ul {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
}
.window section.point ul li {
  display: flex;
  align-items: center;
  width: calc((100% - 50px)/6);
  
  background-color: #F5F5F5;
  border-radius: 6px;
  padding: 10px 10px;
}
.window section.point ul li:not(:nth-child(6n)) {
  margin-right: 10px;
}
.window section.point ul li::before {
  content: '';
  display: block;
  width: 30px;
  height: 30px;
  background: url('../images/icon-check.svg') no-repeat;
  background-size: contain;
  margin-right: 4px;
}
.window section.point ul li span {
  display: block;
  flex-grow: 1;
  text-align: center;
  font-size: 0.875em;
}

@media screen and (max-width: 1024px) {
  .window section.point {
    max-width: 900px;
  }
  .window section.point ul li {
    width: calc((100% - 30px)/4);
    margin: 0 0 10px;
  }
  .window section.point ul li:not(:nth-child(6n)) {
    margin-right: unset;
  }
  .window section.point ul li:not(:nth-child(4n)) {
    margin-right: 10px;
  }
}
@media screen and (max-width: 768px) {
  .window section.point {
    max-width: 600px;
    margin: 0 auto 40px;
  }
  .window section.point > h2 {
    font-size: 1.25em; /* 20px */
  }
  .window section.point ul li {
    width: calc((100% - 20px)/3);
    margin: 0 0 10px;
    padding: 10px 5px;
  }
  .window section.point ul li:not(:nth-child(4n)) {
    margin-right: unset;
  }
  .window section.point ul li:not(:nth-child(3n)) {
    margin-right: 10px;
  }
  .window section.point ul li::before {
    width: 20px;
    height: 20px;
  }
  .window section.point ul li span {
    font-size: min(4.38vw, 0.875em);  /* 320px → 14px*/
  }
}
@media screen and (max-width: 500px) {
  .window section.point {
    max-width: 420px;
  }
  .window section.point ul li {
    width: calc((100% - 10px)/2);
    margin: 0 0 10px;
  }
  .window section.point ul li:not(:nth-child(3n)) {
    margin-right: unset;
  }
  .window section.point ul li:not(:nth-child(2n)) {
    margin-right: 10px;
  }
}

/* || -------------------- other */
.other section.case ul.category {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  
  width: 100%;
  max-width: 980px;
  margin: 0 auto 0;
  z-index: 5;
}
.other section.case ul.category li {
  width: calc((100% - 80px)/3);
  margin-bottom: 40px;
}
.other section.case ul.category li:not(:nth-child(3n)) {
  margin-right: 40px;
}
.other section.case ul.category li figure {
  width: 100%;
  margin: 0 0 10px;
}
.other section.case ul.category li figure img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  aspect-ratio: 5 / 3;
  background-color: #ddd;
}
.other section.case ul.category li h2 {
  text-align: center;
  font-size: 1.25em; /* 20px */
  font-weight: 700;
  padding: 0 10px;
  margin: 0 0 10px;
}
.other section.case ul.category li p {
  font-size: 0.875em;
  padding: 0 10px;
}
@media screen and (max-width: 768px) {
  .other section.case ul.category li {
    width: calc((100% - 30px)/2);
    margin-bottom: 30px;
  }
  .other section.case ul.category li:not(:nth-child(3n)) {
    margin-right: unset;
  }
  .other section.case ul.category li:not(:nth-child(2n)) {
    margin-right: 30px;
  }

  .other section.case ul.category li h2 {
    font-size: 1.125em;
  }
}
@media screen and (max-width: 500px) {
  .other section.case ul.category li {
    width: calc((100% - 10px)/2);
    margin-bottom: 20px;
  }
  .other section.case ul.category li:not(:nth-child(2n)) {
    margin-right: 10px;
  }
  .other section.case ul.category li h2 {
    font-size: clamp(0.875em, 4.27vw, 1.12em); /* 375px → 16px */
    padding: 0 6px;
    margin: 0 0 4px;
  }
  .other section.case ul.category li p {
    padding: 0 6px;
  }
}