html {
  font-family: YuGothic, "Yu Gothic", "ヒラギノ角ゴシック", "Hiragino Sans",
    sans-serif;
  font-size: 15px;
  color: #2c2c2c;
}

body {
  width: 100%;
}

p {
  line-height: 1.8rem;
}
a {
  text-decoration: none;
}

a:hover {
  opacity: 0.8;
  transition: 0.3s;
}

/* ヘッダー */

header {
  background: #867754;
}
.header {
  max-width: 960px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.header h1 {
  font-family: "Yu Mincho Light", "YuMincho", "Yu Mincho", "游明朝体",
    "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", sans-serif;
  font-size: 18px;
}

.header a {
  color: #fff;
  text-decoration: none;
  position: relative;
}

.header nav a::after {
  position: absolute;
  left: 0;
  content: "";
  width: 100%;
  height: 1px;
  background: #fff;
  bottom: 15px; /*アンダーラインが現れ始める位置（aタグの下辺からの高さ）*/
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.header nav a:hover::after {
  visibility: visible;
  bottom: -6px; /*アニメーションが止まる位置*/
  opacity: 1;
}

.header nav ul {
  display: flex;
}

.header nav ul li {
  margin-right: 20px;
}

/* トップ */
article {
}

section {
  width: 100%;
  margin: auto;
}

.top_mv {
  background: url(../img/img_mv.png);
  background-position: center;
  background-repeat: none;
  background-size: cover;
  min-height: 320px;
  display: flex;
}

.mv_area {
  width: 800px;
  margin: auto;
}

.mv_maintext {
  border-left: 5px solid #6f5c42;
  padding-left: 10px;
}

.mv_maintext span {
  font-size: 16px;
}
.h2_top {
  font-size: 28px;
  margin-top: 5px;
}

.mv_subtext {
  margin-top: 30px;
}
.mv_subtext li {
  font-size: 17px;
  position: relative;
  margin-bottom: 10px;
  padding-left: 25px;
}

.mv_subtext li::before {
  content: "";
  background: #6f5c42;
  width: 18px;
  height: 18px;
  border-radius: 99px;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}

.top_service {
  margin-top: 50px;
}
.service_area {
  background: url(../img/img_top_service.png);
  background-position: center;
  background-size: cover;
}

.service_inner {
  background: #fff;
  opacity: 0.75;
  max-width: 800px;
  margin: auto;
  padding: 50px 0;
  display: flex;
  flex-flow: column;
}

h2 {
  font-size: 20px;
}

.h2_service {
  display: flex;
  flex-flow: column;
  align-items: center;
  margin-bottom: 30px;
}

h2 span {
  font-size: 14px;
  color: #867754;
  margin-bottom: 10px;
}

.service_inner p {
  text-align: center;
  margin-bottom: 50px;
}

.btn {
  text-decoration: none;
  color: #867754;
  font-size: 13px;
  position: relative;
  width: fit-content;
  margin: auto;
}
.btn::after {
  position: absolute;
  content: "";
  background: url(../img/icon_arrow.png);
  width: 35px;
  height: 35px;
  background-size: cover;
  background-repeat: no-repeat;
  right: -50px;
  bottom: -9px;
}

.top_voice {
  margin-top: 50px;
}

.voice_area {
  background: #f4f4f4;
  padding: 50px 0;
}

.voice_inner {
  display: flex;
  width: 800px;
  margin: auto;
  justify-content: space-between;
}

.voice_img {
  display: flex;
}

.h2_voice {
  display: flex;
  flex-flow: column;
  margin-bottom: 30px;
}

.voice_bottom {
  margin: 50px 20px 0;
}

.top_office {
}

.office_area {
  background: transparent linear-gradient(0deg, #fffeef 0%, #ffffff 100%) 0% 0%
    no-repeat padding-box;
}

.office_inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 800px;
  margin: auto;
  padding: 50px 0;
}

.office_text {
  max-width: 420px;
}

.office_title {
  font-weight: bold;
  font-size: 25px;
  color: #867754;
  display: flex;
  align-items: center; /* 垂直中心 */
  margin-bottom: 30px;
}

.office_title:before {
  border-top: 1px solid;
  content: "";
  width: 1em; /* 線の長さ */
}

.office_title:before {
  margin-right: 1em; /* 文字の右隣 */
}

.office_text p {
  margin-bottom: 30px;
}

.office_btn {
  width: 100%;
  text-align: right;
}

.office_btn .btn {
  margin-right: 40px;
}

/* フッター */

.foot_contact {
  background: url(../img/img_foot_contact.png);
  background-size: cover;
  color: #fff;
}

.foot_inner {
  display: flex;
  flex-flow: column;
  align-items: center;
  padding: 50px 0;
}

.h2_contact,
.h2_contact span {
  color: #fff;
}

.h2_contact {
  display: flex;
  flex-flow: column;
  align-items: center;
  margin-bottom: 30px;
}

.foot_inner p {
  margin-bottom: 30px;
}

.btn_l_box {
  border: solid 1px #fff;
  padding: 17px 90px 15px 40px;
  border-radius: 99px;
}

.btn_l {
  color: #fff;
}

.btn_l::after {
  background: url(../img/icon_arrow_white.png);
  width: 35px;
  height: 35px;
  background-size: cover;
  background-repeat: no-repeat;
  right: -50px;
  bottom: -9px;
}

.footer {
  background: transparent
    linear-gradient(100deg, var(--unnamed-color-867754) 0%, #433c2a 100%) 0% 0%
    no-repeat padding-box;
  background: transparent linear-gradient(100deg, #867754 0%, #433c2a 100%) 0%
    0% no-repeat padding-box;
}

.footer_inner {
  max-width: 1000px;
  margin: auto;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0;
}

.foot_title {
  font-size: 28px;
  margin-bottom: 20px;
}

.foot_title ul li {
  font-size: 14px;
  margin-bottom: 5px;
}

.foot_right ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.foot_right ul li {
  margin-right: 20px;
}
.foot_right ul li a {
  color: #fff;
  position: relative;
}

.foot_right ul li a::after {
  position: absolute;
  left: 0;
  content: "";
  width: 100%;
  height: 1px;
  background: #fff;
  bottom: 15px; /*アンダーラインが現れ始める位置（aタグの下辺からの高さ）*/
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.foot_right ul li a:hover::after {
  visibility: visible;
  bottom: -6px; /*アニメーションが止まる位置*/
  opacity: 1;
}

/* 当事務所について */
.office_mv {
  background: url(../img/img_head_office.png);
}

.h2_other {
  width: 100%;
  padding: 0 15%;
  height: auto;
  display: flex;
}

.h2_other h2 {
  display: flex;
  flex-flow: column;
  color: #fff;
  margin-top: auto;
  margin-bottom: 30px;
  font-size: 28px;
}

.h2_other h2 span {
  font-size: 16px;
  color: #fff;
  position: relative;
  margin-top: 20px;
  padding-left: 35px;
}

.h2_other h2 span::before {
  content: "";
  width: 20px;
  height: 1px;
  border-top: 1px solid #fff;
  position: absolute;
  left: 0;
  bottom: 44%;
}

.section_other {
  max-width: 800px;
  margin: auto;
}

.office_main {
  margin-top: 100px;
  font-family: "Yu Mincho Light", "YuMincho", "Yu Mincho", "游明朝体",
    "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", sans-serif;
  letter-spacing: 2px;
}
.h2_sec_office {
  margin-top: 50px;
}

.h2_section {
  color: #867754;
  position: relative;
  padding-left: 50px;
  font-size: 28px;
  font-weight: 550;
}

.h2_section::before {
  content: "";
  width: 30px;
  height: 1px;
  border-top: 1px solid #867754;
  position: absolute;
  left: 0;
  bottom: 44%;
}

.office_main_text {
  margin-top: 50px;
  line-height: 2rem;
}

.office_sign {
  margin-top: 50px;
}

.office_sign p img {
  width: 150px;
  height: auto;
  object-fit: contain;
  object-position: 0;
}
.office_sign p {
  display: flex;
  align-items: center;
  justify-content: center;
}

.office_sign {
  display: flex;
  justify-content: end;
  font-weight: 600;
  margin-bottom: 100px;
}

.office_sign span {
  margin-right: 15px;
}

.bg_grad {
  background: transparent linear-gradient(0deg, #fffeef 0%, #ffffff 100%) 0% 0%
    no-repeat padding-box;
}

.service_mv {
  background: url(../img/img_head_service.png);
}

.section_other {
  margin: 100px auto 0;
}

.h2_sec_service {
  margin-bottom: 50px;
}

.bg_gray {
  background: #f4f4f4;
  width: 100%;
  padding: 50px 0;
}
.bg_gray img {
  width: 90%;
  display: block;
  margin: auto;
}

.service_merit {
  background: #f4f4f4;
  padding: 30px;
}

.service_merit_h3 {
  color: #867754;
  font-size: 23px;
  font-weight: 550;
  padding-bottom: 15px;
  border-bottom: 1px dotted #867754;
}

.service_merit_text {
  margin-top: 15px;
  color: #000000;
  letter-spacing: 1px;
}

.service_end_inner {
  max-width: 800px;
  margin: auto;
  padding: 50px 0 100px 0;
}

.service_end_inner img {
  width: 80%;
  display: block;
  margin: auto;
}

.service_sec_end {
  margin-top: 100px;
}

.voice_mv {
  background: url(../img/img_head_voice.png);
}

.voice_box {
  width: 100%;
  background: #f4f4f4;
  border-radius: 25px;
  padding: 40px 30px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}

.voice_right {
  width: 60%;
  padding-left: 30px;
}
.voice_left {
  width: 40%;
}
.voice_imgtext {
  font-size: 10px;
  color: #acacac;
}
.voice_index {
  border-bottom: 1px dotted #867754;
  padding-bottom: 10px;
}
.voice_tag {
  background: #867754;
  color: #fff;
  font-weight: 550;
  padding: 5px 10px;
}

.voice_name {
  margin-left: 15px;
}

.voice_jigyou {
  color: #867754;
  font-weight: 550;
  margin-top: 15px;
}

.voice_jigyou_text {
  font-weight: normal;
  position: relative;
  padding-left: 40px;
}

.voice_jigyou_text::before {
  content: "";
  width: 20px;
  height: 1px;
  border-top: 1px solid #867754;
  position: absolute;
  left: 10px;
  bottom: 44%;
}

.voice_text {
  margin-top: 30px;
}

.voice_h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 2rem;
  color: #3e3214;
}

.voice_text p {
  margin-top: 30px;
  color: #3e3214;
}

.contact_mv {
  background: url(../img/img_head_contact.png);
}

/* お問い合わせ */

#formWrap {
  border: solid 2px #867754;
  border-radius: 20px;
}
table.formTable {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
}
table.formTable td,
table.formTable th {
  border: 1px solid #ccc;
  padding: 10px;
}
table.formTable th {
  width: 30%;
  font-weight: normal;
  background: #efefef;
  text-align: left;
}

/* 追加css */
.mv_maintext span .sub_large {
  font-size: 1.25rem;
  font-weight: 550;
  color: #6f5c42;
}

.top_catch {
  width: 100%;
  margin: 50px auto 0;
}

.top_catch p {
  margin: auto;
  text-align: center;
  font-size: 1.5rem;
  background: #6f5c42;
  color: #fff;
  width: fit-content;
  padding: 5px 10px;
  position: relative;
}

.top_catch p::after {
  content: "▼";
  color: #6f5c42;
  position: absolute;
  left: 48%;
  margin: 0 auto;
  bottom: -20px;
}

.pcNone {
  display: none !important;
}

.slick-prev:before,
.slick-next:before {
  color: #867754;
  font-size: 30px;
}
.slick-next {
  right: -10%;
}
.slick-prev {
  left: -13%;
}
/*　簡易版レスポンシブ用CSS（必要最低限のみとしています。ブレークポイントも含め自由に設定下さい）　*/
@media screen and (max-width: 572px) {
  #formWrap {
    width: 95%;
    margin: 0 auto;
  }
  table.formTable th,
  table.formTable td {
    width: auto;
    display: block;
  }
  table.formTable th {
    margin-top: 5px;
    border-bottom: 0;
  }
  form input[type="text"],
  form textarea {
    width: 100%;
    padding: 5px;
    font-size: 110%;
    display: block;
    box-sizing: border-box;
  }
  form input[type="submit"],
  form input[type="reset"],
  form input[type="button"] {
    display: block;
    width: 100%;
    height: 40px;
  }
}
.form-btnWrap {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 40px;
  margin-top: 30px;
}

.next-btn {
  display: block;
  background: #bebebe;
  border: none;
  color: #fff;
  font-weight: bold;
  pointer-events: none;
  padding: 10px 30px;
  border-radius: 999px;
  transition: all 0.5s ease;
}

.next-btn.active {
  pointer-events: auto;
  background: #867754;
  transition: all 0.5s ease;
}

.prev-btn {
  background: #bebebe;
  border: none;
  color: #fff;
  font-weight: bold;
  display: block;
  padding: 10px 30px;
  border-radius: 999px;
}

.input-container {
  padding: 10px 0px;
  display: flex;
  flex-flow: column;
  align-items: center;
}

.label-wrap {
  width: 100%;
  text-align: center;
}

.label-text {
  color: #3e3214;
  font-weight: bold;
  font-size: 18px;
}

.input-wrap {
  width: 100%;
  margin-top: 15px;
}

.input-text {
  border: 1px solid #000000;
  width: 100%;
  padding: 10px;
  border-radius: 10px !important;
}

.form-submit {
  margin-top: 30px;
  text-align: center;
}

.submit {
  padding: 10px 20px;
  background: rgb(12, 137, 183);
  background: linear-gradient(
    0deg,
    rgba(12, 137, 183, 1) 0%,
    rgba(12, 183, 183, 1) 100%
  );
  font-weight: bold;
  color: #fff;
  font-size: 24px;
  transition: all 0.5s ease;
}

.form-horizontal {
  width: 500px;
  margin: auto;
  padding: 50px 0;
}

.step {
  display: block;
  width: fit-content;
  margin: 0 auto 50px;
}

input {
  box-sizing: border-box;
}

.send_btn {
  border-radius: 999px !important;
}

.sec_contact {
  margin-bottom: 100px !important;
}

.caution {
  font-size: 14px;
  font-weight: normal;
}

.none {
  display: none !important;
}

small {
  display: block;
  width: 100%;
  text-align: center;
  color: #fff;
  padding-bottom: 20px;
}

.spNone {
  display: block !important;
}

/* レスポンシブ */

/* Nav items */
.menu {
  list-style: none;
  position: absolute;
  width: 100%;
  height: auto;
  top: 0;
  right: 0;
  left: 0;
  margin-top: 52px;
  padding: 0 0 10px 0;
  clear: both;
  background-color: rgba(255, 255, 255, 0.9);
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  transform: scale(1, 0);
  transform-origin: top;
  z-index: 99;
}

/* Hamburger menu button */
.menu-btn:checked ~ .menu {
  transform: scale(1, 1);
  transform-origin: top;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}

/* Hamburger menbu text */
.menu a {
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 2px;
  font-size: 16px;
  text-transform: capitalize;
  color: #867754;
  opacity: 0;
  transition: 0.5s;
}

.menu li {
  border-top: 1px solid rgb(75, 75, 75);
  padding: 15px 0;
  margin: 0 54px;
  opacity: 0;
  transition: 0.5s;
}

.menu-btn:checked ~ .menu a,
.menu-btn:checked ~ .menu li {
  opacity: 1;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
}

.menu-btn {
  display: none;
}

.menu-icon {
  display: inline-block;
  position: relative;
  cursor: pointer;
  padding: 12px 7px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.navicon {
  background: #ddd;
  display: block;
  height: 3px;
  width: 26px;
  position: relative;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}

.navicon:before,
.navicon:after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  background: #ddd;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}

.navicon:before {
  top: 9px;
}

.navicon:after {
  bottom: 9px;
}

/* Hamburger Menu Animation Start */
.menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before {
  top: 0;
}
.menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  bottom: 0;
}

.menu-btn:checked ~ .menu-icon .navicon {
  background: rgba(0, 0, 0, 0);
  transition: 0.2192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}
/* Hamburger Menu Animation End */

/* Navbar Container */
.navtext-container {
  width: 100%;
  height: 52px;
  position: absolute;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Navbar Text */
.navtext {
  position: absolute;
  text-transform: uppercase;
  color: #ddd;
  letter-spacing: 4px;
  font-size: 20px;
}

.menu li.top {
  border: none;
}

@media screen and (max-width: 768px) {
  .spout {
    display: none !important;
  }
  .spNone {
    display: none !important;
  }
  .header_sp {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
  }
  header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99;
  }
  .voice_inner {
    width: 100%;
    display: block;
  }
  .top_mv {
    margin-top: 53px;
  }

  .top_mv_sp {
    background-position: 560px;
  }

  .mv_area {
    padding: 0 15px;
  }
  .service_inner {
    padding: 30px 15px;
  }
  .voice_inner {
    padding: 0 15px;
    box-sizing: border-box;
  }
  .voice_text {
    display: flex;
    flex-flow: column;
    align-content: center;
    justify-content: center;
  }
  .h2_voice {
    margin: 0;
  }
  .voice_bottom {
    margin: 30px auto;
  }
  .office_inner {
    flex-flow: column;
    align-items: center;
  }
  .office_text {
    padding: 0 15px;
    margin-top: 30px;
  }
  .footer_inner {
    flex-flow: column;
  }
  .foot_right {
    margin-top: 30px;
  }
  .foot_right ul {
    flex-flow: column;
  }
  .foot_right ul li {
    margin-bottom: 10px;
  }

  .top_mv {
    min-height: 270px;
  }
  .office_mv,
  .service_mv,
  .voice_mv,
  .contact_mv {
    min-height: 180px;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .h2_other {
    padding: 0 15px;
  }
  .office_main {
    margin-top: 30px;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .office_main img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: top 0 left -40px;
  }
  .section_other {
    padding: 0 15px;
    box-sizing: border-box;
  }
  .h2_sec_service {
    font-size: 20px;
  }
  .service_merit_h3,
  .service_merit_text {
    text-align: left;
  }
  .service_sec_end {
    margin-top: 0;
  }
  .form-horizontal {
    width: 100%;
    padding: 30px 15px;
    box-sizing: border-box;
  }
  .prev-btn,
  .next-btn {
    width: 100%;
  }

  .voice_box {
    flex-flow: column;
    box-sizing: border-box;
    padding: 30px 15px;
  }
  .voice_left,
  .voice_right {
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }
  .voice_right {
    margin-top: 30px;
  }

  .voice_img {
    flex-flow: column;
    width: 300px;
    margin: auto;
  }
  .voice_img img {
    width: 100%;
  }

  .pcNone {
    display: block !important;
  }

  .top_voice_text {
    flex-flow: row;
    margin-bottom: 30px;
  }
}

@media screen and (min-width: 769px) {
  .header_sp {
    display: none;
  }
}
