@charset "UTF-8";


/*================================================
 *  一般・共通設定
 ================================================*/
:root {
   --color-theme: #24694b;
}
body {
  font-size: 15px;
  font-family: 'Noto Sans JP', Arial, Verdana, 游ゴシック, YuGothic, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo, sans-serif;
  line-height: 1.6;
  letter-spacing: .05em;
  color: #111;
  background-color: #fff;
}

#content,
.wrap {
  max-width: 1000px;
  margin: 0 auto;
}

a {
  color: #333;
  text-decoration: none;
}

a:hover {
  opacity: .7;
  text-decoration: none;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

p {
  margin-bottom: 1em;
}

strong {
  font-weight: bold;
}

small {
  font-size: smaller;
}

ul,
ol,
dl {
  margin: 0;
}

ul li {
  list-style: none;
  margin-left: 0;
}

h2 {
  margin-bottom: 30px;
  font-size: 14px;
  color: var(--color-theme);
  text-align: center;
  font-weight: normal;
}

h2 span {
  display: block;
  font-size: 30px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: bold;
}

h4 {
  margin: 15px 0;
  font-size: 16px;
  font-weight: bold;
}

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

  *,
  *:before,
  *:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box
  }

  body {
    font-size: 14px;
  }

  #content,
  .wrap {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  h2 span {
    font-size: 25px;
  }
  h4 {
    font-size: 14px;
  }
}

/* =======================================================
* header
* ======================================================= */
header h1 a {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 9;
  font-size: 28px;
  color: #111;
  text-shadow: 1px 1px 0 #FFF, -1px -1px 0 #FFF, -1px 1px 0 #FFF, 1px -1px 0 #FFF, 0px 1px 0 #FFF, 0-1px 0 #FFF, -1px 0 0 #FFF, 1px 0 0 #FFF;
  letter-spacing: .1em;
}

header h1 span {
  font-size: 13px;
  display: block;
}

#g-nav {
  position: fixed;
  z-index: -1;
  opacity: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background: #24694b;
  transition: all 0.3s;
}

/* ハンバーガーメニューの事務所名 */
#g-nav .gnav_logo {
  text-align: center;
  padding: 100px 0;
}

#g-nav .gnav_logo a {
  color: #fff;
  font-size: 25px;
  letter-spacing: .15em;
  font-weight: bold;
}

/* ハンバーガー開いたとき */
#g-nav.panelactive {
  opacity: 1;
  z-index: 9;
}

#g-nav.panelactive #g-nav-list {
  position: fixed;
  z-index: 999;
  width: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
}

/* ハンバーガー左側のメニュー */
#g-nav ul {
  display: none;
}

#g-nav.panelactive ul {
  display: block;
  width: 50%;
  margin: 0 auto;
  text-align: center;
}

#g-nav li {
  line-height: 2;
  position: relative;
  font-size: 23px;
}

#g-nav li a {
  padding: 10px 0;
  display: block;
  color: #fff;
}

/* ハンバーガー右側のお問い合わせとTEL */
#g-nav .gnav_right {
  width: 45%;
  box-sizing: border-box;
  text-align: center;
  font-size: 20px;
}

#g-nav .gnav_right p {
  width: 330px;
  margin: 0 auto 30px;
}

#g-nav .gnav_right a {
  color: #fff;
  border: 1px solid #fff;
  padding: 20px 0px;
  display: block;
  line-height: 2;
}

#g-nav .gnav_right a:hover {
  background: #fff;
  color: #24694b;
  opacity: 1;
}

#g-nav .gnav_right small {
  font-size: 12px;
  display: block;
  letter-spacing: .15em;
}

/* メニューボタン */
.openbtn {
  position: fixed;
  z-index: 99;
  cursor: pointer;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  top: 25px;
  right: 25px;
  background: #24694b;
  border: 2px solid #fff;
}

/*ボタン内側*/
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 27px;
  height: 2px;
  background: #24694b;
  width: 40%;
}

.openbtn span:nth-of-type(1) {
  top: 23px;
}

.openbtn span:nth-of-type(2) {
  top: 31px;
}

.openbtn span:nth-of-type(3) {
  top: 38px;
}

.openbtn span:nth-of-type(3)::after {
  content: "MENU";
  position: absolute;
  top: -10px;
  left: -11px;
  color: #fff;
  font-size: 14px;
  letter-spacing: .2em;
  font-weight: bold;
}

.openbtn.active span:nth-of-type(1) {
  top: 30px;
  left: 24px;
  transform: translateY(6px) rotate(-45deg);
  width: 30px;
  background: #fff;
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
  top: 41px;
  left: 24px;
  transform: translateY(-6px) rotate(45deg);
  width: 30px;
  background: #fff;
}

.openbtn.active span:nth-of-type(3)::after {
  content: none;
}

@media screen and (max-width:768px) {
  header h1 a {
    top: 20px;
    left: 10px;
    font-size: 17px;
  }

  header h1 span {
    font-size: 10px;
  }

  #g-nav .gnav_logo {
    text-align: left;
    padding: 30px 10px 30px;
  }

  #g-nav .gnav_logo a {
    font-size: 15px;
  }

  #g-nav.panelactive ul {
    width: 100%;
  }

  #g-nav li {
    font-size: 15px;
    line-height: 1.6;
  }

  #g-nav .gnav_right {
    width: 100%;
    margin-top: 30px;
    font-size: 17px;
  }

  #g-nav .gnav_right p {
    margin: 0 auto 15px;
  }

  #g-nav .gnav_right a {
    padding: 10px 0px;
  }

  /* ボタン */
  .openbtn {
    width: 55px;
    height: 55px;
    top: 15px;
    right: 15px
  }

  .openbtn span {
    left: 21px;
  }

  .openbtn span:nth-of-type(1) {
    top: 17px;
  }

  .openbtn span:nth-of-type(2) {
    top: 23px;
  }

  .openbtn span:nth-of-type(3) {
    top: 29px;
  }

  /* OPEN */
  .openbtn span:nth-of-type(3)::after {
    top: -12px;
    left: -12px;
    font-size: 10px;
  }

  .openbtn.active span:nth-of-type(1) {
    width: 20px;
    top: 19px;
    left: 17px;
  }

  .openbtn.active span:nth-of-type(3) {
    left: 17px;
    top: 30px;
    width: 20px;
  }
}

/*================================================
 *  section btn
 ================================================*/
section {
  padding-bottom: 8rem;
  position: relative;
}

.section {
  padding-top: 8rem;
}


@media screen and (max-width:768px) {
  section {
    padding-bottom: 4rem;
  }

  .section {
    padding-top: 4rem;
  }
}

/*================================================
 *  メイン画像
 ================================================*/
#topmain {
  height: 100vh;
  width: 100%;
  position: relative;
}

#topmain .swiper-slide.slide01 {
  background: url(../images/slide01.jpg) no-repeat center/cover;
}

#topmain .swiper-slide.slide02 {
  background: url(../images/slide02.jpg) no-repeat center /cover;
}

#topmain .swiper-slide.slide03 {
  background: url(../images/slide03.jpg) no-repeat center /cover;
}

#topmain .catch {
  position: absolute;
  bottom: 15%;
  left: 5%;
  z-index: 1;
  font-size: 35px;
  width: 100%;
  font-weight: bold;
  color: #111;
  letter-spacing: .1em;
  text-shadow: 1px 1px 0 #FFF, -1px -1px 0 #FFF, -1px 1px 0 #FFF, 1px -1px 0 #FFF, 0px 1px 0 #FFF, 0-1px 0 #FFF, -1px 0 0 #FFF, 1px 0 0 #FFF;
}

@media screen and (max-width:768px) {
  #topmain .swiper-slide.slide01 {
    background-position: center right 15%;
  }

  #topmain .catch {
    left: 50%;
    bottom: 10%;
    transform: translate(-50%, -50%);
    font-size: 21px;
    text-align: center;
  }
}

/*================================================
 *  新着情報
 ================================================*/
#info .info_umekomi {
  max-width: 850px;
  margin: 0 auto;
}

#info iframe {
  width: 100%;
  height: 250px;
  overflow-y: scroll;
}

@media screen and (max-width:768px) {
  #info .wrap {
    padding-left: 0;
    padding-right: 0;
  }

  #info .info_umekomi {
    padding: 10px;
  }
}

/* ======== サンプルのお知らせ 直接打ち込み ========= */
.sample_info {
  height: 300px;
  overflow-y: scroll;
  margin-bottom: 20px;
}

.sample_info dl {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border-top: 1px solid #ddd;
  border-right: 1px solid #ddd;
  border-left: 1px solid #ddd;
  font-size: 13px;
}

.sample_info dt {
  width: 20%;
  border-bottom: none;
  margin-bottom: 0;
  padding: 7px 0 7px 15px;
  border-bottom: 1px solid #ddd;
  box-sizing: border-box;
}

.sample_info dt:before {
  content: none;
}

.sample_info dd {
  width: 80%;
  margin-bottom: 0;
  padding: 7px 0 7px;
  border-bottom: 1px solid #ddd;
  box-sizing: border-box;
}

.sample_info dd a {
  text-decoration: none;
  color: #003399;
}

@media screen and (max-width:768px) {
  .sample_info {
    height: 250px;
  }

  .sample_info dt {
    padding: 5px 0 5px 5px
  }
}

/* ここまで */


/*================================================
 *  主な業務
 ================================================*/
#service ul {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

#service ul a {
  background: #f9f9f9;
  color: #111;
  border-radius: 10px;
  border: 2px solid #24694b;
  padding: 30px 20px 10px;
  box-sizing: border-box;
  font-size: 14px;
  text-align: center;
}

#service ul a img {
  width: 50%;
}

#service ul a p {
  text-align: left;
}

@media screen and (max-width:768px) {
  #service ul {
    gap: 15px;
    grid-template-columns: 1fr 1fr;
  }

  #service ul a {
    padding: 20px 10px 5px;
  }

}


/*================================================
 *  営業地域
 ================================================*/
.footer_contact {
  background: url(../images/bg-contact.jpg) no-repeat center top/cover;
  padding: 70px 0 130px;
  position: relative;
  z-index: 1;
}

.footer_contact::after {
  position: absolute;
  content: "";
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  z-index: -1;
}

.footer_contact p {
  font-size: 18px;
  margin-bottom: 30px;
  font-weight: bold;
}

.footer_contact .flex a {
  border: 1px solid #24694b;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  background: #fff;
  color: #24694b;
}

.footer_contact .flex a strong {
  font-size: 20px;
  display: block;
}

@media screen and (max-width:768px) {
  .footer_contact {
    padding: 50px 0 80px;
  }

  .footer_contact .flex a {
    margin-bottom: 30px;
  }
}


/*================================================
 *  フッター
 ================================================*/
footer {
  background: #24694b;
  text-align: center;
  color: #fff;
  padding: 50px 20px 20px;
}

footer .company_name {
  font-size: 18px;
}

footer ul li {
  display: inline-block;
  text-align: center;
  font-size: 13px;
  padding: 0 10px;
}

footer ul li a {
  color: #fff;
}

footer .copyright {
  padding-top: 50px;
  font-size: 10px;
}

@media screen and (max-width:768px) {
  footer .company_name {
    margin-bottom: 30px;
  }

  footer ul li {
    display: block;
    text-align: left;
    border-bottom: 1px dotted #498169;
    padding: 0 0 5px 20px;
    margin-bottom: 10px;
    position: relative;
  }

  footer ul li::before {
    position: absolute;
    content: "-";
    top: -1px;
    left: 8px;
    color: #fff;
  }
}

/*================================================
 *  ページトップへの戻り
 ================================================*/
#pagetop {
  position: fixed;
  right: 20px;
  bottom: 10px;
  cursor: pointer;
  overflow: visible !important;
}

#pagetop .arrow-up {
  width: 15px;
  height: 15px;
  border: 1px solid;
  border-color: #0e3220 #0e3220 transparent transparent;
  transform: rotate(-45deg);
}