@charset "UTF-8";
/* CSS Document */

.webfont {
  transform: rotate(0.001deg);
}
.over {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.aspect {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.imgLarge img {
  aspect-ratio: 6 / 4;
  object-fit: cover;
}
.Head {
  border-bottom: #333333 1px solid;
  padding: 60px 0;
  padding-top: 120px;
}
.Head h1 {
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 1.1em;
  text-align: center;
}
.fAddress h2,
.title1,
.ul4 > li h4 {
  font-size: clamp(1.6rem, 2vw, 2rem);
  line-height: 1.8em;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 30px;
}
.subHead {
  margin-bottom: 32px;
}
.subHead > *:not(:last-child) {
  margin-bottom: 8px;
}
.subHead h2 {
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1em;
}
h3 {
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
  line-height: 1.5em;
  font-weight: 500;
}
.lead {
  letter-spacing: 0.05em;
  text-align: center;
}
.leadText {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.5em;
  font-weight: 400;
  margin-bottom: 30px;
}
.num {
  font-family: "Inter", system-ui;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}
.textR {
  text-align: right;
}
.width1 {
  max-width: 924px;
}

/* flex */
.flex,
.column2,
.column3,
.column4 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.column2 {
  grid-gap: 24px 80px;
}
.column3 {
  grid-gap: 24px 32px;
}
.column4 {
  grid-gap: 12px 40px;
}
.column2 > *,
.column3 > *,
.column4 > * {
  width: 100%;
}

/* COLOR */
.col1 {
  color: #333333;
}

/* BG */
.bg1 {
  background: #333333;
}
.bg1 * {
  color: #ffffff !important;
}
.bg2 {
  background: #e8f1fa;
}
.bg3 {
  background: #f0f0f0;
}
.bg4 {
  border: #c8c8c8 1px solid;
}
.bgW {
  background: #ffffff;
}

/* TRIANGLE */
.triangle {
  background: #000000;
  width: 60px;
  height: calc(tan(60deg) * 60px / 2);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.tUp {
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.tRight {
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.tDown {
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.tLeft {
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

/* BTN */
.btn {
  width: 100%;
  max-width: 270px;
  margin-left: auto;
  margin-right: auto;
}
.btn > * {
  background: #333333;
  color: #ffffff;
  width: 100%;
  height: 56px;
  padding: 0 16px;
  line-height: 56px;
  font-weight: 700;
  text-align: center;
  border-radius: 40px;
  display: block;
}
.bg1 .btn > * {
  background: #ffffff;
  color: #333333 !important;
}
.contactWrap {
  background: url("../images/common/contact_bg.jpg") center center no-repeat;
  background-size: cover;
  color: #ffffff;
  height: 60vw;
  padding: 24px 5.33%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.contactWrap .inner > *:not(:last-child) {
  margin-bottom: 32px;
}
.contactWrap .textWrap h2 {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.5em;
  font-weight: 500;
}
.contactWrap .textWrap .en {
  font-family: "Inter", system-ui;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: clamp(1.6rem, 2vw, 2rem);
  line-height: 1.5em;
}
.contactWrap .lead {
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  line-height: 1.8em;
}
.contactWrap .btn > * {
  background: #ffffff;
  color: #141414;
}
.home .contactWrap .inner > *:not(:last-child) {
  margin-bottom: 24px;
}

/* UL */
main ul:not([class]) > li,
main ul.space > li {
  padding-left: 1.2em;
  text-align: justify;
}
main ul:not([class]) > li::before,
main ul.space > li::before {
  content: "・";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
}
main ul.space > li:not(:last-child) {
  margin-bottom: 16px;
}
.ul1 > li:not(:last-child) {
  padding-bottom: 40px;
  margin-bottom: 40px;
}
.ul1 > li:not(:last-child)::after {
  content: "";
  border-bottom: #ffffff 1px solid;
  width: 100%;
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
}
.ul1 > li > *:not(:last-child) {
  margin-bottom: 24px;
}
.ul1 h3 {
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  font-weight: 700;
}
.ul1 p {
  text-align: justify;
}
.ul2 > li {
  background: #ffffff;
  padding: 32px 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  grid-gap: 24px;
}
.ul2 > li:not(:last-child) {
  margin-bottom: 24px;
}
.ul2 > li .note > *:not(:last-child) {
  margin-bottom: 16px;
}
.ul2 > li .mapWrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  grid-gap: 32px 24px;
}
.ul2 > li .mapWrap .embed {
  padding-top: 76.25%;
}
.ul2 > li .imgWrap {
  border-top: #c8c8c8 1px solid;
  padding-top: 32px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  grid-gap: 16px 24px;
}
.ul2 > li .imgWrap figure img {
  margin-bottom: 8px;
}
.ul2 > li .imgWrap figcaption {
  font-weight: 700;
}
.ul3 > li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  grid-gap: 24px 60px;
}
.ul3 > li:not(:last-child) {
  margin-bottom: 32px;
}
.ul3 > li .note > *:not(:last-child) {
  margin-bottom: 24px;
}
.ul4 > li {
  background: #e8f1fa;
  padding: 24px 16px;
}
.ul4 > li:not(:last-child) {
  margin-bottom: 16px;
}
.ul5 > li {
  border-bottom: #ffffff 1px solid;
  padding-bottom: 12px;
  display: flex;
  justify-content: space-between;
  grid-gap: 16px;
}
.ul5 > li:not(:last-child) {
  margin-bottom: 12px;
}
.ul6 {
}
.ul6 > li {
  border: #c8c8c8 1px solid;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.ul6 > li h4 {
  font-size: clamp(1.7rem, 2vw, 2rem);
  line-height: 1.5em;
}
.ul6 > li .en {
  color: #969696;
  font-family: "Inter", system-ui;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.5em;
}
.ul7 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  grid-gap: 24px 40px;
}
.ul7 > li {
  border: #ffffff 1px solid;
  width: 100%;
  padding: 32px 24px;
}
.ul7 > li > *:not(:last-child):not(.num) {
  margin-bottom: 16px;
}
.ol1 {
  counter-reset: item;
}
.ol1 > li:not(:last-child) {
  margin-bottom: 40px;
}
.ol1 > li > *:not(:last-child) {
  margin-bottom: 24px;
}
.ol1 > li > h3 {
  padding-left: 1.8em;
}
.ol1 > li > h3::before {
  font-family: "Inter", system-ui;
  counter-increment: item;
  content: counter(item, decimal-leading-zero);
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: clamp(1.9rem, 3.4vw, 3.4rem);
  line-height: 1.5em;
  position: absolute;
  left: 0px;
  top: 0px;
}
.ol1 .ul3 > li {
  border: #c8c8c8 1px solid;
  padding: 32px 16px;
  grid-gap: 24px 48px;
}
.ol1 .ul3 > li .note h3 {
  font-size: clamp(1.7rem, 2.4vw, 2.4rem);
}
.ol1 .ul3 > li .note > *:not(:last-child) {
  margin-bottom: 16px;
}
.annotation {
}
.annotation > * {
  padding-left: 1.5em;
}
.annotation > *::before {
  content: "※";
  display: block;
  position: absolute;
  left: 0px;
  top: 0px;
}

/* DL */
dl:not([class]) {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 0.5em 2em;
}
.dl1 {
  border-bottom: #33333330 1px solid;
}
.dl1 > * {
  border-top: #33333330 1px solid;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  grid-gap: 16px;
}
.History .dl1 > * {
  align-items: center;
}
.dl1 > :first-child {
  border-top: none;
  padding-top: 0;
}
.dl1 dt {
  width: 26%;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.History .dl1 dt {
  width: 26%;
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  line-height: 1.9em;
}
.dl1 dd {
  flex: 1;
  letter-spacing: 0.05em;
}
.dl1 dd > *:not(:last-child) {
  margin-bottom: 16px;
}

/* iframe */
.embed {
  width: 100%;
  padding-top: 56.25%;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.embed iframe,
.embed object,
.embed embed {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* Top */
.Main .over {
  text-align: right;
}
.Main .over img {
  width: 80vw;
}
.Main h1 {
  position: absolute;
  left: 0;
  top: 6vw;
}
.Main h1 span {
  background: #000000;
  color: #ffffff;
  margin-bottom: 8px;
  padding: 8px 16px;
  font-size: clamp(2rem, 4.8vw, 4.8rem);
  line-height: 1.1em;
  font-weight: 600;
  display: block;
}
.home .Company .contWrap .note .en,
.home .Service .contWrap .note .en {
  font-family: "Inter", system-ui;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: clamp(6rem, 10vw, 10rem);
  line-height: 1.1em;
  position: absolute;
}
.home .Company .contWrap .note > *:not(:last-child):not(h2),
.home .Service .contWrap .note > *:not(:last-child):not(h2) {
  margin-bottom: 32px;
}
.home .Company .contWrap .note > h2,
.home .Service .contWrap .note > h2 {
  margin-bottom: 24px;
}
.home .Company .itemWrap {
  text-align: center;
}
.home .Company .itemWrap {
  margin-bottom: 64px;
}
.home .Company .itemWrap > *:not(:last-child) {
  margin-bottom: 32px;
}
.home .Company .itemWrap h3 span {
  border-bottom: #333333 3px solid;
  padding-bottom: 8px;
  display: inline-block;
}
.home .Company .itemWrap .ul6 {
  display: flex;
  flex-wrap: wrap;
}
.home .Company .contWrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  grid-gap: 32px 100px;
}
.home .Company .contWrap .note .en {
  color: #f0f0f0;
}
.home .Company .contWrap .note p {
  text-align: justify;
}
.home .Service {
  background-image: url("../images/top/bg2.png");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 100vw auto;
}
.home .Service .contWrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  grid-gap: 56px 0;
}
.home .Service .contWrap .note .en {
  color: rgba(0, 0, 0, 0.1) !important;
  mix-blend-mode: multiply;
}
.home .Service .contWrap .note .title1::before {
  color: #ffffff;
}

/* Page */
.Page .cont > *:not(:last-child) {
  margin-bottom: 48px;
}
.Page .contWrap {
  display: flex;
  justify-content: space-between;
  grid-gap: 32px 72px;
}
.Page .contWrap .note > *:not(:last-child) {
  margin-bottom: 32px;
}
.Page .contWrap .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

main section:not(.Head):not(.full).Service.Page {
  padding-bottom: 0;
}
.serviceWrap .inner .bgW {
  padding: 0 16px;
}
.serviceWrap .inner .bgW > section:not(:last-child):not(.Link)::after {
  content: "";
  background: #333333;
  width: 100vw;
  height: 1px;
  display: block;
  position: absolute;
  left: calc(50% - 50vw);
  bottom: 0;
}
.serviceWrap .pNav {
  padding-top: 32px;
  font-weight: 700;
  display: flex;
  grid-gap: 2em;
}
.serviceWrap .pNav a {
  display: flex;
  align-items: center;
  grid-gap: 10px;
}
.serviceWrap .pNav a i {
  background: #333333;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: block;
}
.serviceWrap .pNav a i::after {
  content: "";
  border-top: #ffffff 2px solid;
  border-right: #ffffff 2px solid;
  width: 0.4em;
  height: 0.4em;
  margin-left: 10px;
  display: block;
  position: absolute;
  left: calc(50% - 0.9em);
  top: calc(50% - 0.4em);
  transform: rotate(135deg);
}
.License h3 {
  text-align: center;
}

/* Company */
.Overview .partnerWrap {
  padding: 32px 16px;
}
.Overview .partnerWrap > *:not(:last-child) {
  margin-bottom: 8px;
}
.Overview .partnerWrap .column3 {
  grid-gap: 8px 32px;
}
.History {
  padding-top: 56px !important;
  padding-bottom: 0 !important;
}

/* Contact */
.Contact.Page .telWrap,
.Contact.Page .formWrap {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 32px 16px;
}
.Contact.Page .telWrap h3,
.Contact.Page .formWrap h3 {
  margin-bottom: 20px;
}
.telWrap {
  text-align: center;
}
.telWrap > *:not(:last-child) {
  margin-bottom: 10px;
}
.telWrap .num * {
  color: #333333;
}
.telWrap .num > *:not(:last-child) {
  margin-right: 10px;
}
.telWrap .num span {
  font-size: clamp(2.4rem, 3.8vw, 3.8rem);
  line-height: 1.2em;
}
.telWrap .num a {
  font-size: clamp(3.2rem, 5.6vw, 5.6rem);
  line-height: 1.2em;
}
.telWrap .hour {
  font-size: clamp(1.6rem, 2vw, 2rem);
  line-height: 1.2em;
}
.formWrap {
  text-align: center;
}

/*SP
-------------------------------------------------------*/
@media screen and (max-width: 767px) {
  /* flex */
  .flex:not(.flexFix) {
    flex-direction: column;
  }

  /* iframe */

  /* BTN*/

  /* UL */

  /* DL */

  /* Top */
  .home .Company,
  .home .Service {
    overflow: hidden;
  }
  .home .Company .itemWrap .sub > *:not(:first-child) {
    margin-bottom: -1vw;
  }
  .home .Company .itemWrap .sub .ul6 > *:not(:last-child) {
    margin-bottom: -1vw;
  }
  .home .Company .itemWrap .ul6 > li {
    width: 23%;
  }
  .home .Company .itemWrap .ul6 > li:not(:first-child) {
    margin-left: -2%;
  }
  .home .Company .itemWrap .ul6 > li:not(:first-child):nth-child(5) {
    margin-left: 10.5%;
  }
  .home .Company .contWrap .note .en,
  .home .Service .contWrap .note .en {
    left: -3rem;
    top: -36px;
  }
  .home .Service .contWrap .note h3 {
    margin-bottom: 0 !important;
  }

  /* Page */
  .Page .contWrap {
    flex-wrap: wrap;
  }
  .Page .contWrap .img {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: -56px;
  }

  /* Company */

  .Requirements.Page .column2 {
    grid-gap: 0;
  }
  .Requirements.Page .column2 > *:not(:last-child).dl1 {
    border-bottom: none;
  }

  /* Contact */
  .formWrap iframe {
    height: 1030px !important;
  }
}

/*PC
-------------------------------------------------------*/
@media print, screen and (min-width: 768px) {
  .imgLarge img {
    aspect-ratio: 4 / 1;
  }
  .Head {
    padding: 142px 0;
    padding-top: 264px;
  }
  .Head h1 {
  }
  .subHead {
    margin-bottom: 62px;
  }

  /* flex */
  .flex.sb {
    justify-content: space-between;
  }
  .flex.center {
    justify-content: center;
  }
  .flex.vcenter {
    align-items: center;
  }
  .column2 > * {
    width: calc((100% - 80px) / 2);
    height: auto;
  }
  .column3 > * {
    width: calc((100% - (32px * 2)) / 3);
    height: auto;
  }
  .column4 > * {
    width: calc((100% - (40px * 3)) / 4);
    height: auto;
  }

  /* BG */

  /* BTN */
  .btn {
  }
  .btn > * {
    width: 100%;
    height: 64px;
    padding: 0 16px;
    line-height: 64px;
  }
  .btn.pc {
    display: block;
  }
  .btn > *:hover {
    background: #333333;
    color: #ffffff;
  }
  .bg1 .btn > *:hover {
    background: #333333;
    color: #ffffff !important;
  }
  .contactWrap {
    height: 380px;
    padding: 40px;
  }
  .contactWrap .inner > *:not(:last-child) {
    margin-bottom: 48px;
  }
  .home .contactWrap {
    padding: 64px 40px;
  }
  .home .contactWrap .inner > *:not(:last-child) {
    margin-bottom: 32px;
  }
  .home .contactWrap .btn > *:hover {
    color: #ffffff;
  }

  /* UL */
  .ul1 > li:not(:last-child) {
    padding-bottom: 80px;
    margin-bottom: 80px;
  }
  .ul2 > li {
    padding: 40px 48px;
    grid-gap: 48px 24px;
  }
  .ul2 > li:not(:last-child) {
    margin-bottom: 48px;
  }
  .ul2 > li .note {
    width: 27%;
    max-width: 288px;
  }
  .ul2 > li .img,
  .ul2 > li .mapWrap {
    flex: 1;
  }
  .ul2 > li .mapWrap > * {
    width: calc((100% - 24px) / 2);
  }
  .ul2 > li .mapWrap .embed {
    padding-top: 32.25%;
  }
  .ul2 > li .imgWrap {
    padding-top: 48px;
  }
  .ul2 > li .imgWrap > * {
    width: calc((100% - 48px) / 3);
  }
  .ul3 > li:not(:last-child) {
    margin-bottom: 56px;
  }
  .ul3 > li .note {
    flex: 1;
  }
  .ul3 > li .note > *:not(:last-child) {
    margin-bottom: 32px;
  }
  .ul3 > li .img {
    width: 40%;
    max-width: 400px;
  }
  .ul4 > li {
    padding: 32px 40px;
  }
  .ul4 > li:not(:last-child) {
    margin-bottom: 24px;
  }
  .ul7 > li {
    width: calc((100% - 40px) / 2);
    padding: 32px 40px;
  }
  .ol1 > li:not(:last-child) {
    margin-bottom: 100px;
  }
  .ol1 > li > *:not(:last-child) {
    margin-bottom: 32px;
  }
  .ol1 .ul3 > li {
    padding: 48px;
  }
  .ol1 .ul3 > li .note > *:not(:last-child) {
    margin-bottom: 24px;
  }

  /* DL */
  .dl1 > * {
    padding: 40px 0;
  }
  dl:not([class]),
  .dl1 {
    grid-gap: 1.5em 2em;
  }
  .dl1 dt {
    width: 32%;
    max-width: 200px;
  }

  /* Top */
  main.home section:not(.Head):not(.full) {
  }
  .Main .over::before {
    width: 40vw;
    height: 40vw;
    left: -3vw;
    bottom: -15vw;
  }
  .Main .over img {
    width: 75vw;
  }
  .Main h1 {
    left: 0;
    top: 8vw;
  }
  .home .Company .contWrap .note .en,
  .home .Service .contWrap .note .en {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    position: absolute;
    left: -11rem;
    top: 0;
  }
  .home .Company .contWrap .note,
  .home .Service .contWrap .note {
    flex: 1;
  }
  .home .Company .contWrap .note > *:not(:last-child):not(h2),
  .home .Service .contWrap .note > *:not(:last-child):not(h2) {
    margin-bottom: 48px;
  }
  .home .Company .contWrap .note .btn,
  .home .Service .contWrap .note .btn {
    margin-left: 0;
  }
  .home .Company .itemWrap {
    margin-bottom: 104px;
  }
  .home .Company .itemWrap > *:not(:last-child) {
    margin-bottom: 40px;
  }
  .home .Company .itemWrap .sub {
    padding: 0 26px;
  }
  .home .Company .itemWrap .sub > *:not(:first-child) {
    margin-top: -10px;
  }
  .home .Company .itemWrap .sub > *:nth-child(2n + 2) {
    justify-content: flex-end;
  }
  .home .Company .itemWrap .ul6 > li {
    width: 12.65%;
  }
  .home .Company .itemWrap .ul6 > li:not(:first-child) {
    margin-left: -1%;
  }
  .home .Company .contWrap .img {
    width: 54%;
    max-width: 648px;
  }
  .home .Company .contWrap .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .home .Service .contWrap > * {
    width: 50%;
  }
  .home .Service::before {
    content: "";
    border-left: #ffffff 1px solid;
    height: 100%;
    display: block;
    position: absolute;
    left: 50%;
    top: 0;
  }
  .home .Service .contWrap {
    align-items: flex-start;
  }
  .home .Service .contWrap > .note {
    padding-right: 80px;
    position: sticky;
    left: 0;
    top: 40px;
  }
  .home .Service .contWrap > .sub .ul1 > li {
    padding-left: 80px;
  }
  .home .Service .contWrap > .sub .ul1 > li:not(:last-child)::after {
    width: 50vw;
  }

  /* Page */
  .Page .cont > *:not(:last-child) {
    margin-bottom: 64px;
  }
  .Page .contWrap {
  }
  .Page .contWrap > * {
    width: calc((100% - 72px) / 2);
  }
  .Page .contWrap .note > *:not(:last-child) {
    margin-bottom: 40px;
  }
  .Page .contWrap .img {
    width: 50vw;
    margin-right: calc(50% - 50vw);
    margin-top: -136px;
    margin-bottom: -136px;
  }
  .gridWrap {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto 1fr;
    grid-gap: 48px 64px;
  }

  .serviceWrap .inner .bgW {
    padding: 0 100px;
  }
  .serviceWrap .pNav {
    padding-top: 56px;
    grid-gap: 4em;
  }

  /* Company */
  .Overview .partnerWrap {
    padding: 40px;
  }
  .History {
    padding-top: 181px !important;
  }
  .History .inner {
    display: flex;
    justify-content: space-between;
    grid-gap: 40px;
  }
  .History .inner .subHead {
    width: 28%;
  }
  .History .inner .dl1 {
    flex: 1;
  }

  .Requirements.Page .column2 {
    align-items: flex-start;
  }

  /* Contact */
  .Contact.Page .telWrap,
  .Contact.Page .formWrap {
    padding: 56px 48px;
  }
}

/* Top */
/* =============================================
   ヒーローセクション全体
   ============================================= */
.heroSection {
  background-color: #000;
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* --- 背景画像：暗闇からじわっと浮かび上がり、空間が広がる --- */
.heroBg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 動画を隙間なく表示するための設定 */
  object-fit: cover;
  z-index: 0;

  /* 初期状態 */
  filter: brightness(0);
  transform: scale(1.08);

  animation: heroRevealZoom 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s
    forwards;
  /* 最後に 0.5s（待機時間）を追加 */
}

@keyframes heroRevealZoom {
  0% {
    filter: brightness(0);
    transform: scale(1.08);
  }
  40% {
    filter: brightness(0.3);
  }
  100% {
    filter: brightness(1);
    transform: scale(1);
  }
}

/* --- オーバーレイ：文字の可読性を確保 --- */
.heroOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* =============================================
   コンテンツ（見出し・テキスト）
   ============================================= */
.heroContent {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  padding: 0 20px;
  width: 100%;
  max-width: 1200px;
}

/* --- 見出し共通：その場でピントが合う（速度微調整版） --- */
.heroMainTitle,
.heroSubTitle {
  opacity: 0;
  filter: blur(12px);
  animation: quietReveal 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.heroMainTitle {
  animation-delay: 0.6s;
  font-size: clamp(4rem, 6.4vw, 6.4rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  line-height: 1.4;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.heroSubTitle {
  animation-delay: 1.1s;
  font-size: clamp(1.6rem, 2.3vw, 2.3rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.9em;
}

@keyframes quietReveal {
  0% {
    opacity: 0;
    filter: blur(12px);
  }
  30% {
    opacity: 0.5;
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}

/* =============================================
   レスポンシブ対応
   ============================================= */
@media (max-width: 768px) {
  .heroSubTitle {
    word-break: keep-all;
  }
}

/* OUR　STRENGTHS */
.strengthsSection {
  width: 100%;
  padding-bottom: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.strengthsContainer {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.strengthsHeader {
  text-align: center;
  margin-bottom: 47px;
}

.englishTitle {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 1em;
  margin-bottom: 60px;
}

.japaneseDescription {
  font-size: clamp(1.6rem, 2vw, 2rem);
  line-height: 1.8em;
  font-weight: 400;
  letter-spacing: 0.05em;
}

/* --- グリッドレイアウト（円の並び） --- */
.strengthsGrid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* --- 各アイテム（円）の囲み --- */
.strengthItem {
  flex: 0 0 327px; /* 幅を固定 */
  position: relative;
}

/* 2番目と3番目の要素を左に19px移動させて重ねる */
.strengthItem + .strengthItem {
  margin-left: -19px;
}

/* 重なり順：右側を上にしたい場合（01 < 02 < 03） */
.strengthItem:nth-child(1) {
  /* z-index: 1; */
}
.strengthItem:nth-child(2) {
  /* z-index: 2; */
}
.strengthItem:nth-child(3) {
  /* z-index: 3; */
}

/* --- 円形カード --- */
.strengthCard {
  width: 327px;
  height: 327px;
  background-image: url("../images/common/background_image.webp");
  background-color: #e8e8e8;
  background-blend-mode: multiply;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  mix-blend-mode: multiply;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px;
  box-sizing: border-box;
}

/* インデックス番号 (01, 02, 03) */
.cardIndex {
  display: block;
  font-family: "Manrope", sans-serif;
  font-weight: 300;
  font-size: clamp(4rem, 5.6vw, 5.6rem);
  line-height: 1.2em;
  margin-bottom: 10px;
}

/* タイトル (安全品質、など) */
.cardTitle {
  font-size: clamp(2rem, 2.4vw, 2.4rem);
  font-weight: 400;
  margin-bottom: 26px;
  letter-spacing: 0.05em;
  /* 文字数に合わせて線を引く設定 */
  display: inline-block;
  border-bottom: 1px solid #333333;
  padding-bottom: 5px;
  line-height: 1.2;
}

/* 詳細テキスト */
.cardDetail {
  /* <br>タグ以外での改行を禁止 */
  letter-spacing: 0.05em;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .strengthsHeader {
    margin-bottom: 40px;
  }

  .englishTitle {
    margin-bottom: 30px;
  }

  .strengthsGrid {
    flex-direction: column;
    gap: 0; /* マージンで制御するためgapは0 */
  }

  .strengthItem {
    flex: 0 0 auto;
    width: 327px;
  }

  /* 縦並びの時の重なり（上方向に30px重ねる） */
  .strengthItem + .strengthItem {
    margin-left: 0;
    margin-top: -30px;
  }

  .cardDetail {
    /* スマホで円からはみ出さないよう改行ルールを緩和 */
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  /* 共通の形は維持 */
  .strengthCard {
    width: 327px;
    height: 327px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px;
    box-sizing: border-box;
    /* 共通の背景設定 */
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
  }

  /* 個別指定でSafariに「別々の要素」として強く意識させる */
  .strengthItem:nth-child(1) .strengthCard {
    background-image: url("../images/common/background_image.webp");
    background-color: #e8e8e8;
  }

  .strengthItem:nth-child(2) .strengthCard {
    background-image: url("../images/common/background_image.webp");
    background-color: #e8e8e8;
    /* 2つ目に少しだけ違う不可視のプロパティを入れて描画の連続性を切る */
    /* -webkit-transform: translateZ(0); */
  }

  /* 3つ目だけ、わざと微細な回転を入れる */
  .strengthItem:nth-child(3) .strengthCard {
    background-image: url("../images/common/background_image.webp");
    background-color: #e8e8e8;

    /* Safariの最適化（手抜き）を強制解除するおまじない */
    transform: rotate(0.01deg);
  }
  .cardTitle {
    margin-bottom: 16px;
  }
}

@media (max-width: 480px) {
  .strengthItem {
    width: 85vw;
    max-width: 327px;
  }
  .strengthCard {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    justify-content: center;
    padding: 20px;
  }
}

/* SERVICE */
.serviceSection {
  padding-top: 193px !important;
  padding-bottom: 0 !important;
}

.serviceContainer {
  display: flex;
  gap: clamp(40px, 15vw, 210px);
}

.serviceInfo {
  flex: 0 0 316px;
}

.serviceTitle {
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 1em;
  margin-bottom: 30px;
}

.serviceLead {
  font-size: clamp(1.6rem, 2vw, 2rem);
  line-height: 1.8em;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 83px;
}

.serviceButton {
  display: flex;
  align-items: center;
  justify-content: space-between;

  /* デザインに合わせたサイズ設定 */
  width: 270px;
  height: 51px;
  box-sizing: border-box;
  padding: 0 20px 0 25px;

  background-color: #333;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.05em;
  border: 1px solid transparent; /* ホバー時のガタつき防止 */
  transition: all 0.3s ease;
}

/* 矢印アイコンの設定 */
.serviceButton .buttonArrow {
  display: inline-block;
  width: 30px;
  height: 15px;
  background-image: url("../images/common/icon_arrow_white.svg");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: contain;
  transition: filter 0.3s ease;
}

@media print, screen and (min-width: 768px) {
  .serviceButton:hover {
    background-color: #fff;
    color: #333;
    border: 1px solid #333;
  }

  .serviceButton:hover .buttonArrow {
    background-image: url("../images/common/icon_arrow_black.svg");
  }
}

/* --- サービスリスト --- */
.serviceList {
  flex: 1;
}

.serviceItem {
  display: flex;
  align-items: flex-start;
  padding: 60px 0;
  border-top: 1px solid #333333;
  gap: 54px;
}

.serviceItem:last-child {
  border-bottom: 1px solid #333333;
}

.serviceIcon {
  width: 220px;
  height: auto;
}

.serviceCategoryName {
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.2em;
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 18px;
}

.japaneseName {
  font-size: clamp(1.6rem, 2vw, 2rem);
  line-height: 1.8em;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.serviceDetails {
  list-style: none;
  padding: 0;
}

.serviceDetails li {
  letter-spacing: 0.05em;
  position: relative;
  padding-left: 1em;
}

.serviceDetails li::before {
  content: "・";
  position: absolute;
  left: 0;
}

@media screen and (min-width: 901px) and (max-width: 1160px) {
  /* 親要素のflexを解除 */
  .serviceCategoryName {
    display: block;
  }

  /* 子要素をブロック要素にする */
  .japaneseName {
    display: block;
    margin-top: 8px;
  }
}

@media (max-width: 900px) {
  .serviceSection {
    padding-top: 56px !important;
  }

  .serviceContainer {
    flex-direction: column;
    gap: 40px;
  }

  .serviceInfo {
    flex: none;
    text-align: center;
  }

  .serviceLead {
    margin-bottom: 0;
  }

  .serviceButton {
    margin: 0 auto;
  }

  .serviceItem {
    padding: 40px 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
  }

  .serviceCategoryName {
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 10px;
  }

  .serviceDetails li {
    padding-left: 0;
  }

  .serviceDetails li::before {
    content: "";
  }
}

.sp-only {
  display: none;
}

@media (max-width: 900px) {
  .pc-only {
    display: none !important;
  }

  .sp-only {
    display: flex;
    margin: 40px auto 0;
  }
}

/* --- TOP PAGE WORKS SECTION --- */
.home .worksSection {
  padding-top: 212px !important;
  text-align: center;
}

.home .worksHeader {
  margin-bottom: 80px;
}

.home .worksMainTitle {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 1em;
  margin-bottom: 50px;
}

.home .worksSubTitle {
  font-size: clamp(1.6rem, 2vw, 2rem);
  line-height: 1.8em;
  font-weight: 400;
  letter-spacing: 0.05em;
}

/* スライダーコンテナ */
.home #worksSliderContainer {
  position: relative;
  width: 100%;
  margin: 0 auto 112px;
  overflow: hidden;
  aspect-ratio: 2880 / 1560;
}

.home .worksSlide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.home .worksSlide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 装飾オーバーレイ */
.home .slideOverlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 48px 42px;
  box-sizing: border-box;
  text-align: left;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.home .slideInfo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.home .workTag {
  background: #fff;
  color: #333;
  padding: 4px 15px;
  border-radius: 20px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1em;
}

.home .workTitle {
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  line-height: 1.9em;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.home .slideLead {
  letter-spacing: 0.05em;
}

/* トップページ専用ボタンデザイン */
.home .worksSliderPrev,
.home .worksSliderNext {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s, opacity 0.3s;

  /* 動的なサイズ設定: clamp(最小値, 推奨値, 最大値)
     最小45px、最大130px、その間は画面幅の10%程度で可変 
  */
  width: clamp(45px, 10vw, 130px);
  height: clamp(45px, 10vw, 130px);

  /* 中の画像を中央に配置 */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* ボタン内の画像の設定 */
.home .worksSliderPrev img,
.home .worksSliderNext img {
  width: 24.6%;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .home .worksSection {
    padding-top: 56px !important;
  }
  .home .worksHeader {
    margin-bottom: 40px;
  }
  .home .worksMainTitle {
    margin-bottom: 30px;
  }
  .home .worksSliderPrev,
  .home .worksSliderNext {
    border-width: 1.5px;
    width: 45px;
    height: 45px;
  }
  .home .worksSliderPrev img,
  .home .worksSliderNext img {
    width: 40%;
    height: auto;
  }
}

@media print, screen and (min-width: 768px) {
  .home .worksSliderPrev:hover,
  .home .worksSliderNext:hover {
    background: rgba(255, 255, 255, 0.2);
  }
}

.home .worksSliderPrev {
  left: 42px;
}
.home .worksSliderNext {
  right: 42px;
}

@media (max-width: 768px) {
  .home #worksSliderContainer {
    aspect-ratio: 1 / 1;
    margin: 0 auto 40px;
  }
  .home .slideOverlay {
    flex-direction: column-reverse;
    align-items: flex-start;
    padding: 20px;
    gap: 5px;
  }
  .home .slideInfo {
    gap: 10px;
  }
  .home .worksSliderPrev,
  .home .worksSliderNext {
    border: 1.5px solid #fff;
    width: 45px;
    height: 45px;
  }
  .home .worksSliderPrev {
    left: 15px;
  }
  .home .worksSliderNext {
    right: 15px;
  }
  .home .slideLead {
    font-size: 12px;
  }
}

/* COMPANY & NEWS */
/* --- ベース設定 --- */
.infoSection {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  color: #333;

  padding: 0 !important;
}

.companyContent,
.newsContent {
  flex: 1;
  min-width: 50%;
  padding: 100px 0;
  display: flex;
  justify-content: center;
}

/* 背景色の切り分け */
.companyContent {
  background-color: #ffffff;
}

.newsContent {
  background-color: #d8d8d8;
}

.contentInner {
  width: 100%;
  max-width: 600px;
  padding: 0 20px;
}

/* --- タイトル周り --- */
.sectionTitle {
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 1em;
  margin-bottom: 50px;
  text-align: center;
}

.sectionSubTitle {
  font-size: clamp(1.8rem, 2vw, 2rem);
  line-height: 1.8em;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 40px;
  text-align: center;
}

.companyText {
  margin-bottom: 33px;
  text-align: center;
}

/* --- インタビュー部分 --- */
.interviewBox {
  text-align: center;
  margin-bottom: 50px;
}

.interviewImage {
  width: 220px;
  height: auto;
  /* Figmaの設定: X:0, Y:0, ぼかし:24, 塗り:0, カラー:000000 15% */
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.15);
  display: block;
  margin: 0 auto 15px;
}

.interviewLink {
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: underline;
}

@media print, screen and (min-width: 768px) {
  .interviewLink:hover {
    color: #333;
    opacity: 0.7;
  }
}

/* --- ニュース部分 --- */
.newsArticle {
  border-top: 1px solid #333;
  /* border-bottom: 1px solid #333; */
  padding: 40px 0 0;
  margin-top: 40px;
}

.newsDate {
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: #33333360;
}

.newsTitle {
  font-size: clamp(1.7rem, 2vw, 2rem);
  line-height: 1.8em;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

/* --- ボタン --- */
.companyButtonBox {
  text-align: center;
}

.commonButton {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;

  /* デザインに合わせたサイズ設定 */
  width: 270px;
  height: 51px;
  box-sizing: border-box;
  padding: 0 20px 0 25px;

  background-color: #333;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

/* 矢印アイコンの設定 */
.commonButton .buttonArrow {
  display: inline-block;
  width: 30px;
  height: 15px;
  background-image: url("../images/common/icon_arrow_white.svg");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: contain;
  transition: filter 0.3s ease;
}

@media print, screen and (min-width: 768px) {
  .commonButton:hover {
    background-color: #fff;
    color: #333;
    border: 1px solid #333;
  }

  .commonButton:hover .buttonArrow {
    background-image: url("../images/common/icon_arrow_black.svg");
  }
}

@media (max-width: 768px) {
  .companyContent,
  .newsContent {
    flex: 0 0 100%;
    padding: 60px 0;
  }

  .contentInner {
    max-width: 100%;
    padding: 0 5.33%;
  }

  .sectionTitle {
    margin-bottom: 30px;
  }

  .interviewBox {
    margin-bottom: 40px;
  }

  .newsArticle {
    padding: 24px 0;
    margin-top: 30px;
  }
}

/* SERVICE 事業内容 */
/* --- Quality Section (Top Half) --- */
.corporateQualitySection {
  padding-top: 200px !important;
}

.qualityItem {
  display: flex;
  align-items: flex-start;
  margin-bottom: 65px;
}

/* 最後の .qualityItem だけ margin-bottom を 0 にする */
.qualityItem:last-child {
  margin-bottom: 0;
}

.qualityLeadingBox {
  width: 235px;
  flex-shrink: 0;
}

.qualityOrderNumber {
  display: block;
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-size: clamp(3.2rem, 5.6vw, 5.6rem);
  line-height: 1.2em;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.qualityMainTitle {
  font-size: clamp(2.2rem, 3.2vw, 3.2rem);
  line-height: 1.5em;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.qualityVerticalDivider {
  width: 1px;
  min-height: 180px;
  background-color: #333333;
  margin: 0 80px;
  align-self: stretch;
}

.qualityContentBody {
  flex: 1;
  padding-top: 15px;
}

.qualitySubCaption {
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  line-height: 1.9em;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 15px;
}

.qualityDescriptionText {
  letter-spacing: 0.05em;
  text-align: justify;
}

/* --- Portfolio Section (Bottom Half) --- */
.servicePortfolioSection {
  padding-bottom: 233px !important;
}

.portfolioMainHeader {
  text-align: center;
  margin-bottom: 126px;
}

.portfolioMainCopy {
  font-size: clamp(2.2rem, 5.6vw, 5.6rem);
  line-height: 1.2em;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.portfolioGrid {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.portfolioCard {
  display: flex;
  background-color: #fff;
  min-height: 364px;
}

.portfolioContent {
  flex: 1;
  min-width: 50%;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.portfolioCategoryTitle {
  display: flex;
  align-items: baseline;
  gap: 15px;
  margin-bottom: 25px;
}

.labelEnglish {
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1.2em;
}

.labelJapanese {
  font-size: clamp(1.6rem, 2vw, 2rem);
  line-height: 1.8em;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.portfolioSummaryText {
  letter-spacing: 0.05em;
}

.portfolioImageFrame {
  flex: 1;
  min-width: 50%;
  overflow: hidden;
}

.portfolioImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media screen and (max-width: 900px) {
  .corporateQualitySection {
    padding-top: 56px !important;
  }
  .servicePortfolioSection {
    padding-bottom: 56px !important;
  }
  .portfolioMainHeader {
    margin-bottom: 40px;
  }
  /* Policy Section */
  .portfolioGrid {
    gap: 40px;
  }
  .qualityItem {
    flex-direction: column;
  }

  .qualityVerticalDivider {
    width: 100%;
    height: 1px;
    min-height: 1px;
    margin: 25px 0;
  }

  /* Portfolio Section */
  .portfolioCard {
    flex-direction: column;
  }

  .portfolioImageFrame {
    order: -1;
    height: 280px;
  }

  .portfolioContent {
    padding: 40px 25px;
  }

  .portfolioCategoryTitle {
    gap: 10px;
    margin-bottom: 20px;
  }

  .portfolioSummaryText {
    text-align: justify;
  }

  .qualityLeadingBox {
    width: auto;
  }
}

/* WORKS 施工実績 */
/* プロジェクト紹介セクション */
.projectIntroduction {
  padding-top: 184px !important;
  padding-bottom: 0 !important;
  text-align: center;
}

.projectContainer {
  max-width: 1100px;
  margin: 0 auto;
}

/* キャッチコピーと説明文 */
.projectCatchphrase {
  font-size: clamp(2.2rem, 5.6vw, 5.6rem);
  line-height: 1.2em;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 35px;
}

.projectDescription {
  font-size: clamp(1.6rem, 2vw, 2rem);
  line-height: 1.8em;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 123px;
}

/* 実績カテゴリーナビゲーション */
.worksCategoryList {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.worksCategoryItem {
  background-color: #333333;
  border: 1px solid transparent;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
  transition: all 0.3s ease;
}

@media print, screen and (min-width: 768px) {
  .worksCategoryItem:hover {
    background-color: #fff;
    color: #333;
    border: 1px solid #333;
  }
}

.worksCategoryName {
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

/* 下向き矢印 */
.dropdownArrow {
  width: 15px;
  height: 9px;
  background-image: url("../images/common/dropdown_arrow.svg");
  background-size: cover;
  display: inline-block;
}

@media print, screen and (min-width: 768px) {
  .worksCategoryItem:hover .dropdownArrow {
    filter: invert(14%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(20%)
      contrast(90%);
  }
}

@media (max-width: 768px) {
  .projectIntroduction {
    padding-top: 56px !important;
  }

  .projectDescription {
    margin-bottom: 40px;
    line-height: 1.6;
  }

  .worksCategoryList {
    gap: 10px;
  }

  .worksCategoryItem {
    flex: 0 0 calc(50% - 5px);
    min-width: auto;
    padding: 12px 15px;
    box-sizing: border-box;
  }
}

/* SIGN,DISPLAY,EVENT,RENOVATION */
#worksSign {
  padding-top: 56px !important;
  padding-bottom: 0 !important;
}
#worksDisplay,
#worksEvent {
  padding-top: 145px !important;
  padding-bottom: 0 !important;
}

#worksRenovation {
  padding-top: 145px !important;
  padding-bottom: 223px !important;
}

.worksPageSection {
  scroll-margin-top: 40px;
}

.sobishaHeader {
  margin-bottom: 32px;
}

.worksMainTitle {
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(2.8rem, 4vw, 4rem);
  line-height: 1em;
}

/* 共通グリッド */
.sobishaProjectGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 40px;
  row-gap: 67px;
}

.projectItem {
  display: flex;
  flex-direction: column;
}

/* スライダー関連 */
/* 実績ページ用 */
.projectSlide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0; /* 最初は消しておく */
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

/* activeクラスがついたら表示 */
.projectSlide.active {
  opacity: 1 !important; /* 強制的に表示 */
  z-index: 2;
}

/* テキストとコントロールの横並び */
.projectMetaWrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 17px;
  gap: 15px;
}

.projectLocationName {
  flex: 1;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.4em;
  font-weight: 400;
  letter-spacing: 0.05em;

  margin-top: 30px;
}

.projectMetaWrapper .projectLocationName {
  margin-top: 0; /* コントロールと同じ高さに */
}

.sliderControls {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.sliderPrev,
.sliderNext {
  width: 54px;
  height: 54px;
  border: 1px solid #333333;
  background-color: transparent;
  border-radius: 50%;
  cursor: pointer;
  position: relative;

  background-repeat: no-repeat;
  background-position: center;
  background-size: 15px auto;
  transition: background-color 0.3s ease, background-image 0.3s ease;
}

/* 通常時の画像 */
.sliderPrev {
  background-image: url("../images/works/arrow_left_black.svg");
}
.sliderNext {
  background-image: url("../images/works/arrow_right_black.svg");
}

@media print, screen and (min-width: 768px) {
  /* ホバー時の設定 */
  .sliderPrev:hover,
  .sliderNext:hover {
    background-color: #333333;
  }

  /* ホバー時に画像を白矢印などに切り替える */
  .sliderPrev:hover {
    background-image: url("../images/works/arrow_left_white.svg"); /* 白い矢印のパス */
  }
  .sliderNext:hover {
    background-image: url("../images/works/arrow_right_white.svg"); /* 白い矢印のパス */
  }
}

/* --- 実績ページ・スライダー修正版 --- */

.projectImageWrapper {
  width: 100%;
  aspect-ratio: 1200 / 756;
  background-color: #f7f7f7;
  overflow: hidden;
  position: relative; /* 子要素の基準点 */
}

.slideWrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.projectSlide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden; /* 透明な時にクリックなどを邪魔しないよう追加 */
  transition: opacity 0.8s ease-in-out, visibility 0.8s;
  z-index: 1;
}

/* activeクラスがついた画像だけを表示 */
.projectSlide.active {
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 2; /* 他の画像より前面へ */
}

.projectSlide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 区切り線 */
.projectFooterDivider {
  border: none;
  border-top: 1px solid #333;
  margin-top: 155px;
}

@media screen and (max-width: 768px) {
  #worksDisplay,
  #worksEvent {
    padding-top: 56px !important;
  }

  #worksRenovation {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  .sobishaHeader {
    margin-bottom: 20px;
  }

  .sobishaProjectGrid {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }

  .projectMetaWrapper {
    margin-top: 10px;
    gap: 10px;
  }

  .projectLocationName {
    margin-top: 15px;
  }
  .sliderPrev,
  .sliderNext {
    width: 42.5px;
    height: 42.5px;
  }
  .projectFooterDivider {
    margin-top: 56px;
  }
}

/* --- Modal Styles --- */
.galleryImageModal {
  position: fixed;
  z-index: 2000;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s;
  pointer-events: none;
}

.galleryImageModal.modalVisible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modalContent {
  display: block;
  width: auto;
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.modalClose {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
  opacity: 0.7;
  line-height: 1;
}

@media print, screen and (min-width: 768px) {
  .modalClose:hover {
    opacity: 1;
  }
}

img.modalTrigger {
  cursor: pointer;
}

/* COMPANY 会社案内 */
.messageContainer {
  padding-bottom: 0 !important;
}

.messageContent {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

/* 左側テキストエリア */
.textContent {
  flex: 1;
}

.mainTitle {
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(3rem, 4vw, 4rem);
  line-height: 1em;
  margin-bottom: 62px;
}

.introText,
.descriptionText,
.commitmentText,
.closingText {
  margin-bottom: 25px;
  letter-spacing: 0.05em;
}

.closingText {
  margin-bottom: 0;
}

.catchphrase {
  font-size: clamp(1.6rem, 2vw, 2rem);
  line-height: 1.8em;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 25px;
}

/* 右側ビジュアルエリア */
.visualContent {
  flex: 0 0 30.16%;
  display: flex;
  flex-direction: column;
}

.representativeImageWrapper {
  width: 100%;
  margin-bottom: 20px;
}

.representativeImage {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.signature {
  text-align: right;
  margin-top: 10px;
  line-height: 1em;
  letter-spacing: 0.05em;
}

.representativeName {
  font-size: clamp(1.6rem, 2vw, 2rem);
  font-weight: 400;
  margin-left: 10px;
}

@media (max-width: 850px) {
  .messageContent {
    flex-direction: column;
  }

  .visualContent {
    width: 100%;
    /* order: -1; */
    margin-bottom: 30px;
  }

  .mainTitle {
    margin-bottom: 20px;
  }

  .textContent {
    width: 100%;
    text-align: center;
  }
}

/* OVERVIEW */
.overview {
  padding-top: 200px !important;
  padding-bottom: 0 !important;
}

.overviewWrapper {
  padding: 92px 97px 100px 97px;
}

.officeImage {
  max-width: 529px;
  width: 100%;
  height: auto;
  margin-top: 17px;
}

@media screen and (max-width: 768px) {
  .overview {
    padding-top: 56px !important;
  }
  .overviewWrapper {
    padding: 32px 20px;
  }
  .officeImage {
    margin-top: 4px;
  }
}

.googleMap {
  font-weight: 700;
  text-decoration: underline;
}

@media print, screen and (min-width: 768px) {
  .googleMap:hover {
    color: #333;
    opacity: 0.7;
  }
}

/* HISTORY */
.anniversaryContainer {
  text-align: center;
  padding: 113px 5.33%;
  padding-bottom: 160px;
}

/* 創業60周年のテキスト */
.anniversaryHeader {
  font-size: clamp(2.2rem, 3.2vw, 3.2rem);
  line-height: 1.5em;
  font-weight: 400;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .anniversaryContainer {
    padding: 56px 5.33%;
  }
  .anniversaryHeader {
    margin-bottom: 1rem;
  }
}

/* CONTACT お問合せ */
.Contact {
  padding-top: 184px !important;
}

@media (max-width: 768px) {
  .Contact {
    padding-top: 56px !important;
  }
}

/* TOP熊本地震メッセージ追加 */
.top_message {
  background-color: #fff;
  padding: 73px 50px;
  width: 74%;
  margin: auto;
  text-align: center;
}

.message_title {
  font-size: 20px;
  margin-bottom: 30px;
    font-weight: 400;
}

.message_text {
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .top_message {
      padding: 50px 30px;
      width: 90%;
    }

    .message_title {
      font-size: 18px;
    }

}

.newsImage {
  display: flex;
  gap: 20px;
  margin: 30px auto 0;
}
@media (max-width: 768px) {
  .newsImage {
    flex-flow: column;
    margin: 20px auto 0;
  }

}

