@charset "utf-8";
html{
    background-color: #F7F3E7;
    font-family: "Shippori Mincho B1", serif;
    
}
.midasi{
    font-size: 20px;
    line-height: 40px;
    letter-spacing: 0.1rem;
    margin-top: 40px;
}
@media (max-width: 768px) {
    header {
        height: auto;
        padding: 20px;
    }
  
    .header-nav ul {
        flex-direction: column;
    }
  
    .header-nav ul li {
        margin-right: 0;
        margin-bottom: 15px;
    }
  
    .header-nav ul li:last-child {
        margin-bottom: 0;
    }
  }
.rogo{
    width: 80px;
}

.title {
    font-size: 25px;
    color: #fff;
    z-index: 11;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    writing-mode: vertical-rl;
  }
  .shippori-mincho-regular {
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    font-style: normal;
  }
 
  p{
    margin-bottom: 50px;
  }
  .shippori-mincho-medium {
    font-family: "Shippori Mincho", serif;
    font-weight: 500;
    font-style: normal;
  }
  
  .shippori-mincho-semibold {
    font-family: "Shippori Mincho", serif;
    font-weight: 600;
    font-style: normal;
  }
  
  .shippori-mincho-bold {
    font-family: "Shippori Mincho", serif;
    font-weight: 700;
    font-style: normal;
  }
  
  .shippori-mincho-extrabold {
    font-family: "Shippori Mincho", serif;
    font-weight: 800;
    font-style: normal;
  }
  
  header nav ul{
    display: flex;
    justify-content: center;
    padding: 10px 0px 10px;
}
.header-nav ul li a {
  position: relative;
  text-decoration: none;
  color: #333;
}

.header-nav ul li a::after {
  position: absolute;
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background-color: #073C2F;
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease-in-out;
}

.header-nav ul li a:hover::after {
  width: 100%;
}

/* ヘッダーの写真に架線を適用しない */
.header-nav ul li a img {
  position: relative;
  z-index: 1;
  
}
.header-nav ul li a.no-underline::after {
  display: none;
}
.header-nav ul li a img::after {
  display: none;
}
header nav ul li{
    margin: 0 20px;
}
.header-nav ul li a {
    position: relative;
  }
  .header-nav ul li a::after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #073C2F;
    bottom: -8px;
    left: 0;
    -webkit-transform: scale(0, 1);
    transform: scale(0, 1);
    -webkit-transform-origin: center top;
    transform-origin: center top;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
  }
  .header-nav ul li a:hover::after {
    transform: scale(1, 1);
  }
  header {
    background-image: url('washi-texture.png');
    background-size: cover;
    background-position: center;
    height: 80px; /* 高さを固定 */
    padding: 0 20px; /* 左右の余白を追加 */
    box-sizing: border-box;
  .slideBox {
  height: 600px;
  overflow: hidden;
  position: relative;
  margin-top: -50px;
}
  }
  .header-nav ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%; /* ヘッダー全体の高さに合わせる */
}

.header-nav ul li {
    margin-right: 30px; /* 右側のマージンを増やす */
    font-weight: bold; /* 文字を太くする */
}

.header-nav ul li:last-child {
    margin-right: 0; /* 最後の項目の右側のマージンを削除 */
}

.header-nav a {
    color: #333; /* テキストカラーを設定 */
    text-decoration: none;
    transition: color 0.3s ease;
}

.header-nav a:hover {
    color: #073C2F; /* ホバーカラーを設定 */
}
.header-nav ul li a::after {
  position: absolute;
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background-color: #073C2F;
  bottom: -5px;
  left: 0;
  transition: width 0.3s ease-in-out;
}

.header-nav ul li a:hover::after {
  width: 100%;
}
@media (max-width: 768px) {
  header {
      height: auto;
      padding: 20px;
  }

  .header-nav ul {
      flex-direction: column;
  }

  .header-nav ul li {
      margin-right: 0;
      margin-bottom: 15px;
  }

  .header-nav ul li:last-child {
      margin-bottom: 0;
  }
}
h2{
    font-size: 30px;
    margin-top: 60px;
    text-align: center;
    letter-spacing: 2px;
  }
  h3{
    font-size: 17px;
    text-align: center;
    margin-top: 10px;
  }
.img{
    margin-top: 50px;
}
  
  /*見出しの文字*/
.midasi{
    text-align: center;
    margin-top: 30px;
}

* {
    box-sizing: border-box;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .pic-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    box-sizing: border-box;
  }
  .wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
  }
  
  .card {
    display: flex;
    flex-direction: column;
    flex-basis: 30%;
    word-wrap: break-word;
    background-color: #fff;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #333;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
  }
  .card-title{
    margin-top: 0px;
  }
  .card{
    width: 288px;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,.2)
  }
  .card__imgframe{
    width: 100%;
    height: auto;
    padding-top: 56.25%;
    background: #bbb;
    box-sizing: border-box;
  }
  .card__textbox{
    width: 100%;
    height: auto;
    padding: 20px 18px;
    box-sizing: border-box;
  }
  .card__textbox > * + *{
    margin-top: 10px;
  }
  .card__titletext{
    font-size: 20px;
    font-weight: bold;
    line-height: 125%;
  }
  .card__overviewtext{
    font-size: 12px;
    line-height: 150%;
  }
  /* レスポンシブデザイン */
  @media (max-width: 768px) {
    main {
      padding: 20px 0;
    }
  
    .card-container {
      flex-direction: column;
    }
  
    .card {
      flex-basis: 100%;
      margin-bottom: 20px;
    }
  }
  .card-image-box {
    overflow: hidden;
  }
  
  .card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  
  .card-box {
    padding: 1rem;
  }
  
  .card-title {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: bold;
  }
  
  .card-description {
    margin-bottom: 0.5rem;
    line-height: 1.5;
  }
  
  .card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }

  a.btn_01 {
	display: block;
	text-align: center;
	text-decoration: none;
	margin: auto;
	padding: 1rem 4rem;
	font-weight: bold;
	border: 2px solid #073C2F;
	color: black;
	transition: 0.5s;
    width: 300px;
    margin-bottom: 90px;
    margin-top: 50px;
}
a.btn_01:hover {
	color: #fff;
	background: #073C2F;
}
.footer {
    padding: 2rem;
    font-size: 15px;
    color: #fff;
    background: #002200;
  }
  
  .footer__navi-heading {
    font-weight: 600;
  }
  
  .footer__logo {
    display: inline-block;
    margin-bottom: 1.5rem;
  }
  
  .footer__navi li {
    margin-bottom: 0.75rem;
  }
  
  .footer__address {
    margin-bottom: 2rem;
  }
  
  .footer__address a {
    text-decoration: underline;
  }
  
  @media (min-width: 768px) {
    .md-flex {
      display: flex;
    }
  
    .md-justify-between {
      justify-content: space-between;
    }
  
    .grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .footer__address a {
      text-decoration: none;
      pointer-events: none;
    }
  }
  
  @media (min-width: 1024px) {
    .lg-flex {
      display: flex;
    }
  }ul {
    padding: 0;
    list-style: none;
  }
 
  a {
    text-decoration: none;
  }
  
  a:hover {
    color: #EEEEEE;
  }
  
  hr {
    height: 1px;
    border: 0;
    border-top: 1px solid #fff;
  }
  address {
    font-style: normal;
  }

  .grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.25rem;
    margin-bottom: 1.5rem;
  }
  .g-map {
    text-align: center;
    margin-top: 30px;
    width: 100%;
    max-width: 800px; /* 地図の最大幅を設定 */
    margin-left: auto;
    margin-right: auto;
  }
.aiai{
    margin-bottom: 30px;
}
  .g-map iframe {
    width: 100%;
    height: 500px; /* 地図の高さを調整 */
    border: none;
  }
  .footer {
    padding: 2rem;
    font-size: 15px;
    color: #fff;
    background: #002200;
  }
  
  .footer__navi-heading {
    font-weight: 600;
  }
  
  .footer__logo {
    display: inline-block;
    margin-bottom: 1.5rem;
  }
  
  .footer__navi li {
    margin-bottom: 0.75rem;
  }
  
  .footer__address {
    margin-bottom: 2rem;
  }
  
  .footer__address a {
    text-decoration: underline;
  }
  
  @media (min-width: 768px) {
    .md-flex {
      display: flex;
    }
  
    .md-justify-between {
      justify-content: space-between;
    }
  
    .grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .footer__address a {
      text-decoration: none;
      pointer-events: none;
    }
  }
  
  @media (min-width: 1024px) {
    .lg-flex {
      display: flex;
    }
  }
  .footer {
    padding: 2rem;
    font-size: 15px;
    color: #fff;
    background: #002200;
    position: fixed;
    bottom: 0;
    width: 100%;
  }
  .footer {
    position: relative; /* または position: static; */
  }
h1{
  font-size: 25px;
  margin-bottom: 20px;
}
.img5{
  width: 400px;
}
.flex{
  display: flex;
  
}
.flex {
  display: flex; /*横並び*/
}
.flex .image {
  width: 400px; /*画像サイズ指定*/
  margin-left: 40px;

}
.flex .image img {
  width: 100%;
  height: auto;
}
.flex .text {
  margin: 0 0 0 20px;
  padding: 0;
}