@charset "utf-8";
@import url("//fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400..900&display=swap");

/*--------------------------------------------------------------
レスポンシブ02 ホワイト 1カラム
---------------------------------------------------------------*/
body {
  font-size:18px;
  color: #222;
  line-height: 1.5;
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background: #fff;
}
@media only screen and (max-width: 1200px) {
  body { font-size: 16px; }
}
@media only screen and (max-width: 600px) {
  body { font-size: 15px; }
}
@media only screen and (max-width: 450px) {
  body { font-size: 14px; }
}

/*--------------------------------------------------------------
変数・カラー定義
---------------------------------------------------------------*/
:root {
  --color-main: #00b7ce;
  --color-dark: #058ea0;
  --color-light: #99dadd;
  --color-pale: #f0f7f7;
  --color-link: #ff6600;
  --color-hover: #078791;
  --color-accent: #e5d29c;
  --btn-color: #078791;
  --btn-hover: #84c1c1;
}

/*--------------------------------------------------------------
リンク・ボタン
---------------------------------------------------------------*/
a {
  color: var(--color-link);
  font-weight: 500;
}
a:hover {
  color: var(--color-hover);
  font-weight: inherit;
}
a.btn {
  background: var(--btn-color);
}
a.btn:hover {
  background: var(--btn-hover);
}
a.tel-link {
  font-size: 1.05em;
  font-weight: 600;
  text-decoration: none;
}
a.tel-link::before {
  font-family: "Font Awesome 5 Free";
  content: "\f2a0";
  font-weight: bold;
  margin-right: 8px;
}

/*--------------------------------------------------------------
col3
---------------------------------------------------------------*/
.article.col3 {
  flex-basis: 30%;
}

/*--------------------------------------------------------------
段落
---------------------------------------------------------------*/
.article p {
  line-height: 2.0;
  margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
見出し
---------------------------------------------------------------*/
#mainArticles h2, #listTopics h2 {
  background: var(--color-main);
  padding-right: 2%;
  padding-left: 2%;
  background: url(/materials/178632554485801.png) bottom var(--color-main);
  background-attachment: fixed;
}
#mainTopics h2:after, .article h3:after, .gallery h3:after, .freeHtml h3:after {
  width: 3em;
  height: 1px;
  background: var(--color-dark);
}
#mainTopics h2, #mainArticles .article h2, .article h3, .gallery h3, .freeHtml h3 {
  font-size: 1.6em;
  line-height: 1.6;
}
.article h4 {
  font-size: 1.15em;
  font-weight: 500;
  color: var(--color-main);
  line-height: 1.5;
  padding: 0;
  border: none;
}
.article h4:before {
  display: none;
}
.article h5 {
  font-weight: 600;
  border-left: 4px solid var(--color-main);
}
#mainArticles div[id^=blog] h2 {
  font-size: 1.3em;
}
#mainArticles .article h2:after {
  width: 100px;
  height: 2px;
  background: var(--color-dark);
}

/*--------------------------------------------------------------
汎用文字装飾
---------------------------------------------------------------*/
p.leadCopy {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.6;
  border-bottom: 1px solid var(--color-main);
  padding-bottom: 0.5em;
  display: flow-root;
}
p.answer-lead {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--color-dark);
  line-height: 1.6;
}
p.signature {
  display: flex;
  justify-content: flex-end;
  font-weight: 600;
  text-align: left;
  line-height: 1.8;
  margin-bottom: 0;
}

/*--------------------------------------------------------------
pankuz
---------------------------------------------------------------*/
#pankuz {
  padding: 0 12px;
}

/*--------------------------------------------------------------
title
---------------------------------------------------------------*/
#title_outer {
  width: 96%;
}
#title_body {
  display:flex;
}
#title {
  display: flex;
  width: 100%;
  padding: 20px 0 15px 0; 
}
#title h1 {
  display: block;
  width: 140px;
  height: 154px;
  margin: 0 0 0 0;
  float: none;
}
#title h1 a {
  display: block;
  width: 100%;
  height: 100%;
  background: url("/materials/178598417330901.png") top left no-repeat;
  background-size: 100%;
  text-indent: -9000px;
  margin:0;
}
#title #title_outer {
  height: 154px;
  background: transparent;
  justify-content: center;
}

/*--------------------------------------------------------------
トップバナー
---------------------------------------------------------------*/
.mainImage img {
  max-width: 84%;
}

/*--------------------------------------------------------------
topMenu
---------------------------------------------------------------*/
#topMenu_outer .topMenu li a {
  font-size: 1.1em;
  font-weight: 400;
  color: var(--color-main);
}
#topMenu_outer .topMenu li a:hover {
  background: var(--color-light);
}

/*--------------------------------------------------------------
topics
---------------------------------------------------------------*/
#mainTopics {
  background: none;
}
ul.topics li {
  background: var(--color-pale);
}
ul.topics li h3 a {
  color: var(--color-link);
}
ul.topics li h3 a:hover {
  color: var(--color-hover);
}
ul.topics li p.date {
  background: var(--color-light);
}
ul.topics li p.more a, #mainTopics .listview a {
  background: var(--btn-color);
}
ul.topics li p.more a:hover, #mainTopics .listview a:hover {
  background: var(--btn-hover);
}

/*--------------------------------------------------------------
footer
---------------------------------------------------------------*/
#footer {
  background: var(--color-main);
}
#footer_body .copyright {
  background: var(--color-main);
}

/*--------------------------------------------------------------
footer menu
---------------------------------------------------------------*/
#footer_body .topMenu li a, #footer_body .services li a {
  background: transparent;
  border-bottom: 1px solid transparent;
}
#footer_body .topMenu li a:hover, #footer_body .services li a:hover {
  background: transparent;
  border-bottom: 1px dashed #fff;
}

/*--------------------------------------------------------------
sideContents
---------------------------------------------------------------*/
.sideContents #sideServices h2:before, .sideContents #sideBlogCategories h2:before, .sideContents #sideBlogDates h2:before, .sideContents #sideMobile h2:before {
  background: var(--color-main);
}
.sideContents ul li a:hover, .sideContents dt a:hover {
  background: var(--color-pale);
}
.sideContents ul li a:before, .sideContents dt a:before {
  color: var(--color-main);
}

/*--------------------------------------------------------------
GoogleMap
---------------------------------------------------------------*/
.gmap-wrap {
  height: 0;
  overflow: hidden;
  /*padding-bottom: 75%;*/ /*4:3*/
  padding-bottom: 56.25%; /*16:9*/
  position: relative;
}
.gmap-wrap iframe {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
}

/*-------------------------------------------------------
お問い合わせセクション
-------------------------------------------------------*/
.article.full.contact-block {
  text-align: center;
  background: url("/materials/178600400681501.jpg") no-repeat center;
  background-size: cover;
  padding-bottom: 50px;
  margin-bottom: 0;
}
.contact-btn-wrap {
  display: flex;
  gap: 24px;
}
.contact-btn {
  width: calc((100% - 24px) / 2);
}
.contact-btn img {
  width: 100%;
  height: auto;
}
.contact-btn img:hover {
  opacity: 0.8;
}

/*--------------------------------------------------------------
サイト案内
---------------------------------------------------------------*/
.gallery.guideBtn .gallery_grid3 li.galleryGrid {
  width: 32%;
  background: var(--color-pale);
  margin: 0 0.5% 15px;
  border-radius: 6px;
}
.gallery.guideBtn .gallery_grid li.galleryGrid .galleryGrid_outer {
  padding: 0 5px;
}
.gallery.guideBtn .gallery_grid li.galleryGrid .image {
  max-width: 96%;
  margin: 12px auto 0 auto;
}
.gallery.guideBtn .gallery_grid li.galleryGrid .image a {
  display: block;
  padding-bottom: 50px;
}
.gallery.guideBtn ul.galleryGrids .comment {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 40px);
  height: 50px;
  border-radius: 4px;
  position: absolute;
  left: 20px;
  bottom: 0;
  font-size: 0.9em;
  color: var(--color-dark);
  font-weight: bold;
  line-height: 1.25;
  padding: 0 8px;
  pointer-events: none;
}
.gallery.guideBtn ul.galleryGrids .comment::after {
  font-size:1.0em;
  font-family: "Font Awesome 5 Free";
  content: "\f105";
  color: var(--color-dark);
  font-weight: bold;
  margin-left: 6px;
}

/*-------------------------------------------------------
お問い合わせフォーム配色
-------------------------------------------------------*/
#mainArticles form, #mainBlogCommentForm form {
  background: var(--color-light);
}
#mainArticles table.contactTable tr th, #mainBlogCommentForm table.contactTable tr th {
  background: var(--color-light);
}
#mainArticles table.contactTable tr td, #mainBlogCommentForm table.contactTable tr td {
  background: var(--color-pale);
}
#mainArticles table.contactTable input.button, #mainBlogCommentForm table.contactTable input.button {
  background: var(--color-dark);
}

/*-------------------------------------------------------
選ばれる3つの理由
-------------------------------------------------------*/
.article.reason3 p {
  font-size: 0.92em;
}
.article.reason3 h4.reason-title {
  font-size: 1.1em;
  display: flex;
  align-items: center;
  gap: 0.4em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid var(--color-main);
}
.reason-number {
  flex: 0 0 auto;
  font-size: 200%;
  line-height: 1;
  font-weight: 600;
}
.reason-text {
  flex: 1;
}

/*-------------------------------------------------------
3カラム最後の空白調整
-------------------------------------------------------*/
.article.col3.col3-spacer {
  visibility: hidden;
  pointer-events: none;
}

/*-------------------------------------------------------
1024px以下
-------------------------------------------------------*/
@media only screen and (max-width: 1024px) {
  /* h1 title */
  #title #title_outer {
    height: 13.7vw;
  }
  #title h1 {
    width: 12vw;
    height: 13.2vw;
  }
  /* 3カラム左右の余白調整 */
  .article.col3 {
    flex-basis: 32%;
  }
  .article.col3.col3-left {
    margin-left: 2%;
  }
  .article.col3.col3-right {
    margin-right: 2%;
  }
}

/*======================================================
600px
======================================================*/
@media only screen and (max-width: 600px) {
  /* h1 title */
  #title {
    padding: 10px 0 10px 0;
  }
  #title #title_outer {
    height: 20vw;
  }
  #title h1 {
    width: 18vw;
    height: 19.8vw;
  }
  /*toggle*/
  #toggle, .active #toggle {
    background-color: var(--color-main);
  }
  /*トップバナー*/
  .mainImage img {
    width: 92%;
    max-width: 92%;
    min-width: 92%;
  }
  /*見出し*/
  #mainArticles h2, #listTopics h2 {
    font-size: 1.5em;
  }
  #mainTopics h2, #mainArticles .article h2, .article h3, .gallery h3, .freeHtml h3 {
    font-size: 1.4em;
  }
  /*col3*/
  .article.col3 {
    flex-basis: 100%;
  }
  .article.col3.col3-left {
    margin-left: 0;
  }
  .article.col3.col3-right {
    margin-right: 0;
  }
  /*選ばれる3つの理由*/
  .article.reason3 h4.reason-title {
    font-size: 1.4em;
  }
  .reason-text br {
    display: none;
  }
  .article table.normalTbl th {
    background: #eee;
}
  /*-------------------------------------------------------
  画面下部固定のリンクパーツ
  -------------------------------------------------------*/
  #bottomLink{
    display: block;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    z-index: 1000;
    height: 50px;
    overflow: hidden;
    border-top: 1px solid #fff;
  }
  #bottomLink a {
    display: block;
    padding: 0;
    color: #fff;
    background: var(--color-dark);
    text-decoration: none;
    font-size: 18px;
    font-weight: 900;
    line-height: 48px;
    height: 100%;
  }
  #bottomLink a span {
    font-size: 15px;
    font-weight: 700;
    display: inline-block;
  }
  #bottomLink a span::after {
    font-family: "Font Awesome 5 Free";
    content: "\f2a0";
    font-size: 120%;
    font-weight: bold;
    margin-right: 7px;
    margin-left: 7px;
    display:inline-block;
    transform: rotate(-30deg);
  }
  /* ボタンサイズ分の画面下部余白 */
  #wrap {
    margin-bottom: 50px;
  }
}

/*===================================================================
480px以下
===================================================================*/
@media only screen and (max-width: 480px) {
  #title h1 {
    width: 20vw;
    height: 22vw;
  }
  /*選ばれる3つの理由*/
  .article.reason3 h4.reason-title {
    font-size: 1.3em;
  }
  /*お問い合わせセクション*/
  .contact-btn-wrap {
    flex-direction: column;
    align-items: center;
  }
  .contact-btn {
    width: 80%;
  }
}

/*-------------------------------------------------------
recaptcha バッジ非表示
-------------------------------------------------------*/
.recaptcha_policy {
  padding: 0;
  margin: 0;
  text-align: center;
  font-size: 11px !important;
  color: #444 !important;
}
.recaptcha_policy a {
  font-size: 11px !important;
  color: #111 !important;
}
.grecaptcha-badge { visibility: hidden; }

/*--------------------------------------------------------------
編集画面
---------------------------------------------------------------*/
.ams-build .freeHtml_body {
    min-height: 40px;
}
