@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Noto+Serif+JP:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Barlow&display=swap");

/*  ----------------------------------------------------------

index

----------------------------------------------------------  */
.top main {
  display: flex;
  padding: 0 5rem;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
  position: relative;
}

.top main > article {
  width: 70%;
  padding: 8rem 0;
}

.top main > aside {
  width: 25%;
}

.top main > aside > div {
  position: sticky;
  top: 0;
}

@media screen and (max-width: 767px) {
  .top main {
    display: block;
    padding: 0 3rem;
  }

  .top main > article {
    width: 100%;
    padding: 6rem 0;
  }

  .top main > aside {
    width: 100%;
    margin-bottom: 6rem;
  }

  .top main > aside > div {
    position: relative;
  }
}

/* kv */
.top-kv {
  position: relative;
  padding-left: 24rem;
}

.top-kv h2 {
  font-size: 3.8rem;
  line-height: 1.8;
  font-weight: normal;
  font-family: "游明朝", "YuMincho", "Noto Serif JP", serif;
  position: absolute;
  left: 8rem;
  bottom: 14rem;
  z-index: 99;
}

.top-kv h2 span {
  border-bottom: solid 1px #005060;
  display: inline-block;
  text-shadow: 0px 0px 2px #fff, 0px 0px 2px #fff, 0px 0px 2px #fff, 0px 0px 2px #fff;
}

.top-kv h2 span.sub-copy {
  font-size: 1.8rem;
  line-height: 1.8;
  font-weight: normal;
  border: none;
}

#main {
  overflow: hidden;
  width: 100%;
  height: 56rem;
}

.bx-wrapper {
  background-color: transparent !important;
  margin: 0px auto;
  border: none !important;
  box-shadow: none !important;
}
.bx-wrapper img {
  display: block;
  margin: 0px auto;
}
.bx-wrapper .img-clear {
  opacity: 0.7;
}

.bx-wrapper li .img-slider {
  transform: scale(1.1);
  transition-duration: 4s;
}
.bx-wrapper .active-slide .img-slider {
  transform: scale(1);
}

@media screen and (max-width: 767px) {
  .top-kv {
    padding-left: 0;
  }

  .top-kv h2 {
    font-size: 2rem;
    position: relative;
    width: 100%;
    left: auto;
    bottom: auto;
    top: auto;
    right: auto;
  }

  .top-kv h2 span {
    display: inline-block;
    border-bottom: none;
    background: transparent;
    color: #000;
    padding: 0.4rem 1.2rem 0.1rem 1.2rem;
    text-shadow: none;
  }

  .top-kv h2 span:nth-child(1) {
    margin-bottom: 0.5rem;
  }

  #main {
    height: 28rem;
  }
}

/* about */
.top-about {
  margin-bottom: 10rem;
}

.top-about-wrap {
  display: flex;
  justify-content: space-between;
}

.top-about-wrap > * {
  width: 48%;
}

.top-about h3 {
  font-weight: normal;
  font-family: "游明朝", "YuMincho", "Noto Serif JP", serif;
/*   font-size: 2.4rem; */
	font-size: 1.8rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

@media screen and (max-width: 767px) {
  .top-about {
    margin-bottom: 8rem;
  }

  .top-about-wrap {
    display: block;
  }

  .top-about-wrap > * {
    width: 100%;
  }

  .top-about-wrap > *:first-of-type {
    margin-bottom: 2.5rem;
  }
}



/* top-prof */
.top-prof {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
}

.top-prof figure {
  width: 30%;
}

.top-prof p {
  width: calc(70% - 4rem);
}

.top-hukidashi-q {
  background: #eeeeee;
  padding: 2rem;
  border-radius: 1rem;
  width: fit-content;
  text-align: center;
}

.top-hukidashi-a {
  background: #005060;
  color: #fff;
  padding: 2rem;
  border-radius: 1rem;
  width: fit-content;
  text-align: center;
  margin-left: auto;
}

@media screen and (max-width: 767px) {

  .top-prof {
    flex-direction: column;
    gap: 3rem;
  }

  .top-prof figure {
    width: 100%;
  }

  .top-prof p {
    width: 100%;
  }

  .top-hukidashi {
    margin-bottom: 30px;
  }

  .top-hukidashi:last-child {
    margin-bottom: 0;
  }

  .top-hukidashi-q {
    margin-bottom: 30px;
  }

}

/* caselist */
.top-caselist,
.post-caselist {
  margin-bottom: 10rem;
}

.top-caselist > ul > li,
.post-caselist > ul > li {
  padding: 3rem 3.5rem 3.5rem 3.5rem;
}

.top-caselist > ul > li:nth-child(odd),
.post-caselist > ul > li:nth-child(odd) {
  background: #005060a3;
	color: #fff;
}

.top-caselist ul li > div,
.post-caselist ul li > div {
  display: flex;
  align-items: center;
  font-family: "游明朝", "YuMincho", "Noto Serif JP", serif;
  margin-bottom: 1rem;
}

.top-caselist .date,
.post-caselist .date,
.post-date .date {
  font-size: 2.2rem;
  margin-right: 2rem;
  padding-top: 0.4rem;
}

.top-caselist-category {
  display: flex;
}

.top-caselist-category li {
  background: #005060;
  color: #fff;
  padding: 0.3rem 1.5rem 0 1.5rem;
  border-radius: 2px;
}

.top-caselist-category li:first-child {
  margin-right: 1rem;
}

.top-caselist p,
.post-caselist p {
  margin-bottom: 2rem;
}

@media screen and (max-width: 767px) {
  .top-caselist .post-caselist {
    margin-bottom: 8rem;
  }

  .top-caselist > ul > li,
  .post-caselist > ul > li {
    padding: 2.5rem 3rem 3rem 3rem;
  }

  .top-caselist ul li > div,
  .post-caselist ul li > div {
    display: block;
    margin-bottom: 2rem;
  }

  .top-caselist p,
  .post-caselist p {
    margin-bottom: 2.5rem;
  }

  .top-caselist .more,
  .post-caselist .more {
    margin: 0 auto;
  }
}

/* information */
.top-info-wrap {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.top-info-wrap > * {
  width: 48%;
}

.top-info-wrap iframe {
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 767px) {
  .top-info-wrap {
    display: block;
    margin-bottom: 1rem;
  }

  .top-info-wrap > * {
    width: 100%;
  }

  .top-info-wrap iframe {
    width: 100%;
    height: 32rem;
  }
}

/* cv */
.cv {
  background: url(../img/cv-bg.jpg) no-repeat center / cover;
  padding: 10rem 0;
}

.cv h2 {
  text-align: center;
  line-height: 1;
  font-weight: normal;
  font-size: 4.8rem;
  margin-bottom: 3rem;
  color: #fff;
  font-family: "游明朝", "YuMincho", "Noto Serif JP", serif;
  letter-spacing: 0.1em;
}

.cv h2 small {
  display: block;
  font-size: 1.6rem;
  margin-top: 1rem;
  letter-spacing: 0;
}

.cv h2 + p {
  text-align: center;
  color: #fff;
  margin-bottom: 6rem;
}

.cv-wrap {
  width: 70%;
  max-width: 1200px;
  background: #fff;
  padding: 3.5rem 8rem;
  margin: 0 auto;
}

.cv-wrap > div {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cv-wrap > div > p {
  width: 90%;
}

.cv-wrap > div > div {
  width: 50%;
  text-align: right;
}

.cv-wrap > div > div a {
  display: inline-block;
  font-family: "游明朝", "YuMincho", "Noto Serif JP", serif;
  font-size: 3.6rem;
  background: url(../img/ico-tel.png) no-repeat center left;
  background-size: 3.2rem auto;
  padding-left: 4rem;
}

.cv-wrap .more {
  margin: 3rem auto 0 auto;
}

@media screen and (max-width: 767px) {
  .cv {
    padding: 8rem 3rem;
  }

  .cv h2 + p {
    text-align: left;
    margin-bottom: 3rem;
  }

  .cv-wrap {
    width: 100%;
    padding: 3.5rem 2rem;
  }

  .cv-wrap > div {
    display: block;
  }

  .cv-wrap > div > p {
    width: 100%;
  }

  .cv-wrap > div > div {
    width: 100%;
    text-align: center;
  }

  .cv-wrap .more {
    margin: 1rem auto 0 auto;
  }
}

/* side */
.top-side {
  font-family: "游明朝", "YuMincho", "Noto Serif JP", serif;
}

.top-side h2 {
  color: #fff;
  text-align: center;
  background: #005060;
  font-weight: normal;
  padding: 1.6rem;
  font-size: 1.8rem;
}

.top-side ul {
  border-right: solid 1px#005060;
  border-left: solid 1px #005060;
}

.top-side ul li:not(:last-child) {
  border-bottom: solid 1px#005060;
}

.top-side ul li a {
  display: block;
  position: relative;
  padding: 1.2rem 1.5rem 1rem 3.5rem;
  line-height: 1.6;
}

.top-side ul li a::before {
  content: "";
  width: 1rem;
  height: 1px;
  background:#005060;
  position: absolute;
  left: 1.5rem;
  top: 2.1rem;
  transition: all 0.3s;
}

.top-side ul li a small {
  font-size: 1rem;
}

.top-side ul li a:hover {
  opacity: 1;
  background: #005060;
  color: #fff;
}

.top-side ul li a:hover::before {
  background: #fff;
}

@media screen and (max-width: 767px) {
  .top_p {
    font-size: 14px;
    width: 100%;
  }

  .case .inner-flex {
    margin-bottom: 40px;
  }

  .case .inner-flex-reverse {
    margin-bottom: 40px;
    margin-top: 100px;
  }

  .case img {
    width: 100%;
    height: auto;
  }

  .case h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #005060a3;
    font-size: 2.4rem;
  }
}

@media screen and (min-width: 768px) {
  .top_p {
    font-size: 10px;
    width: 140%;
  }

  .case .inner-flex > *,
  .case .inner-flex-reverse > * {
    margin-top: 50px;
    margin-bottom: 20px;
    width: 100%;
  }

  .case .inner-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70rem;
  }

  .case h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #005060;
    font-size: 2.4rem;
  }

  .case .inner-flex-reverse {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
  }
}

.case h2 {
  text-align: center;
  font-size: 2.8rem;
}

@media screen and (min-width: 768px) {
  form {
    max-width: 1000px;
    margin: 0 auto;
  }

  form div {
    margin-bottom: 50px;
  }

  form div label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
  }

  form input[type="radio"] {
    max-width: none !important;
    width: 30px !important;
    vertical-align: -1px;
  }

  .CMS-FORM-RADIO label {
    display: inline-block;
  }

  form input,
  form textarea {
    max-width: 1000px;
    width: 100%;
    padding: 10px 20px;
    background: #fff;
    border: #bbbbbb solid 1px;
    border-radius: 4px;
    font-size: 1.5em;
    box-sizing: border-box;
  }

  form input[type="submit"] {
    border: 0px;
    width: 50%;
    background: #000;
    color: #fff;
    font-size: 26px;
    font-weight: 600;
    padding: 25px 0;
    margin: 0 25%;
  }
}

@media screen and (max-width: 767px) {
  form div {
    margin-bottom: 50px;
  }

  form div label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
  }

  form input[type="radio"] {
    max-width: none !important;
    width: 30px !important;
    vertical-align: -1px;
  }

  .CMS-FORM-RADIO label {
    display: inline-block;
  }

  form input,
  form textarea {
    width: 100%;
    padding: 10px 20px;
    background: #fff;
    border: #bbbbbb solid 1px;
    border-radius: 4px;
    font-size: 1.5em;
    box-sizing: border-box;
  }

  form input[type="submit"] {
    border: 0px;
    width: 90%;
    background: #000;
    color: #fff;
    font-size: 26px;
    font-weight: 600;
    padding: 25px 0;
    margin: 0 5%;
  }
}

.second p {
  margin-bottom: 60px;
}

.CMS-FORM-GROUP label:first-child {
  font-size: 120%;
}

input[type="radio"i] {
  background-color: initial;
  cursor: default;
  appearance: auto;
  box-sizing: border-box;
  margin: 3px 3px 0px 5px;
  padding: initial;
  border: initial;
}

.contact-pre {
  margin-bottom: 50px;
  border: 1px solid;
  border-color: #0006;
  padding: 10px;
  background-color: #fff4e2;
}

@media not all and (max-width: 767px) {
  .case1 {
    margin: 20px auto;
    border-bottom: 2px solid #9e9e9e;
    padding-bottom: 20px;
  }

  .case1 h2 {
    text-align: center;
    font-size: 2rem;
  }

  .case-title {
    border-top: 1px solid #ccc;
    padding-top: 20px;
  }

  .case1-img-wrap {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  
  .case1-img {
    width: calc(33.3333333% - 2rem * 2/3);
  }
  
  .case1-img img {
    aspect-ratio: 3/2;
    object-fit: cover;
  }

  .case2-img-wrap {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  
  .case2-img {
    width: calc(33.3333333% - 2rem * 2/3);
  }
  
  .case2-img img {
    aspect-ratio: 3/2;
    object-fit: cover;
  }

  .case3-img-wrap {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  
  .case3-img {
    width: calc(33.3333333% - 2rem * 2/3);
  }
}

@media not all and (min-width: 768px) {
  .case1 {
    margin: 20px auto;
    border-bottom: 2px solid #9e9e9e;
    padding-bottom: 20px;
  }

  .case1 h2 {
    text-align: left;
    font-size: 1.8rem;
    margin-bottom: 12px;
  }

  .case-title {
    border-top: 1px solid #ccc;
    padding-top: 20px;
  }

  .case1-img-wrap {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .case2-img-wrap {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .case1-img {
    width: 100%;
  }

  .case2-img {
    width: 100%;
  }

  .case3-img-wrap {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .case3-img {
    width: 100%;
  }
}

.wrap {
  display: flex;
  flex-wrap: wrap;
}

.item {
  padding: 0 30px;
  width: 32%;
  background-color: #fff;
}

.item:not(:nth-child(3n + 3)) {
  margin-right: 2%;
}

.item:nth-child(n + 4) {
  margin-top: 30px;
}

@media not all and (min-width: 768px) {
  .item {
    width: 100%;
  }

  .item:not(:nth-child(3n + 3)) {
    margin-right: 0;
  }

  .item:nth-child(n + 2) {
    margin-top: 30px;
  }
}

.title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 25px;
}

.inner-flex-reverse p {
  background-color: #00506054;
  padding: 20px;
}

.case h3 span {
  color: #005060;
}

/*  ----------------------------------------------------------

blog

----------------------------------------------------------  */

.post-list {
  margin-bottom: 8px;
}

.post-content {
  display: flex;
}

.post-content .post-date {
  width: 140px;
}

.page-numbers {
  display: flex;
  margin-top: 16px;
  margin-right: 12px;
  justify-content: center;
}

.post__title {
  font-size: 2rem;
}

.case strong{
	padding:2rem 0;
}

.case-img{
	margin-top:2rem;
	width:20%;
}

.cmt{
	font-size:1rem;
}

.attention{
font-size: 0.8rem;
vertical-align: top;
}

.underline{
	 text-decoration:underline;
}