@charset "utf-8";



.header-logo {
  text-decoration: none;
}

.header-logo p {
  text-decoration: none; /* リンク下線を消す */
  margin: 0;
  font-size: 28px; /* ロゴとして見やすい大きさ */
  font-weight: 700;
  color: #333;
  letter-spacing: 2px; /* 少し広げてロゴ感を演出 */
  font-family: "Montserrat", "Helvetica Neue", sans-serif; /* かっこいいフォント */
}

.footer-logo {
  text-decoration: none;
}

.footer-logo p {
   position: relative;
  z-index: 9999; /* 大きいほど手前に来る */
  text-decoration: none; /* リンク下線を消す */
  margin: 0;
  font-size: 28px; /* ロゴとして見やすい大きさ */
  font-weight: 700;
  color: #333;
  letter-spacing: 2px; /* 少し広げてロゴ感を演出 */
  font-family: "Montserrat", "Helvetica Neue", sans-serif; /* かっこいいフォント */
}



body {
  --header-color: #333;
  --radius-large: 24px;
  --radius-medium: 12px;
  --radius-small: 6px;
  --shadow-general: 0px 6px 30px -6px #34343444;
  --card-columns: repeat(2, 1fr);
  font-family: "Noto Sans JP", sans-serif;
  background: #fff;
}

a {
  transition: 0.3s ease-in-out;
}

img {
  max-width: 100%;
  height: auto;
}

h2 {
  font-size: 1.3em;
  margin: 3em 0 1em;
  display: flex;
  justify-content: center;
  align-items: center;
}

h2:before,
h2:after {
  background-color: #ebebeb;
  content: "";
  height: 3px;
  border-radius: 30px;
  flex-grow: 1;
}

h2:before {
  margin-right: 1em;
}

h2:after {
  margin-left: 1em;
}

.header {
  padding: 1em 3em;
  box-shadow: 0px 6px 24px -6px #45454538;
}

.header__content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header__nav--list {
  display: flex;
  gap: 1.2em;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.header__nav--list a {
  color: var(--header-color);
  text-decoration: none;
}

.header__nav--list a:hover {
  opacity: .6;
}

.header__logo {
  margin: 0;
  padding: 0;
}

.header__logo img {
  width: 7em;
  height: auto;
}

.header__nav {
  display: none;
}

main.content {
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
}

/* ヒーロー */

.hero {
  display: block;
  margin: 1em;
  border-radius: var(--radius-large);
  line-height: 1.5;
  background-image:url('./images/back.jpg');
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3em 1.2em;
  background-color: rgba(0, 0, 0, 0.2);
}

.hero__content--title {
  font-size: 1.5em;
  font-weight: 700;
  color: #fff;
  margin-bottom: .8em;
  text-align: center;
}

.hero__content--details {
  color: #fff;
  font-size: .75em;
  margin-bottom: 1.8em;
  text-align: center;
}

.hero__content--btn a {
  display: block;
  background: #ffffff4a;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 40px;
  padding: .8em 1.6em;
}

.hero__content--btn i {
  margin-left: 6px;
}

/* スライダーカード */

.splide {
  margin: 2em auto 3em;
}

.splide__slide img,
.post__cards--wrap img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-general);
}

.splide__slide a,
.post__cards--wrap a {
  display: block;
  text-decoration: none;
  color: #333;
  font-weight: 700;
  padding: .2em;
}

.splide__slide a:hover,
.post__cards--wrap a:hover {
  transform: translateY(-3px);
}

.splide__slide p,
.post__cards--wrap p {
  font-size: .9em;
  display: block;
  margin: 0;
  margin-top: .8em;
}

/* カード */

.post {
  margin: 4em 0;
  padding-right: 12px;
  padding-left: 12px;
}

.post__cards {
  display: grid;
  grid-template-columns: var(--card-columns);
  gap: 2em 1.8em;
  margin: 2em 0;
}

.post__cards--wrap {
  display: flex;
}

.post__btn {
  text-align: center;
  margin: 1em auto;
}

.post__btn a {
  display: inline-block;
  border: 1px solid #333;
  color: #333;
  font-size: .95em;
  font-weight: 700;
  position: relative;
  padding: .6em 4em;
  text-decoration: none;
  vertical-align: middle;
}

.post__btn a:after {
  content: "";
  position: absolute;
  top: calc(50% - 0.3em);
  right: 0.5em;
  width: 2em;
  height: 0.35em;
  border-right: 2px solid #333;
  border-bottom: 1px solid #333;
  transform: skew(45deg);
  transition: .3s;
}

.post__btn a:hover:after {
  right: -1em;
}

/* フッター */

.footer {
  background: #f2f2f2;
  padding: 1.4em 1em;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style-type: none;
}

.footer__content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: column;
  gap: 1em;
  margin-bottom: 1.4em;
}

.footer__nav--list {
  text-align: center;
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.8;
}

.footer__nav--list li {
  display: inline-block;
  padding: 0 .2em;
}

.footer__nav--list a {
  color: var(--header-color);
  text-decoration: none;
}

.footer__nav--list a:hover {
  opacity: .6;
}

.footer__logo {
  margin: 0;
  padding: 0;
}

.footer__logo img {
  width: 7em;
  height: auto;
}

.footer__copyright {
  color: #7f7f7f;
  margin: 0;
  text-align: center;
  font-size: .9em;
}

@media screen and (min-width: 768px) {
  body {
    --card-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width: 769px) {
  .header__content {
    justify-content: space-between;
  }

  .header__nav {
    display: block;
  }
}

@media screen and (min-width:769px) {
  .hero__content {
    padding: 8em 1.2rem;
  }

  .hero__content--title {
    font-size: 2em;
  }

  .hero__content--details {
    font-size: .95em;
  }
  .splide__slide p,
.post__cards--wrap p {
  font-size: 1em;
}
}



.hero__content--title {
  font-size: 2em;
  font-weight: 700;
  color: #fff;
  text-align: center;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6); /* 黒の半透明影 */
  margin-bottom: 0.8em;
}

.hero__content--details {
  font-size: 1em;
  color: #fff;
  text-align: center;
  line-height: 1.5;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5); /* 小さめの影 */
}


