@charset "utf-8";

/* ----------------------------------------
	company
---------------------------------------- */

/* * {
  outline: 2px solid blue;
} */

.h1-wrapper {
  padding-top: 12rem;
  position: relative;
  overflow: hidden;
}

.h1-wrapper::before {
  content: attr(data-en);
  position: absolute;
  top: 32%;
  left: -2%;
  z-index: -2;
  color: #e1f3e2;
  font-size: 250px;
  font-family: "ZCOOL XiaoWei", sans-serif;
  font-weight: 400;
  line-height: 0;
  white-space: nowrap;
}

.h1-content {
  background-color: #39b54a;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8rem 25%;
}

.h1-ttl {
  margin: 0 15% 2rem 15%;
}

.h1-ttl h1 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 1.5rem;
}

.h1-content p {
  color: #fff;
}

.h1-content-ttl {
  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
}

/* 代表挨拶 */
#message {
  margin: 8rem 15%;
  display: flex;
  align-items: center;
  gap: 6rem;
}

.message-left {
  flex: 1;
}

.message-left figure {
  margin-bottom: 1rem;
}

.message-left figcaption {
  color: #39b54a;
  font-family: "ZCOOL XiaoWei", sans-serif;
  font-size: 1.2rem;
  text-align: center;
}

.message-right {
  flex: 1;
}

h2 {
  position: relative;
  display: inline-block;
  margin: 4rem 2rem;
}

h2:before {
  content: "";
  position: absolute;
  background: #e1f3e2;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: -1;
}

.message-right p {
  margin-bottom: 2rem;
}

.message-right p:last-of-type {
  text-align: right;
  margin-bottom: 0;
}

/* 環境方針 */
#policy {
  position: relative;
  padding-top: 8rem;
  overflow: hidden;
}

#policy h2 {
  padding: 0 15%;
}

.policy-contents {
  background-color: #f2f2f2;
  padding: 8rem 30% 8rem 15%;
}

.policy-text {
  margin-bottom: 3rem;
}

.policy-ttl {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.policy-contents ul {
  margin-bottom: 3rem;
}

.policy-contents ul li {
  margin-bottom: 1rem;
  text-indent: -1.5em;
  padding-left: 1.5em;
}

.policy-contents ul li:last-child {
  margin-bottom: 0;
}

.sign {
  width: fit-content;
  margin-left: auto;
  text-align: left; 
}

.for-sp {
    display: none;
  }

#policy figure {
  position: absolute;
  bottom: 0;
  right: 0;
}

/* 会社概要 */
#profile {
  padding: 8rem 15%;
  position: relative;
  overflow: hidden;
}

#profile dl {
  display: flex;
  flex-flow: row wrap;
  gap: 2%;
  width: 100%;
}

#profile::after {
  content: "";
  display: inline-block;
  width: 726px;
  height: 750px;
  background-image: url(../images/symbol.png);
  background-size: contain;
  vertical-align: middle;
  position: absolute;
  bottom: 0;
  right: -6%;
}

#profile dt {
  flex-basis: 20%;
  padding: 2rem;
  border-bottom: 1px solid #39b54a;
}

#profile dd {
  flex-basis: 78%;
  padding: 2rem;
  border-bottom: 1px solid #ccc;
}

#profile dd span {
  padding-left: 6.65rem;
}

/* @media screen and (max-width: 559px) {
  #profile dl {
    flex-flow: column;
  }
} */

/* 営業所案内 */
#office {
  margin: 8rem 15%;
}

.office-contents {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4rem;
}

.office-contents-reverse {
  flex-direction: row-reverse;
}

.office-contents:first-of-type {
  margin-bottom: 8rem;
}

.office-contents address {
  margin-bottom: 2rem;
}

.br-sp {
  display: none;
}

#office figure {
  flex: 1.5;
  display: flex;
}

#office .office-contents-left{
  flex: 1;
}

#office figcaption {
  margin-left: 0.5rem;
}

#office figcaption p {
  font-family: "ZCOOL XiaoWei", sans-serif;
  font-size: 1.5rem;
  writing-mode: vertical-rl;
}

#office .fa-circle:before {
    color: #39b54a;
    padding-left: 1rem;
}

.office-name {
  font-size: 1.2rem;
  font-weight: bold;
}

iframe {
    width: 100%;
    height: 250px;
  }

/* 画面幅1180px以下：タブレット対応 */
@media screen and (max-width:1180px) {
  .h1-wrapper {
    padding-top: 8rem;
  }

  .h1-wrapper::before {
    font-size: 10rem;
    top: 32%;
  }

  .h1-content {
    padding: 4rem 15%;
  }

  #message {
    margin: 8rem 6%;
    gap: 3rem;
  }

  .message-left {
    flex: 1;
  }

  .message-right {
    flex: 1.2;
  }

  .policy-contents {
    padding: 8rem 40% 8rem 6%;
  }

  #policy h2 {
    padding: 0 6%;
  }

  #policy figure {
    position: absolute;
    bottom: 15%;
    right: -8%;
  }

  #profile {
    padding: 8rem 6%;
  }

  #profile::after {
    right: -20%;
  }

  #profile dt {
    flex-basis: 30%;
  }

  #profile dd {
    flex-basis: 68%;
  }

  #office {
    margin: 8rem 6%;
  }

  #office figure {
    flex: 1.2;
  }

  #office .fa-circle:before {
    padding-left: 0.6rem;
  }

  #office figcaption p {
    font-size: 1rem;
  }

  #office .office-contents-left{
    flex: 1;
  }

  .office-contents address {
    margin-bottom: 1rem;
  }

  .br-sp {
    display: block;
  }

  .office-name {
    font-size: 1.2rem;
  }

  iframe {
    width: 100%;
    height: 150px;
  }
}

/* 画面幅1024px以下：タブレット対応 */
@media screen and (max-width:1024px) {
  #message {
    flex-direction: column-reverse;
  }

  #policy h2 {
    position: absolute;
    top: 27%;
    left: 0;
    z-index: 1;
  }

  #policy h2:before {
    z-index: -1;
  }

  .policy-contents {
    padding: 23rem 6% 4rem 6%;
  }

  .for-pc {
    display: none;
  }

  .for-sp {
    display: block;
  }

  #policy figure {
    top: 0;
    left: 0;
  }
}


/* 画面幅767px以下：スマホ対応 */
@media screen and (max-width:767px) {
  .h1-wrapper {
    padding-top: 4rem;
  }

  .h1-wrapper::before {
    font-size: 11rem;
    top: 23%;
  }

  .h1-content {
    padding: 4rem 6%;
  }

  .h1-ttl {
    margin: 0 6% 2rem 6%;
  }

  #message {
    margin: 4rem 6%;
  }

  #policy h2 {
    position: absolute;
    top: 21%;
    left: 0;
    z-index: 1;
  }

  .policy-contents {
      padding: 16rem 6% 4rem 6%;
  }

  #profile {
    padding: 4rem 6%;
  }

  #profile::after {
    width: 580px;
    height: 600px;
    right: -20%;
  }

  #profile dl {
    flex-flow: column;
  }

  #profile dt {
    border-bottom: none;
  }

  #profile dt {
    padding-bottom: 0;
  }

  #office {
    margin: 4rem 6%;
  }

  .office-contents {
    display: block;
  }

  .office-contents figure {
    margin-bottom: 2rem;
  }

  .office-contents address {
      margin-bottom: 2rem;
  }

  .br-sp {
    display: none;
  }
}

/* 画面幅575px以下：スマホ対応 */
@media screen and (max-width:575px) {
  .h1-wrapper::before {
    font-size: 8rem;
    top: 31%;
  }

  .h1-content {
    padding: 2rem 1rem;
  }

  .h1-ttl {
    margin: 0 1rem 3rem 1rem;
  }

  .h1-content-ttl {
    font-size: 1.2rem;
    text-align: left;
    margin-bottom: 1rem;
  }

  h2 {
    margin: 4rem 0;
  }

  #message {
    margin: 4rem 1rem;
  }

  #policy {
    padding-top: 6rem;
  }

  #policy h2 {
    top: 15%;
  }

  #profile {
    padding: 4rem 1rem;
  }

  #profile::after {
    width: 464px;
    height: 480px;
  }

  #office {
    margin: 4rem 1rem;
  }
}

/* 画面幅375px以下：スマホ対応 */
@media screen and (max-width:375px) {
  .h1-wrapper::before {
    font-size: 6rem;
    top: 28%;
  }

  #policy figure {
    top: 5%;
    left: 0;
  }

  #profile::after {
    right: -40%;
  }

  .br-sp {
    display: block;
  }
}
  