/* primary-color #00B59F */
/* primary-light-color #0098A1 */
/* secondary-color #FFA800 */
/* dark-color #333333 */

html, body {
  font-size: 16px;
  margin: 0;
  font-family: 'Roboto', sans-serif;
}

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

.pc {
  display: block;
}

.sp {
  display: none;
}

a {
  text-decoration: none;
  color:inherit;
}

#mw_wp_form_mw-wp-form-1492 {
  color: white;
 }

/* -----------------------
utility
----------------------- */
.flex-justify-between {
  display: flex;
  justify-content: space-between;
}

.flex-justify-center {
  display: flex;
  justify-content: center;
}

.contact-img-container {
  padding: 0 40px;
  align-items: center;
}

.contact-img-content:first-child {
  padding-right: 10px;
}

.contact-img-content a {
  display: block;
}

.section-title {
  font-size: 2rem;
  color: #555555;
  font-weight: bold;
  text-align: center;
  margin: 0 0 40px;
}

/* -----------------------
header
----------------------- */
header {
  height: 150px;
  width: 100%;
  position: fixed;
  background-color: white;
  z-index: 100;
}

.header-container {
  align-items: center;
  height: 100%;
  padding: 0 20px;
}

.header-title-container {
  padding: 0 40px;
}

.header-title-container h1 {
  font-size: 1.5rem;
  margin: 0;
}

.header-title-container p {
  font-size: 0.8rem;
  margin: 0;
}

.prefectures {
  margin: 0.8rem 0 0;
}

.prefecture {
  font-size: 0.7rem;
  background-color: #E5E5E5;
  border-radius: 1.5rem;
  padding: 0.1rem 1rem;
}

/* -----------------------
section
----------------------- */
main {
  padding-top: 150px;
}

section {
  width: 100%;
}

.section-bg-primary {
  background-color: #00B59F;
}

.section-bg-primary-gradient {
  background: linear-gradient(50deg, #18bba8 0%, #18bba8 50%, #00B59F 50%, #00B59F 100%);
}

.section-bg-dark {
  background-color: #333333;
}

.section-bg-dark-gradient {
  background: linear-gradient(110deg, #333333 0%, #333333 60%, #3d3d3d 50%, #3d3d3d 100%);
  background-color: #333333;
}

.section-bg-light-gray {
  background-color: #FAFAFA;
}

.section-container {
  height: auto;
  width: 80%;
  margin: 0 auto;
  padding: 80px 0;
}

.section-content {
  /* height: 100%; */
}

/*------ hero section ------*/
.hero {
  min-height: 690px;
}
/* 画像 */
.hero-images {
  display: block;
  height: auto;
  width: 30%;
  background-color: silver;
}

.hero-img {
  width: 100%;
}

.hero-img img {
  width: 100%;
  vertical-align: bottom;
  height: auto;
  object-fit: cover;
}

.hero-images div {
  height: 25%;
  background-color: silver;
}

.hero-img {
  height: 25%;
  vertical-align: bottom;
  object-fit: cover;
}

/* ヒーロー */
.hero-contents {
  width: 100%;
  align-self: center;
}

.hero-content {
  height: auto;
  color: white;
  text-align: center;
}

/* 対応エリア */
.support-area * {
  padding-left: 20px;
  margin-left: 10px;
}

.support-area *:first-child {
  padding-left: 0;
  margin-left: 0;
  padding-right: 20px;
}

.support-area p {
  margin: 0;
}

.support-prefecture {
  border: solid 1px white;
  border-radius: 20px;
}

/* タイトル */
.hero-title {
  position: relative;
  display: inline-block;
  padding: 0 45px;
  font-size: 2rem;
  margin-top: 0;
}

.hero-title:before, .hero-title:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 44px;
  height: 2px;
  background-color: white;
}
.hero-title:before {
  left:0;
  -webkit-transform: rotate(60deg);
  transform: rotate(60deg);
}
.hero-title:after {
  right: 0;
  -webkit-transform: rotate(-60deg);
  transform: rotate(-60deg);
}

/* 内容 */
.hero-detail-container {
  max-width: 800px;
  background-color: white;
  border-radius: 10px;
  color: #00B59F;
  padding: 40px;
  margin: 0 auto;
}

.hero-detail-container p {
  margin: 0;
}

.hero-detail-sub-title {
  font-weight: bold;
  color: #555555;
}

.hero-detail-title {
  font-size: 3rem;
  font-weight: bold;
  margin: 0;
}

.hero-detail-title span {
  font-weight: normal;
}

.hero-img-container {
  margin-top: 40px;
}

/* sp用画像 */
.hero-img-sp-container {
  margin: 20px calc(50% - 50vw) 0;
  width: 100vw;
}

.hero-img-sp-container img {
	height: 100px;
}

/* ボックスレイアウト */
.hero-detail-box {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.hero-detail-box-item {
  height: auto;
  width: 100%;
  margin: 20px 0;
  border: solid 1px white;
  font-size: 1.25rem;
  font-weight: bold;
}

/*------ お悩み section ------*/
.worry-container {
  margin: 20px 0;
  padding: 0 160px;
}

.worry-list-container {
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 20px;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.worry-icon {
  position: absolute;
  left: -85px;
  top: 135px;
}

.worry-icon2 {
  position: absolute;
  right: -140px;
  top: 0;
}

.worry-list {
  color: #555555;
  list-style-type: none;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 0 20px;
}

.worry-list li {
  padding-left: 1.6em;
  background-image: url(https://toyoamenity.co.jp/wp-content/uploads/2021/08/check.svg);
  background-repeat: no-repeat;
  background-size: 1.2em;
  background-position: left center;
  margin-bottom: 10px;
}

.yellow-marker {
  background: linear-gradient(transparent 60%, #ffff7f 0%);
}

/*------ 選ばれる理由 section ------*/
.reason-title {
  color: white;
}

.reason-contents {
  display: flex;
  justify-content: center;
  text-align: center;
}

.reason-content {
  width: 100%;
  padding: 20px;
  margin: 0 5px;
  background: white;
  border-radius: 10px;
}

.reason-content div:last-child {
  padding: 0 10px;
}

.reason-content h3 {
  font-size: 1.4rem;
  color: #FFA800;
  margin: 10px 0;
}

/*------ 実績紹介 section ------*/
.achievements {
  text-align: center;
  color: white;
}

.achievements > div {
  margin-bottom: 20px;
}

.achievements p {
  margin: 0;
}

.achievements div:last-child {
  margin-bottom: 0;
}

.achievement-title  {
  background: #00B59F;
  display: inline-block;;
  padding: 20px;
  border-radius: 10px;
  font-size: 1.5rem;
}

.achievement-desc2 {
  background: rgba(255, 255, 255, 0.1);
  display: inline-block;;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 1.5rem;
}

.achievement-desc2 p {
  margin: 0;
}

/*------ お見積もり section ------*/
.quote-container {
  color: #555555;
  font-size: 1.5rem;
  font-weight: bold;
  align-items: center;
}

.contact-img-content-sp {
  text-align: center;
}

.contact-img-content-sp a {
  display: block;
}

/*------ 対応エリア section ------*/
.area-container {
  color: white;
  display: grid;
  align-items: center;
  justify-content: center;
}

.area-title-container {
  grid-area: 1 / 2 / 2 / 3;
}

.area-title {
  display: inline-block;
  color: #00B59F;
  background-color: white;
  border-radius: 10px;
  padding: 10px 20px;
}

.area-title h2 {
  margin: 0;
}

.area-image-container {
  grid-area: 1 / 1 / 3 / 2;
}

.area-image {
  margin-right: 60px;
}

.area-content-container {
  grid-area: 2 / 2 / 3 / 3;
}

.area-content {
  font-size: 1.5rem;
  font-weight: bold;
}

/*------ お客様の声 section ------*/
.customer-voice-contents {
  width: 343px;
  height: auto;
  margin: 0 20px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.customer-voice-contents div:last-child {
  padding: 0 20px;
}

.customer-image img {
  width: 100%;
  -moz-border-radius:10px 10px 0 0;
  -webkit-border-radius:10px 10px 0 0;
  border-radius:10px 10px 0 0;
}

.customer-voice-content > h3, .cleaning-contents {
  color: #00B59F;
  font-weight: bold;
}

.customer, .customer-voice {
  color: #555555;
}

.customer {
  font-weight: bold;
}

.cleaning-contents {
  padding: 5px;
  border: solid 1px #00B59F;
  text-align: center;
}

.cleaning-contents p {
  margin: 0;
}

/*------ 参考料金 section ------*/
.price-title-container {
  text-align: center;
}

.price-title {
  display: inline-block;
  border: 1px solid white;
  padding: 10px 20px;
  border-radius: 10px;
  margin-bottom: 40px;
}

.price-title h2 {
  font-size: 2rem;
  color: white;
  margin: 0;
}

.price-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, 1fr);
  gap: 10px;
}

.price-lists p {
  margin: 0;
}

.price-list {
  display: flex;
  justify-content: start;
  align-items: center;
  background-color: white;
  padding: 20px;
  font-size: 1.2rem;
}

.price-list:last-child {
  justify-content: center;
  background-color: transparent;
  color: white;
  border: 1px solid white;
  text-align: center;
}

.price-list .price-img {
  width: 30%;
}

.price-list .price-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.price-list .price-contents {
  width: 70%;
  padding-left: 20px;
}

.price-contents .price-content-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00B59F;
}

.price-contents .price-content {
  color: #555555;
}

.price-container > p {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  color: white;
  margin: 40px 0 0;
}

/*------ 特徴 section ------*/
.feature-container table {
  table-layout: fixed;
  width: 100%;
  font-size: 1.5rem;
  text-align: center;
  border-collapse: separate;
  border-spacing: 8px;
}

.feature-container table thead th:first-child {
  width: 170px;
}

.feature-container table thead th:nth-child(2) {
  color: white;
}

.feature-container table tbody th {
  width: 170px;
}

.feature-container th, .feature-container td {
  padding: 8px;
  background-color: #F5F5F5;
}

.feature-container td {
  height: 64px;
}

.feature-container .bg-primary {
  background-color: #00B59F;
}

/*------ サービスの流れ section ------*/
.service-flow-title {
  color: white;
}

.service-flow {
  flex: 1;
  height: auto;
  position: relative;
  background-color: white;
  border-radius: 10px;
  text-align: center;
  vertical-align: middle;
  padding: 20px;
  margin-right: 40px;
}

.service-flow:last-child {
  margin-right: 0;
}

.service-flow:not(:last-child)::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 19px;
  position: absolute;
  top: 50%;
  right: -30px;
  transform: translateY(-50%);
  background-image: url(https://toyoamenity.co.jp/wp-content/uploads/2021/08/flow-triangle.svg);
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
}

.service-flow p {
  font-weight: bold;
  margin: 0;
}

.service-flow p:first-child {
  font-size: 2rem;
  color: #00B59F;
  margin-bottom: 20px;
}

.service-flow p:last-child {
  font-size: 1.2rem;
  color: #555555;
}

/*------ よくある質問 section ------*/
.faq-container {
  font-size: 1.2rem;
  max-width:700px;
  margin: 0 auto;
}

.faq-content {
  border-bottom: 1px solid #E5E5E5;
  margin-bottom: 40px;
  padding-bottom: 10px;
}

.faq-content p {
  margin: 0;
}

.questions, .answer {
  display: flex;
  justify-content: start;
  align-items: flex-start;
}

.questions {
  color: #555555;
  font-weight: bold;
  margin-bottom: 10px;
}

.questions p:first-child, .answer p:first-child {
  font-size: 1.5rem;
  font-weight: bold;
  margin-right: 20px;
}

.answer {
  color: #00B59F;
}


/*------ 無料相談フォーム section ------*/
.contact-title {
  color: white;
}

.wpcf7-form p {
  margin: 5px 0 0
}
.contact-form {
  max-width: 700px;
  margin: 0 auto;
  color: white;
}
/* 各項目の下部余白 */
.contact-item {
  margin-bottom: 20px;
}
/* 項目名 */
.label {
  font-size: 1.1rem;
  display: inline-block;
  margin-bottom: .6rem;
  font-weight: bold;
}
/* 必須タグと任意タグ共通のスタイル */
.label-tag {
  font-size: 0.8rem;
  background-color: #FFA800;
  color: #ffffff;
  border-radius: .3rem;
  margin-left: 1rem;
  padding: 3px 10px;
}

input, textarea {
  width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 5px;
}
::placeholder {
  color: #9A9A9A;
}

input[type="text"],input[type="email"],input[type="tel"],textarea {
  border: solid 1px #707070;
  padding: 0.9rem 1rem;
}
/* お問い合わせ内容を入力する箇所 */
textarea.form-control {
  border: solid 1px #707070;
  padding: .5rem;
  height: 207px;
}
/* ボタン */
.btn-area {
  text-align: center;
}
/* 申し込みボタンの右にあるContact Form7のCSSを非表示 */
.wpcf7-spinner {
    display: none !important;
}
input[type="submit"]{
  background: #FFA800;
  border: 2px solid #ffffff;
  width: 280px;
  color: #ffffff;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: .5em;
  text-indent: .5em;
  font-weight: bold;
  padding: 1.4rem 0;
  margin-top: 2rem;
  cursor: pointer;
  border-radius: 80px;
  transition: all .3s;

}
/* ボタンにホバーした時 */
input[type="submit"]:hover {
  color: #FFA800;
  background-color: #ffffff;
  border-color: #FFA800;
}
/* ローダー */
.wpcf7 .ajax-loader {
  display: block;
  margin: 0 auto;
}
.company-extra {
  margin-top: 30px;
  text-align: center;
  color: white;
}
.company-profile {
  margin-top: 30px;
  text-align: center;
  color: white;
}

/* -----------------------
footer
----------------------- */
footer {
  height: 64px;
  background-color: #333333;
  font-size: 0.8rem;
  color: white;
}

footer p {
  margin: 0;
  text-align: center;
  line-height: 64px;
}


/*1023px以下*/
@media screen and (max-width: 1023px){
  /* -----------------------
  utility
  ----------------------- */
  .contact-img-container {
    padding: 10px 20px;
  }

  .contact-img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
  }

  /* -----------------------
  header
  ----------------------- */
  .header-title-container {
    padding: 10px 20px;
  }

  .header-title-container p {
    font-size: 0.7rem;
  }

  /* -----------------------
  section
  ----------------------- */
  .section-container {
    width: 90%;
    padding: 40px 0;
  }

  /*------ お悩み section ------*/
  .worry-container {
    padding: 0;
  }

  .worry-list {
    padding: 0;
  }

  .worry-icon {
    left: 10px;
    top: -30px;
    width: 50px;
  }

  .worry-icon2 {
    right: 0px;
    top: -60px;
    width: 70px;
  }
  .company-profile {
    /* margin-top: 40px; ← これを削除 */
    text-align: center;
    color: white;
  }
}

/*834px以下*/
@media screen and (max-width: 834px){
	body {
		font-size: 0.9rem;
	}
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  header {
    height: auto;
    position: initial;
  }

  main {
    padding-top: 0;
  }

  /* -----------------------
  header
  ----------------------- */
  .header-container {
    height: initial;
  }

  .header-title-container {
    width: 100%;
    text-align: center;
  }

  .fixed-footer {
    display: block;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 100;
    text-align: center;
    background-color: #FFA800;
    padding: 20px 0;
  }

  footer {
    margin-bottom: 88px;
  }

  .contact-img-content:first-child {
    padding-right: 0;
  }

  .contact-img-content a {
    width: 200px;
  }

  /*------ hero section ------*/
  .hero-contents {
    width: 100%;
  }

  .hero-contents .section-container {
    padding: 20px 0;
  }

  /* 画像 */
  .hero-img img {
	height: 100px;
  }

  .hero-img-sp {
    width: 100%;
    vertical-align: bottom;
    object-fit: cover;
  }

  /* タイトル */
  .hero-title {
    justify-content: space-between;
    font-size: 1.5rem;
  }

  .hero-detail-container {
    padding: 10px 10px;
    margin: 0;
  }

  .hero-detail-sub-title {
    letter-spacing: 0.3rem;
  }

  .hero-detail-title {
    font-size: 1.4rem;
    display: inline;
  }

  .hero-detail-container p {
    margin: 10px 0;
  }

  .hero-img-container {
    margin-top: 20px;
  }

  /* ボックスレイアウト */
  .hero-detail-box {
    flex-direction: column;
    margin: 40px 20px 0;
  }

  .hero-detail-box-item {
    margin: 10px 0;
    font-size: 1rem;
  }

  .hero-detail-box-item:first-child {
    margin-top: 0;
  }

  .hero-detail-box-item:last-child {
    margin-bottom: 0;
  }

  .hero-detail-box-item p {
    margin: 10px 0;
  }

  /*------ 選ばれる理由 section ------*/
  .reason-contents {
    display: grid;
    justify-content: center;
    text-align: center;
    gap: 10px;
    grid-template-columns: 50% 50%;
    grid-template-rows: auto auto auto;
  }

  .reason-content {
    margin: 0;
    padding: 20px 0;
  }

  .reason-content:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }

  .reason-content:nth-child(2) {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  .reason-content:nth-child(3) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

  .reason-content:nth-child(4) {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
  }

  .reason-content:nth-child(5) {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
  }

  /*------ お見積もり section ------*/
  .quote-container {
    font-size: 1.2rem;
  }

  /*------ お客様の声 section ------*/
  .customer-voice-container {
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
  }

  .customer-voice-contents {
    margin-bottom: 20px;
  }

  /*------ 参考料金 section ------*/
  .price-list {
    flex-direction: column;
    padding: 15px;
  }

  .price-list .price-img {
    width: 100%;
  }

  .price-list .price-img img {
    height: 90px;
  }

  .price-list .price-contents {
    width: 100%;
    padding: 10px 0 0;
    text-align: center;
  }

  .price-list .price-contents .price-content-name {
    font-size: 0.9rem;
    padding-bottom: 10px;
  }

  .price-list .price-contents .price-content {
    font-size: 0.8rem;
  }

  .price-list:last-child {
    font-size: 0.8rem;
  }

  /*------ サービスの流れ section ------*/
  .service-flow-container {
    flex-direction: column;
    align-items: stretch;

  }

  .service-flow {
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 40px;
  }

  .service-flow:last-child {
    margin: 0;
  }

  .service-flow:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 19px;
    height: 17px;
    position: absolute;
    top: initial;
    bottom: -30px;
    right: 50%;
    transform: translateX(50%);
    background-image: url(https://toyoamenity.co.jp/wp-content/uploads/2021/08/flow-triangle-sp.svg);
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
  }
  .company-profile-container {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 10px;
    overflow-x: hidden;
  }

  .company-extra, .company-profile {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .company-profile, .company-profile * {
    word-break: break-all;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
    box-sizing: border-box;
  }
  .company-extra, .company-extra * {
    word-break: break-all;
    overflow-wrap: break-word;
    white-space: normal;
    box-sizing: border-box;
    max-width: 100%;
  }
  .company-extra img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
}

/*751px以下*/
@media (min-width: 751px) {
  a {
    text-decoration: none;
    color:inherit;
  }

  #mw_wp_form_mw-wp-form-1492 {
    color: white;
   }
}

/*480px以下*/
@media screen and (max-width: 480px){
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }
  a {
    text-decoration: none;
    color:inherit;
  }

  #mw_wp_form_mw-wp-form-1492 {
    color: white;
   }

  .fixed-footer {
    /* height: 80px; */
  }

  footer {
  }

  /* -----------------------
  utility
  ----------------------- */
  .contact-img-container {
    width: 100%;
  }

  .contact-img-content a {
    width: 150px;
  }

  .section-title {
    font-size: 1.2rem;
  }

  /* -----------------------
  section
  ----------------------- */
  .section-bg-primary-gradient {
    background: linear-gradient(80deg, #18bba8 0%, #18bba8 50%, #00B59F 50%, #00B59F 100%);
  }

  /*------ 実績紹介 section ------*/
  .achievement-title {
    font-size: 1.2rem;
  }

  .achievement-desc2 {
    font-size: 1.1rem;
  }

  /*------ お見積もり section ------*/
  .quote-container {
    flex-direction: column;
    text-align: center;
  }

  /*------ 対応エリア section ------*/
  .area-title-container {
    grid-area: 1 / 1 / 2 / 3;
    text-align: center;
  }

  .area-title {
    padding: 10px 40px;
  }

  .area-image-container {
    grid-area: 2 / 1 / 3 / 2;
  }

  .area-image {
    margin-right: 30px;
  }

  .area-container p:not(:first-child) {
    font-size: 1rem;
    font-weight: normal;
  }

  /*------ お客様の声 section ------*/
  .customer-voice-contents {
    width: 100%;
  }

  /*------ 参考料金 section ------*/
  .price-title h2 {
    font-size: 1.5rem;
  }

  .price-lists .price-list-name {
    font-size: 1.5rem;
  }

  .price-container > p {
    font-size: 1.2rem;
  }

  /*------ 特徴 section ------*/
  .feature-container table {
    table-layout: auto;
    font-size: 0.8rem;
    border-spacing: 3px;
  }

  .feature-container table thead th:first-child {
    width: initial;
  }

  .feature-container table tbody th {
    width: initial;
  }

}

/* ===== 会社概要2カラム用カスタムCSS ここから ===== */
.company-profile-container {
  display: flex;
  justify-content: center; /* 必要に応じてspace-between等に調整 */
  gap: 40px; /* カラム間の余白 */
  align-items: stretch; /* 追加 */
}

.company-extra, .company-profile {
  background: rgba(255,255,255,0.05);
  /* border: 6px solid #ff3300; */
  border-radius: 8px;
  padding: 32px 24px;
  width: 420px; 必要に応じて調整
  /* min-height: 500px; 高さはお好みで */ 
  box-sizing: border-box;
}

.company-profile {
  /* 右寄せにしたい場合はflexの順序を調整 */
  order: 2;
}

.company-extra {
  /* 左側 */
  text-align: center;
  order: 1;
  
}