@charset "UTF-8";
/*
Thema Nmae: 和田園テーマ
Author: 内田勉
Description: 和田園専用のテーマです
Version: 0.1
*/
@import url("https://unpkg.com/sanitize.css@11.0.1/sanitize.css");
/* mixin  pcは通常は large */
/* 変数 */
:root {
  --f1: 1.8em;
  --f2: 1.5em;
  --f3: 1.2em;
  --f4: 1em;
  --f5: 0.8em;
  --f6: 0.6em;
}

/* 基本 */
body {
  margin: 0;
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  word-break: break-all;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
      grid-template-columns: 1fr;
  -ms-grid-rows: auto 80px 1fr auto 120px;
      grid-template-rows: auto 80px 1fr auto 120px;
  -webkit-column-gap: 0px;
          column-gap: 0px;
}

@media screen and (min-width: 1024px) {
  body {
    -ms-grid-columns: auto 750px 200px auto;
        grid-template-columns: auto 750px 200px auto;
    -ms-grid-rows: auto auto 1fr 120px;
        grid-template-rows: auto auto 1fr 120px;
  }
}

img {
  max-width: 98%;
  height: auto;
  border: solid #eee;
  -webkit-box-shadow: 2px 5px 5px #999;
          box-shadow: 2px 5px 5px #999;
  /* 影（[右][下][ぼかし][影の色]）を指定する */
}

.img-noborder {
  max-width: 100%;
  border: none;
  -webkit-box-shadow: none;
          box-shadow: none;
}

figure {
  margin: 0px;
}

figcaption {
  display: inline-block;
  text-align: left;
  margin: 0.5em;
}

a {
  color: #3232fa;
  text-decoration: none;
}

a:hover {
  color: #ff3232;
}

a:visited {
  color: #3232fa;
}

/* reset */
header,
footer,
main,
nav,
article,
aside,
section {
  display: block;
}

h1 {
  font-size: var(--f1);
}

h2 {
  font-size: var(--f2);
}

h3 {
  font-size: var(--f3);
}

h4 {
  font-size: var(--f4);
}

h5 {
  font-size: var(--f5);
}

h6 {
  font-size: var(--f6);
}

p {
  font-size: var(--f4);
  line-height: 2;
  /*    text-align: left; */
  padding: 0px 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

caption {
  border-radius: 10px 10px 10px 10px;
  background-color: #fcefcc;
  padding: 5px 0px;
  margin: 5px 0px;
}

table th {
  padding: 5px 10px;
  text-align: center;
  white-space: nowrap;
}

table td {
  padding: 5px 10px;
  text-align: left;
}

table tr:nth-child(odd) {
  background-color: #eee;
}

header {
  background-color: aquamarine;
  -ms-grid-row: 1;
  grid-row: 1;
  -ms-grid-column: 1;
  grid-column: 1;
}

@media screen and (min-width: 1024px) {
  header {
    -ms-grid-row: 1;
    grid-row: 1;
    -ms-grid-column: 2;
    -ms-grid-column-span: 2;
    grid-column: 2 / 4;
  }
}

/* top-header */
.top-header-img {
  max-width: 100%;
  height: auto;
  border: none;
  -webkit-box-shadow: none;
          box-shadow: none;
}

/* ナビゲーション */
nav {
  background-color: cadetblue;
  -ms-grid-row: 2;
  grid-row: 2;
  -ms-grid-column: 1;
  grid-column: 1;
}

@media screen and (min-width: 1024px) {
  nav {
    -ms-grid-row: 2;
    grid-row: 2;
    -ms-grid-column: 2;
    -ms-grid-column-span: 2;
    grid-column: 2 / 4;
  }
}

nav a {
  color: white;
}

nav a:hover {
  color: #ff3232;
}

nav a:visited {
  color: white;
}

/* https://www.aiship.jp/knowhow/archives/32319 */
.nav-container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-around;
      -ms-flex-pack: distribute;
          justify-content: space-around;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  margin: 0;
  padding: 6px;
  list-style-type: none;
  background-color: #12843a;
  text-align: center;
}

@media screen and (min-width: 1024px) {
  .nav-container {
    max-width: 1024px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
            flex-wrap: nowrap;
  }
}

.nav-item {
  width: 50%;
  border-radius: 4px;
  color: white;
  text-decoration: none;
}

@media screen and (min-width: 1024px) {
  .nav-item {
    width: 100%;
  }
}

/*
@media screen and(max-width:767px){
.nav-container {
    flex-direction:column;
    align-content: space-around;
}
.nav-item {
    width: 100%;
}
}
*/
main {
  background-color: white;
  -ms-grid-row: 3;
  grid-row: 3;
  -ms-grid-column: 1;
  grid-column: 1;
}

@media screen and (min-width: 1024px) {
  main {
    -ms-grid-row: 3;
    grid-row: 3;
    -ms-grid-column: 2;
    -ms-grid-column-span: 2;
    grid-column: 2 / 4;
  }
}

aside {
  background-color: chartreuse;
  -ms-grid-row: 4;
  grid-row: 4;
  -ms-grid-column: 1;
  grid-column: 1;
}

@media screen and (min-width: 1024px) {
  aside {
    -ms-grid-row: 3;
    grid-row: 3;
    -ms-grid-column: 3;
    -ms-grid-column-span: 1;
    grid-column: 3 / 4;
  }
}

footer {
  background-color: #bdd461;
  border-radius: 20px 20px 0px 0px;
  color: #fff;
  font-size: 0.8em;
  text-align: center;
  -ms-grid-row: 5;
  grid-row: 5;
  -ms-grid-column: 1;
  grid-column: 1;
}

@media screen and (min-width: 1024px) {
  footer {
    -ms-grid-row: 4;
    grid-row: 4;
    -ms-grid-column: 2;
    -ms-grid-column-span: 2;
    grid-column: 2 / 4;
  }
}

.container {
  margin-left: 20px;
  margin-right: 20px;
}

h3 {
  border-bottom: solid 1px  #bdd461;
  position: relative;
  margin-left: 40px;
}

h3::before {
  content: url("./leaf_h3.png");
  position: absolute;
  top: -5px;
  left: -45px;
}

dt {
  float: left;
  clear: left;
  margin-right: 1em;
  width: 150px;
}

dt::before {
  content: "・";
}

dl div {
  border-bottom: dashed 2px #bdd461;
}

/* トップページ用 */
.topbox {
  border: #6fc173 dotted 1px;
  margin: 10px;
  padding: 10px;
  border-radius: 10px;
}

.buybtn {
  display: inline-block;
  padding: 7px 20px;
  border-radius: 25px;
  text-decoration: none;
  color: #FFF;
  background-color: #f5d142;
}

.buybtn:hover {
  opacity: 0.8;
}

.buybtn:a {
  color: black;
}

/*
.buybtn {
//    display: inline-block;
    background-color: #f5d142;
    border-radius: 40%;
    padding: 10px;
    font-weight: bold;
}

.buybtn a {
    color:#000;
}
.buybtn a:hover {
    color: rgb(255, 50, 50);
//    opacity: 0.8;
}
*/
.youtube {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 98%;
  height: 98%;
}

.news a {
  display: block;
}

.news span {
  display: block;
}

@media screen and (min-width: 1024px) {
  span.date {
    float: left;
    width: 9em;
  }
}

span.title {
  padding-left: 1em;
}

@media screen and (min-width: 1024px) {
  span.title {
    padding-left: 9em;
    width: 52em;
  }
}

/* 概要用 OverView */
.timeline {
  list-style: none;
}

.timeline > li {
  margin-bottom: 60px;
}

/* for Desktop */
@media screen and (min-width: 1024px) {
  .timeline > li {
    overflow: hidden;
    margin: 0;
    position: relative;
  }
  .timeline-date {
    width: 110px;
    float: left;
    margin-top: 20px;
  }
  .timeline-content {
    width: 75%;
    float: left;
    border-left: 3px #e5e5d1 solid;
    padding-left: 30px;
  }
  .timeline-content:before {
    content: '';
    width: 12px;
    height: 12px;
    background: #6fc173;
    position: absolute;
    left: 106px;
    top: 24px;
    border-radius: 100%;
  }
}

/* ACCESS.html */
.GoogleMap {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%;
  /*比率をお好みで*/
  -webkit-box-shadow: 2px 5px 5px #999;
          box-shadow: 2px 5px 5px #999;
}

.GoogleMap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* items.html */
@media screen and (min-width: 1024px) {
  .item-list {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    margin: 10px 50px;
  }
}

@media screen and (min-width: 1024px) {
  .item {
    width: 200px;
    margin: 10px 20px;
  }
}

.item-img {
  float: left;
}

@media screen and (min-width: 1024px) {
  .item-img {
    float: none;
  }
}

.item-list img {
  width: 100px;
  margin: 10px;
  display: inline;
}

@media screen and (min-width: 1024px) {
  .item-list img {
    width: 150px;
    margin: 10px;
    display: block;
  }
}

.item-list img:hover {
  opacity: 0.8;
}

.item-list p {
  padding: 20px;
  line-height: 1.4;
}

@media screen and (min-width: 1024px) {
  .item-list p {
    padding: 5px;
  }
}

.item-list a {
  color: black;
}

.item-list a:hover {
  color: #ff3232;
}

.float-clear {
  clear: both;
}

/* voice.html */
/* https://saruwakakun.com/html-css/reference/speech-bubble */
.voice-balloon-woman {
  position: relative;
  margin: 2em 0 2em 40px;
  padding: 15px;
  background: #fff0c6;
  border-radius: 30px;
}

.voice-balloon-woman:before {
  content: "";
  position: absolute;
  left: -38px;
  width: 13px;
  height: 12px;
  bottom: 0;
  background: #fff0c6;
  border-radius: 50%;
}

.voice-balloon-woman:after {
  content: "";
  position: absolute;
  left: -24px;
  width: 20px;
  height: 18px;
  bottom: 3px;
  background: #fff0c6;
  border-radius: 50%;
}

.voice-balloon-woman p {
  margin: 0;
  padding: 0;
}

/* チャット風吹き出し */
/* https://hebochans.com/speech-bubble/ */
.sb-box {
  position: relative;
  overflow: hidden;
  padding: 0px 0px 30px 0px;
}

/* アイコン画像 */
.icon-img {
  position: absolute;
  overflow: hidden;
  top: 0;
  /* 画像の位置を上から0に */
  width: 160px;
  /* 画像の幅 */
  height: 160px;
  /* 画像の高さ */
}

/* アイコン画像（左） */
.icon-img-left {
  left: 0;
  /* 画像の位置を左から0に */
}

/* アイコン画像（右） */
.icon-img-right {
  right: 0;
  /* 画像の位置を右から0に */
}

/* アイコン画像 */
.icon-img img {
  border-radius: 5%;
  /* 画像を丸く表示する */
  border: 2px solid #eee;
  /* 画像の縁取りの太さとカラー */
}

/* アイコンネーム */
.icon-name {
  position: absolute;
  width: 160px;
  /* ネームの最大幅を画像と同じに */
  text-align: center;
  /* ネームの位置をセンターに */
  top: 166px;
  /* ネームの位置を上から83に */
  color: #777;
  /* ネームのカラー */
  font-size: 10px;
  /* ネームのフォントサイズ */
}

/* アイコンネーム（左） */
.icon-name-left {
  left: 0;
  /* ネームの位置を左から0に */
}

/* アイコンネーム（右） */
.icon-name-right {
  right: 0;
  /* ネームの位置を右から0に */
}

/* 吹き出し */
.sb-side {
  position: relative;
  float: left;
  margin: 0 210px 80px 210px;
  /* 吹き出しの上下左右の余白 */
}

.sb-side-right {
  float: right;
}

/* 吹き出し内のテキスト */
.sb-txt {
  position: relative;
  border: 2px solid #eee;
  /* 吹き出しの縁取りの太さとカラー */
  border-radius: 6px;
  /* 吹き出しを角丸に */
  background: #fff;
  /* 吹き出しの背景色 */
  color: #333;
  /* 吹き出し内のテキストのカラー */
  font-size: 15px;
  /* 吹き出し内のフォントサイズ */
  line-height: 1.7;
  /* 吹き出し内のテキストが2行以上になった時の行間 */
  padding: 18px;
  /* 吹き出し内の上下左右の余白 */
}

.sb-txt > p:last-of-type {
  padding-bottom: 0;
  /* 吹き出し内のテキストを改行した場合、最後のpタグにpadding-bottomをつけない */
  margin-bottom: 0;
  /* 吹き出し内のテキストを改行した場合、最後のpタグにmargin-bottomをつけない */
}

/* 吹き出しの三角 */
.sb-txt:before {
  content: "";
  position: absolute;
  border-style: solid;
  top: 16px;
  /* 吹き出し内の三角の位置 */
  z-index: 3;
}

.sb-txt:after {
  content: "";
  position: absolute;
  border-style: solid;
  top: 15px;
  /* beforeより-1px */
  z-index: 2;
  /* beforeより-1 */
}

/* 吹き出しの三角（左） */
.sb-txt-left:before {
  left: -7px;
  border-width: 7px 10px 7px 0;
  border-color: transparent #fff transparent transparent;
  /* 背景色と同じカラーに */
}

.sb-txt-left:after {
  left: -10px;
  /* beforeより-3px */
  border-width: 8px 10px 8px 0;
  /* beforeより上下+1px */
  border-color: transparent #eee transparent transparent;
  /* 縁取りと同じカラーに */
}

/* 吹き出しの三角（右） */
.sb-txt-right:before {
  right: -7px;
  border-width: 7px 0 7px 10px;
  border-color: transparent transparent transparent #fff;
  /* 背景色と同じカラーに */
}

.sb-txt-right:after {
  right: -10px;
  /* beforeより-3px */
  border-width: 8px 0 8px 10px;
  /* beforeより上下+1px */
  border-color: transparent transparent transparent #eee;
  /* 縁取りと同じカラーに */
}

/* 767px（iPad）以下 */
@media (max-width: 767px) {
  /* アイコン画像 */
  .icon-img {
    width: 120px;
    /* 画像の幅を-20px */
    height: 120px;
    /* 画像の高さを-20px */
  }
  /* アイコンネーム */
  .icon-name {
    width: 120px;
    /* 画像の幅に合わせて-20px */
    top: 124px;
    /* ネームの位置を上から62に */
    font-size: 9px;
    /* ネームのフォントサイズを-1px */
  }
  /* 吹き出し（左） */
  .sb-side-left {
    margin: 0 0 30px 146px;
    /* 吹き出し（左）の上下左右の余白を狭く */
  }
  /* 吹き出し（右） */
  .sb-side-right {
    margin: 0 146px 30px 0;
    /* 吹き出し（右）の上下左右の余白を狭く */
  }
  /* 吹き出し内のテキスト */
  .sb-txt {
    padding: 12px;
    /* 吹き出し内の上下左右の余白を-6px */
  }
}
/*# sourceMappingURL=wadaen.css.map */