/* ----- common ----- */
/* title */
.sub_title {
  height: 420px;
  display: flex;
  align-items: center;
}
.sub_title h2 {
  margin: 0 auto 0 25%;
  font-size: 42px;
  line-height: 1.4;
  font-weight: bold;
  color: #e95787;
}
/* タブレット用のスタイル */
@media screen and (max-width: 1025px) {
  .sub_title h2 {
    font-size: calc(100vw / 24);
  }
  .sub_title {
    height: 24vw;
    background-size: contain !important;
  }
}
/* スマホ用のスタイル */
@media screen and (max-width: 768px) {
  .sub_title {
    height: 30vw;
  }
  .sub_title h2 {
    padding: 2vw 3vw;
    margin: 0 auto 6vw 20%;
    font-size: calc(100vw / 18);
  }
}
/* ----- about.php #about ----- */
#about .sub_title {
  background: url("../images/about/about_ttl.png") no-repeat top center;
  background-size: cover;
}
@media screen and (max-width: 768px) {
}
/* about_intro */
#about .about_intro .greeting_box {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 50px 10px 50px;
  background: #ffffff;
  border: #e95787 4px solid;
  border-width: 4px 0 4px 0;
}
#about .about_intro .greeting_box h2 {
  width: fit-content;
  margin: -75px auto 60px;
  padding: 5px 20px;
  font-size: 160%;
  font-weight: bold;
  text-align: center;
  position: relative;
  z-index: 0;
}
#about .about_intro .greeting_box h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #ffffff;
  border: #e95787 4px solid;
  border-width: 0 4px 0 4px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: -1;
  transform: skewX(-15deg);
}
#about .about_intro .greeting {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#about .about_intro .greeting {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#about .about_intro .greeting p {
  width: 57%;
  max-width: 700px;
  order: 2;
}
#about .about_intro .greeting .greeting_img {
  width: 40%;
  max-width: 540px;
  order: 1;
}

/* タブレット用のスタイル */
@media screen and (max-width: 1025px) {
  #about .about_intro .greeting_box {
    padding: 4vw 1vw 4vw;
  }
  #about .about_intro .greeting_box h2 {
    margin: -6vw auto 4vw;
  }
}
/* スマホ用のスタイル */
@media screen and (max-width: 768px) {
  #about .about_intro .greeting {
    display: block;
  }
  #about .about_intro .greeting p {
    width: 100%;
    order: 1;
  }
  #about .about_intro .greeting .greeting_img {
    width: 100%;
    max-width: none;
    order: 2;
  }
  #about .about_intro .greeting_box h2 {
    margin: -8vw auto 4vw;
    font-size: 140%;
  }
}

/* info */
#about .info {
  padding: 80px 0;
  background: #e8e7e3;
  overflow: hidden;
  position: relative;
  z-index: 0;
}
#about .info .cntns_hl1 {
  background: #e8e7e3;
}
#about .info .conditions_list {
  width: 90%;
  max-width: 860px;
  flex-wrap: wrap;
  margin: 0 auto;
}
#about .info .conditions_item {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  border: 2px solid #333333;
  border-bottom: none;
  background: #ffffff;
}
#about .info .conditions_item:last-child {
  border-bottom: 2px solid #333333;
}
#about .info .conditions_item dt {
  width: 27%;
  max-width: 160px;
  padding: 5px;
  line-height: 1.6;
  position: relative;
  border-right: 2px solid #333333;
}
#about .info .conditions_item .list-beasic {
  padding-left: 28px;
}
#about .info .conditions_item .list-beasic::before {
  content: "";
  display: inline-block;
  background: #333333;
  width: 10px;
  height: 10px;
  margin-left: -20px;
  margin-right: 5px;
  border-radius: 30px;
}
#about .info .conditions_item dd {
  padding-left: 20px;
  padding: 5px;
  width: 73%;
  max-width: 660px;
  line-height: 1.6;
}

.conditions_map {
  width: 60%;
  max-width: 800px;
  height: 30vw;
  margin: 30px auto 60px;
}
.conditions_map iframe {
  width: 100%;
  height: 100%;
}
@media screen and (max-width: 1025px) {
  .conditions_map {
    height: 40vw;
  }
}
@media screen and (max-width: 768px) {
  #about .info .conditions_list {
    margin: 4vw auto;
  }
  #about .info .conditions_item .list-beasic {
    padding-left: 5vw;
  }
  #about .info .conditions_item .list-beasic::before {
    width: 2vw;
    height: 2vw;
    margin-left: -3vw;
  }
  #about .info .conditions_item dd {
    padding-left: 3vw;
    width: 72%;
  }
  #about .info .conditions_item dd a {
    pointer-events: none;
    display: inline;
  }
  .conditions_map {
    width: 100%;
    height: 50vw;
    margin: 5vw auto 6vw;
  }
}
/* staff */
#about .staff {
  padding: 80px 0;
}
#about .staff .staff_box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: fit-content;
  max-width: 840px;
  margin: 60px auto;
  padding: 0 20px;
}
#about .staff .staff_box .staff_items {
  width: calc((100% / 2) - 20px);
  max-width: 400px;
  padding-bottom: 20px;
  background: #fce6ed;
  margin: 0 auto;
  border: 3px solid #e95787;
}
#about .staff .staff_box .staff_items h4 {
  display: flex;
  justify-content: space-around;
  padding: 12px 0 15px;
  text-align: center;
  color: #ffffff;
  background: #e95787;
}
#about .staff .staff_box .staff_items h4::after {
  content: "";
  width: 25%;
}
#about .staff .staff_box .staff_items h4 span {
  padding: 1px 5px 3px;
  text-align: center;
  background: #ffffff;
  color: #e95787;
}
#about .staff .staff_box .staff_items .staff_img {
  width: 100%;
}
#about .staff .staff_box .staff_items .staff_item {
  width: 90%;
  margin: 10px auto;
  padding-left: 20px;
  border-bottom: 1px dashed;
}
#about .staff .staff_box .staff_items .staff_item dt::before {
  content: "・";
  margin-left: -20px;
}
#about .staff .staff_box .staff_items .staff_item dt::after {
  content: "：";
}
#about .staff .staff_box .staff_items .staff_item dt,
#about .staff .staff_box .staff_items .staff_item dd {
  display: inline-block;
  padding-bottom: 5px;
}

@media screen and (max-width: 1025px) {
  #about .staff .staff_box .staff_items .staff_item dt::before {
    margin-left: calc(-100vw / 60);
  }
  #about .staff .staff_box .staff_items {
    max-width: 320px;
  }
}
@media screen and (max-width: 768px) {
  #about .staff .staff_box {
    display: block;
    margin: 60px auto;
    padding: 0 20px;
  }
  #about .staff .staff_box .staff_items {
    width: 86%;
    margin: 0 auto 3vw;
    max-width: none;
  }
  #about .staff .staff_box .staff_items .staff_item {
    width: 90%;
    margin: 10px auto;
    padding-left: 2vw;
    border-bottom: 1px dashed;
  }
  #about .staff .staff_box .staff_items h4 {
    display: flex;
    justify-content: space-around;
    padding: 3vw 0 2vw;
    text-align: center;
    color: #ffffff;
    background: #e95787;
  }
}
/* contact */
#contact .form {
  background: #e8e7e3;
  position: relative;
  z-index: 0;
  overflow: hidden;
}
#contact .form .cntns_hl1 {
  background: #e8e7e3;
}
#contact .form .formTable {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
}
#contact .form .formTable dl {
  margin-bottom: 30px;
}
#contact .form .formTable dl dt {
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
}
#contact .form .formTable dl dt#about .info .list-beasic::before {
  top: 8px;
}
#contact .form .formTable dl dt span {
  margin-left: 10px;
  font-size: 60%;
  color: #ffffff;
  background: #cc3333;
  padding: 3px 5px 4px;
  border-radius: 3px;
}
#contact .form .formTable input[type="text"],
#contact .form .formTable textarea {
  width: 100% !important;
  height: 50px;
  display: block;
  padding: 2%;
  background: #fff;
  font-size: 18px;
  border: 3px solid #999999;
  border-radius: 5px;
  line-height: 1.6;
}
#contact .form .formTable textarea {
  height: 120px !important;
}
#contact .form .formTable input[type="radio"] {
  width: 15px;
  height: 15px;
  margin-left: 30px;
  display: inline-block;
  transform: scale(1.5);
  border: 3px solid #999999;
}
#contact .form .formTable button.main_btn {
  width: fit-content;
  overflow: hidden;
  margin: auto;
  font-size: 20px;
}
@media screen and (max-width: 1025px) {
  #contact .form .formTable dl dt {
    font-size: 130%;
  }
  #contact .form .formTable input[type="radio"] {
    width: 3vw;
    max-width: 16px;
    height: 2vw;
    min-height: 20px;
    margin-right: 1vw;
    margin-left: 5vw;
    border: 2px solid #999999;
  }
  #contact .form .formTable button.main_btn {
    font-size: calc(100vw / 60);
  }
}
@media screen and (max-width: 768px) {
  #contact .form .formTable input[type="text"],
  #contact .form .formTable textarea {
    font-size: calc(80vw / 20);
  }
  #contact .form .formTable label {
    display: block;
    padding: 5px 0 0 0;
    font-size: 110%;
  }
  #contact .form .formTable dl dt {
    font-size: 120%;
  }
  #contact .from .formTable input[type="radio"] {
    margin-left: 0;
  }
  #contact .form .formTable button.main_btn {
    font-size: calc(100vw / 30);
  }
}
/* privacy */
#contact .privacy_box {
  width: 80%;
  height: 540px;
  overflow: scroll;
  max-width: 1075px;
  margin: 0 auto;
  padding: 30px 50px;
  background: #fdfdfc;
  border: 2px solid #333333;
  position: relative;
  z-index: 0;
}
#contact .privacy_box h3 {
  margin-bottom: 20px;
  font-size: 140%;
  font-weight: bold;
  text-align: center;
  color: #333333;
}
#contact .privacy_box p {
  margin-bottom: 30px;
  text-indent: 20px;
}
#contact .privacy_box dl dt {
  font-weight: bold;
}
#contact .privacy_box dl dd {
  line-height: 1.8;
  margin: 10px 0 40px;
  text-indent: 20px;
  font-size: 90%;
}
#contact .privacy_box dl dd ul {
  margin: 10px 0;
  text-indent: 0;
}
#contact .privacy_box dl dd ul li {
  margin-bottom: 10px;
}
#contact .privacy_box dl dd ul li#about .info .list-beasic::before {
  top: 5px;
}
@media screen and (max-width: 768px) {
  #contact .privacy_box {
    max-height: 50vh;
    overflow: scroll;
    padding: 6vw 6vw 0;
    font-size: calc(68vw / 18);
  }
  #contact .privacy_box dl dd {
    line-height: 1.6;
  }
  #contact .privacy_box h3 {
    margin-bottom: 20px;
    font-size: calc(68vw / 12);
  }
}

/* サンクス */
/* #about.thanks .sub_title {
  background: url("../images/about/thanks_ttl.png") no-repeat top center;
  background-size: cover;
} */

.thanks_box {
  max-width: 800px;
  width: 90%;
  margin: 0 auto 60px;
  padding: 50px 20px;
  background: #ffffff;
  border: 2px solid #333333;
  border-radius: 10px;
}
.thanks_box h4 {
  width: fit-content;
  margin: auto;
  padding: 0 30px;
  font-size: 140%;
  font-weight: bold;
  color: #e95787;
  position: relative;
}
.thanks_box h4::before {
  content: "＼";
  position: absolute;
  bottom: 0;
  left: 0;
}
.thanks_box h4::after {
  content: "／";
  position: absolute;
  bottom: 0;
  right: 0;
}
.thanks_box div {
  margin: 20px 0 30px;
  font-size: 110%;
  line-height: 1.6;
}
.thanks_box p {
  font-size: 80%;
  line-height: 1.4;
}

/* ----- works.php #works ----- */
/* works */
#works .sub_title {
  background: url("../images/works/works_ttl.png") no-repeat top center;
  background-size: cover;
}
@media screen and (max-width: 768px) {
}
#works .works_intro {
  padding: 80px 0;
}
#works .works_box {
  padding: 60px 0;
  position: relative;
  z-index: 0;
  overflow: hidden;
}
#works .works_box .works_list_box {
  margin-bottom: 120px;
}
#works .works_box .works_list_box > li {
  margin-bottom: 12vw;
}
#works .works_box .works_list {
  width: 90vw;
  max-width: 1500px;
  margin: 0 0 20px 0;
  background: #f3f3f1;
  border: 3px solid #333333;
}
#works .works_box .works_list dl {
  width: 100%;
  max-width: 1080px;
  display: flex;
  justify-content: space-between;
}
#works .works_box .works_list_tbox {
  width: 50%;
  max-width: 440px;
}
#works .works_box .works_list_tbox .works_item_name {
  font-weight: bold;
  font-size: 28px;
  margin: 40px 0 20px;
  padding-left: 24px;
  position: relative;
}
#works .works_box .works_list_tbox .works_item_name::before {
  content: " ";
  width: 24px;
  height: 20px;
  display: inline-block;
  border: #e95787 solid 12px;
  border-color: transparent transparent transparent #e95787;
  position: absolute;
  top: calc(50% - 8px);
  left: 0;
}
#works .works_box .works_list_tbox .works_item_txt {
  width: 100%;
  line-height: 1.6;
}
#works .works_box .works_item_img {
  width: 50%;
  max-width: 550px;
  position: relative;
  line-height: 0;
  align-content: end;
}
/* slick */
#works .example_list {
  width: 50vw;
  max-width: 1200px;
  padding: 50px 0 80px;
}
#works .example_list .sliderArea {
  width: 100%;
  margin: auto;
  padding: 50px 10px 50px;
  /* background: #ffffff; */
  border: #e95787 4px solid;
  border-width: 4px 0 4px 0;
}
#works .example_list .sliderArea h3 {
  width: fit-content;
  padding: 5px 20px;
  font-size: 160%;
  font-weight: bold;
  text-align: center;
  position: relative;
  z-index: 0;
}
#works .example_list .sliderArea h3 span {
  font-size: 60%;
  color: #e95787;
}
#works .example_list .sliderArea h3::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #ffffff;
  border: #e95787 4px solid;
  border-width: 0 4px 0 4px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: -1;
  transform: skewX(-15deg);
}
.example_list .column3 {
  width: 50vw;
  max-width: 460px;
  gap: 2%;
}
.column3-items {
  /* margin-left: 20px; */
  background: #e95787;
  position: relative;
}
.column3-items p {
  text-align: center;
  color: #ffffff;
}

.example_list .column3 .slick-slide {
  border-radius: 15px;
  overflow: hidden;
}
.slick-prev,
.slick-next {
  position: absolute;
  top: calc(50% - 15px);

  width: 30px;
  height: 30px;
  padding: 0;
}
.slick-prev {
  left: -35px;
}
.slick-next {
  right: -35px;
}
.slick-prev::before,
.slick-next::before {
  content: " ";
  width: 30px;
  height: 30px;
  display: inline-block;
  border: #e95787 solid 20px;
}
.slick-prev::before {
  border-color: transparent #e95787 transparent transparent;
  position: absolute;
  right: 0;
}
.slick-next::before {
  border-color: transparent transparent transparent #e95787;
  position: absolute;
  left: 0;
}
.slick-slide img {
  width: 100%;
  height: 36vw;
  max-height: 330px;
  object-fit: cover;
}

/* 反転 */
#works .works_box li:nth-of-type(odd) {
  background: url(../images/works/example_lbg.png) no-repeat left -1% bottom 0;
  background-size: 25%;
}
#works .works_box li:nth-of-type(odd) .works_list {
  box-shadow: -8vw -4vw 0 #636260;
  margin-left: -2vw;
}
#works .works_box li:nth-of-type(odd) .works_list dl {
  margin: 0 0 0 auto;
}
#works .works_box li:nth-of-type(odd) .works_list dl .works_item_img {
  order: 1;
}
#works .works_box li:nth-of-type(even) {
  background: url(../images/works/example_rbg.png) no-repeat right -1% bottom 0;
  background-size: 25%;
}
#works .works_box li:nth-of-type(even) .works_list {
  box-shadow: 8vw -4vw 0 #636260;
  margin: 0 -2vw 30px auto;
}
#works .works_box li:nth-of-type(even) .works_list dl {
  margin: 0 auto 0 0;
}
#works .works_box li:nth-of-type(even) .works_list dl .works_list_tbox {
  order: 2;
}
#works .works_box li:nth-of-type(even) .works_list dl .works_item_img {
  order: 1;
}

#works .works_box li:nth-of-type(odd) .example_list {
  margin: 0 0 80px auto;
}
#works .works_box li:nth-of-type(odd) .example_list .sliderArea h3 {
  margin: -90px auto 30px 0;
}
#works .works_box li:nth-of-type(odd) .example_list .column3 {
  margin: 0 auto 0 3%;
}
#works .works_box li:nth-of-type(even) .example_list {
  margin: 0 auto 80px 0;
}
#works .works_box li:nth-of-type(even) .example_list .column3 {
  margin: 0 3% 0 auto;
}
#works .works_box li:nth-of-type(even) .example_list .sliderArea h3 {
  margin: -90px 0 30px auto;
}

@media screen and (max-width: 1025px) {
  #works .works_intro {
    padding: 8vw 0;
  }
  #works .works_box .works_list {
    padding: 2vw 2vw 2vw 4vw;
  }
  #works .works_box .works_list dl {
    gap: 3vw;
  }
  #works .works_box .works_list_tbox .works_item_name {
    font-size: calc(100vw / 30);
    margin: 2vw 0 1vw;
  }
  #works .example_list {
    width: 62vw;
    max-width: 1200px;
    padding: 5vw 0 8vw;
  }
  #works .works_box li:nth-of-type(odd) {
    background: url(../images/works/example_lbg.png) no-repeat left -3% bottom 0;
    background-size: 40%;
  }

  #works .works_box li:nth-of-type(even) {
    background: url(../images/works/example_rbg.png) no-repeat right -3% bottom 0;
    background-size: 40%;
  }
}

@media screen and (max-width: 768px) {
  /* #works .works_box .works_list dl {
    padding: 4vw 5vw;
  }
  #works .works_box .works_list_tbox {
    width: 100%;
  }

  #works .works_box .works_list_tbox .works_item_txt::before {
    font-size: calc(80vw / 28);
  }
  #works .works_box .works_item_img::before {
    font-size: calc(80vw / 24);
  }
  #works .works_box .works_list_tbox .works_item1_name {
    margin-left: -5vw;
    margin-bottom: 2vw;
    padding: 2vw 10vw 2vw 5vw;
    font-size: calc(80vw / 24);
  }
  #works .works_box .works_list_tbox .works_item_txt {
    width: 80%;
    max-width: 440px;
  }
  #works .works_box .works_item_img {
    width: 94%;
    max-width: 550px;
  }
  #works .example_list {
    width: 80vw;
    padding: 5vw 0 8vw;
  }
}
@media screen and (max-width: 430px) { */
  #works .works_box .works_list {
    width: 90vw;
  }
  #works .works_box .works_list dl {
    padding: 4vw 5vw;
    flex-wrap: wrap;
  }
  #works .works_box .works_list_tbox {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
  }
  #works .works_box .works_list_tbox .works_item_name {
    margin-bottom: 2vw;
    padding: 2vw 10vw 2vw 5vw;
    font-size: calc(80vw / 14);
  }
  #works .works_box .works_list_tbox .works_item_txt {
    width: 100%;
    margin-bottom: 8vw;
  }
  #works .works_box .works_list_tbox .works_item_txt::before {
    font-size: calc(100vw / 22);
  }
  #works .works_box .works_item_img::before {
    font-size: calc(100vw / 18);
  }
  #works .works_box .works_item_img {
    width: 100%;
  }

  #works .example_list {
    width: 78vw;
  }
  #works .works_box li:nth-of-type(odd) {
    background: url(../images/works/example_lbg.png) no-repeat left -3% bottom 0;
    background-size: 60%;
  }

  #works .works_box li:nth-of-type(even) {
    background: url(../images/works/example_rbg.png) no-repeat right -3% bottom 0;
    background-size: 60%;
  }
  .example_list .column3 {
    width: 60vw;
  }
}
