@charset "utf-8";

html {
  font-size: 100%;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Inter", sans-serif;
  color: #333;
  background: #fff;
}

img {
  max-width: 100%;
}

/* ヘッダー */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
  z-index: 3;
  /* padding: 0 20px; */
}

.top-page.scroll header {
  background-color: rgba(255, 255, 255, 0.8);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 220%;
  line-height: 0;
}

.logo img {
  height: 40px;
}

.logo-icon {
  width: 98px;
  height: 90px;
  background-color: #9D5248;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon img {
  width: 86%;
  height: auto;
}

.top-page nav a {
  color: #fff;
}

.top-page.scroll nav a {
  color: #333;
}

.sub-page header {
  background-color: rgba(255, 255, 255, 0.8);
}

.sub-page nav a {
  color: #333;
}

.top-page nav a:hover {
  color: #AA463C;
}

.top-page.scroll nav a:hover,
.sub-page nav a:hover {
  color: #AA463C;
}

nav {
  padding-right: 30px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  padding: 0;
  margin: 0;
}

nav a {
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  text-align: center;
  line-height: 1.2;
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
}

nav a .jp {
  font-size: 16px;
  display: block;
}

nav a .en {
  font-size: 10px;
  display: block;
  font-weight: normal;
  margin-top: 5px;
  letter-spacing: 0.5px;
}

nav a:hover {
  color: #9D5248;
  transition: color 0.3s ease;
}

nav ul.main-menu {
  list-style: none;
  display: flex;
  gap: 30px;
  padding: 0;
  margin: 0;
}

.mask {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 20;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 30;
  margin-right: 0;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
}

nav ul.main-menu li .sub-menu {
  display: none;
  list-style: none;
  padding: 0;
  margin: 5px 0 0 0;
}


/* ヘッダー以降 */
.sub-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  background-color: #9D5248;
  color: #fff;
  text-align: center;
  position: relative;
  z-index: 0;
}

.sub-heading h2 {
  font-size: 20px;
  font-weight: normal;
}

.sub-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  top: 5px;
  transform: translateX(-50%);
  width: 411px;
  height: 129px;
  background-image: url(../images/circle1.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  z-index: -1;
  pointer-events: none;
}

/* トップページ */
.hero {
  position: relative;
  width: 100%;
  max-height: 900px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero .hero-text .hero-catch {
  writing-mode: vertical-rl;
  text-align: left;
  position: absolute;
  top: 50%;
  right: 186px;
  transform: translateY(-50%);
  font-size: 32px;
  color: white;
  letter-spacing: 5px;
  z-index: 2;
  font-weight: 500;
  white-space: nowrap;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  font-size: 2vw;
}

/* サークルボタン */
.pc-only {
  display: inline-block;
}

.mobile-only {
  display: none;
}

.simple-cta {
  position: fixed;
  bottom: 32px;
  right: 15px;
  width: 80px;
  height: 80px;
  background-color: #9D5248;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  display: none;
  text-align: center;
  line-height: 60px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  z-index: 1000;
  transition: background-color 0.3s ease, color 0.3s ease;
  background-image: url(../images/arrow_btn.png);
  background-repeat: no-repeat;
  background-size: 30%;
  background-position: 50% 75%;
}

.cta-circle-wrapper {
  position: fixed;
  right: 48px;
  bottom: 100px;
  width: 150px;
  height: 150px;
  z-index: 1000;
  background-color: #fff;
  border-radius: 50%;
  transition: background-color 0.3s ease;

  /* Java用で追加 */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.cta-circle-wrapper.show {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.cta-circle {
  width: 150px;
  height: 150px;
  display: block;
  animation: rotate 12s linear infinite;
  transform-origin: center;
  position: absolute;
  top: 0;
  left: 0;
}

.circle-text {
  fill: #000;
  font-size: 15px;
  letter-spacing: 2.25px;
}

.cta-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #9D5248;
  border-radius: 50%;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  line-height: 1.4;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: color 0.3s ease;
}

.cta-circle-wrapper:hover {
  background-color: #2E4D62;
}

.cta-circle-wrapper:hover .cta-button {
  color: #fff;
}

.decoration-image {
  float: right;
  margin-top: 260px;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

.company-decoration-left {
  position: absolute;
  width: auto;
  left: 3px;
  top: 1800px;
  z-index: -1;
  pointer-events: none;
}

.testimonials .section-header,
.testimonials .testimonial-cards {
  position: relative;
}

.service-section-title,
.work-title,
.testimonials-title,
.aboutus-title-title {
  text-align: center;
  margin-top: 126px;
  margin-bottom: 40px;
  position: relative;
}

.service-section-title .en,
.work-title .en,
.testimonials-title .en,
.aboutus-title-title .en {
  font-size: 32px;
  font-weight: bold;
  line-height: 1.2;
  border-bottom: 2px solid #9D5248;
}

.service-section-title .jp,
.work-title .jp,
.testimonials-title .jp,
.aboutus-title-title .jp {
  font-size: 16px;
  display: block;
  margin-top: 10px;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.kitchen1 {
  padding-top: 10px;
}

.card-wrapper {
  width: 240px;
  margin: 0 10px;
  text-align: center;
  justify-content: center;
}

.card-title {
  font-size: 16px;
  margin-bottom: 8px;
}

.card-title .num {
  color: #9D5248;
  font-size: 32px;
}

.card {
  width: 240px;
  height: 336px;
  background: #fff;
  border: 1px solid #000;
  padding: 15px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  font-size: 14px;
  text-align: left;
}

.card p {
  margin: 0;
  padding: 0;
}

.card img {
  width: 210px;
  height: 240px;
  object-fit: cover;
  margin-bottom: 10px;
}

.testimonial-cards {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.kitchen1 {
  margin-top: 20px;
}

.testimonial-card {
  width: 367.65px;
  height: 468px;
  background-color: #F4EBCE;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.testimonial-card img {
  width: 100%;
  height: 245.1px;
  object-fit: cover;
}

.testimonial-card .text {
  padding: 20px 20px 10px 20px;
  text-align: left;
}

.testimonial-card h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}

.testimonial-card p {
  font-size: 14px;
  margin: 4px 0;
}

.testimonials-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: calc(100% - 690px);
  /* 左右345px */
  margin: 0 auto 35px;
}


.works-button {
  display: inline-block;
  background-color: #1D3E50;
  color: #ffffff;
  text-decoration: none;
  width: 200px;
  height: 50px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  line-height: 50px;
  transition: background-color 0.3s ease;
}

.works-button:hover {
  background-color: #2d5a6f;
}

.works-button1 {
  display: flex;
  justify-content: center;
}

.work-title {
  /* position: relative;
  left: -330px;
  top: 100px; */
  margin: 0;
  position: static;
}


.flexbox {
  display: flex;
  justify-content: space-between;
  max-width: 750px;
  margin: 126px auto 35px;
  align-items: flex-end;
}

.testimonial-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 35px;
  max-width: 1440px;
  margin: 0 auto;
}

.testimonial-item {
  width: 440px;
  display: flex;
  flex-direction: column;
}

.testimonial-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.text-box {
  width: 100%;
  height: 120px;
  background-color: #fff;
  padding: 10px 15px;
  box-sizing: border-box;
  font-size: 14px;
  color: #333;
  text-align: left;
  overflow: hidden;
}

.voice-name {
  font-weight: bold;
  margin-bottom: 5px;
}

.voice-text {
  line-height: 1.6;
  margin-top: 30px;
}


.testimonial-button-wrapper {
  text-align: center;
  margin-top: 80px;
}


/* トップページabout us */
.company-link {
  background-image: url(../images/service_was_line.png);
  background-repeat: no-repeat;
  background-position: right 60px bottom;
  background-size: 30%;
  padding: 0;
  position: relative;
  width: 100%;
  padding-bottom: 180px;
  margin-bottom: 35px;
  border-bottom: 3px solid #9D5248;
}

.company-link .aboutus-title-title {
  margin-top: 128px;
  left: -400px;
}


/*-----------------------------------
背景
-----------------------------------*/
.company-area {
  width: 1098px;
  height: 670px;
  background-color: #EBE7E1;
  left: 0;
  margin-top: -560px;
  z-index: -3;
}

/*-----------------------------------
company-content画像
-----------------------------------*/
.company-photo-wrapper {
  text-align: center;
  margin-top: 70px;
}

.company-photo {
  width: 946px;
  height: 400px;
  object-fit: cover;
  position: relative;
  display: inline-block;
}

/*-----------------------------------
右側装飾
-----------------------------------*/
.company-decoration-right {
  position: absolute;
  top: -160px;
  right: 3px;
  width: auto;
  z-index: 2;
  pointer-events: none;
}

/*-----------------------------------
会社情報ボタン: 画面中央に配置
-----------------------------------*/
.ff {
  display: inline-block;
  width: 200px;
  height: 50px;
  line-height: 50px;
  background-color: #1D3E50;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 25px;
  transition: background-color 0.3s ease;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 220px;
}

.ff:hover {
  background-color: #2d5a6f;
}


/* フッター */
footer {
  background: #9D5248;
  color: white;
  width: 100%;
  padding: 73px 24px 60px 56px;
  display: flex;
  justify-content: space-between;
}

.footer-logo img {
  width: 192px;
  height: 126px;
  object-fit: contain;
  margin-bottom: 20px;
}

.footer-info {
  width: 35%;
}

.footer-text {
  flex: 1;
  font-size: 16px;
  line-height: 1.5em;
}

.footer-text h3 {
  font-weight: bold;
}

.footer1,
.footer2 {
  margin-bottom: 17px;
}

er-info p {
  margin: 10px 0;
}

.footer-illustration-img {
  width: 70%;
  height: auto;
  object-fit: contain;
}

footer a {
  color: white;
  text-decoration: underline;
}

.menu_img {
  width: 65%;
  display: flex;
  justify-content: flex-end;
}

.copyright {
  background-color: #fff;
  text-align: center;
  padding-bottom: 2px;
  font-size: 14px;
  color: #333;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  overflow: visible;
  position: relative;
  z-index: 2;
}

.copyright::after {
  content: "";
  position: absolute;
  bottom: 0%;
  left: 50%;
  transform: translateX(-50%);
  width: 380px;
  height: 95px;
  background-image: url(../images/cycle2.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  z-index: -1;
  pointer-events: none;
}

.copyright p {
  background-color: transparent;
  font-size: 12px;
}

.copyright p:first-child {
  display: inline-block;
  position: relative;
  z-index: 3;
  transform: translateY(-15px);
  margin: 0 auto;
  border-bottom: 1px solid black;
}

.announce_message {
  text-align: center;
  font-size: 12px;
  padding-bottom: 5px;
}


/* ここからTOPサービスページ */
#graphic {
  position: relative;
  width: 100%;
  height: 540px;
  overflow: hidden;
}

#graphic img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.graphic-title {
  position: absolute;
  top: 74%;
  left: 30%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.decoration {
  background-image: url(../images/was_line.png);
  background-repeat: no-repeat;
  background-position: right center;
}

.service-lead {
  padding: 120px 0 178px 0;
  text-align: left;
  max-width: 100%;
}

.service-lead .container {
  padding-left: 20%;
  max-width: 800px;
}

.service-lead h2 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.service-lead p {
  font-size: 16px;
  line-height: 1.8;
  width: 848px;
  margin: 0 auto;
  color: #333;
}


.services-heading {
  text-align: center;
  margin-bottom: 60px;
}

.section-title-line {
  font-size: 24px;
  font-weight: bold;
  border-bottom: 2px solid #9D5248;
  display: inline-block;
  padding-bottom: 10px;
  justify-content: center;
}


.services-detail {
  position: relative;
  padding: 0px 0 200px;
  z-index: 1;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 472px);
  justify-content: center;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.service-item {
  width: 472px;
  height: 490px;
  background-color: white;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1.5px solid;
}

.service-item img {
  width: 472px;
  height: 286px;
  object-fit: cover;
}

.service-text {
  padding: 40px 45px;
  text-align: left;
  flex: 1;
}

.service-text h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #333;
  font-weight: bold;
}

.service-text p {
  font-size: 14px;
  color: #555;
}

.services-bg {
  position: absolute;
  bottom: 0;
  right: 0;
  width: auto;
  height: auto;
  z-index: 1;
  pointer-events: none;
}

.reform-flow {
  position: relative;
  width: 100%;
  height: 1335px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  background-image: url(../images/service_backimg.jpg);
}

.flow-inner {
  position: relative;
  height: 100%;
  width: 100%;
  padding: 60px 80px;
  box-sizing: border-box;
  text-align: center;
  border-bottom: 3px solid #9D5248;
}

.flow-image {
  width: 100%;
  max-width: 1100px;
  margin: 100px auto;
  display: block;
}

.flow-description {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 1;
  /* 前面へ */
}

.flow-arrow {
  max-height: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.flow-text {
  flex: 1;
  /* ← テキスト側が自動で広がるように */
  border-radius: 8px;
  text-align: left;
}

.flow-bottom-image {
  position: absolute;
  bottom: 0;
  right: 60px;
  width: 30%;
  height: auto;
  object-fit: cover;
  z-index: 1;
}

.flow-step {
  margin-bottom: 26px;
}

.flow-step h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

.flow-step p {
  font-size: 16px;
  line-height: 1.5;
  color: #555;
}


.faq-section {
  width: 100%;
  height: 1390px;
  background-color: #fff;
  padding: 90px 0;
  position: relative;
  box-sizing: border-box;
}

.services-heading {
  margin-bottom: 98px;
}

.faq-wrapper {
  width: 100%;
  max-width: 944px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.faq-item {
  position: relative;
  padding-left: 40px;
}

.faq-question {
  width: 470px;
  height: 40px;
  background-color: #DCB5B0;
  color: #3e3e3e;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px 4px 0 0;
  z-index: 2;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.faq-answer {
  width: 944px;
  height: 70px;
  background-color: #EBE7E1;
  color: #333;
  font-size: 16px;
  padding: 16px 113px;
  box-sizing: border-box;
  border-radius: 0 0 4px 4px;
  margin-top: -10px;
  z-index: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  line-height: 1.2;
}

/* ここから施行事例のページ */
.project-lead {
  background-color: #fff;
  padding: 100px 0;
  text-align: center;
}

.project-lead-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.project-lead-container p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 32px;
  color: #333;
}

.project-lead-container p:last-child {
  margin-bottom: 0;
}

.project-cases {
  padding: 100px 20px;
  background-color: #fff;
}

.case-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  max-width: 1024px;
  margin: 0 auto;
}

.case-item {
  width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.case-image-link {
  display: block;
  width: 350px;
  height: 280px;
  overflow: hidden;
}

.case-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.case-image-link:hover img {
  opacity: 0.6;
  cursor: pointer;
}

.case-text {
  width: 343px;
  height: 109px;
  font-size: 16px;
  color: #333;
  text-align: left;
  margin-top: 10px;
  line-height: 1.6;
}

.case-label {
  color: #9D5248;
  font-weight: bold;
  margin-right: 6px;
}

.project-cta-buttons {
  display: inline-block;
  background-color: #1D3E50;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  height: fit-content;
  text-align: left;
  margin-top: 75px;
}

.project-cta-button:hover {
  background-color: #2d5a6f;
}


.cta-section {
  position: relative;
  width: 100%;
  height: 1394px;
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 860px;
  background-image: url("../images/project_cta_bgi.png");
  background-size: cover;
  background-position: top center;
  /* ← 上部を常に表示 */
  background-repeat: no-repeat;
  z-index: 0;
}

.cta-decoration {
  position: absolute;
  top: 368px;
  left: 20px;
  width: 500px;
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 604px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding-top: 380px;
}

.cta-text {
  text-align: left;
  margin-bottom: 20px;
}

.cta-text h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.cta-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}


/* ここから施行事例01~ページ */
.header-line-bg {
  width: 100%;
  height: 20px;
  background-image: url("../images/project_line.png");
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 100%;
  margin-top: 120px;
}

.project-detail {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  margin-top: 140px;
}

.after-balloon {
  position: absolute;
  top: -200px;
  right: 0;
  transform: translateX(50%);
  z-index: 2;
  width: 307px;
}

.after-balloon img {
  width: 100%;
  height: auto;
  display: block;
}


.project-text-box {
  width: 100%;
  /* ← 608pxから変更 */
  max-width: 750px;
  margin: 0 auto 30px;
}

.case-number {
  color: #9D5248;
  font-size: 20px;
  margin-bottom: 4px;
}

.case-title {
  font-size: 20px;
  margin-bottom: 8px;
}

.case-info {
  font-size: 16px;
  color: #333;
}

.image-gallery {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}


.main-image {
  width: 750px;
  height: 480px;
  margin: 0 auto;
  overflow: hidden;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #000;
  padding: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.gallery-arrow.prev {
  left: -60px;
  /* ←画像の左外側に配置（調整可能） */
}

.gallery-arrow.next {
  right: -60px;
  /* →画像の右外側に配置（調整可能） */
}

.thumbnail-gallery {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 30px;
  display: flex;
  gap: 30px;
  justify-content: center;
}

.thumb {
  width: 120px;
  height: 120px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.thumb.active,
.thumb:hover {
  opacity: 1;
}


.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* ← 切り抜きでフィット */
}

.before-after-wrap {
  width: 100%;
  max-width: 750px;
  margin: 40px auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.before-image-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 374px;
}

.before-img {
  width: 374px;
  height: 212.48px;
  object-fit: cover;
}

.before-caption {
  margin-top: 10px;
  font-size: 14px;
  color: #333;
  text-align: center;
}

.after-description {
  flex: 1;
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}


/* ここから会社情報ページ */
.company-top-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 40px;
}

.company-top-hero-bg {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.company-top-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.decoration-company {
  background-image: url(../images/was_line.png);
  background-repeat: no-repeat;
  background-position: right 260px;

}

.company-greeting {
  padding: 200px 245px;
  text-align: left;
  position: relative;
  z-index: 2;
}

.greeting-inner {
  width: 848px;
  margin-left: 245px;
  margin-right: auto;
  text-align: left;
}

.company-greeting .section-title {
  margin-bottom: 40px;
  text-align: left;
  font-size: 32px;
}

.company-greeting p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  width: 100%;
}

.company-greeting .section-name {
  margin-top: 30px;
}

.greeting-decoration {
  display: block;
  margin-right: 247px;
  margin-left: auto;
  width: auto;
  height: auto;
}

.company-message {
  position: relative;
  overflow: hidden;
}

.decoration-layer {
  position: absolute;
  top: 250px;
  z-index: 1;
  right: 247px;
  pointer-events: none;
  opacity: 0.8;
}

.company-profile {
  height: 937px;
  background-image: url(../images/company_bgi.png);
  background-repeat: no-repeat;
  background-size: cover;
  /* 要素全体に広げる */
  background-position: top center;
  /* 画像の「上端」を優先して表示 */
  display: flex;
  align-items: flex-start;
  /* 上揃え */
  /* gap: 60px;                   */
  padding-top: 170px;
  box-sizing: border-box;
}

.profile-inner {
  text-align: left;
  padding-left: 345px;
  box-sizing: border-box;
}

.profile-inner h2,
.staff-section h2 {
  font-size: 24px;
  margin: 60px 0px 40px 0px;
  font-weight: bold;
  text-decoration: underline solid #9D5248;
  text-underline-offset: 9px;
}

.profile-inner p {
  font-size: 16px;
  line-height: 2;
}

.map {
  width: 427px;
  height: 289px;
  margin-top: 320px;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.staff-section {
  background-image: url(../images/company_bgi2.png);
  background-repeat: no-repeat;
  background-position: 0px 210px;
  margin-bottom: 100px;
}

.staff-section h2 {
  padding-left: 345px;
  margin-top: 78px;
}

.staff-member {
  padding: 70px 0 110px 0;
}

.staff-member h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.staff-member p {
  font-size: 16px;
}

.staff-photo {
  padding: 0 58px 0 248px;
}

.staff-member1,
.staff-member2 {
  display: flex;
  align-items: center;
}

.staff-member1 {
  margin-bottom: 94px;
}


/* ここからお問い合わせページ */
.contact_decoration {
  background-image: url(../images/was_line.png);
  background-repeat: no-repeat;
  background-position: right 280px;
}

.service-title {
  padding: 175px 345px;
  font-size: 20px;
  text-align: center;
}

.main_form {
  padding: 62px 119px 61px;
  background-color: #EBE7E1;
  width: 945px;
  height: 1490px;
  margin: 0 auto 150px auto;
  box-sizing: border-box;
}

.contact_hd {
  text-align: center;
}

.contact_hd h1 {
  font-size: 32px;
  font-weight: bold;
}

.cnt_text {
  padding: 40px 0 111px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;

  align-items: flex-start;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: bold;
  /* align-items: flex-start;
  padding-left: 119px; */
}

.form-group input {
  width: 707px;
  height: 52px;
  font-size: 16px;
  box-sizing: border-box;
  border-radius: 4px;
  background-color: #F6F6F6;
  margin-bottom: 10px;
  padding: 30px 25px;
  /* margin: 0 auto; */
}

.contact-type-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
}

.radio-label {
  display: flex;
  font-size: 16px;
  gap: 10px;
}

.radio-label input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: #2E4D62;
}

.label-title {
  font-weight: bold;
  margin-bottom: 20px;
}

.form-group textarea {
  width: 707px;
  height: 200px;
  background-color: #F6F6F6;
  font-size: 16px;
  box-sizing: border-box;
  border-radius: 4px;
  padding: 30px 25px;
}

.form-notice {
  font-size: 14px;
  margin-top: 20px;
  color: #333;
  font-weight: bold;
  line-height: 1.8;
}

.required {
  display: inline-block;
  background-color: #9D5248;
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  margin-left: 8px;
  border-radius: 4px;
  vertical-align: middle;
}

.form-btn {
  display: flex;
  justify-content: center;
  /* 横中央 */
  align-items: center;
  /* 縦中央 */
  width: 320px;
  height: 60px;
  margin: 40px auto 0;
}

.form-btn button {
  width: 100%;
  height: 100%;
  font-size: 18px;
  font-weight: bold;
  background-color: #9D5248;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;

  display: flex;
  align-items: center;
  justify-content: center;
}


.form-btn button:hover {
  background-color: #c5928d;
}

.sp-br {
  display: none;
}

@media (max-width: 1440px) {
  .company-decoration-right {
    right: 0;
  }

}

@media (max-width: 1100px) {
  .company-area {
    width: 100%;
  }

  .faq-answer {
    width: 100%;
  }

  .service-title {
    padding: 80px;
  }

  .contact_decoration {
    background-image: none;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-item {
    margin: 0 auto;
    width: 100%;
    height: auto;
    border: none;
  }
}


@media (max-width: 1024px) {
  .hero .hero-text .hero-catch {
    top: 56%;
  }

  .company-area {
    width: 100%;
  }

  #graphic {
    height: 100%;
  }

  .graphic-title {
    top: 60%;
  }

  .service-lead {
    padding-top: 80px;
  }

  .service-lead .container {
    padding-left: 40px;
  }

  .decoration-image {
    display: none;
  }

  .project-cases {
    padding: 0;
  }

  .cta-decoration {
    width: 50%;
    left: 0;
    top: 20%;
  }

  .cta-bg {
    top: 40px;
  }

  .cta-section {
    height: 1200px;
  }

  .decoration {
    background-image: none;
  }

  .after-balloon {
    transform: translateX(30%);
  }

  .decoration-layer {
    left: 0;
    top: 90px;
  }

  .company-greeting {
    padding: 100px;
  }

  .profile-inner {
    padding-left: 80px;
  }

  .staff-section {
    background-size: 100%;
    background-position: top;
    margin-bottom: 0;
  }

  .staff-member1,
  .staff-member2 {
    margin-top: 60px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    /* ← 1カラムに */
    gap: 40px;
  }

  .service-item {
    width: 100%;
    height: auto;
    border: none;
  }

  .service-item img {
    width: 100%;
    height: auto;
  }

  .service-text {
    padding: 30px 20px;
    word-wrap: break-word;
  }

  .service-text p {
    font-size: 15px;
    line-height: 1.7;
  }

  .service-lead .container {
    padding-left: 40px;
    padding-right: 40px;
    max-width: 100%;
  }

  .service-lead p {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.8;
    word-wrap: break-word;
  }

  .service-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    padding: 0 20px;
  }

  .service-item {
    width: 100%;
    height: auto;
  }

  .service-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .service-text {
    padding: 30px;
  }

}


@media (max-width: 768px) {

  /* トップページレスポンシブ */
  header {
    height: 60px;
    padding: 0;
  }

  .logo img {
    max-width: 120px;
    height: auto;
  }

  .logo-icon {
    width: 60px;
    height: 60px;
  }

  .main-menu {
    display: none;
    flex-direction: column;
    gap: 10px;
  }

  .hamburger {
    display: flex;
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    margin-right: 0;
  }

  nav ul.main-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    background: #fff;
    padding: 100px 20px 20px;
    z-index: 25;
    overflow-y: auto;
  }

  nav ul.main-menu li {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
  }

  nav ul.main-menu li .sub-menu li {
    padding-left: 20px;
    border: none;
  }

  nav a .jp {
    color: #000;
  }

  nav a .en {
    color: #000;
    text-align: left;
  }

  .hero .hero-text .hero-catch {
    writing-mode: horizontal-tb;
    font-size: 16px;
    text-align: right;
    top: 90%;
    right: 15px;
  }

  .sub-heading h2 {
    font-size: 14px;
    padding: 15px 0;
  }

  .sub-heading::after {
    display: none;
    content: none;
  }

  .service-section-title,
  .work-title,
  .testimonials-title,
  .aboutus-title-title {
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .decoration {
    background-image: none;
  }

  .flexbox {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    margin: 0 auto 35px;
  }

  .testimonials {
    display: flex;
    flex-direction: column;
  }

  .works-button {
    order: 2;
  }

  .gg {
    order: 1;
    align-self: center;
    margin-bottom: 20px;
  }

  .testimonial-cards {
    order: 3;
  }

  .company-decoration-left {
    display: none;
  }

  .testimonial-row {
    display: block;
  }

  .testimonial-item {
    width: 100%;
  }

  .testimonial-item img {
    height: auto;
  }

  .voice-text {
    margin-top: 0;
  }

  .text-box {
    height: auto;
  }

  .testimonial-button-wrapper {
    margin-top: 40px;
  }

  .company-wrapper {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .company-content {
    flex-direction: column;
    padding-left: 0;
  }

  .company-photo {
    width: 100%;
    height: auto;
  }

  .company-photo-wrapper {
    margin-top: 20px;
  }

  .company-area {
    width: auto;
    height: auto;
    background-color: transparent;
    margin-top: 0;
    left: auto;
    z-index: auto;
  }


  .ff {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    display: block;
    margin: 40px auto 40px auto;
    top: 0;
  }

  .company-decoration-right {
    display: none;
  }

  .company-link .aboutus-title-title {
    margin-top: 0;
    left: 0;
  }

  .company-link .aboutus-title-title {
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .company-link {
    background: none;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  #footer {
    flex-direction: column-reverse;
    padding: 60px 20px;
  }

  .footer-info {
    width: 100%;
    padding-bottom: 40px;
  }

  .menu_img {
    width: 100%;
    justify-content: center;
    margin-bottom: 40px;
  }

  .copyright::after {
    transform: translateX(-50%) scale(0.5);
  }

  .announce_message {
    padding: 0 20px 15px 20px;
  }

  /* サークルCTAボタン非表示 */
  .pc-only {
    display: none;
  }

  .cta-circle {
    display: none;
  }

  .cta-circle-wrapper.show {
    display: none;
  }

  .mobile-only {
    display: inline-block;
  }

  /* サービスページレスポンシブ */
  #graphic {
    width: 100%;
    height: auto;
  }

  #graphic img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.2);
  }

  .graphic-title {
    top: 120px;
    left: 20px;
    transform: none;
    font-size: 14px;
  }

  .section-title-line {
    font-size: 18px;
  }

  .service-lead {
    padding: 40px 0 60px 0;
  }

  .service-lead h2 {
    font-size: 18px;
  }

  .service-lead p {
    font-size: 14px;
    line-height: 1.6;
    max-width: 100%;
  }

  .service-lead .container {
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto;
    max-width: 800px;
  }

  .service-grid {
    display: block;
  }

  .services-bg {
    display: none;
  }

  .service-text {
    padding: 20px;
  }

  .service-item {
    margin: 0 auto;
    width: 100%;
    height: auto;
    border: none;
  }

  .services-heading {
    margin-bottom: 40px;
  }

  .services-detail {
    padding-bottom: 0;
  }

  .flow-inner {
    padding: 40px 20px 0 20px;
  }

  .flow-image {
    margin: 20px auto 40px;
  }

  .flow-arrow {
    display: none;
  }

  .flow-step h3 {
    font-size: 16px;
  }

  .reform-flow {
    height: auto;
  }

  .flow-bottom-image {
    width: 50%;
    right: 20px;
  }

  .faq-section {
    height: auto;
    padding: 60px 20px;
  }

  .faq-wrapper {
    max-width: 100%;
    gap: 32px;
  }

  .faq-item {
    padding-left: 0;
  }

  .faq-question {
    width: 100%;
    height: auto;
    font-size: 15px;
    padding: 12px;
    box-sizing: border-box;
    text-align: left;
    justify-content: flex-start;
  }

  .faq-answer {
    width: 100%;
    height: auto;
    font-size: 15px;
    padding: 16px;
    line-height: 1.6;
    text-align: left;
    justify-content: flex-start;
    margin-top: 0;
  }

  /* 施行事例行事例 */
  .decoration-image {
    display: none;
  }

  .project-lead {
    padding: 40px 0 60px 0;
  }

  .project-lead-container p {
    margin-bottom: 20px;
  }

  .project-cases {
    padding: 0;
  }

  .cta-bg {
    height: 320px;
    margin-top: 40px;
  }

  .cta-section {
    height: 400px;
    margin-top: 40px;
    margin-bottom: 60px;
  }

  .cta-content {
    margin: 0 auto;
    max-width: 90%;
    align-items: center;
    top: -270px;
  }

  .cta-text h3 {
    font-size: 17px;
    line-height: 1.6;
  }

  .cta-text p {
    font-size: 15px;
    line-height: 1.9;
  }

  .works-button {
    font-size: 15px;
    padding: 10px 25px;
    border-radius: 25px;
    line-height: 30px;
  }

  .cta-decoration {
    top: 28px;
    width: 53%;
    right: 0;
    left: auto;
  }

  /* 事例 */
  .header-line-bg {
    margin-top: 60px;
    height: 12px;
    background-size: auto 100%;
  }

  .project-detail {
    margin-top: 110px;
    padding: 0 20px;
  }

  .project-text-box {
    margin-bottom: 20px;
  }

  .case-number {
    font-size: 16px;
  }

  .case-title {
    font-size: 18px;
    line-height: 1.6;
  }

  .case-info {
    font-size: 14px;
  }

  .image-gallery {
    flex-direction: column;
    align-items: center;
    position: relative;
    margin: 0 auto 20px;
  }

  .main-image {
    width: 100%;
    height: auto;
  }

  .main-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .gallery-arrow {
    font-size: 26px;
    top: 45%;
  }

  .gallery-arrow.prev {
    left: 10px;
  }

  .gallery-arrow.next {
    right: 10px;
  }

  .thumbnail-gallery {
    gap: 10px;
    margin-bottom: 20px;
  }

  .thumb {
    width: 62px;
    height: 62px;
  }

  /* Before / After */
  .before-after-wrap {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
    margin: 20px auto;
  }

  .before-image-text {
    width: 100%;
  }

  .before-img {
    width: 100%;
    height: auto;
  }

  .before-caption {
    font-size: 13px;
  }

  .after-description {
    width: 100%;
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
  }

  .after-balloon {
    position: relative;
    top: -150px;
    right: 0;
    transform: none;
    margin: -80px 0 0 auto;
    width: 200px;
  }

  .works-button1 {
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 20;
  }

  .works-button {
    font-size: 15px;
    padding: 10px 25px;
    border-radius: 25px;
    line-height: 30px;
  }

  /* 会社概要 */
  .company-top-hero-bg img {
    transform: scale(1.2);
    transform-origin: bottom right;
  }

  .company-profile {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding-top: 50px;
  }

  .company-greeting {
    padding: 20px;
  }

  .company-greeting p {
    width: auto;
  }

  .company-greeting .section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .profile-inner {
    padding: 0 20px;
    text-align: left;
  }

  .map {
    margin-top: 20px;
    margin-bottom: 40px;
    width: 90%;
    max-width: 427px;
    height: 280px;
  }

  .staff-member1,
  .staff-member2 {
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
  }

  .staff-photo {
    padding: 0;
    width: 150px;
    margin-bottom: 16px;
  }

  .staff-bio {
    text-align: center;
  }

  .decoration-layer {
    display: none;
  }

  .staff-section {
    padding: 20px 10px;
    background-position: top;
    background-size: 100%;
    margin-bottom: 0;
  }

  .staff-section h2.section-title {
    padding-left: 0;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
  }

  .staff-member {
    padding: 20px 0;
  }

  .staff-member1,
  .staff-member2 {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 10px;
    margin-bottom: 40px;
  }

  .staff-photo {
    width: 150px;
    height: auto;
    margin-bottom: 12px;
    padding: 0;
  }

  .staff-bio h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .staff-bio p {
    font-size: 14px;
    line-height: 1.6;
    width: 260px;
  }

  /* コンタクト */
  .contact_decoration {
    background-position: center bottom;
    background-size: 200px auto;
  }

  .service-title {
    padding: 40px 20px;
    font-size: 16px;
    text-align: center;
  }

  .main_form {
    width: 100%;
    max-width: 600px;
    height: auto;
    padding: 40px 20px;
    margin-bottom: 0;
  }

  .contact_hd h1 {
    font-size: 24px;
  }

  .cnt_text {
    padding: 20px 0 60px;
    font-size: 14px;
    line-height: 1.6;
  }

  .form-group input,
  .form-group textarea {
    width: 100%;
    font-size: 14px;
    padding: 15px;
  }

  .contact-type-group {
    padding-top: 10px;
  }

  .radio-label {
    font-size: 14px;
  }

  .radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
  }

  .form-notice {
    font-size: 12px;
    margin-top: 15px;
    line-height: 1.6;
  }

  .form-btn {
    width: 80%;
    max-width: 300px;
    height: 55px;
    margin: 30px auto 0;
  }

  .form-btn button {
    font-size: 16px;
  }

  .sp-br {
    display: inline;
  }

}