@charset "utf-8";

/* ---------------------------
  共通設定
---------------------------- */
.sp_only{
  display: none;
}
body {
  font-family: "Yu Gothic", sans-serif;
  background: #FFFCE1;
  margin: 0;
  color: #472A18;
  letter-spacing: 0.05em;
}
.inner {
  max-width: 1200px;
  margin: 0 auto 100px;
  padding: 0 20px;
}
/*
section {
  margin-bottom: 100px;
}*/
@media screen and (max-width: 768px) {
  .sp_only{
    display: block;
  }
  .inner{
    margin-bottom: 50px;
  }
}

/* ---------------------------
  ヘッダー
---------------------------- */
header {
  background: white;
  border-bottom: 3px solid #85A222;
  padding: 20px 20px 10px;
  height: 80px;
  position: fixed; /* ← ここを追加 */
  top: 0;           /* ← ここを追加 */
  left: 0;          /* ← ここを追加 */
  width: 100%;      /* ← ここを追加 */
  z-index: 1000;    /* ← 必ず他の要素より前面に */
}
main {
  margin-top: 80px; /* headerの高さ分 */
}

header .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 1em;
  font-size: 16px;
  font-weight: bold;
  margin: 0;
  padding: 0;
}
nav ul li {
  cursor: pointer;
}
.logo{
  width: 20%;
}
.logo img {
  width: 100%;
  height: auto;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  header .inner {
    flex-wrap: wrap;
    padding: 0;
  }
  .logo {
    width: 30% !important;
}
}

/* ---------------------------
  ハンバーガーメニュー
---------------------------- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #472A18;
  border-radius: 2px;
}

@media screen and (max-width: 768px) {
  .hamburger {
    display: flex;
    margin-left: auto;
  }
  nav {
    display: none;
    width: 100%;
    background: white;
    position: absolute;
    top: 80px;
    left: 0;
    z-index: 10;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  }
  nav.open {
    display: block;
  }
  nav ul {
    flex-direction: column;
  }
  nav ul li {
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    background: white;
  }
}


/* メインビジュアル */
section.hero{
    background-image: url(../images/pc-mv-af.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
    position: relative;
    margin-bottom: 0;
}

.hero-group {
    width: 25%;
    position: absolute;
    top: 40%;
    left: 5%;
    transform: translate(-5%, -40%);
}

.hero img {
  width: 100%;
  height: auto;
}
.hero-cta {
    width: 80%;
}
.hero-cta a {
    width: 100%;
    display: block;
    font-size: 30px;
    background: #85A222;
    color: #fff;
    text-align: center;
    padding: 20px;
    border-radius: 40px;
    font-weight: bold;
    margin-top: 30px;
}
.hero-cta.sp_only{
display: none;

}


/* フェードイン画像（メインビジュアルに重ねる） */
section.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/pc-mv-1st.jpg"); /* ←ここを被せる画像に変更 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 5;
  opacity: 1;
  animation: fadeOut 5s ease-out forwards;
  pointer-events: none;
}


/* フェードアウトアニメーション */
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}





@media screen and (max-width: 768px) {
  .hero-cta.pc_only{
    display: none
      }
  .hero-cta.sp_only{
    display: block;
    position: relative;
    padding: 20px;
  }
  .hero-cta.sp_only:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 30%;
    bottom: -30px;
    left: 0;
    z-index: 2;
    background: linear-gradient(180deg, #fffce2, transparent);
}
.hero-cta.sp_only:after{
  content: "";
    position: absolute;
    width: 100%;
    height: 30%;
    top: -30px;
    left: 0;
    z-index: 2;
    background: linear-gradient(0deg, #fffce2, transparent);
} 
  .hero-cta a {
    margin-top: 0;
    font-size: 18px;
    width: 90%;
    margin: auto;
    display: block;
}
  .hero-cta {
    width: 100%;
    margin: auto;
}
  
  section.hero{
    top: 0;
  left: 0;
  background-position: left;
    background-image: url(../images/sp-mv-af.jpg);
  }
  /* スマホ用：sp画像に切り替えたい場合 */
  section.hero::before {
    background-position: left;
    background-image: url("../images/sp-mv-1st.jpg"); /* スマホ用の別画像を使う場合 */
  }
  
  .hero-group {
    width: 80%;
    margin: auto;
    position: inherit;
    top: 20%;
    left: 0%;
    /* transform: translate(-5%, -40%); */
}

}




/* ---------------------------
  イントロ
---------------------------- */
.intro {
  text-align: center;
}

section.intro {
  background-image: url(../images/intro-bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  height: 100vh;
  padding-bottom: 100px;
  position: relative;
  z-index: 1;
}
section.intro:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 20%;
  bottom: -10px;
  left: 0;
  z-index: -1;
  background: linear-gradient(0deg, #fffce2, transparent);
}

.intro img {
  max-width: 50%;
  margin-top: 50px;
}

.intro p {
  font-size: 18px;
  line-height: 1.8;
}

.intro-text-box{
  display: flex;
  flex-direction: row-reverse;
}
.intro p.intro-text{
  margin-top: 50px;
  text-align: left;
  font-weight: bold;
  /*position: absolute;*/
  width: 60%;
  /*top: 4%;
  right: 5%;*/
  background-color: #fffce1d6;
  padding:100px;
  border-radius: 50%;
}
.intro-text-box.sp_only{
  display: none;
}

@media screen and (max-width: 768px) {
  section.intro {
    background-image: url(../images/sp-intro-bg.jpg);
    height: auto;
    padding-bottom: 0;
  }
  .intro-text-box.sp_only{
    display: block;
  }
  .intro-text-box {
    display: block;
}

.intro p.intro-text {
  margin-top: 50px;
  text-align: left;
  font-weight: bold;
  /* position: absolute; */
  width: 100%;
  background-color: #fffce28f;
  padding: 20px;
  border-radius: 15px;
}
.intro p {
  font-size: 16px;
}

.intro img {
  max-width: 100%;
}

}

/* ---------------------------
  ニュースリスト
---------------------------- */


.news h2 {
  font-size: 24px;
  color: #85A222;
  margin-bottom: 20px;
}

.news-list {
  list-style: none;
  padding: 0;
  font-size: 16px;
}

.news-list li {
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
}

.news-list span {
  font-weight: bold;
  margin-right: 1em;
}

.news-list-section {
  background: white;
  border: 4px solid #85A222;
  border-radius: 40px;
  padding: 60px 40px;
  margin-bottom: 100px;
  display: flex;
  gap: 60px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}
.news-heading {
  flex: 0 0 200px;
  text-align: center;
}
.news-heading h2,
.news-heading p {
  color: #85A222;
  font-weight: bold;
  margin: 0;
}
.news-heading h2 {
  font-size: 40px;
}
.news-heading p {
  font-size: 20px;
  margin-top: 5px;
}
.news-list-wrapper {
  flex: 1;
}
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.news-list li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  font-size: 16px;
  flex-direction: row;
}
.news-list li a {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: inherit;
  padding: 15px 0;
  flex-direction: row;
}
.news-list li a:hover {
  opacity: 0.7;
}
.news-list .category {
  display: inline-block;
  background: #85A222;
  color: white;
  border-radius: 9999px;
  padding: 5px 15px;
  font-size: 14px;
  font-weight: bold;
  min-width: 90px;
  text-align: center;
}
.news-list time {
  font-weight: bold;
  white-space: nowrap;
  color: #472A18;
}
.news-list .title {
  color: #472A18;
  margin: 0;
  font-weight: normal;
  text-align:left;
}

@media screen and (max-width: 768px) {
  
  .news-list-section {
    gap: 10px;
    padding: 20px 20px;
    margin-bottom: 0;
    display: block;
}
  .news-heading h2 {
    font-size: 28px;
  }
  .news-heading p {
    font-size: 16px;
  }
  .news-list li,
  .news-list li a {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .news-list li a{
    padding: 0;
  }
}


/* ---------------------------
  Q1
---------------------------- */
.question-block {
  padding: 0px 20px 80px;
  color: #472A18;
  font-family: "Yu Gothic", sans-serif;

}
#q1{
  padding-top:480px ;
}
.question-block .inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.q-number {
  font-family: "Cabin", sans-serif;
    font-size: 180px;
    color: #d6dbb6;
    font-weight: bold;
    margin-bottom: -60px;
}
.q-title {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 40px;
}
.q-desc {
  font-size: 18px;
  margin-bottom: 40px;
  line-height: 1.5em;
}
.q-image-group img {
  max-width: 80%;
  margin: 0px auto 40px;
}

.q-text p {
  font-size: 20px;
  font-weight: bold;
  line-height: 2;
  margin-bottom: 1.5em;
}
.highlight-text {
  display: inline;
  background: linear-gradient(transparent 50%, #fff18d 50%);
}


/*詳しくボタン*/
.more-btn {
  background: #472a18;
  color: #fff;
  width: 80%;
  margin: auto;
  padding: 20px;
  font-size: 20px;
  font-weight: bold;
  border-radius: 40px;
}

.more-btn a {
  display: block;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .q-image-group img {
    max-width: 100%;
  }
  #q1{
    padding-top: 0;
  }
  .q-number{
    font-size: 100px;
  }
  .q-title{
    font-size: 28px;
  }
  .q-desc{
    font-size: 16px;
  }
  .question-block{
    padding: 0px 0px 80px;
  }

  .q-text p {
    font-size: 16px;
    line-height: 1.5em;
}
/*詳しくボタンレスポンシブ*/
.more-btn {
  width: 100%;
  padding: 15px;
  font-size: 18px;
}

}


/* ---------------------------
  Q2
---------------------------- */
.sense-section {
  background: #fefbe5;
  padding: 60px 0px;
  font-family: "Yu Gothic", sans-serif;
  color: #472A18;
}

.sense-section .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.sense-box-group {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.sense-box {
  width: 100%;
  max-width: 50%;
  border-radius: 16px;
  overflow: hidden;
  border: 0px solid #85A222;
  background: #fff;
  box-shadow: 0 0 0 4px #85A222 inset;
}

.sense-title {
  font-family: "Zen Kurenaido", sans-serif;
  background: #85A222;
  color: white;
  padding: 16px;
  font-size: 25px;
  font-weight: bold;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  text-align: center;
}

.sense-body {
  padding: 20px;
  text-align: left;
  font-size: 16px;
  line-height: 1.8;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

@media screen and (max-width: 768px) {
  .sense-box {
    max-width: 100%;
    margin-bottom:30px;
  }
  .sense-box-group{
    display: block;
  }
  .sense-section{
    padding: 0;
  }
 
}


/* ---------------------------
  Q3
---------------------------- */

.video-box {
  background: #fff;
  border: 4px solid #85A222;
  border-radius: 20px;
  overflow: hidden;
  max-width: 100%;
  margin: 40px auto;
  box-shadow: 0 0 0 4px #85A222 inset;
  font-family: "Yu Gothic", sans-serif;
}

.video-title {
  font-family: "Zen Kurenaido", sans-serif;
  background: #85A222;
  color: #fff;
  padding: 16px;
  font-size: 25px;
  font-weight: bold;
  text-align: center;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 アスペクト比 */
  height: 500px;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.q-image-group.flex {
  display: flex;
  width: 100%;
}
.q-image-group.flex img {
  width: calc(100% / 4 - 10px);
  /* margin-right: 10px; */
}
@media screen and (max-width: 768px) {
  .q-image-group.flex {
    flex-wrap: wrap;
}
.q-image-group.flex img {
  width: calc(100% / 2 - 10px);
  /* margin-right: 10px; */
  margin: 0px auto 20px;
}

.video-wrapper {
  height: 315px;
}



}

/* ---------------------------
  Q4
---------------------------- */
#q4 > .q-image-group.flex img {
  width: calc(100% / 3 - 10px);
  /* margin-right: 10px; */
}

.q4-flex {
  display: flex;
  justify-content: space-around;
  color: #85a222;
  font-weight: bold;
  margin:40px 0;
}

.q4box {
  width: calc(100% / 4 - 10px);
  border: 1px solid;
  border-radius: 50%;
  position: relative;
  height: 225px;
}

.q4box p {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 20px;
  line-height: 1.5em;
}

@media screen and (max-width: 768px) {
  .q4box {
    width: calc(100% / 2 - 10px);
    height: 160px;
  }
  .q4-flex {
      flex-wrap: wrap;
  }
}

/* ---------------------------
  メンバー紹介とアウトリーチ
---------------------------- */


.member-section,.outreach-section {
  background: #fefbe5;
  padding: 60px 20px;
  font-family: "Yu Gothic", sans-serif;
  color: #472A18;
  text-align: center;
}

.member-section .inner {
  max-width: 1100px;
  margin: 0 auto;
}
/*
.member-heading {
  font-size: 28px;
  color: #85A222;
  font-weight: bold;
  margin-bottom: 10px;
}

.member-subheading {
  font-size: 20px;
  margin-bottom: 40px;
}*/

.member-grid {
  display: flex;
  justify-items: center;
  flex-wrap: wrap;
  justify-content:flex-start;
  margin-bottom: 1.5em;
}

.member-card {
  width: calc(100% / 4 - 10px);
  /* max-width: 160px; */
  margin-bottom: 20px;
  margin-right:10px;
  
}

.member-photo {
  width: 100%;
  /*padding-top: 100%; /* 1:1アスペクト比 */
  background: #ccc;
  border-radius: 16px;
  margin-bottom: 10px;
}

.member-role {
  font-size: 16px;
  color: #472A18;
  text-align: left;
}

.member-name-ja {
  font-size: 26px;
  font-weight: bold;
  margin: 2px 0;
  text-align: left;
}

.member-name-en {
  font-size: 12px;
  color: #472A18;
  text-align: left;
}
.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}
.member-section h2,.outreach-section h2 {
  color: #472A18;
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 50px;
}
.member-section h2 span,.outreach-section h2 span {
  color: #85A222;
}

@media screen and (max-width: 768px) {
  .member-section h2,.outreach-section h2 {
    font-size: 32px;
  }
  .member-section, .outreach-section{
    padding: 60px 0;
  }
  .member-card {
    width: calc(100% / 2 - 10px);
    /* max-width: 160px; */
}
}
@media screen and (max-width: 480px) {
  .member-section h2,.outreach-section h2 {
    font-size: 28px;
  }
  .member-role{
    font-size: 13px;
  }
  .member-name-ja{
    font-size: 18px;
  }
}

/* ---------------------------
  アウトリーチ活動
---------------------------- */
.outreach-section .q-image-group img{
  width: 70%;
}

/* ---------------------------
  私たちについて
---------------------------- */
.about-section {
  background: #ffffff;
  padding: 80px 20px;
  font-family: "Yu Gothic", sans-serif;
  color: #472A18;
  margin-bottom: 100px;
}

.about-section .inner {
  max-width: 1200px;
  margin: 0 auto;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.about-text {
  flex: 1 1 500px;
}

.about-label {
  color: #85A222;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 8px;
  margin-left: 20px;
}
.left-line{
  position: relative;
}

.left-line::before {
  content: '';
  position:absolute;
  display: inline-block;
  width: 8px;
  height: 100%;
  background: #85A222;
  margin-right: 8px;
  vertical-align: middle;
}

.about-heading {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 24px;
  margin-left: 20px;
}

.about-description {
  font-size: 16px;
  line-height: 2;
}

.about-image {
  flex: 1 1 400px;
  text-align: center;
}

.about-image img {
  max-width: 80%;
  height: auto;
}
@media screen and (max-width: 768px) {
  .about-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-text {
    text-align: left;
    flex: auto;
  }
  .about-image{
    flex:auto;
  }
  .about-label::before {
    display: none;
  }
  .about-section{
    padding: 60px 0;
  }
}




/* ---------------------------
  お問い合わせ
---------------------------- */
.contact {
  text-align: center;
}
.contact h2 {
  color: #472A18;
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 50px;
}
.contact h2 span {
  color: #85A222;
}
.contact p.lead {
  margin-bottom: 50px;
}
.contact-box {
  background: #fff;
  border-radius: 30px;
  padding: 50px 70px;
  border: 2px solid #85a222;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
}
.contact-box h3 {
  font-size: 24px;
  font-weight: bold;
  color: #85a222;
  margin-bottom: 10px;
}
.contact-box p {
  margin-bottom: 8px;
}
.contact-cta {
  width: 30%;
}
.contact-cta .btn {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 10px;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
}
.contact-cta .btn.mail {
  background: #85a222;
  color: #fff;
}
.contact-cta .btn.tel {
  background: #fff;
  color: #85a222;
  border: 1px solid #85a222;
}

@media screen and (max-width: 768px) {
  .contact h2 {
    font-size: 32px;
  }
  .contact-box {
    flex-direction: column;
    padding: 30px 20px;
    align-items: flex-start;
    gap: 20px;
  }
  .contact-cta {
    width: 100%;
  }
}
@media screen and (max-width: 480px) {
  .contact h2 {
    font-size: 28px;
  }
  .contact-box {
    padding: 20px;
  }
  .contact-box h3 {
    font-size: 20px;
  }
  .contact-box p,
  .access p {
    font-size: 13px;
  }
  .contact-cta .btn {
    font-size: 14px;
    padding: 10px;
  }
}

/* ---------------------------
  フッター
---------------------------- */
.footer-inner {
  background: #85A222;
}
.footer-info {
  color: #fff;
  padding: 20px 0;
  display: flex;
  justify-content: space-around;
  max-width: 1200px;
  margin: 0 auto 50px;
}
.footer-nav {
  width: 40%;
}
.footer-access-info {
  width: 60%;
  display: flex;
}
.footer-univ-logo {
  width: 50%;
  margin-right: 20px;
}
.footer-univ-logo img {
  width: 100%;
}
footer .copy-right {
  background: #553c2d;
  color: #fff;
  text-align: center;
  padding: 20px;
}

@media screen and (max-width: 768px) {
  .footer-info {
    flex-direction: column;
    gap: 30px;
    padding: 20px;
  }
  .footer-nav,
  .footer-access-info {
    width: 100%;
  }
  .footer-access-info {
    flex-direction: column;
  }
  .footer-univ-logo {
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
  }
  .footer-univ-logo img {
    width: 80%;
    max-width: 200px;
  }
}