body {
  margin: 0 auto;
  padding: 0;
  max-width: 1000px;
  min-width: 1000px;
}

/* header */

.contact-phone {
  font-weight: bold;
}

a:hover,
.contact-mail:hover {
  color: #c9372d;
}

.contact-mail {
  color: #000;
  text-decoration-style: dotted;
}

.title1,
.title2 {
  font-family: "Kiwi Maru", serif;
  font-style: normal;
  font-weight: bold;
}

.title1 {
  margin-bottom: 0;
  margin-top: 32px;
}

.title2 {
  font-size: 40px;
  margin-top: 0;
}


h3 {
  margin: 0;
}

header {
  display: flex;
  justify-content: space-between;
}

.about ul {
  list-style: none;
  padding: 0;
  display: flex;
}

.LogoImg {
  margin-top: 8px;
}

.about {
  display: flex;
  justify-content: flex-end; /* 右寄せ */
}

.about a {
  padding: 0 16px;
  text-decoration: none;
  color: black;
  border: none; /* すべての a 要素のボーダーを初期化 */
}

.about a:hover {
  color: #c9372d;
}

/* 最初の要素に左の縦棒を追加 */
.about a:first-child {
  border-left: 3px dotted black;
}

/* 最後の要素に右の縦棒を追加 */
.about li:last-child {
  border-right: 3px dotted black;
}

.contact-container {
  display: flex;
  justify-content: center;
  align-items: center; /* 縦方向の中央揃え */
  gap: 16px; /* 要素間の間隔 */
}

.contact-info {
  display: flex;
  list-style: none;
  padding: 8px;
  margin: 0;
  gap: 16px; /* 電話番号とメールの間隔 */
  border: 1px solid black;
  border-radius: 8px;
}

.contact-text {
  font-weight: bold;
}

/* main */

/* section1 */

section {
  display: flex;
  justify-content: center;
  
}

nav {
  margin-top: 32px;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
}

nav ul a{
  text-decoration: none;
  background: rgba(219, 218, 218, 0.5);
  color: black;
  border: 1px solid black;
  border-radius: 4px;
  padding: 8px;
  margin: 24px;
  font-weight: bold;
}

nav ul a:hover {
  color: black;
  background: rgba(146, 145, 145, 0.5);}

/* section1-5 */

.section1-5 {
  position: relative;

}

.kusa1 {
  position: absolute;
  top: -189px;
  left: 0;
  z-index: -1;
}

.kusa2 {
  position: absolute;
  top: -189px;
  right: 0px;
  z-index: -1;
}

/* section2 */

.my-carousel {
  height: 400px;
  margin: 0 auto;
  overflow: hidden;
  margin-top: 16px;
}

.swiper {
  width: 90%;
  height: 100%;
  overflow: visible;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
}

.bi {
  font-size: 48px;
  color: rgb(0 0 0 / 0.4);
}

.my-button-prev,
.my-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  line-height: 0;
  z-index: 2;
  cursor: pointer;
}

.my-button-prev.swiper-button-disabled,
.my-button-next.swiper-button-disabled {
  opacity: 0.3;
  cursor: auto;
}

.my-button-prev {
  left: -32px;
}

.my-button-next {
  right: -32px;
}

.swiper-pagination .swiper-pagination-bullet {
  width: 16px;
  height: 16px;
  background-color: #fff;
}

/* section3 */

.section3 {
  display: block;
  text-align: center;
}

.section3 img {
  margin-top: 16px;
}


/* section4 */

.section4 {

  margin-top: 32px;
}

.section4 .title {
  
  display: flex;
}

.section4 h3,
.section4 h5 {
  padding: 0;
  margin: 0;
}

.section4 h3 {
  margin-right: 8px;
}

.blog {
  position: relative;
}

.blog,
#blog5link {
  text-align: center;
  margin-left: 32px;
}

.blog:nth-child(odd) {
  margin-top: 32px;
}

.section4 img {
  border-radius: 50%;
}

.section4 p {
  margin: 0;
}

.blog5 {
position: relative;
}

.bloglink {
  text-decoration: none;
  color: #000;
}

.bloglink:hover {
  color: #c9372d;
}

#blog5link {
  position: absolute;
  right: 0;
  bottom: -8px;
  text-decoration: none;
  color: #fff;
  background: #65818a;
  border-radius: 8px;
  padding: 4px 8px;
}

#blog5link:hover {
  opacity: .8;
}

/* 親要素に position: relative を設定 */
.blog {
  position: relative;
  display: inline-block;
  width: 160px;
  text-align: center;
  margin: 10px;
}

/* リンクのスタイル */
.bloglink {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative; /* サムネイル全体がクリックできるようにする */
}

/* サムネイル画像 */
.bloglink img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* サムネイルのホバー効果 */
.bloglink:hover img {
  transform: scale(1.05);
}

/* ボタンの配置修正 */
.blog5-container {
  position: relative; /* 親要素を relative にする */
  text-align: center;
  margin-top: 10px;
  display: block; /* 5個目の投稿の下にボタンが配置される */
}

.blog5 {
  writing-mode: vertical-rl;
  text-orientation: upright;
  display: inline-block;
  background-color: #65818a;
  color: white;
  padding: 8px 8px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  z-index: 100;
  position: relative;
}

.blog5:hover {
  opacity: .8;
  color: #FFF;
}


/* section5 */

.section5 {
  margin-top: 64px;
  display: flex;
  justify-content: space-between;
}

.section5 .btn {
  right: 0;
  bottom: -8px;
  text-decoration: none;
  color: #fff;
  background: #bdad7c;
  border-radius: 8px;
  padding: 4px 8px;
}

.section5 .btn:hover {
  opacity: .8;
}

.news {
  width: 680px;
  margin-top: 32px;
}

.news .title {
  display: flex;
  justify-content: space-between;
}

.contants {
  background: #fff;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-top: 8px;
}

.news-list {
  width: 100%;
  border-collapse: collapse;
}

.news-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 16px;
  border-bottom: 1px dotted #aaa; /* ドットの水平線を表示 */
}

.news-item dt {
  font-weight: bold;
  flex: 1; /* 左側の日付の幅を一定に */
  min-width: 150px; /* 日付の最小幅 */
}

.news-item dd {
  flex: 3; /* 右側のテキストを広げる */
  margin: 0;
}

.newslink {
  text-decoration: none;
  color: #000;
}

.newslink:hover {
  color: #c9372d;
}

.home {
  display: flex;
  justify-content: center; 
  margin-top: 32px;
  background: #ddd;
  border-radius: 8px 8px 0 0;
}

.contact-container2 {
  display: flex;
  justify-content: center;
  align-items: center; /* 縦方向の中央揃え */
  gap: 16px; /* 要素間の間隔 */
  background: #ddd;
  padding-bottom: 16px;
  border-radius: 0 0 8px 8px;
}

.contact-info2 {
  display: flex;
  list-style: none;
  padding: 8px;
  margin: 0;
  gap: 16px; /* 電話番号とメールの間隔 */
  border: 1px solid black;
  border-radius: 8px;
}

.contact-text2 {
  font-weight: bold;
}

.miryoku {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  text-align: center;
}

.miryoku img {
border-radius: 50%;
border: 4px solid #333;
}

.miryoku1,
.miryoku2,
.miryoku3
 {
position: relative;
}

.miryoku1 .text {
  position: absolute;
  top: -8px;
  right: 40px;
  background: #333;
  color: #fff;
  padding: 8px;
  border-radius: 8px;
}

.miryoku1 .text2 {
  position: absolute;
  left: 48px;
  bottom: -40px;
  color: #000;
  text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
              -1px 1px 0 #FFF, 1px -1px 0 #FFF,
              0px 1px 0 #FFF,  0-1px 0 #FFF,
              -1px 0 0 #FFF, 1px 0 0 #FFF;
}

.miryoku2 .text {
  position: absolute;
  top: -8px;
  right: 72px;
  background: #333;
  color: #fff;
  padding: 8px;
  border-radius: 8px;
}

.miryoku2 .text2 {
  position: absolute;
  left: 32px;
  bottom: -40px;
  color: #000;
  text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
              -1px 1px 0 #FFF, 1px -1px 0 #FFF,
              0px 1px 0 #FFF,  0-1px 0 #FFF,
              -1px 0 0 #FFF, 1px 0 0 #FFF;
}

.miryoku3 .text {
  position: absolute;
  top: -8px;
  right: 56px;
  background: #333;
  color: #fff;
  padding: 8px;
  border-radius: 8px;
}

.miryoku3 .text2 {
  position: absolute;
  left: 32px;
  bottom: -40px;
  color: #000;
  text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
              -1px 1px 0 #FFF, 1px -1px 0 #FFF,
              0px 1px 0 #FFF,  0-1px 0 #FFF,
              -1px 0 0 #FFF, 1px 0 0 #FFF;
}

.aside {
  width: 275px;
}

.aside img{
  margin-top: 32px;
  object-fit: cover;
}

.informationCard {
  width: 275px;
}

.informationCardImg {
  border-radius: 8px 8px 0 0;
}

.informationCardTxt {
  background: #fff;
  margin-top: -8px;
  padding: 16px 16px 8px 16px;
  border-radius: 0 0 8px 8px;
}

.informationCardTxt h3 {
  font-size: 16px;
}

.informationCardTxt p {
  font-size: 14px;
}

/* section6 */

.section6 {
  margin-top: 16px;
  padding: 16px 0;
  background: #fff;
  width: 1000px;
  position: relative;
}

.contants3 {
  text-align: center;
  position: absolute;
  left: 56px;
  background: #333;
  color: #FFF;
  border-radius: 50%;
  width: 128px;
  height: 128px;
  line-height: 128px;
}

.recruit_btn {
  cursor: pointer;
  border-radius: 4px;
  border: 1px solid black;
  padding: 8px 160px;
  font-size: 20px;
  font-weight: bold;
}

.recruit_btn:hover {
  background: #ddd;
}

footer {
  margin-top: 32px;
  padding: 128px 0;
  display: flex;
}

footer h3 {
  font-weight: normal;
}

ul {
	list-style: '➤';
}

footer .kara {
  list-style: '';
}

footer .migi {
  list-style: '➔';
}

footer a {
  text-decoration: none;
  color: #000;
}

footer a:hover {
  text-decoration: underline;
}

.to-top {
  position: fixed;
  bottom: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.5); 
  border-radius: 50%;
  width: 100px;
  height: 100px;
  line-height: 100px;
  text-align: center;
  color: #FFF;
  font-weight: bold;
  text-decoration: none; 
}

.to-top:hover {
  color: #FFF;
}