@charset "utf-8";

html {
  font-size: 10px;
}

body {
  /* font family */
  --ff-mplus-font-family : 'M PLUS 1p', sans-serif;
  --ff-serif-font-family : "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;

  /* font color */
  --fc-normal-color: #444;
  --fc-white-color: white;
  --fc-black-color: black;
  --fc-grey-color: grey;
  --fc-grey-l-color: grey;
  --fc-grey-d-color: grey;
  --fc-red-color: #E22C29;
  --fc-red-l-color: #E56869;
  --fc-red-d-color: red;
  --fc-pink-color: #C33774;
  --fc-pink-l-color: pink;
  --fc-pink-d-color: #C32141;
  --fc-blue-color: #3BA2BE;
  --fc-blue-l-color: #385472;
  --fc-blue-d-color: blue;
  --fc-green-color: green;
  --fc-green-l-color: green;
  --fc-green-d-color: green;
  --fc-yellow-color: yellow;
  --fc-yellow-l-color: yellow;
  --fc-yellow-d-color: yellow;
  --fc-orange-color: orange;
  --fc-orange-l-color: orange;
  --fc-orange-d-color: orange;
  --fc-brown-color: brown;
  --fc-brown-l-color: brown;
  --fc-brown-d-color: brown;
  --fc-purple-color: purple;
  --fc-purple-l-color: purple;
  --fc-purple-d-color: purple;
  --fc-gold-color: #A49445;
  --fc-gold-l-color: gold;
  --fc-gold-d-color: gold;

  /* border color  */
  --bd-black-color: black;
  --bd-grey-color: grey;
  --bd-red-color: red;
  --bd-red-l-color: #E56869;
  --bd-red-d-color: red;
  --bd-blue-color: blue;
  --bd-blue-l-color: blue;
  --bd-blue-d-color: blue;
  --bd-pink-color: pink;
  --bd-pink-l-color: pink;
  --bd-pink-d-color: pink;
  --bd-brown-color: brown;
  --bd-brown-l-color: brown;
  --bd-brown-d-color: brown;
  --bd-green-color: green;
  --bd-green-l-color: green;
  --bd-green-d-color: green;
  --bd-gold-color: gold;
  --bd-gold-l-color: gold;
  --bd-gold-d-color: gold;

  /* background color  */
  --bg-opa-color: rgba(255, 255, 255, 0.5);
  --bg-grey-color: grey;
  --bg-yellow-color: yellow;
  --bg-beige-color: beige;
  --bg-blue-color: blue;
  --bg-pink-color: pink;
  --bg-pink-d-color: pink;
  --bg-green-color: green;

  /* box */
  --box-border-color: #ccc;
  --box-shadow: 3px 3px 6px rgba(11, 0, 0, 0.2);

  /* narrow */
  --narrow-default-width: 1320px;
  --narrow-padding: 60px;

  --body-min-width: 1280px;
  --align-margin: 60px;

  --body-font-size: 18px;
  --body-font-size-sp: 14px;

  margin-right: auto;
  margin-left: auto;
  font-weight: 500;
  font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  color: #222222;
  line-height: 2;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
  font-family: var(--ff-mplus-font-family);
  line-height: 1.4;
}

a {
  color: #0C437F;
}

a img {
  transition-property: opacity;
  transition-duration: 0.25s;
}

a:hover img {
  opacity: 0.8;
}

p {
  margin-bottom: 2em;
}

*:last-child:is(p):not([class*="mb-"]) {
  margin-bottom: 0;
}

ul > li:last-child,
ol > li:last-child {
  margin-bottom: 0 !important;
}

ruby {
  line-height: 1;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  padding: 10px;
  width: 100%;
  font-size: 18px;
  font-family: inherit;
  border: solid 1px #ccc;
  border-radius: 6px;
  background: #f9f9f9;
  box-shadow: 0 0 6px rgba(0,0,0,0.06) inset;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
textarea:focus {
  background: #fff;
}

input[type="submit"] {
  display: table;
  margin-right: auto;
  margin-left: auto;
  padding: 10px 20px;
  min-width: 160px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  background: #C0AD5E;
  border: none;
}

/* layout */

.header {
  width: 100%;
  background: #fff;
  z-index: 1;
}

.header-container {
  display: flex;
  justify-content: flex-end;
}

.header-logo {
  flex-grow: 1;
  padding: 1.4% 2%;
}

.header-logo img {
  width: clamp(104px, 8vw, 155px);
}

.header-navigation > ul {
  display: flex;
  padding: 0 2vw;
  gap: 0.5vw;
  height: 100%;
  align-items: center;
}

.header-navigation > ul > li > a {
  display: block;
  padding: 0 clamp(13px, 1vw, 20px);
  color: #4D4D4D;
  font-weight: 500;
  font-family: var(--ff-mplus-font-family);
  transition-property: color;
  transition-duration: 0.2s;
}

.header-navigation > ul > li > a:hover {
  color: #3BA2BC;
}

@media (min-width: 721px) {
  .header-navigation > ul > li > ul {
    display: none;
    padding: 20px 0;
    position: absolute;
    min-width: 240px;
    background: rgba(255, 255, 255, 0.95);
    z-index: 10;
  }

  .header-navigation > ul > li > ul:last-child {
    padding-bottom: 0;
  }

  .header-navigation > ul > li:hover ul {
    display: block;
  }

  .header-navigation > ul > li > ul > li {
    padding: 10px 30px;
    border-bottom: solid 1px rgba(0, 0, 0, 0.1);
  }

  .header-navigation > ul > li > ul > li:last-child {
    border-bottom: none;
  }

  .header-navigation > ul > li > ul > li a {
    color: #4D4D4D;
  }

  .header-navigation > ul > li > ul > li a:hover {
    color: #3BA2BC;
  }

  .header-navigation > ul > li > ul > li > ul {
    padding-left: 1em;
  }

  .header-navigation > ul > li > ul > li > ul > li > a {
    font-size: 16px;
  }
}

.header-contact ul {
  display: flex;
  height: 100%;
}

.header-contact a {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 100%;
  transition-property: opacity;
  transition-duration: 0.25s;
}

.header-contact a:hover {
  opacity: 0.85;
}

.header-contact-tel a {
  padding: 0 25px;
  text-align: right;
  color: #000;
}

.header-contact-tel-no img {
  display: block;
  width: clamp(260px, 16.042vw, 308px);
  margin-bottom: 8px;
}

.header-contact-tel-time {
  font-size: 15px;
}

.header-contact-tel-time span {
  padding: 0 10px;
  border-right: solid 1px #000000;
}

.header-contact-tel-time span:first-child {
  padding-left: 0;
}

.header-contact-tel-time span:last-child {
  padding-right: 0;
  border: none;
}

.header-contact-mail a,
.header-contact-estimate a {
  align-items: center;
  padding: 0 clamp(25px, 2vw, 40px);
  color: #fff;
  font-weight: 500;
  font-family: var(--ff-mplus-font-family);
}

.header-contact-mail a {
  background: #3BADBD;
}

.header-contact-mail i {
  display: block;
  margin-bottom: 8px;
  width: 37px;
  height: 25px;
  vertical-align: middle;
  background: url(../images/header_mail_icon.webp);
  background-size: 100%;
}

.header-contact-estimate a {
  background: #B59F42;
}

.header-contact-estimate i {
  display: block;
  margin-bottom: 8px;
  width: 26px;
  height: 26px;
  vertical-align: middle;
  background: url(../images/header_estimate_icon.webp);
  background-size: 100%;
}

.section-contact-list > li {
  padding: 2.6% 4%;
  color: #fff;
  text-align: center;
  background: #3BA2BE;
}

.section-contact-list > li:nth-child(even) {
  background: #5082A3;
}

.section-contact-list > li a.link-button {
  display: block;
  padding: 1vw;
  color: #fff;
  background: none;
  border: solid 1px #FFFFFF;
  transition-duration: 0.25s;
}

.section-contact-list > li a.link-button:hover {
  color: #3BA2BE;
  background: #fff;
}

.section-contact-list > li:nth-child(even) a.link-button:hover {
  color: #5082A3;
}

.footer {
  background: #EDEDED;
}

.footer-navigation h4 {
  margin-bottom: 28px;
  padding-bottom: 10px;
  font-size: 20.5px;
  font-weight: 500;
  border-bottom: solid 1px #000000;
}

.footer-navigation h4 a {
  color: inherit;
}

.footer-navigation > ul > li > ul > li {
  margin-bottom: 14px;
}

.footer-navigation > ul > li > ul > li a {
  color: #000;
}

.footer-navigation > ul > li > ul > li a:hover {
  text-decoration: underline;
}

.footer-navigation > ul > li > ul > li > ul {
  padding-top: 10px;
  padding-left: 1em;
}

.footer-navigation > ul > li > ul > li > ul > li > a {
  font-size: 15px;
}

.footer-copyright {
  text-align: center;
  color: #4d4d4d;
  letter-spacing: 0.06em;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--ff-mplus-font-family);
  transform: rotate(0.03deg);
}

/* common */

.grecaptcha-badge {
  visibility: hidden;
}

section.bg-blue {
  color: #fff;
  background-color: #3BA2BE;
}

.card-image {
  display: flex;
  align-items: center;
}

.card-image .image {
  flex-shrink: 0;
}

.card-image.mod-right .image {
  order: 2;
}

.table-line th,
.table-line td {
  padding: 25px 0;
  vertical-align: middle;
}

.table-line th {
  position: relative;
  padding-right: 50px;
  white-space: nowrap;
  font-size: 24px;
  font-family: var(--ff-mplus-font-family);
}

.table-line tr:first-child th,
.table-line tr:first-child td {
  padding-top: 0;
}

.table-line tr:last-child th,
.table-line tr:last-child td {
  padding-bottom: 0;
}

.table-line th:after {
  content: '';
  position: absolute;
  top: 25px;
  right: 0;
  border: 0;
  display: block;
  width: 2px;
  height: calc(100% - 50px);
  background: #3C3E3E;
}

.table-line tr:first-child th:after {
  top: 0;
  height: calc(100% - 25px);
}

.table-line tr:last-child th:after {
  height: calc(100% - 25px);
}

.table-line td {
  padding-left: 40px;
  font-size: 18px;
  line-height: 1.8;
}

.table-price {
  width: calc(100% + 24px);
  margin-right: -12px;
  margin-left: -12px;
}

.table-price th,
.table-price td {
  vertical-align: middle;
  padding: 14px 26px;
  border: solid 1px #BCBCBC;
}

.table-price th {
  background: #F7F7F7;
}

.table-price td {
  background: #fff;
}

.table-price thead th {
  text-align: center;
  background: #E8E8E8;
}

.table-price td.omit {
  text-align: center;
}

.table-price td.omit span {
  display: block;
  transform: rotate(90deg);
}

.table-fill {
  width: calc(100% + 40px);
  margin-right: -20px;
  margin-left: -20px;
  border-collapse: separate;
  border-spacing: 20px;
}

.table-fill th,
.table-fill td {
  vertical-align: middle;
  padding: 18px 24px;
}

.table-fill th {
  color: #fff;
  font-weight: 800;
  background: #4DAAC8;
}

.table-fill td {
  background: rgba(255, 255, 255, 0.8);
}

.table-fill thead th {
  text-align: center;
  background: #E8E8E8;
}


.link-more {
  display: table;
  margin-left: auto;
  color: #000;
  font-size: clamp(16px, calc(22 * calc(100vw / 1920)), 22px) !important;
  font-weight: 500;
  font-family: var(--ff-mplus-font-family);
  transform: rotate(0.03deg);
  transition-property: color;
  transition-duration: 0.25s;
}

.link-more:after {
  content: '';
  display: inline-block;
  margin-left: 30px;
  width: clamp(50px, 3.8vw, 73px);
  height: clamp(50px, 3.8vw, 73px);
  vertical-align: middle;
  background: #3BA2BE top 50% right 48% url(../images/view_more_arrow.webp) no-repeat;
  border-radius: 50%;
  transition-property: background;
  transition-duration: 0.25s;
}

.link-more.mod-s:after {
  width: 48px;
  height: 48px;
}

.link-more:hover {
  color: #666;
}

.link-more:hover:after {
  background-color: #62B5CB;
}

.link-button {
  display: table;
  margin-right: auto;
  margin-left: auto;
  padding: 10px 30px;
  font-size: clamp(calc(24 / 4 * 3px), calc(24 * calc(100vw / 1920)), 24px);
  color: #fff;
  font-family: var(--ff-mplus-font-family);
  background: #3BA2BE;
  transition-property: color, background;
  transition-duration: 0.25s;
}

.link-button:hover {
  color: #3BA2BE;
  background: #fff;
}

.list-indent li {
  margin-left: 1em;
  text-indent: -1em;
}

.list-works {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.list-works li {
  position: relative;
  text-align: center;
  background: #fff;
  transition-duration: 0.25s;
  overflow: hidden;
}

.list-works li a {
  color: inherit;
}

.list-works li a .list-content {
  position: absolute;
  width: 100%;
  bottom: 0;
  padding: 10px 4px;
  color: #fff;
  font-size: 14px;
  text-shadow: 0 0 10px #3494AD, 0 0 10px #3494AD, 0 0 10px #3494AD;
  background: rgba(1, 121, 153, 0.75);
  /*backdrop-filter: blur(1px);*/
  /*background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.8) 25%, rgba(255, 255, 255, 0.8) 100%);*/
  transition-duration: 0.5s;
}

.list-works li a .list-content h5 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8em;
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: bold;
  font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
}

@media (min-width: 721px) {
  .list-works li:hover {
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
    z-index: 1;
  }

  .list-works li:hover img {
    opacity: 1;
  }

  .list-works li a:hover .list-content {
    color: rgba(0, 0, 0, 0);
    transform: translateY(100%);
  }
}

.marker {
  padding: 0 0.2em;
  background-image: linear-gradient(transparent 70%, #FFED00 70%, #FFED00 92%, transparent 92%);
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 100% 100%;
}

.marker.mod-gold {
  background-image: linear-gradient(transparent 70%, #DDCA70 70%, #DDCA70 92%, transparent 92%);
}

