@charset "utf-8";
/* CSS Document */

/* ==========================
下層ページ共通
============================= */
p{
  line-height: 1.75;
}
.contents-box {
    overflow: hidden;
    margin-bottom: 50px;
}
li.side-title {
    margin-top: 30px;
}


/*=========================================*/

/* maincontents
=========================================*/
.mainvisual{
  background: url("../img/mv.png")no-repeat center;
  -webkit-background-size: cover;
  background-size: cover;
}
.intro {
  background: #F2EEE2;
  padding: 40px 0;
}
.intro_inner {
  max-width: 1024px;
  width: 95%;
  margin: auto;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 1em;
  flex-wrap: wrap;
  padding: 70px;
}
.contents-img {
  max-width: 879px;
  width: 100%;
  height: auto;
}

.mb-30 {
  margin-bottom: -30px;
}

.main-contents .subtitle  {
    color: #c23940;
    text-align: center;
}
.h6 {
    margin-bottom: 30px;
}
.center-img {
    margin: 25px 0;
}
.page_links {
  max-width: 1024px;
  width: 95%;
  margin: 0 auto 60px;
  display: flex;
 /* justify-content: space-between;*/
  justify-content: flex-end;
  gap: 20px;
}
.page_link {
  display: flex;
  max-width: 500px;
  width: calc(50% - 10px);
  background: #fae5e5;
  align-items: center;
  min-height: 80px;
  line-height: 1;
  gap: 20px;
  padding-left: 20px;
}
.page_link--next{
  text-align: right;
  justify-content: flex-end;
}
.page_link p{
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.2;
}
.page_link small{
  font-size: 1.2rem;
  font-weight: bold;
}
.page_link--next::after{
  content: url("../../../common/img/arrow_page_next.svg");
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 100%;
  background: #C23940;
}
.nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 40px 0 80px;
}
a.nav_btn {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  max-width: 320px;
  width: calc(33.333333% - 5px);
  background: #d6c9a9;
  height: 50px;
  color: #000;
  line-height: 1.2;
  position: relative;
}
a.nav_btn::after{
  content: '';
  display: block;
  background: url("../img/arrow_right.svg") no-repeat center;
  -webkit-background-size: contain;
  background-size: contain;
  width: 15px;
  height: 15px;
  position: absolute;
  right: 15px;
}
.num{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 22px;
  height: 22px;
  background: #c23940;
  color: #D6C9A9;
  border-radius: 50%;
  font-size: 1.6rem;
  margin-top: 5px;
  letter-spacing: 0;
  line-height: 0;
  margin-right: 5px;
}
.flex {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.flex_left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 520px;
}
.flex_box {
  background: #F2EEE2;
  margin-top: 20px;
  max-width: 480px;
  width: 100%;
}
.flex_head {
  width: 100%;
  text-align: center;
  background: #D6C9A9;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.flex_list {
  padding: 20px 40px;
}
.flex_list li {
  text-indent: -1em;
  padding-left: 1em;
}

.works {
  background: #F2EEE2;
  padding: 50px 0 30px;
  margin-bottom: 60px;
}
.works h2 {
  margin: 0 0 35px 0;
  padding: 0 0 15px 0;
  border-bottom: 3px solid #862207;
  font-size: 2.4rem;
  font-weight: bold;
  color: #862207;
}
.works h5 {
  padding: 10px;
  font-weight: bold;
  color: #000;
  background-color: #D6C9A9;
  margin-bottom: 30px;
  font-size: 1.8rem;
}
.works_inner {
  max-width: 1024px;
  width: 95%;
  margin: auto;
  display: flex;
  flex-direction: column;
}
.works_top p {
  margin: 40px 0;
}




/* スマートフォン */
/* ---------------------------------------- */
@media screen and ( max-width: 767px ){
.intro_inner {
  padding: 40px 5%;
}
.nav {
  margin: 0 0 40px;
  font-size: 1.4rem;
}
a.nav_btn {
  width: calc(50% - 5px);
  text-align: left;
  justify-content: flex-start;
  padding-left: 5px;
}
a.nav_btn small{
    font-size: 1rem;
}
a.nav_btn::after{
  right: 5px;
}
.top_col {
  display: none;
}
.page_link {
  width: auto;
}
.page_link p {
  font-size: 1.6rem;
}
.works h2 {
  font-size: 1.8rem;
}
.works h5 {
  font-size: 1.6rem;
}
.flex_list {
  padding: 20px 5%;
}
}
