@charset "utf-8";
@import url("//fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..700&display=swap");

/*--------------------------------------------------------------
レスポンシブ02 ホワイト 1カラム
---------------------------------------------------------------*/
body {
  font-size:16px;
  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 {
  --base-blk: #222;
  --base-gray: #999;
  --bg-gray: #f5f5f5;
  --color-link: #42a2bc;
  --color-hover: #3c6468;
  --color-accent: #42a2bc;
}

/*--------------------------------------------------------------
リンク・ボタン
---------------------------------------------------------------*/
a, a.btn {
  transition: color 0.3s ease, background-color 0.3s ease;
}
a {
  color: var(--color-link);
  font-weight: 500;
}
a:hover {
  color: var(--color-hover);
  font-weight: inherit;
}
a.btn {
  color: var(--color-link);
  font-weight: 500;
  border: 1px solid var(--color-link);
  background: #fff;
}
a.btn:hover {
  color: #fff;
  font-weight: 500;
  background: var(--color-link);
  border: 1px solid var(--color-link);
}
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;
}

/*--------------------------------------------------------------
下層ページページ上部余白調整
---------------------------------------------------------------*/
#wrap_body #contents.noImg {
  margin-top: 85px;
}

/*--------------------------------------------------------------
pankuz
---------------------------------------------------------------*/
#pankuz {
  padding: 0 12px;
}

/*--------------------------------------------------------------
title
---------------------------------------------------------------*/
#title {
  display: flex;
  width: 100%;
  padding: 15px 0 10px 0; 
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.8);
}
#title_outer {
  width: 96%;
}
#title_body {
  display:flex;
}
#title h1 {
  display: block;
  width: 200px;
  aspect-ratio: 940 / 164;
  margin: 0 0 0 0;
  float: none;
}
#title h1 a {
  display: block;
  width: 100%;
  height: 100%;
  background: url("/materials/178883093092501.png") top left no-repeat;
  background-size: 100%;
  text-indent: -9000px;
  margin:0;
}
#title #title_outer {
  height: 60px;
}

/*--------------------------------------------------------------
topMenu
---------------------------------------------------------------*/
#topMenu {
  width: calc(100% - 240px);
  position: fixed;
  top: 15px;
  right: 0;
  background: transparent;
  z-index: 1001;
}
#topMenu_outer {
  width: 800px;
  margin: 0 0 0 auto;
}
#topMenu_outer .topMenu li a {
  font-size: 1.0rem;
  font-weight: 500;
  color: #555;
}
#topMenu_outer .topMenu li a:hover {
  color: var(--color-accent);
  background: rgba(255, 255, 255, 0.3);
}

/*--------------------------------------------------------------
mainImage
---------------------------------------------------------------*/
.mainImage img, .mainImage #slider li img {
    /* margin-top: 0 !important; */
    object-fit: cover;
    width: 100%;
    height: 100%;
}
/*追記*/
#slider .slick-slide {
    display: unset;
}
/*--------------------------------------------------------------
topics
---------------------------------------------------------------*/
ul.topics li h3 a:hover {
  color: var(--color-accent);
}
ul.topics li p.more a:hover, #mainTopics .listview a:hover {
  background: #3c6468;
}

/*--------------------------------------------------------------
アニメーション
---------------------------------------------------------------*/
#title, #title_outer, #topMenu, #topMenu_outer, #title h1 {
  transition: all 0.4s ease-in-out;
}
#title #title_outer.smaller {
  height: 50px;
}
#title h1.smaller {
  width: 160px;
}
#topMenu.smaller {
  top:10px;
}
#topMenu.smaller #topMenu_outer {
  width: 700px;
}
#topMenu.smaller #topMenu_outer .topMenu li a {
  font-size: 90%;
}

/*--------------------------------------------------------------
footer
---------------------------------------------------------------*/
#footer * {
  color: var(--base-blk);
}
#footer {
  background: var(--bg-gray);
}
#footer_body .copyright, #footer_body .copyright a {
  font-weight: 400;
  background: var(--bg-gray);
}
#footer_body .topMenu li a, #footer_body .services li a {
  color: var(--base-blk);
  background: transparent;
  font-weight: 400;
  border-bottom: 1px solid transparent;
  position: relative;
  text-decoration: none;
}
#footer_body .topMenu li a::after, #footer_body .services li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.4s cubic-bezier(.4, 0, .2, 1);
}
#footer_body .topMenu li a:hover, #footer_body .services li a:hover {
  color: var(--color-accent);
  background: transparent;
  border-bottom-color: transparent;
}
#footer_body .topMenu li a:hover::after,
#footer_body .services li a:hover::after {
  width: 100%;
}
#footer_body .topMenu li a:before, #footer_body .services li a:before {
  color: var(--base-blk);
}
#footer_body .topMenu li a:hover:before, #footer_body .services li a:hover:before {
  color: var(--color-accent);
}

/*--------------------------------------------------------------
sideContents
---------------------------------------------------------------*/
.sideContents #sideServices h2:before, .sideContents #sideBlogCategories h2:before, .sideContents #sideBlogDates h2:before, .sideContents #sideMobile h2:before {
  background: var(--color-accent);
}
.sideContents ul li, .sideContents dt {
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.sideContents ul li::after, .sideContents dt::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #92d3dd;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s ease;
  z-index: -1;
}
.sideContents ul li:hover::after, .sideContents dt:hover::after {
  transform: scaleX(1);
}
.sideContents ul li a:hover, .sideContents dt a:hover {
  background: transparent;
}

/*--------------------------------------------------------------
トップページ：ヘッダー初期状態
---------------------------------------------------------------*/
/* 通常の白背景を消す */
.is-home #title {
  background-color: transparent;
  isolation: isolate;
}
/* スクロール時に上から入る白背景 */
.is-home #title::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-100%);
  transition: transform 0.4s ease-in-out;
  pointer-events: none;
}
.is-home #title.smaller::before {
  transform: translateY(0);
}
/* 初期状態の白ロゴ */
.is-home #title h1 a {
  background-image: url("/materials/178884301105501.png");
}
/* スクロール後は共通の黒ロゴへ */
.is-home #title h1.smaller a {
  background-image: url("/materials/178883093092501.png");
}
/* 初期状態のメニュー文字 */
.is-home #topMenu_outer .topMenu li a {
  color: #fff;
  transition: color 0.3s ease, background-color 0.3s ease;
}
/* スクロール後のメニュー文字 */
.is-home #topMenu.smaller #topMenu_outer .topMenu li a {
  color: #555;
}
/* フェードの切り替え時間 */
#slider .slick-slide {
  transition: opacity 3000ms ease-in-out !important;
}

/*--------------------------------------------------------------
段落
---------------------------------------------------------------*/
.article p {
  line-height: 2.0;
  margin-bottom: 1.5em;
}
.article p.leadCopy {
  font-size: 1.05em;
  font-weight: 500;
  line-height: 1.6;
}
.text-access::before {
  font-family: "Font Awesome 5 Free";
  content: "\f105";
  font-weight: bold;
  color: var(--color-accent);
  margin-right: 8px;
}

/*--------------------------------------------------------------
見出し
---------------------------------------------------------------*/
#mainArticles h2, #listTopics h2 {
  font-size: 2.0em;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  padding: 3vw;
  background: transparent;
}
#mainArticles h2 > strong, #listTopics h2 > strong {
  font-size: 50%;
}
#mainTopics h2:after, .article h3:after, .gallery h3:after, .freeHtml h3:after {
  background: var(--color-accent);
  height: 2px;
}

/*--------------------------------------------------------------
article MAX
---------------------------------------------------------------*/
/* 左右共通：2列 */
.mainArticles .article.max .article_body.article_left,
.mainArticles .article.max .article_body.article_right {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
}
/* 見出しは全幅 */
.mainArticles .article.max .article_body.article_left > h3,
.mainArticles .article.max .article_body.article_right > h3 {
  grid-column: 1 / -1;
}
/* 既存のfloatと50%制限を解除 */
.mainArticles .article.max .article_body.article_left > .image,
.mainArticles .article.max .article_body.article_right > .image {
  float: none;
  width: 100%;
  max-width: none;
  margin: 0;
}
/* 左パターン：画像を左、文章を右 */
.mainArticles .article.max .article_body.article_left > .image {
  grid-column: 1;
}
.mainArticles .article.max .article_body.article_left > .article-text {
  grid-column: 2;
}
/* 右パターン：文章を左、画像を右 */
.mainArticles .article.max .article_body.article_right > .image {
  grid-column: 2;
}
.mainArticles .article.max .article_body.article_right > .article-text {
  grid-column: 1;
  grid-row: 2;
}
/* 写真の高さに対して文章を中央配置 */
.mainArticles .article.max .article-text {
  align-self: center;
}

/*--------------------------------------------------------------
サイドお問い合わせセクション
---------------------------------------------------------------*/
.sideContents {
  padding: 0;
}
.sideContents .freeHtml {
  margin-bottom: 50px;
}
.sideContact-section {
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  padding: 70px;
  background: url("/materials/178909170429401.jpg") no-repeat center;
  background-size: cover;
  position: relative;
  isolation: isolate;
}
.sideContact-section::after {
  content: "";
  display:block;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  position:absolute;
  top: 0;
  left: 0;
  z-index: 0;
}
.sideContact_inner > h3 {
  margin-top: 0;
}
.sideContact_inner > h3:after {
  margin: 18px auto;
}
.sideContact_inner {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 30px 50px 50px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.sideContact_inner p {
  margin-bottom: 1.0em;
}
.sideContact_inner a.tel-link {
  font-size: 1.7em;
}
.sideContact_inner a.tel-link::before {
  font-size: 80%;
  vertical-align: 2px;
}

/*-------------------------------------------------------
お問い合わせメールフォームボタン
-------------------------------------------------------*/
a.btn-mailform {
  color: var(--color-link);
  font-weight: 500;
  display: inline-block;
  border: 1px solid var(--color-link);
  background: #fff;
  padding: 0.7em 1.2em;
  border-radius: 4px;
}
a.btn-mailform::before {
  font-family:"Font Awesome 5 Free";
  content:"\f0e0";
  font-size:140%;
  color:var(--color-link);
  font-weight:bold;
  line-height:1.0;
  margin-right:10px;
  display:inline-block;
  vertical-align:middle;
  transform:translateY(-2px);
}
a.btn-mailform::after {
  font-family:"Font Awesome 5 Free";
  content:"\f105";
  color:var(--color-link);
  font-weight:bold;
  margin-left:10px;
}
a.btn-mailform:hover {
  color: #fff;
  font-weight: 500;
  background: var(--color-link);
  border: 1px solid var(--color-link);
}
a.btn-mailform:hover::before, a.btn-mailform:hover::after {
  color:#fff;
}

/*--------------------------------------------------------------
recommend
---------------------------------------------------------------*/
.article.recommend h3 {
  font-size:7em;
  font-weight: 200;
  color: #ccc;
  line-height: 1.2;
}
.article.recommend h3:after {
  display: none;
}

/*--------------------------------------------------------------
GoogleMap
---------------------------------------------------------------*/
.gmap-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.gmap-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/*--------------------------------------------------------------
FAQ
---------------------------------------------------------------*/
ul.faq {
  font-size: 1.0em;
  padding: 0;
  border-bottom:1px dotted #666;
}
ul.faq li.qus ,
ul.faq li.ans {
  display: block;
  line-height: 1.6;
  margin-left: 48px;
  margin-bottom: 30px;
  padding-left: 0;
}
ul.faq li.qus {
  font-weight: 500;
  font-size: 105%;
}
ul.faq li.qus::before ,
ul.faq li.ans::before {
  border-radius: 4px;
  color: #fff;
  display: inline-block;
  font-size: 1.0em;
  height: 32px;
  line-height: 32px;
  margin: 0 16px 0 -48px;
  text-align: center;
  width: 32px;
}
ul.faq li.qus::before {
  background-color: var(--base-blk);
  content: "Q";
}
ul.faq li.ans::before {
  background-color: var(--color-accent);
  content: "A";
}

/*--------------------------------------------------------------
遠くのこだま引用
---------------------------------------------------------------*/
.article .quote {
  padding:2.0em;
  border: 1px solid var(--base-gray);
}
.article .quote h5 {
  border-left: none;
  padding-left: 0;
  margin-top: 0;
}
.article .quote p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
歌碑文
---------------------------------------------------------------*/
.article p.text-vertical {
  font-size: 1.2em;
  line-height: 2.5em;
  writing-mode: vertical-rl;
  margin: auto;
  padding: 2.0em;
}

/*-------------------------------------------------------
お問い合わせフォーム配色
-------------------------------------------------------*/
#mainArticles form, #mainBlogCommentForm form {
  background: #f3f3f3;
}
#mainArticles table.contactTable tr th, #mainBlogCommentForm table.contactTable tr th {
  background: #f1f1f1;
}
#mainArticles table.contactTable tr td, #mainBlogCommentForm table.contactTable tr td {
  background: #f9f9f9;
}
#mainArticles table.contactTable tr td.th_headline, #mainBlogCommentForm table.contactTable tr td.th_headline {
  background: #999;
}
#mainArticles table.contactTable input.button, #mainBlogCommentForm table.contactTable input.button {
  background: #999;
}
#mainArticles table.contactTable tr th, #mainBlogCommentForm table.contactTable tr th {
  font-weight: 500;
}

/*-------------------------------------------------------
リスト pp note
-------------------------------------------------------*/
ul.notes li, ol.pp li, ul.ps li {
  margin-bottom: 0.5em;
}

/*======================================================
600px
======================================================*/
@media only screen and (max-width: 600px) {
  /* title */
#title {
  padding: 7px 0;
}

.is-home #title::before {
  background-color: rgba(255, 255, 255, 0.9);
}

/* toggle */
#toggle {
  width: 48px;
  height: 48px;
  padding: 0;
  display: block;
  background: url("/materials/178910176193201.png") no-repeat center / 30px;
  text-align: center;
  cursor: pointer;
  position: fixed;
  right: 12px;
  top: 10px;
  z-index: 10001;
}

.is-home #toggle {
  background: url("/materials/178909958138602.png") no-repeat center / 30px;
}

.is-home .active #toggle {
  background: url("/materials/178910175288801.png") no-repeat center / 30px;
}

#toggle.smaller {
  background: url("/materials/178910176193201.png") no-repeat center / 30px;
}

.active #toggle {
  background: url("/materials/178910175288801.png") no-repeat center / 30px;
}

.active #toggle.smaller {
  background: url("/materials/178910175288801.png") no-repeat center / 30px;
}

/* トップページ・スクロール前にメニューを開いた状態 */
html.is-home body.active #title:not(.smaller) {
  background-color: rgba(255, 255, 255, 0.9);
}

html.is-home body.active #title:not(.smaller) h1 a {
  background-image: url("/materials/178883093092501.png");
}

/* topMenu */
#topMenu {
  width: 100%;
  top: 74px;
}
#topMenu.smaller {
  width: 100%;
  top: 64px;
}
/* メニューを開いた状態 */
.active #topMenu,
.active #topMenu.smaller {
  background-color: rgba(255, 255, 255, 0.95);
}

.active #topMenu #topMenu_outer .topMenu li a,
.active #topMenu.smaller #topMenu_outer .topMenu li a {
  color: #4c4c4c;
}

.active #topMenu li,
.active #topMenu.smaller li {
  border-color: rgba(0, 0, 0, 0.2);
}
  /* article MAX */
  .mainArticles .article.max .article_body.article_left,
  .mainArticles .article.max .article_body.article_right {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    row-gap: 24px;
  }
  .mainArticles .article.max .article_body.article_left > .image,
  .mainArticles .article.max .article_body.article_left > .article-text,
  .mainArticles .article.max .article_body.article_right > .image,
  .mainArticles .article.max .article_body.article_right > .article-text {
    grid-column: 1;
    grid-row: auto;
  }
  /* 見出し */
  #mainArticles h2, #listTopics h2 {
    font-size: 1.7em;
  }
  #mainTopics h2, #mainArticles .article h2, .article h3, .gallery h3, .freeHtml h3 {
    font-size: 1.4em;
  }
  /* sideContact */
  .sideContact-section {
    padding: 70px 30px;
  }
  /* foonter menu */
  #footer_body .topMenu, #footer_body .services {
    width: 92%;
    margin: 0 4%;
  }
  /*-------------------------------------------------------
  画面下部固定のリンクパーツ
  -------------------------------------------------------*/
  #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-accent);
    text-decoration: none;
    font-size: 18px;
    font-weight: 900;
    line-height: 48px;
    height: 100%;
  }
  #bottomLink a span {
    font-size: 16px;
    font-weight: 500;
    display: inline-block;
  }
  #bottomLink a span::after {
    font-family: "Font Awesome 5 Free";
    content: "\f105";
    font-size: 120%;
    font-weight: bold;
    margin-right: 7px;
    margin-left: 7px;
    display:inline-block;
  }
  /* ボタンサイズ分の画面下部余白 */
  #wrap {
    margin-bottom: 50px;
  }
}

/*======================================================
480px
======================================================*/
@media only screen and (max-width: 480px) {
  /* title */
  #title h1 {
    width: 180px;
  }
  /* サイドお問い合わせセクション */
  .sideContact_inner {
    padding: 10px 20px 20px;
  }
}

/*--------------------------------------------------------------
編集画面
---------------------------------------------------------------*/
body.ams-build #title {
  top: 52px;
}
body.ams-build #topMenu {
  top: 67px;
}
.ams-build .freeHtml_body {
    min-height: 40px;
}
#ams .ams-editables .ams-editable-title,
#ams .ams-editables .ams-editable-topMenu {
	z-index: 8999 !important;
}