@import url(bace.css);

.header {
  width: 100%;
  height: var(--header-height);
  background-color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  position: absolute;
  top: 0; left: 0;
  z-index: 2;
}
.header .logo { max-width: 230px; margin-left: 5%;}
.header-nav {
  font-size: 17px;
  line-height: 22px;
  font-weight: var(--bold);
  display: flex;
  align-items: center;
  column-gap: 30px;
}
.header-tel a {
  height: var(--header-height);
  background-color: var(--primary);
  color: var(--white);
  font-weight: var(--bold);
  position: relative;
  text-align: center;
  margin-left: 30px;
  padding: 14px 46px 14px 98px;
}
.header-tel-no { display: block; font-size: 27px; line-height: 1; margin-bottom: 4px;}
.header-tel-text { display: block; font-size: 14px; line-height: 1.6;}
.header-tel a::before {
  content: "";
  width: 36px;
  height: 48px;
  background: url(../img/icon-tel-w.png) no-repeat;
  background-size: contain;
  position: absolute;
  top: 0; bottom: 0;
  left: 46px;
  margin: auto;
  transition: all 0.5s ease;
}
.first-view {
  background: url(../img/first-view.jpg) no-repeat center center;
  background-size: cover;
  height: 42.7vw;
  padding-top: 9.34vw;
  padding-left: 10%;
}
.fv-message {
  font-size: min(8vw, 60px);
  letter-spacing: -0.01em;
}
.fv-message span { font-size: min(6vw, 55px);}
.fv-message-s { 
  font-size: min(6vw, 42px); font-weight: var(--bold); margin-top: 24px; letter-spacing: 0.02em;
  text-shadow:
    0 0 4px #fff,
    0 0 8px #fff,
    0 0 12px #fff;
}
.sec-news {
  background: url(../img/bg-news.jpg) no-repeat center center;
  background-size: cover;
}
.news-inner {
  width: max-content;
  min-width: 800px;
  max-width: 90%;
  margin: 0 auto 54px;
  padding: 0 5%;
  display: flex;
}
.news-title {
  border-right:  1px solid var(--text);
  padding-right: 52px;
  margin-right: 84px;
}
.news-title .title {
  font-size: 28px;
  width: 54px;
  display: flex;
  justify-content: space-between;
}
.news-title .title::after {
  content: attr(data-en);
  display: block;
  writing-mode: vertical-rl;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.04em;
  padding-top: 10px;
}
.news-box { flex-grow: 1;}
.news-item a { display: block; padding: 15px 0; display: flex; column-gap: 48px;}
.sec-greeting {
  width: 100%;
  height: 55.73vw;
  min-height: max-content;
  margin: auto;
  padding-top: 5vw;
  text-align: center;
  background: url(../img/bg-greeting.png) no-repeat center bottom;
  background-size: contain;
}
.greeting-text {
  max-width: 789px;
  margin: 0 auto 55px;
}
.greeting-text::before {
  content: "";
  display: block;
  width: 1px;
  height: 70px;
  background-color: var(--text);
  margin: 0 auto 72px;
}
.greeting-text-title { font-size: min(8vw, 50px); padding-bottom: 35px;}
.greeting-text-head { font-size: min(6vw, 35px); padding-bottom: 50px;}
.greeting-text-content { font-size: 17px; letter-spacing: 0.03em; line-height: 2.5;}
.sec-business {
  background: url(../img/bg-business.jpg) no-repeat center bottom;
  background-size: cover;
  color: var(--white);
  padding-bottom: 180px;
}
.sec-business a { color: var(--white);}
.business-box {
  width: 90%;
  max-width: var(--content-width);
  margin: auto;
  display: flex;
  flex-direction: column;
  row-gap: 72px;
}
.business-item { display: flex; min-height: 400px;}
.business-item:nth-child(odd) { margin-left: 5%; flex-direction: row-reverse;}
.business-item:nth-child(even) { margin-right: 5%;}
.business-item-img, .business-item-text { width: 50%;}
.business-item-img img { 
  height: 100%; 
  object-fit: cover;
  width: 100%;
  aspect-ratio: 715/400;
  object-fit: cover;
}
.business-item-text {
  background-color: #003E74;
  padding: 40px 60px 20px 80px;
}
.business-item-title { font-size: min(6vw, 38px); font-weight: var(--bold); letter-spacing: -0.04em; margin-bottom: 32px;}
.business-item-title::before {
  content: attr(data-no);
  display: block;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}
.business-item-content {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  letter-spacing: 0.06em;
  word-break: auto-phrase;
}
.business-item-reform .business-item-text { padding: 40px 20px 20px 40px}
.business-item-reform .business-item-title { letter-spacing: -0.08em;}
.business-item-link {
  display: inline-block;
  margin-top: 27px;
  position: relative;
  padding-right: 30px;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}
.business-item-link::after {
  content: "";
  width: 7px;
  height: 9px;
  background: url(../img/icon-arrow-rw.png) no-repeat center right;
  background-size: contain;
  position: absolute;
  top: 0; bottom: 0;
  right: 0;
  margin: auto;
}
.business-item-link:hover {
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
}
.sec-works {
  background: url(../img/bg-works.jpg) no-repeat center bottom;
  background-size: contain;
}
.works-item img { height: 22vw; object-fit: cover;}
.works-title {
  background-color: var(--white);
  padding: 1.5em 10px;
  font-size: min(3vw, 18px);
  text-align: center;
  /* position: relative; */
}
/* .works-title::after {
  content: "";
  width: 7px;
  height: 9px;
  background: url(../img/icon-arrow-r.png) no-repeat center right;
  background-size: contain;
  position: absolute;
  top: 0; bottom: 0; right: 5%;
  margin: auto;
} */
.sec-works .btn a { margin-top: 55px;}
.sec-contact {
  background-color: var(--primary);
  color: var(--white);
}
.contact-inner {
  width: 90%;
  max-width: var(--content-inner-width);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sec-contact .sec-title .title { text-align: left;}
.sec-contact .sec-title .title::after { content: none;}
.contact-item a {
  display: block;
  background-color: var(--white);
  padding: 20px 70px 16px 126px;
  font-size: min(5vw, 36px);
  font-weight: var(--bold);
  text-align: center;
  position: relative;
}
.contact-item a::before {
  content: "";
  width: 40px;
  height: 53px;
  position: absolute;
  top: 0; bottom: 0;
  left: 70px;
  margin: auto;
}
.contact-item a.tel { margin-bottom: 16px;}
.contact-item a.tel::before {
  background: url(../img/icon-tel.png) no-repeat center left;
  background-size: contain;
}
.contact-item a.mail { padding: 24px 70px 24px 126px;}
.contact-item a.mail::before {
  background: url(../img/icon-mail.png) no-repeat center left;
  background-size: contain;
}
.tel-no { display: block; line-height: 1; font-weight: var(--bold); margin-bottom: 4px;}
.tel-text { display: block; font-size: 18px;}
.footer { padding-top: 100px; padding-bottom: 24px;}
.footer-inner {
  width: 80%;
  max-width: var(--content-inner-width);
  display: flex;
  justify-content: space-between;
  margin: 0 auto 70px;
}
.footer-logo { max-width: 300px; margin-bottom: 24px;}
.footer-text-name { font-size: 24px; letter-spacing: 0.08em;}
.footer-nav {
  display: flex;
  column-gap: 25px;
  letter-spacing: 0.04em;
}
.copy {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-align: center;
}
.page-top {
  position: fixed;
  bottom: 50px;
  right: 5%;
  width: 64px;
  height: 64px;
  border-radius: 32px;
  border: 2px solid var(--primary);
  background: var(--white) url(../img/icon-top.png) no-repeat center center;
  background-size: 13px auto;
  cursor: pointer;
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 2;
}
.page-top.view { opacity: 1; transition: all 0.5s ease;}
.page-top.view:hover { opacity: 0.8;}

/* ***** 下層ページ ****** */ 
.kv {
  height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: url(../img/kv-company.jpg) no-repeat center center;
  background-size: cover;
}
.page-works .kv {
  background: url(../img/kv-works.jpg) no-repeat center center;
  background-size: cover;
}
.page-contact .kv {
  background: url(../img/kv-contact.jpg) no-repeat center center;
  background-size: cover;
}
.kv-title {
  text-align: center;
  font-weight: var(--bold);
  letter-spacing: 0.07em;
}
.kv-title::before {
  content: attr(data-en);
  display: block;
  font-size: min(8vw, 70px);
  text-transform: uppercase;
  letter-spacing: 0;
}
.sec-page-contact { position: relative;}
.page-contact-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: var(--bold);
  letter-spacing: 0.07em;
  color: var(--primary);
  text-align: center;
  margin-bottom: 52px;
}
.page-contact-title::before {
  font-family: "Noto Serif JP", sans-serif;
  content: attr(data-en);
  display: block;
  font-size: min( 8vw, 70px);
  color: var(--text);
  line-height: 1;
  letter-spacing: 0;
}
.page-contact-box {
  background: var(--primary) url(../img/footer-contact-bg.png) no-repeat left bottom;
  background-size: 100% auto;
  color: var(--white);
  text-align: center;
  width: 90%;
  max-width: var(--content-width);
  margin: auto;
  padding: 80px 5%;
  position: relative;
  z-index: 1;
}
.page-contact-text { font-size: min(5vw, 38px); font-weight: var(--bold); margin-bottom: 32px;}
.page-contact-time { font-size: 18px; font-weight: var(--bold); margin-bottom: 20px;}
.page-contact-item {
  font-size: min(6vw, 32px);
  line-height: 1;
  font-weight: var(--bold);
  margin-bottom: 4px;
  display: flex;
  justify-content: center;
  column-gap: 2%;
  row-gap: 10px;
}
.page-contact-item a {
  display: block;
  background-color: var(--white);
  padding: 8px 50px 16px 106px;
  color: var(--primary);
  text-align: center;
  position: relative;
}
.page-contact-item a.mail { line-height: 68px;}
.page-contact-item a::before {
  content: "";
  width: 40px;
  max-width: 40px;
  height: 40px;
  max-height: 40px;
  position: absolute;
  top: 0; bottom: 0;
  left: 50px;
  margin: auto;
}
.page-contact-item a.tel::before {
  background: url(../img/icon-tel.png) no-repeat center left;
  background-size: contain;
}
.page-contact-item a.mail { padding: 12px 50px 12px 106px;}
.page-contact-item a.mail::before {
  background: url(../img/icon-mail.png) no-repeat center left;
  background-size: contain;
}

.page-contact-item span { font-size: min(4vw, 20px); display: inline-block; line-height: 1.5;}
.page-footer {
  background-color: #F1F5FB;
  padding: 20vw 0 0;
  margin-top: -20vw;
}
.page-footer .footer { padding-bottom: 0;}
.page-footer .copy {
  background-color: #111111;
  color: var(--white);
  padding: 15px 0;
}
.page-company .dl-box { max-width: 968px;}
.page-company .page-sec-inner {
  width: 100%;
  max-width: 968px;
  margin: auto;
}
.sec-company-greeting .page-sec-title { text-align: center;}
.company-greeting-box { display: flex;}
.company-greeting-text { width: 50%; margin: 0 10%;}
.company-greeting-text p { text-indent: 1em; line-height: 2;}
.company-greeting-text p:last-child {font-family: "Noto Serif JP", sans-serif; text-align: right; font-weight: var(--bold); margin-top: 32px;}
.company-greeting-img { width: 20%; margin-right: 10%;}
/* .page-business-title { font-weight: var(--bold);} */
.page-business-box { margin-top: 10px;}
.page-business-item { margin-top: 10px;}
.page-business-head { color:var(--primary);}
.page-business-content { word-break: auto-phrase;}
.sec-page-works .page-sec-title { text-align: center;}
.page-works-box {
  display: flex;
  column-gap: 4%;
  row-gap: 32px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.page-works-item { width: 48%; min-width: 500px; background-color: var(--white); box-shadow: 0 0 20px rgba(60, 86, 52, 0.1);}
.page-works-item-img img { height: 400px; object-fit: cover;}
.page-works-item-img .thumb { display: none;}
.page-works-item-content { padding: 25px 64px;}
.page-works-item-title { font-size: min(2.5vw, 30px); color: var(--primary); font-weight: var(--bold);}
.form-wrap {
  max-width: var(--content-inner-width);
  margin: auto;
  background-color: var(--white);
  box-shadow: 0 0 20px rgba(60, 93, 71, 0.1);
  padding: 70px 5%;
}
.form-wrap iframe { height: 880px;}
#formWrap { font-family: "Noto Sans JP", sans-serif; font-weight: 400;}
.form-title { font-weight: var(--bold); font-size: 20px; text-align: center; margin-bottom: 1em;}
.form-head-text { text-align: center;}
.form-box { max-width: 800px; margin: 70px auto;}
.form-box input[type=text],
.form-box input[type=tel],
.form-box input[type=email],
.form-box textarea { width: 100%; border: 1px solid #dddddd; border-radius: 4px; padding: 8px 15px;}
.form-box input[type=text], .form-box input[type=tel], .form-box input[type=email] { line-height: 32px;}
.form-box input::placeholder, .form-box textarea::placeholder { color: #dddddd;}
.form-item { margin-top: 12px;}
.form-item dt { font-size: 20px; font-weight: var(--bold); margin-bottom: 10px;}
.form-item .req {
  display: inline-block;
  background-color: #e21e1e;
  border-radius: 2px;
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.04em;
  font-weight: 400;
  padding: 1px 8px;
  margin: 0 10px;
  position: relative;
  bottom: 2px;
}
.form-item small { font-size: 15px; font-weight: 400;}
.form-btn { text-align: center;}
.form-btn input, .form-btn a {
  display: inline-block;
  width: 446px;
  max-width: 90%;
  border: none;
  background-color: var(--primary);
  color: var(--white);
  font-size: 18px;
  border-radius: 4px;
  border: 2px solid var(--primary);
  padding: 16px;
  cursor: pointer;
  transition: all 0.5s ease;
}
.form-btn input:hover { opacity: 0.8; transition: all 0.5s ease;}
.form-btn input.back { background-color: var(--white); color: var(--primary);}