/* すべてのページに適用される設定 */
html {
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
/*基本設定ここからcssは基本設定以下にあてる*/
body {
  margin: 0;
  font-family: sans-serif;
}
#oiwa .jikkyou-flex img {
  filter: brightness(1.1);
}
#shirochart .jikkyou-flex img {
  filter: brightness(1.05);
}
p, li, td {
  line-height: 1.7;
}
p {
  margin: 16px 0 48px 0;
}
h3 a:hover{
	color: red;
}
ol.whylist{
	padding-left: 30px
}
.whylist a:hover{
	color: red;	
}

@media (max-width:767px) {
  p {
    font-size: 18px;
  }
}
section p:last-child {
  margin-bottom: 0;
}
.toamazon {
  margin: 0;
  font-size: 15px
}
ol {
  margin: 16px 0 48px 0;
}
a:link {
  color: #252525;
  text-decoration: none;
}
/*a:visited {
  color: inherit;
  text-decoration: none;
}*/
a:hover {
  text-decoration: none;
  opacity: 0.8;
}
a:active {
  color: inherit;
  text-decoration: none;
}
figure {
  margin: 0 0 45px 0;
}
img {
  max-width: 100%;
  vertical-align: bottom;
  display: block;
}
.fa-times, .fa-circle {
  padding-right: 10px;
}
.fa-circle {
  color: red;
}
.fubenrisuto {
  padding-left: 2px;
  list-style-type: decimal;
}
.fubenrisuto li {
  display: flex;
  align-items: baseline; /*超重要*/
  padding-bottom: 10px;
}
.masking-list {
  padding-left: 26px;
}
.masking-list li {
  padding-bottom: 10px;
}
@media (max-width:767px) {
  .masking-list li {
    font-size: 18px;
  }
  .fubenrisuto li {
    font-size: 18px;
  }
}
/*基本設定ここまで*/
.redbold {
  color: #F74B4E;
  font-weight: bold;
}
.green a {
  color: #2D79FF;
  font-weight: bold;
}
.bassuimoto {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
  line-height: 1;
}
.bassuimoto a {
  color: #1AB4B2;
}
button {
  display: none;
}
.update {
  line-height: 1;
  font-size: 13px;
}
time {
  display: block;
  padding: 10px 0;
}
.bread {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dotted #dddddd;
  padding-top: 0;
}
.breadcrumb {
  display: flex;
  list-style: none;
  font-size: 13px;
  margin: 0;
  padding: 10px 0;
}
.breadcrumb li {
  line-height: 1;
}
.breadcrumb li a {
  color: #5588D5
}
.breadcrumb li::after {
  content: ">";
  padding: 5px;
}
.breadcrumb li:last-child::after { /*重要last-childは::afterの前*/
  display: none
}
@media (max-width:767px) {
  .bread {
    display: block;
  }
  .update {
    text-align: end;
  }
  time {
    padding: 0 0 10px;
  }
  #top .bread, #boki2-mokuji .bread {
    display: flex;
  }
  #top time, #boki2-mokuji time {
    padding: 10px 0 0;
  }
}
.jikkyou-flex {
  display: grid;
  grid-template-columns: 590px auto;
  grid-template-rows: auto;
  column-gap: 2%;
  margin-bottom: 40px;
}
.paragraph p {
  margin: 0 0 16px;
  flex: 1;
}
@media (max-width:1179px) {
  .jikkyou-flex {
    display: block;
  }
  .paragraph p {
    margin-top: revert;
  }
}
@media (max-width:767px) {
  .paragraph p {
    font-size: 18px
  }
}
/*イエローマーカー*/
.mkYL {
  background: linear-gradient(rgba(255, 255, 255, 0) 40%, #F7FD9B 70%);
}
.ornam {
  height: 10px;
  margin-bottom: 20px;
  background-image: url("../images/stripe.png");
  background-repeat: repeat-x;
}
.linlineblock {
  display: inline-block;
}
/*ぶら下げインデント*/
.indentback {
  display: flex;
  align-items: baseline; /*超重要。アイコンと続く文章の縦位置を水平線に合わせる。*/
}
.fa-plus {
  margin-right: 8px;
  color: #4B4B4B;
}
cite {
  display: block;
}
cite a {
  text-decoration: underline;
}
article.main {
  margin-top: 50px;
}
section {
  padding-top: 75px;
  margin-bottom: 0;
}
section:first-of-type {
  padding: 0;
}
@media(max-width:767px) {
  section {
    padding: 40px 0;
  }
}
section:first-of-type {
  padding: 0;
}
.w-container {
  width: min(92%, 1179px);
  margin: 0 auto;
}
.allcontents {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
  gap: 20px;
}
.alllist {
  margin-bottom: 0;
  padding-left: 26px;
}
.alllist li a {
  display: block;
  margin-bottom: 10px;
  padding: 0;
}
@media (max-width:767px) {
  .allcontents {
    grid-template-columns: 1fr;
  }
  .alllist li {
    font-size: 18px;
  }
}
.naibulink h2 {
  margin-bottom: 20px;
}
.item a:hover {
  box-shadow: 1px 1px 12px rgba(0, 0, 0, .65);
}
@media (min-width:1180px) {
  .item {
    padding: 10px;
    border: 1px solid #cfd9de;
    border-radius: 12px;
    box-shadow: 0 0 5px #cfd9de;
  }
  .item a:hover {
    box-shadow: none;
  }
  .heiretsu {

  }
}
/*-------ユーチューブのレスポンシブ-------*/
.movie-wrap {
  position: relative;
  padding-bottom: 56.25%; /*アスペクト比 16:9の場合の縦幅*/
  height: 0;
  overflow: hidden;
  z-index: 1;
}
.movie-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* すべてのページに適用 - ヘッダー */
.flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header {
  position: sticky;
  top: 0;
  height: 45px;
  background: rgba(255, 255, 255, 1);
  /*背景のみ透過はopacityではなく、rgba*/
  z-index: 100;
  margin-bottom: 20px;
}
.logo {
  font-size: 30px;
  font-weight: bold;
  line-height: 1; /*余計なスペースが入らないようにする*/
  padding: 10px 0; /*上の余計なスペースに関連して上下パディングで調整*/
}
.logo a {
  color: #F07D34;
  text-decoration: none;
  position: relative;
  z-index: 350;
}
.logo a:hover {
  color: #77C41D;
  text-decoration: none;
}
.pagecover {
  display: none; /*兄弟要素に3つなので非表示*/
}
.nav {
  /*  position: sticky; 超重要！入れ子だとstickyが効かないから独立させる
  background: #ffffff;
  top: 0;*/
}
.nav ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: flex;
  justify-content: center;
  gap: 40px;
}
.nav ul li a {
  color: #253958;
  font-weight: bold;
}
.nav a:hover {
  text-decoration: underline;
}
.nav a:active {
  text-decoration: none;
}
.nav .current a {
  color: #F07D34;
}
/*ページ先頭ボタン*/
#page_top {
  width: 50px;
  height: 50px;
  position: fixed;
  right: 0;
  bottom: 0;
  background: #3f98ef;
  opacity: 0.6;
  z-index: 1;
}
#page_top a {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}
#page_top a::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
.sutema {
  display: flex;
  height: 40px;
  border-top: 1px dotted #dddddd;
  align-items: center;
  font-size: 15px;
  color: #BB027B
}
/* すべてのページに適用 - ヒーロー */
.hero {
  height: 274px;
  text-align: center;
  margin: 0 auto;
  width: min(92%, 1179px);
  padding: 0;
}
.hero-container {
  display: grid;
  justify-items: center;
  align-content: center;
  height: 100%;
  background-image: url("../images/topimage.png");
  background-position: center;
  background-size: cover;
}
h1 {
  font-size: 34px;
  padding: 15px 0;
  color: #FFFFFF;
  text-shadow: 0 0 3px #2a2a2a, 0 0 3px #2a2a2a, 0 0 3px #2a2a2a, 0 0 3px #2a2a2a, 0 0 3px #2a2a2a, 0 0 3px #2a2a2a, 0 0 3px #2a2a2a, 0 0 3px #2a2a2a, 0 0 3px #2a2a2a, 0 0 3px #2a2a2a, 0 0 3px #2a2a2a, 0 0 3px #2a2a2a, 0 0 3px #2a2a2a, 0 0 3px #2a2a2a, 0 0 3px #2a2a2a, 0 0 3px #2a2a2a;
  font-weight: bold;
}
/* すべてのページに適用 - メイン */
section h2 {
  margin-bottom: 20px;
  border-bottom: 1px solid #253958;
  padding: 0 0 6px 0;
  color: #253958;
  font-size: 1.3rem;
}
section h2 span{
	font-size: 1.1rem;
}
.demerit h2{
	margin-bottom: 0;
}
section h3 {
  border-left: 10px solid #308D23;
  padding-left: 10px;
  margin: 0 0 16px 0;
}
.heiretsu-inner{
	display: grid;
	grid-template-columns: 1fr 1fr ;
grid-template-rows: auto;
	column-gap: 40px;
}
.heiretsu-inner-img {
	display: grid;
grid-template-columns: 1fr 1fr;
		gap:40px;
  filter: brightness(1.1);
}
.heiretsu-inner h3 {
  margin-top: 20px;
}
.themelist{
	grid-column-start: 1;
	grid-column-end: -1;
}
.whylist{
	font-size: 20px;
	font-weight: bold;
	padding: 20px 0 20px 20px;
	
}
.whylist li{
	padding-bottom: 20px
}
@media (min-width:376px) {
	.whylist{
	font-size: 22px;
}
	}
.hikakukoumoku{
		grid-column-start: 1;
	grid-column-end: -1;
	border: none;
	padding: 10px;
	background: #eeeeee;
}
@media (max-width:1179px) {
.heiretsu-inner{
	grid-template-columns: 1fr;
	grid-template-rows: auto;
	}
	.heiretsu-inner-img{
		grid-template-columns: 1fr;
	grid-template-rows: auto;
	
	}
}
.mokuji {
  display: block;
  margin: 0 auto;
  border: 1px solid #cfd9de;
}
.mokuji-ol {
  margin: 0 auto;
  padding: 20px;
  border-radius: 12px;
}
.mokuji-ol h2 {
  margin-top: 0;
  text-align: center;
  font-size: 20px;
  border-bottom: 1px dashed #cfd9de;
}
.mokuji-ol ol {
  margin: 0;
}
.mokuji-ol li {
  padding-bottom: 10px;
}
.mokuji-ol li a:hover {
  text-decoration: underline;
}
.twitter {
  width: 605px;
}
@media (max-width:1179px) {
  .mokuji {
    display: block;
    margin: 0 auto;
  }
  .mokuji-ol {
    border: none;
	  padding: 10px;
  }
  .mokuji-ol li a {
    font-size: 18px;
  }
  .mokuji-ol ol {
    padding-left: 40px;
  }
}
@media {
  #boki2 .items {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 80px 20px;
  }
}
@media (min-width:768px)and (max-width:999px) {
  #boki2 .items {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (max-width:767px) {
  .twitter {
    width: 346px;
    margin: 50px auto;
    border: none;
  }
}
video {
  width: 100%;
}
/* すべてのページに適用 - フッター */
.gotop {
  text-align: center;
  margin-top: 180px;
}
.copyright {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
  padding: 40px 0;
  background-color: #253958;
  color: #FFFFFF;
  text-align: center;
}
.copyright a {
  text-decoration: underline;
  color: #FFFFFF;
}
.sankoushomei {
  display: grid;
  grid-template-columns: 295px auto;
  gap: 20px;
  border-bottom: 1px dashed #979797;
  padding: 20px 0;
}
.sankoushomei:first-of-type {
  padding-top: 0;
}
.sankoushomei .image {
  flex: 1;
}
.sankoushomei .text {
  flex: 3;
}
.sankoushomei .text a:hover {
  text-decoration: underline;
}
footer {
  margin-top: 80px;
}
@media (max-width:767px) {
  .sankoushomei {
    display: grid;
    grid-template-columns: 3fr 4fr;
    grid-template-rows: auto;
    gap: 10px;
  }
  .sankoushomei .text {
    flex: 2;
  }
}
/* 個別のスタイル */
/* index.html */
.logo-whale {
  text-align: center;
}
/* menu.html */
.items {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 30px 30px;
  margin: 40px 0;
}
.items img {
  aspect-ratio: 3/2;
  object-fit: cover;
  width: 100%;
}
.item {
  display: flex;
  flex-direction: column;
}
.item p {
  line-height: 1.25;
  margin: 20px 0 0 0;
}
.item p span {
  display: block;
}
.item .strong {
  margin-top: auto;
  font-weight: bold;
  color: #33B1C5;
}
@media (max-width:767px) {
  .item p {
    font-size: 18px;
  }
}
/* contact.html */
form {
  margin: 0 auto;
  max-width: 640px;
}
input[type="text"], textarea {
  padding: 6px;
  width: 100%;
  font-size: 1rem;
}
textarea {
  height: 140px;
}
.submit {
  text-align: center;
}
input[type="submit"] {
  border: none;
  padding: 20px;
  width: 200px;
  background-color: #253958;
  color: #FFFFFF;
  font-size: 1rem;
}
.kutouten1 {
  display: inline;
}
.kutouten2 {
  display: inline;
}
.kutouten3 {
  display: inline;
}
/* モバイル対応 */
@media(max-width: 767px) {
  .logo {
    font-size: 25px;
  }
  .hero {
    width: 100%;
  }
  .nav ul {}
  /*    main {
        padding: 0 4%;
    }*/
  /* index.html */
  .hero.index {
    padding: 28vh 0;
  }
  /* menu.html */
  .items {
    grid-template-columns: 1fr 1fr;
    gap: 50px 40px;
  }
  #boki2 .items {
    grid-template-columns: 1fr 1fr;
    gap: 50px 40px;
  }
  h1 {
    font-size: 30px;
  }
  h1 span {
    display: block;
  }
  .kutouten0 {
    display: block;
  }
  .kutouten1 {
    display: inline;
  }
  .kutouten2 {
    display: block;
  }
  .kutouten3 {
    display: inline;
  }
  /*トグルボタン設定*/
  .header {
    z-index: 100;
  }
  .nav {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    height: 200vh;
    background-color: rgba(0, 0, 0, .8);
    z-index: 300;
    width: 200px; /*幅を200pXにして*/
    margin-left: -200px; /*通常時は画面の外（見えないよう）に配置する*/
    transition: margin-left 0.4s ease-out; /*margin-leftの挙動制御*/
  }
  body.open .nav {
    margin-left: 0; /*メニューボタンを押してメニューが出現する*/
  }
  .nav ul {
    display: block; /*縦並びにする*/
    margin-top: 150px;
  }
  .nav ul li {
    border-bottom: 1px dashed #7A7A7A; /*下線を付ける*/
  }
  .nav ul li a {
    display: block;
    padding: 10px 20px;
    text-align: left;
    color: #ffffff;
  }
  .nav li a:hover {
    background-color: lightgray;
  }
  .toggle-btn {
    display: block;
    width: 30px;
    height: 30px;
    cursor: pointer;
    border: none;
    background-color: transparent;
    z-index: 200;
  }
  .toggle-btn span {
    position: absolute;
    display: block;
    width: 25px;
    height: 3px;
    background-color: #000000;
    transition: all 0.4s;
    border-radius: 4px;
  }
  .toggle-btn span:nth-child(1) {
    top: 13px;
  }
  .toggle-btn span:nth-child(2) {
    top: 21px;
  }
  .toggle-btn span:nth-child(3) {
    top: 29px;
  }
  .open .toggle-btn span {
    background-color: #000000;
  }
  .open .toggle-btn span:nth-child(1) {
    transform: translateY(8px) rotate(-45deg); /*横棒の幅（高さ）を変えたらY交差の位置の数値も同時に変える*/
  }
  .open .toggle-btn span:nth-child(2) {
    opacity: 0;
  }
  .open .toggle-btn span:nth-child(3) {
    transform: translateY(-8px) rotate(45deg);
  }
  body.open .toggle-btn {
    z-index: 200;
  }
  body.open .pagecover {
    display: revert; /*兄弟要素で非表示にしていたものを再表示*/
    position: fixed;
    inset: 0;
    z-index: 50;
    background-color: rgba(0, 0, 0, 0.1);
  }
  /* スクロール禁止
body.open{
  height: 100vh;
  overflow: hidden;
  }*/
  html {
    overflow-y: scroll;
  }
  body.open .site {
    border-bottom: 1px solid #dddddd;
  }
  .kiji {
    margin-top: 51px;
  }
}
.w-container cite a {
  text-decoration: underline;
}