@charset "UTF-8";
/* ofi */

/*====================================================================

index.css

=====================================================================*/
/*--------------------------------------------------------------------/
	main-view
/--------------------------------------------------------------------*/
.main-view {
  position: relative;
  background: url(../img/top/main_sp.jpg) top center/cover no-repeat;
  height: 133vw;
  overflow: hidden;
}

.main-view .l-cont {
  width: 100%;
  height: 100%;
  position: relative;
}

.main-view__tit img {
  display: block;
  width: 100%;
  max-width: 500px;
}

/* common
----------------------------------------------------------------*/
/*--------------------------------------------------------------------/
	contents
/--------------------------------------------------------------------*/
.cont-intro {
  padding-top: 32px;
  padding-top: 2rem;
  padding-bottom: 64px;
  padding-bottom: 4rem;
}

.cont-intro .l-cont {
  display: flex;
  justify-content: space-between;
}

.cont-intro__tit {
  position: relative;
}

.cont-intro .txt strong {
  font-size: 1.87em;
  color: #509c0d;
  font-weight: 400;
}

/* cont-works
----------------------------------------------------------------*/
.cont-works {
  padding-top: 64px;
  padding-top: 4rem;
  padding-bottom: 64px;
  padding-bottom: 4rem;
  background: #fefefe;
  margin-bottom: 48px;
  margin-bottom: 3rem;
  position: relative;
  z-index: 0;
}

.cont-works:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 340px;
  background: url(../img/top/works_bg.jpg) center center/cover no-repeat;
  z-index: -1;
}

.cont-works .l-cont {
  position: relative;
}

.cont-works__tit {
  color: #fefefe;
  font-family: 'Noto Serif JP', serif;
  text-align: center;
  font-size: calc(1.75rem + 10 * (100vw - 320px) / 680);
  font-weight: 500;
  letter-spacing: 0.125em;
  margin-bottom: calc(2rem + .3em);
}

.cont-works__tit small {
  display: block;
  line-height: 1.1;
  font-size: 0.62em;
}

.cont-works__list li:first-child {
  position: relative;
}

.cont-works__list li:first-child:after {
  content: "おすすめ";
  display: inline-block;
  font-size: 11.04px;
  font-size: 0.69rem;
  padding: 1.6px 6.4px;
  padding: 0.1rem 0.4rem;
  letter-spacing: 0;
  background: #cb6604;
  color: #fefefe;
  position: absolute;
  top: -14.4px;
  top: -0.9rem;
  left: 12px;
  left: 0.75rem;
}

.cont-works__list li img {
  margin-left: auto;
  margin-right: auto;
  border: 8px solid #fefefe;
  transition: 0.3s ease all;
}

.cont-works__list li a {
  transition: 0.3s ease all;
  display: block;
}

.cont-works__list li a:hover img {
  border-color: #cb6604;
}

.cont-works__btn {
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 24px;
  margin-top: 1.5rem;
}

.cont-works__consultation {
  padding-top: 48px;
  padding-top: 3rem;
}

.cont-works__consultation__list li {
  padding: 24px 16px;
  padding: 1.5rem 1rem;
  background: url(../img/common/bg_04.png);
  letter-spacing: 0.05em;
  border-radius: 5px;
  margin-bottom: 16px;
  margin-bottom: 1rem;
  text-align: center;
  line-height: 1.4;
}

.cont-works__consultation__list li strong {
  color: #509c0d;
  font-weight: 600;
}

/* cont-chara
----------------------------------------------------------------*/
.cont-chara {
  padding-top: 64px;
  padding-top: 4rem;
  padding-bottom: 64px;
  padding-bottom: 4rem;
  background: url(../img/top/company_bg.jpg) center center/cover no-repeat;
  color: #fefefe;
}

.cont-chara__txt {
  line-height: 2;
}

.cont-chara__tit {
  font-size: calc(1.5rem + 4 * (100vw - 320px) / 680);
  line-height: 1.4;
  margin-bottom: calc(1.5rem + .3em);
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
}

/* cont-gallery
----------------------------------------------------------------*/
.cont-gallery {
  padding-top: 48px;
  padding-top: 3rem;
  padding-bottom: 40px;
  padding-bottom: 2.5rem;
  background: url(../img/common/bg_02.png);
}

.cont-gallery__tit {
  color: #6d4b27;
  font-size: calc(1.18rem + 6 * (100vw - 320px) / 680);
  margin-bottom: 12px;
  margin-bottom: .75rem;
  font-weight: 500;
  font-family: 'Noto Serif JP', serif;
  line-height: 1.5;
}

.cont-gallery__list li img {
  border-radius: 5px;
}

.cont-gallery__list li p {
  text-align: center;
  margin-top: 8px;
  margin-top: 0.5rem;
}

/* cont-news
----------------------------------------------------------------*/
.cont-news {
  padding: 48px 0;
  padding: 3rem 0;
}

.cont-news__table {
  overflow-y: auto;
  max-height: 400px;
}

.cont-news__table table {
  width: 100%;
  height: auto;
}

.cont-news__table tr:nth-of-type(odd) {
  border-bottom: 1px solid #b2ac9b;
}

.cont-news__table th, .cont-news__table td {
  text-align: left;
  vertical-align: top;
  padding: 12.8px 0;
  padding: .8rem 0;
  line-height: 1.5;
}

.cont-news__table th {
  width: 96px;
  width: 6rem;
  font-weight: normal;
}

.cont-info .top-common-tit span {
  color: #b2ac9b;
}

.cont-blog .top-common-tit span {
  color: #509c0d;
}

.cont-blog .feed__tble th {
  color: #2b74e0;
}

.cont-blog .feed__tble a {
  text-decoration: underline;
}

.cont-blog .feed__tble a:hover {
  text-decoration: none;
}

@media print, screen and (min-width: 376px) {
  /*====================================================================/
/*------------------iPhone 以上----------------
/====================================================================*/
  html {
    width: 100%;
  }
}

@media print, screen and (min-width: 561px) {
  /*====================================================================/
/*------------------タブレットスタイル----------------
/====================================================================*/
  html {
    width: 100%;
  }
  .main-view {
    background: url(../img/top/main_pc.jpg) top center/cover no-repeat;
    height: 81.81vw;
  }
  .cont-works__list {
    display: flex;
    justify-content: space-between;
  }
  .cont-works__list > * {
    flex-basis: 29.16%;
  }
  .cont-works__consultation__list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .cont-works__consultation__list > * {
    flex-basis: calc(50% - 8px);
  }
  .cont-chara .l-cont {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .cont-chara__txt {
    flex-basis: 60%;
  }
  .cont-chara__tit {
    font-size: calc(1.5rem + 10 * (100vw - 560px) / 680);
  }
  .cont-chara .btn-wrap {
    width: 260px;
  }
  .cont-chara figure {
    flex-basis: 30%;
  }
  .cont-gallery__list {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .cont-gallery__list > * {
    flex-basis: 30%;
  }
}

@media print, screen and (min-width: 977px) {
  /*====================================================================/
/*-------------------小さいPCスタイル----------------
/====================================================================*/
  html {
    width: 100%;
  }
  .main-view {
    height: 775px;
    background: url(../img/top/main_pc.jpg) top center no-repeat;
  }
  .cont-intro__tit {
    flex-basis: 160px;
    margin-top: -5rem;
  }
  .cont-intro .txt {
    flex-basis: calc(100% - 160px - 54px);
  }
  .cont-works {
    padding-top: 4 * 1.5 rem;
    padding-bottom: 4 * 1.5 rem;
  }
  .cont-works__list li:first-child:after {
    font-size: 0.81rem;
    padding: 0.2rem 1rem;
    top: -1.3rem;
    left: 1rem;
  }
  .cont-works__btn {
    display: none;
  }
  .cont-works__add {
    position: absolute;
    top: -1rem;
    right: 20px;
  }
  .cont-chara {
    padding-top: 4 * 1.5 rem;
    padding-bottom: 4 * 1.5 rem;
  }
  .cont-gallery {
    padding-top: 3 * 1.5 rem;
    padding-bottom: 2.5 * 1.5 rem;
  }
  .cont-news {
    padding: 4.5rem 0 5rem;
  }
  .cont-news__table {
    max-height: 600px;
  }
  .cont-news__table th, .cont-news__table td {
    font-size: 0.88rem;
  }
}

@media print, screen and (min-width: 1257px) {
  /*====================================================================/
/*-------------------PCスタイル-------------------
/====================================================================*/
  html {
    width: 100%;
  }
  .main-view__tit {
    position: absolute;
    right: -2rem;
    bottom: 2rem;
  }
  .cont-works__tit {
    font-size: 2.38rem;
  }
  .cont-works__consultation__list > * {
    flex-basis: calc(33.33% - 9px);
    font-size: 0.93em;
  }
  .cont-chara__tit {
    font-size: 2.13rem;
  }
  .cont-gallery .l-cont {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .cont-gallery__tit {
    flex-basis: 25%;
    font-size: 1.75rem;
  }
  .cont-gallery__list {
    flex-basis: 75%;
  }
  .cont-gallery__list li p {
    font-size: 0.87em;
  }
  .cont-news {
    padding: 5.5rem 0 6rem;
  }
}

@media print, screen and (min-width: 1920px) {
  /*====================================================================/
/*-------------------full PCスタイル-------------------
/====================================================================*/
  html {
    width: 100%;
  }
  .main-view {
    background: url(../img/top/main_pc.jpg) top center/cover no-repeat;
  }
}

@media screen and (max-width: 1256px) {
  /*====================================================================/
/*------------------PC以下---------
/====================================================================*/
  html {
    width: 100%;
  }
  .main-view .l-cont {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .main-view__tit img {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 976px) {
  /*====================================================================/
/*------------------スマホタブレット共通スタイル---------
/====================================================================*/
  html {
    width: 100%;
  }
  .cont-intro__tit {
    flex-basis: 25%;
    margin-top: -3rem;
  }
  .cont-intro .txt {
    flex-basis: 71%;
  }
  .cont-works__add {
    display: none;
  }
  .cont-news__table th {
    display: block;
    padding-bottom: 0;
  }
  .cont-news__table td {
    display: block;
    padding-top: .1rem;
  }
}

@media screen and (max-width: 560px) {
  /*====================================================================/
/*------------------スマホのみスタイル----------------
/====================================================================*/
  html {
    width: 100%;
  }
  .main-view__tit img {
    width: 90%;
  }
  .cont-works__list li {
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
  .cont-works__list li:not(:last-child) {
    margin-bottom: 1rem;
  }
  .cont-chara__txt {
    margin-bottom: 1.5rem;
  }
  .cont-chara figure {
    margin-left: auto;
    margin-right: auto;
  }
  .cont-chara figure img {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
  .cont-gallery__list li {
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 375px) {
  /*====================================================================/
/*------------------iPhone 以下----------------
/====================================================================*/
  html {
    width: 100%;
  }
}
