@import url("https://fonts.googleapis.com/css2?family=Hachi+Maru+Pop&family=Noto+Serif+JP&family=Paytone+One&display=swap");
:root {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "メイリオ", "Hiragino Kaku Gothic Pro", sans-serif;
}
[class^="material-"] {
  font-size: inherit;
  vertical-align: -0.1em;
}
#flex {
  display: flex;
  padding: 20px 10px 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #ddd;
}
#box1 {
  /* background-color: antiquewhite; */
  flex: auto;
}
#box1 .site img {
  border: none;
}
/* #box2 {
  background-color: aquamarine;
} */
#box2 .menu ul {
  /* margin: 0; */
  /* padding: 0; */
  display: flex;
}
#box2 .menu li a {
  display: block;
  padding: 10px 15px;
  color: #000;
  font-size: 14px;
  text-decoration: none;
  /* text-align: right; */
}
#box2 .menu li a:hover {
  background-color: #eee;
}
header p#sorehodo {
  padding: 15px;
  background-color: rgba(255, 255, 255, 0.7);
  font-size: 28px;
}
header #box3 img {
  position: relative;
}
header p#sorehodo {
  line-height: 1.3em;
  position: absolute;
  top: 17%;
  left: 3%;
}
.container {
  max-width: 1400px;
  margin: 0 auto;
}
section#flex3 {
  display: flex;
}
section#flex3 article {
  flex: 1;
  padding: 10px;
}
section article a {
  display: block;
  background-color: #222;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
}
section article h2 {
  padding: 5px 0;
  font-size: 20px;
}
section article p {
  padding: 15px 0;
  background-color: #524e3c;
}

section article#flex3-1 a:hover {
  /* opacity: 0.8; */
  background-color: #f11010;
}
section article#flex3-2 a:hover {
  /* opacity: 0.8; */
  background-color: #0a833a;
}
section article#flex3-3 a:hover {
  /* opacity: 0.8; */
  background-color: #0c5b7d;
}
/* section article#flex3-1 i, */
/* section article#flex3-2 i, */
#flex3-3 i,
#flex3-1 span,
#flex3-2 span {
  display: block;
  padding: 40px 0;
  font-size: 38px;
}
#flex3-3 span.material-symbols-outlined {
  font-size: 35px;
}
/* section article#flex3-1 i, */
section article#flex3-1 span {
  background-color: #c0db75;
}
/* section article#flex3-2 i, */
section article#flex3-2 span {
  background-color: #fdbf64;
}
section article#flex3-3 i {
  background-color: #6ea7a1;
}
#flex2 {
  display: flex;
  padding: 20px 10px 0 0;
}
#box4 {
  /* background-color: aquamarine; */
  flex: 7;
  padding: 0 10px;
}
#box4 #news {
  border: 5px solid#ddd;
  padding: 25px 10px 42px;
}
#box4 #news h1 {
  margin: 5px;
  font-size: 18px;
  color: #666;
}
#box4 #news li a {
  display: block;
  padding: 5px 0;
  color: #000;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 2px dotted #ddd;
}
#box4 #news time {
  margin-right: 10px;
  color: #888;
  font-weight: bold;
}
#box4 #news li a:hover {
  background-color: #eee;
}
#box4-2 {
  flex: 3;
}
#box4-2 #follow p#followw {
  margin: 0 0 15px 0;
  padding: 10px;
  /* background-color: #ddd; */
  font-size: 14px;
  text-align: center;
  position: relative;
  background: #dddddd;
}
#box4-2 #follow p#followw:after {
  top: 100%;
  left: 20%;
  border: solid transparent;
  content: "";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(221, 221, 221, 0);
  border-top-color: #dddddd;
  border-width: 15px;
  margin-left: -15px;
}

#box4-2 #follow ul {
  margin: 0;
  padding: 0;
}
#box4-2 #follow li a {
  display: block;
  padding: 10px 5px 5px;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 14px;
  text-decoration: none;
  line-height: 30px;
}
/* #box4-2 #follow li a:hover {
  opacity: 0.8;
} */
#box4-2 #follow li a#tw {
  background-color: #63bafb;
}
#box4-2 #follow li a#fa {
  background-color: #5288f7;
}
#box4-2 #follow li a#go {
  background-color: #f65d4a;
}
#box4-2 #follow i {
  margin-right: 10px;
  font-size: 24px;
}
#box4-3 {
  display: flex;
  justify-content: space-between;
  background-color: #6ea7a1;
  margin: 10px;
}
#box4-3 a {
  color: #ffffff;
  font-weight: 550;
  text-decoration: none;
}
#box4-3 img {
  width: 200px;
  margin: 10px 10px;
}
#box4-3 p {
  text-indent: 20px;
  padding-bottom: 10px;
}

#sato {
  max-width: 800px;
  height: 600px;
  margin-left: 42%;
  background: url(../img/sakura.jpg) no-repeat;
  background-size: 100%;
}
#sat {
  padding-top: 15px;
}
#sat p {
  padding-left: 10px;
  margin: 7px 0 7px -200px;
  max-width: 270px;
  line-height: 2;
  color: #065260;
  font-family: serif;
  font-size: 25px;
  font-weight: 700;
  /* text-shadow: 2px 2px 4px rgba(252, 252, 252, 1); */
  background-color: rgb(110, 167, 161, 0.8);
}

#grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1.5fr 2.5fr 4fr;
  grid-template-rows: 50px 50px 50px 50px 200px;
  margin: 10px;
  gap: 5px;
}
#grid section img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
#i1 {
  grid-column: 1;
  grid-row: 1;
  color: #ffffff;
  line-height: 1.3;
  padding: 5px 0 0 5px;
  background-color: #437acd;
}
#i3 {
  grid-column: 3;
  grid-row: 1/4;
}
#i4 {
  grid-column: 4;
  grid-row: 1/5;
}
#i10 {
  grid-column: 5;
  grid-row: 1/6;
}

#i9 {
  grid-column: 1;
  grid-row: 2/5;
}
#i7 {
  grid-column: 2;
  grid-row: 1/5;
}
#i8 {
  grid-column: 3;
  grid-row: 4/6;
}
#i6 {
  grid-column: 1/3;
  grid-row: 5;
}
#i5 {
  grid-column: 4;
  grid-row: 5;
}

.ct-label {
  font-size: 1rem;
  fill: #ffffff;
}
.ct-series-a .ct-slice-pie {
  fill: rgb(188, 34, 7);
}
.ct-series-b .ct-slice-pie {
  fill: rgb(7, 188, 16);
}
.ct-series-c .ct-slice-pie {
  fill: #3a7edf;
}
.ct-series-d .ct-slice-pie {
  fill: #e6871a;
}

#aruotoko {
  width: 98.5%;
  margin: 0 auto;
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(156, 223, 200);
}
.pie-chart,
.osusi {
  text-align: center;
  font-size: 20px;
}
.pie-chart {
  flex: 1;
}

.home-text {
  flex: 1;
  padding-right: 30px;
  /* margin-left: -20px; */
}
.title {
  font-size: 20px;
  line-height: 2;
}
.home-text p {
  line-height: 1.5;
}

.ct-series-a .ct-bar {
  stroke: #08719f;
}
.ct-bar {
  stroke-width: 10%;
}
.bar-chart {
  padding-top: 50px;
  text-align: center;
}
.chart-box {
  width: 95%;
  margin: 100px auto;
}
#loyal {
  max-width: 500px;
  margin: 50px auto;
}
iframe {
  width: 100%;
}
.aeka {
  padding: 20px 10px 3px;
  color: #08719f;
  font-weight: bold;
}

#box5 {
  padding: 0 10px;
  background-color: #ddd;
}
#box5 #copyright {
  margin: 0;
  padding: 15px 0;
  color: #666;
  font-size: 14px;
}
#box5 #copyright a {
  position: fixed;
  right: 15px;
  bottom: 8px;
}
#box5 span {
  position: fixed;
  right: 50px;
  bottom: 10px;
  color: #f11010;
}
#box5 #copyright #end a:hover {
  opacity: 0.7;
}
@media (max-width: 768px) {
  header p#sorehodo {
    width: 70%;
    font-size: 15px;
  }
  #flex,
  #flex2,
  section#flex3,
  #box4-3 {
    display: block;
  }
  #box4-3 figure {
    max-width: fit-content;
    margin: 10px auto;
  }
  #box4-3 figure img {
    width: 94.5%;
  }
  #sato {
    height: 270px;
    margin: 0 10px;
    background-repeat: no-repeat;
  }
  #sat p {
    margin: 10px;
    font-size: 20px;
  }
  #grid {
    display: block;
    margin-bottom: 0;
  }
  #grid img {
    margin-bottom: 10px;
  }
  .home-text {
    padding-left: 10px;
  }
  #aruotoko {
    display: block;
  }
  #box2 .menu li a {
    padding: 10px;
    font-size: 12px;
  }
  #box4 {
    padding-bottom: 20px;
  }
}
