@charset "UTF-8";
/* ----------------------------
  共通設定
---------------------------- */
html {
  font-size: 62.5%; /* 1rem = 10px */
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', Meiryo, sans-serif;
  color: #1A1A1A;
}

/* 英文字だけ適用 */
body *:lang(en), 
body *:not(:lang(ja)) {
  font-family: 'Roboto', sans-serif;
}

p,li,dt,dl {
  font-size: 1.6rem; /* 16px */
  font-weight: 500;
  line-height: 1.8;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

section {
  margin: auto;
}

.sp-br {
  display: none;
}

.content {
  width: 860px;
  margin: auto;
}

.main-title {
  font-weight: bold;
}

.main-title span {
  color: #E83A35;
}

.sub-title {
  font-family: 'Roboto', sans-serif;
  font-size: 1.5rem;
  color: #E83A35;
  font-weight: 100;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.title-wrap {
  margin: auto;
  background-image: url("../images/bg01.png");
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 51px auto;
  height: 67px;
  padding: 16px 0 0 32px;
}

.title-wrap h2 {
  font-size: 3.6rem;
  letter-spacing: 0.09em;
  line-height: 1.0;
}

.title-wrap h2 .sub-title {
  padding-left: 10px;
}

/* アンカーリンク位置調整 */
#our-services {
  scroll-margin-top: 14svh;
}

#message {
  scroll-margin-top: 20svh;
}

#about-us {
}

#contact {
  scroll-margin-top: 14svh;
}

@media screen and (max-width: 959px) {
.sp-br {
  display: inline;
}

.content {
  width: 92vw;
}

.title-wrap h2 {
  font-size: 2.4rem;
  letter-spacing: 0.09em;
  line-height: 1.0;
}

.sub-title {
  font-family: 'Roboto', sans-serif;
  font-size: 1.2rem;
}

.title-wrap {
  background-size: 38px auto;
  height: 49px;
}

.title-wrap h2 .sub-title {
  padding: 5px 0 0 2px;
  display: block;
}

}


/* ----------------------------
  ヘッダー
---------------------------- */
header {
  background-color: #fff;
  width: 100%;
  box-sizing: border-box;
  padding: 29px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
	z-index: 200;
}

.site-logo img {
  height: 35px;
  align-items: center;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.site-nav a {
  color: #333;
  font-weight: bold;
}

#MenuIcon {
  display: none;
}

/* スマホ・タブレット用メニュー */

@media screen and (max-width: 959px) {
header {
  padding: 14px 4%;
}

.site-logo img {
  height: 30px;
  align-items: flex-start;
}

#MenuIcon {
  position: relative;
  width: 28px;
  height: 26px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #4c4c4c;
  transition: all 0.4s ease;
  border-radius: 4px;
}

/* バッテンに変化 */
#MenuIcon.open .top {
  transform: rotate(45deg) translate(8px, 8px);
}
#MenuIcon.open .middle {
  opacity: 0;
}
#MenuIcon.open .bottom {
  transform: rotate(-45deg) translate(8px, -8px);
}

header nav {
  background-color: #fff;
  width: 100%;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 200;
  padding: 40px 0;
  display: none;
}

header nav ul {
  flex-direction: column;
  align-items: center;
  margin-bottom: 32px;
}

header nav div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

header nav.show {
  display: block;
}
}

/* ----------------------------
  ヒーローエリア
---------------------------- */
.hero {
  position: relative;
  background: url("../images/mv01.webp") no-repeat center 55%/cover;
  height: 540px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1 1 auto;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 0, 0, 0.84); /* 赤 + 不透明度84% */
  clip-path: polygon(0 100%, 0% 0%, 34% 0%, 16% 100%);
  pointer-events: none; /* 背景帯でクリック妨害しない */
}

.hero-titlebox {
  width: 860px;
  margin-top: 100px;
  z-index: 1;
}

.hero-title {
  font-size: 3.0rem;
  font-weight: bold;
  color: #fff;
  letter-spacing: 0.03em;
  line-height: 1.53;
  text-shadow: 0 0 4px rgba(0,0,0,0.8),0 4px 12px rgba(0,0,0,0.6);
}

.hero-title strong {
  font-weight: bold;
  font-size: 4.2rem;
}

.hero-subtitle {
  font-size: 1.6rem;
  line-height: 1.4;
  font-weight: lighter;
  display: inline-block;
  color: #E83A35;
  letter-spacing: 0.06em;
  background: rgba(255,255,255,0.94);
  flex: none;
  padding: 2px 8px;
}

@media screen and (max-width: 959px) {
.hero::before {
  clip-path: polygon(0 100%, 0 0, 48% -0, 0 78%);
}

.hero-titlebox {
  width: 85vw;
}
  
.hero-title {
  font-size: 2.4rem;
  white-space: normal; /* 改行OK */
  word-break: keep-all; /* 単語内で改行しない */
  margin-top: 1em;
}

.hero-title strong {
  font-size: 3.8rem;
  display: block;
}

.hero-subtitle {
  font-size: 1.2rem;
}
}

/* ----------------------------
  お知らせ
---------------------------- */
.news {
  position: relative;
  max-width: 1008px;
  margin: -30px auto 0; /* ←ヒーローにかぶせる！ */
  background-color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  z-index: 2;
  padding: 20px 24px;
}

.news-inner {
  max-width: 860px;
  margin: auto;
  padding: 10px 0;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 20px;
}

.news-inner h2 {
  font-size: 2.1rem;
  letter-spacing: 0.09em;
  width: 10em;
  line-height: 1.0;
  margin: 10px 0;
}

.news ul {
  list-style: none;
  padding: 0;
}

.news li {
  margin: 10px 0;
  font-size: 1.4rem;
  line-height: 1.6;
  border-left: #E83A35 3px solid;
  padding: 0 0 0 10px;
}

.news li span {
  font-weight: bold;
  margin-right: 8px;
  display: block;
}

@media screen and (max-width: 959px) {
.news {
  width: 94vw;
}

.news-inner {
  width: 90%;
  flex-direction: column;
  gap: 0;
}

}

/* ----------------------------
  事業内容
---------------------------- */
.service-bg {
  padding: 0 0 80px 0;
  background-color: #E9EEF4;
  background-image: url("../images/bg01.png"), url("../images/bg01.png");
  background-size: 40%;
  background-position: calc(100% + 60px) calc(0% + 80px), calc( 0% - 80px) calc( 100% - 60px);
  background-repeat: no-repeat, no-repeat;
}

.services {
  margin-top: 60px;
}

.services-inner .content {
  margin: 10px auto 50px auto;
}

.services-title {
  width: 930px;
}

.service-cards {
  display: flex;
  flex-direction: column;
  gap: 60px;
  overflow: hidden;
}

.service-card {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30%;
  right: 0;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
}

.service-card:first-of-type::after {
  background-image: url("../images/aboutbg01.webp");
  background-position: right center;
  clip-path: polygon(40% 100%, 55% 0, 100% 0, 100% 100%);
}

.service-card:nth-of-type(2)::after {
  left: 0;
  right: 55%;
  background-image: url("../images/aboutbg03.webp");
  background-position: center;
  clip-path: polygon(75% 100%, 0% 100%, 0 0%, 100% 0%);
}

.service-card:nth-of-type(3)::after {
  background-image: url("../images/aboutbg02.webp");
  background-position: calc(100% + 250px) center;
  clip-path: polygon(40% 100%, 55% 0, 100% 0, 100% 100%);
}

.service-card-inner {
  flex: 0 0 1008px;
  padding: 40px 0 40px 74px;
  background: rgba(255,255,255,0.8);
  position: relative;
  margin: 0 auto;
}

.service-card:nth-of-type(2) .service-card-inner {
  padding: 40px 0 40px 220px;
}

.service-card-title {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.service-card h3 {
  font-size: 2.2rem;
  letter-spacing: 0.05em;
  line-height: 0.72;
  margin-bottom: 10px;
}

.service-number {
  font-family: 'Roboto', sans-serif;
  color: #E83A35;
  vertical-align: middle;
  font-size: 6.0rem;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 15px 15px -10px;
  line-height: 1.0;
}

.service-card-inner .description {
  width: 510px;
}

@media screen and (max-width: 959px) {
.service-bg {
  background-size: 70%;
  background-position: calc(100% + 60px) calc(0% + 220px), calc( 0% - 80px) calc( 100% - 20px);
}

.services {
  width: 100%;
}

.services-title {
  width: auto;
}

.service-card {
  display: block;
  flex-direction: column;
  background: rgba(255,255,255,0.8);
  margin: 0 0 0 4vw;
}

.service-card:nth-of-type(2) {
  margin: 0 4vw 0 0 ;
}

.services-inner .content {
  margin: 30px auto 50px auto;
}

.service-card::after {
  position: relative;
  width: 100%;
  height: 300px;
  left: 0;
  display: block;
  z-index: 1;
}

.service-card:first-of-type::after {
  background-image: url("../images/aboutbg01.webp");
  background-position: right center;
  clip-path: polygon(0 100%, 0 16%, 100% 0, 100% 100%);
}

.service-card:nth-of-type(2)::after {
  left: 0;
  right: 0;
  background-image: url("../images/aboutbg03.webp");
  background-position: center;
  clip-path: polygon(0 100%, 0 0, 100% 16%, 100% 100%);
}

.service-cards .service-card:nth-of-type(3)::after {
  background-image: url("../images/aboutbg02.webp");
  background-position: center;
  clip-path: polygon(0 100%, 0 16%, 100% 0, 100% 100%);
}

.service-card-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background: none;
  flex: 1 1 auto;
  padding: 30px 4vw 10px 4vw;
  z-index: 2;
}

.service-card:nth-of-type(2) .service-card-inner {
  padding: 15px 4vw 10px 4vw;
}

.service-card h3 {
  font-size: 1.8rem;
  line-height: 1.2;
}

.service-number {
  font-size: 5.0rem;
}

.service-card-inner .description {
  width: 100%;
}
}

/* ----------------------------
  代表メッセージ
---------------------------- */
.message {
  width: 930px;
  margin: 60px auto;
  display: flex;
  justify-content: center;
  align-items: top;
  gap: 20px;
}

.message img {
  height: 530px;
}

.message-inner {
  width: 450px;
}

.message .description {
  padding: 12px 18px;
  margin-top: 10px;
}

.message-inner p {
  margin-top: 20px;
}

@media screen and (max-width: 959px) {
.message {
  width: 100%;
  padding: 0 4vw 0 4vw;
  align-items: center;
}

.message img {
  height: 100%;
}

.message-inner {
  width: 100%;
}
}

@media screen and (max-width: 797px) {
.message {
  width: 100%;
  flex-direction: column-reverse;
  padding: 0 4vw 0 4vw;
}

.message img {
  height: 96%;
}
.message-inner {
  width: 100%;
}
}

/* ----------------------------
  会社概要
---------------------------- */
.about-us {
  background: url("../images/aboutus_bg01.webp") no-repeat right 20%/cover;
  box-shadow: inset 0 11px 5px rgba(0,0,0,0.25);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  line-height: 1;
}

.about-us-inner {
  width: 1008px;
} 

.about-us-title {
  margin: 220px 0 12px 35px;
}

.about-us-title .main-title {
  color: #fff;
  text-shadow: 0 4px 12px rgba(5, 21, 63, 0.7);
}

.about-us-title .main-title span {
  color: #F08A84;
}

.about-us-card {
  background: #fff;
  width: 658px;
  padding: 30px 68px;
  box-shadow: 4px -4px 4px rgba(0,0,0,0.25);
}

.about-us-card dt,
.about-us-card dd {
  line-height: 1.6;
  display: flex;
  align-items: flex-start; /* テキストを上揃え */
  position: relative;
}

.about-us-card dt::before,
.about-us-card dd::before {
  content: "";
  display: block;
  width: 3px;                  /* 線の太さ */
  background: #E83A35;         /* 線の色 */
  align-self: stretch;
  margin: -5px 10px -5px 0;
}

.about-us-card dt {
  font-weight: bold;
  margin: 20px 0 0 0;
}

.about-us-card ul dd:last-of-type {
  padding: 0 0 10px 10px;
}

@media screen and (max-width: 959px) {
.about-us {
  background-size: cover;
  background-position: 55% center;
}

.about-us-inner {
  width: 100%;
}

.about-us-title {
  margin: 220px 0 40px 4vw;
}

.about-us-card {
  width: 92vw;
  margin: auto;
  padding: 24px 20px;
}
}

/* ----------------------------
  お問い合わせフォーム
---------------------------- */
.contacts {
  width: 100%;
  background-image: url("../images/contact_bg01.svg");
  background-size: 36%;
  background-position: calc(100% - 40px) calc(0% + 110px);
  background-repeat: no-repeat;
}

.contacts-inner {
  width: 930px;
  margin: 0 auto;
  padding: 80px 0;
}

.contacts-inner .content {
  margin: 10px auto 40px auto;

}
.contacts-inner .content ul li {
  list-style: disc;
  margin-left: 1em;
}

.contacts .form-group {
  margin-bottom: 20px;
}

.contact-form {
  width: 930px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  vertical-align: middle;
  line-height: 1.2;
}

.form-group label {
  font-size: 1.4rem;
  display: block;
  font-weight: bold;
  margin:10px 0 5px 0;
}

.required {
  background-color: #E83A35;
  border-radius: 3px;
  color: #fff;
  padding: 2px 8px;
  margin: 4px 0 0 10px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 712px;
  padding: 12px;
  font-size: 1.6rem;
  border: 1px solid #1A1A1A;
  border-radius: 3px;
  box-sizing: border-box;
  background-color: #fff;
}

.contact-form button[type="submit"] {
  color: #fff;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  padding: 17px 120px;
  background-color: #1A1A1A;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button[type="submit"]:hover {
  background-color: #E83A35;
}

.contact-form a {
  color: #E83A35;
  text-decoration: underline;
}

.contact-form a:hover {
  color: #F08A84;
  text-decoration: none;
}

.contact-tel {
  max-width: 862px;
  margin: 60px auto;
  padding: 20px 70px;
  border: 2px solid #E83A35;
}

.contact-tel p {
  font-weight: 600;
}

.contact-tel .tel-number {
  font-family: 'Roboto', sans-serif;
  font-size: 4.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
  margin: 10px auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.contact-tel .tel-number::before {
  content: "";
  display: inline-block;
  width: 4.0rem;
  height: 4.0rem;
  margin: 0 5px 1px 0;
  background: url('../images/tel_icon.svg') no-repeat center/contain;
  vertical-align: middle;
}

a[href^="tel:"] {
  text-decoration: none;
  font-weight: bold;
}

@media screen and (max-width: 959px) {
.contacts {
  background-size: 60%;
  background-position: calc(100% + 45px) calc(0% + 20px);
}

.contacts-inner {
  width: 100%;
  padding: 80px 4vw 0 4vw;
}
.contacts-inner .content {
    margin: 25px auto 40px auto;
}

.contact-form {
  width: 100%;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 92vw;
}

.contact-tel {
  padding: 20px 5vw 20px 10vw;
}

.contact-tel .tel-number {
  font-size: clamp(1.8rem, 6vw, 3.4rem);
}

.contact-tel .tel-number::before {
  width: 3.0rem;
  height: 3.0rem;
}
}

/* ----------------------------
  フッター
---------------------------- */
footer {
  background: #E83A35;
  padding: 40px 0;
  text-align: center;
  font-size: 1rem;
  color: #fff;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.footer-nav ul li {
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  line-height: 1.0;
}

.footer-nav ul li:not(:last-child)::after {
  content: "|";
  width: 1.4rem;
  font-size: 1.4rem;
  vertical-align: middle;
  margin: 0 1rem 2px 1rem;
}

.footer-nav ul li a {
  color: #fff;
}

.footer-nav ul li a:hover {
  text-decoration: underline;
}

footer .copy {
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

/* ----------------------------
  トップにもどるボタン
---------------------------- */
.scroll-to-top {
  position: fixed;
  right: 0;
  bottom: 0;
  width: 83px;
  height: 100px;
  padding-top: 38px;
  background-color: rgba(232, 58, 53, 0.7);
  color: #fff;
  text-align: center;
  cursor: pointer;
  display: none;
  z-index: 1000;
  transition: opacity 0.3s, transform 0.3s;
}

.scroll-to-top.show {
  display: block;
  opacity: 0.8;
}

.scroll-to-top:hover {
  opacity: 1;
  transform: translateY(-3px);
}

@media screen and (max-width: 959px) {
.scroll-to-top {
  width: 58px;
  height: 70px;
  padding-top: 28px;
}

.scroll-to-top svg {
  width: 28px;
  height: auto;
}
}

/* ----------------------------
  プライバシーポリシー
---------------------------- */
.privacy {
  width: 860px;
  margin: 30px auto 60px;
}

.privacy h3 {
  font-size: 2.0rem;
  font-weight: bold;
  margin-top: 30px;
  line-height: 1.8;
}

@media screen and (max-width: 959px) {
.privacy {
  width: 92vw;
}

.privacy h3 {
  font-size: 1.8rem;
}
}