/*------------------------------------all--------------------------------------*/

body {
  font-family: Arial, "Yu Gothic", "Meiryo", sans-serif;
}

header {
  position: sticky;
  top: 0;
  background-color: rgba(148, 203, 223, 0.6);
  padding: 16px 24px;
  z-index: 1000;
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.nav-bar a {
  text-decoration: none;
  color: #333333;
  font-weight: bold;
}

.nav-left {
  display: flex;
  gap: 24px;
}

.lang-switch {
  display: flex;
  gap: 8px;
  font-weight: bold;
}

.lang-switch a {
  text-decoration: none;
  color: #333;
}

.lang-switch a:hover {
  text-decoration: underline;
}

body {
  font-family: Arial, "Yu Gothic", "Meiryo", sans-serif;
  background-color: #f5f5f5;
    /* background-image:
        linear-gradient(rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.45)),
        url("images/DJlogo.jpg");
    background-position: center center;
    background-color: rgba(235, 209, 175, 0.863); */
}

.contact {
  background-color: rgba(99, 195, 240);
  /* position: fixed; */
  bottom: 0;
  left: 0;
  width: 100%;
}

/*---------------------------------index----------------------------------*/
section.hero {
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 10%;

  position: relative;

  background-color: #ede9ddff;
  /* background-image: url("images/index/Logo2.png");
  background-size: cover;
  background-position: left center; */
}

section.hero .hero-logo {
  position: absolute;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  /* transform: translate(-50%, -50%); */
}

section.hero .hero-logo .logo {
  max-height: auto;
  width: 415px;
  /* max-width: 100%; */
  /* height: 300px; */
  height: auto;
}

section.hero .hero-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;

}

section.hero h1 {
  font-size: 52px;
  margin-bottom: 10px;
}

section.hero h2 {
  font-size: 35px;
  margin-bottom: 20px;
  font-weight: normal;
}

section.hero p {
  font-size: 25px;
  line-height: 1.6;
}

.hero-title h1,
.hero-title h2,
.hero-title p {
  color: black;
  text-shadow:
    -2px 0 white,
    2px 0 white,
    0 -2px white,
    0  2px white,
    -2px -2px white,
    2px -2px white,
    -2px  2px white,
    2px  2px white;
}

section.intro {
  display: flex;
  gap: 5%;
  padding: 40px 10% 60px 10%;
  align-items: stretch;
}

section.intro .welcome,
section.intro .next {
  width: 50%;
  background-color: rgba(255, 240, 220, 0.9);
  border: 2px solid #5a4634;
  border-radius: 15px;
  padding: 30px;
  box-sizing: border-box;
}

section.intro .welcome h2,
section.intro .next h2 {
  margin-bottom: 20px;
  font-size: 28px;
}

section.intro .welcome p,
section.intro .next p {
  font-size: 18px;
  line-height: 1.7;
  margin: 10px 0;
}

section.intro .next {
  text-align: center;
}

section.intro .next .next-link {
  margin-top: 20px;
}

section.intro .next .next-link a {
  display: inline-block;
  color: white;
  background-color: #d3a467f3;
  padding: 10px 18px;
  text-decoration: none;
  border-radius: 5px;
}

section.intro .next .next-link a:hover {
  opacity: 0.9;
}
/*---------------------------------Über uns----------------------------------*/


section.selfintro {
  position: relative;
  padding: 50px 10% 20px 10%;
  height: 60vh;
  background-color: #ede9ddff;
}

section.selfintro h1 {
  position: absolute;
  max-width: 900px;
  text-align: center;
  line-height: 1.8;
  margin: 0 auto;
  font-size: 30px;
  font-weight: normal;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

section.selfintro h1 {
  color: black;
  text-shadow:
    -2px 0 white,
    2px 0 white,
    0 -2px white,
    0  2px white,
    -2px -2px white,
    2px -2px white,
    -2px  2px white,
    2px  2px white;
}


section.selfintro .selfimages {
  position: absolute;
  inset: 0;
  z-index: 0;
}

section.selfintro .selfimages .img1{
  position: absolute;
  width: 500px;
  left: 0%;
  top: 7%;
  transform: rotate(-8deg);
}

section.selfintro .selfimages .img2{
  position: absolute;
  width: 400px;
  right: 3%;
  top: 20%;
  transform: rotate(12deg);
}

section.purpose {
  padding: 20px 10% 50px 10%;
}

section.purpose .shortintro {
  max-width: 1000px;
  margin: 0 auto 40px auto;
  text-align: center;
  line-height: 1.8;
  font-size: 24px;
  font-weight: normal;
}

section.purpose .shortintro h2 {
    z-index: 2;
}

section.purpose h1,
section.activity h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 36px;
  flex-wrap: wrap;
}

section.purpose .purpose-items {
  display: flex;
  gap: 30px;
  justify-content: center;
}

section.purpose .purpose-items p {
  width: 30%;
  font-size: 20px;
  line-height: 1.7;
  background-color: rgba(255, 240, 220, 0.9);
  border: 2px solid #5a4634;
  border-radius: 15px;
  padding: 25px 20px;
  box-sizing: border-box;
  text-align: center;
  width: 300px
}

section.activity {
  padding: 10px 10% 60px 10%;
}

section.activity .row {
  display: flex;
  gap: 40px;
  justify-content: center;
}

section.activity .row .column1,
section.activity .row .column2 {
  width: 45%;
  background-color: rgba(255, 240, 220, 0.9);
  border: 2px solid #5a4634;
  border-radius: 15px;
  padding: 30px 25px;
  box-sizing: border-box;
}

section.activity h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

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

section.activity h4 {
  margin-top: 25px;
  font-size: 20px;
  line-height: 1.6;
}

section.activity a {
  display: inline-block;
  color: white;
  background-color: #d3a467f3;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 5px;
  margin-left: 8px;
}

/*---------------------------------Termine----------------------------------*/

section.next-meeting {
  position: relative;
  /* margin: 30px 0 60px 0; */
  /* height: 120vh; */
  background-color: #fbf3e6ff;
  padding: 30px 0 60px 0;
}

section.next-meeting h1 {
  text-align: center;
  margin: 0 0 25px 0;
  /* margin-bottom: 25px; */
}

section.next-meeting .termin-img {
  display: block;
  width: 500px;
  max-width: 90%;
  height: auto;
  margin: 0 auto 30px auto;
}

section.next-meeting .meeting1 {
  display: flex;
  flex-direction: column;
  text-align: center;
  background-color: rgb(178, 217, 230);
  border: 4px solid #000000;
  border-radius: 15px;
  margin: 0 20%;
  padding: 25px 30px;
  box-sizing: border-box;
}

section.next-meeting .meeting1 h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

section.next-meeting .meeting1 h3 {
  font-size: 18px;
  margin: 6px 0;
}

section.next-meeting .meeting1 p {
  font-size: 18px;
  line-height: 1.6;
  margin-top: 18px;
}

section.all-events {
  margin: 40px 0 60px 0;
}

section.all-events h1 {
  text-align: center;
  margin-bottom: 30px;
}

section.all-events .event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding: 0 10%;
}

section.all-events .event-card {
  text-align: center;
  border-radius: 15px;
  border: 2px solid #5a4634;
  padding: 20px 20px;
  box-sizing: border-box;
}

section.all-events .event-card.regular {
  background-color: rgba(228, 174, 174, 0.95);
}

section.all-events .event-card.culture {
  background-color: rgba(136, 219, 150, 0.95);
}

section.all-events .event-card .category {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: bold;
  background-color: rgba(252, 252, 252, 0.75);
}

section.all-events .event-card h3 {
  font-size: 24px;
  margin: 10px 0 15px 0;
}

section.all-events .event-card p {
  font-size: 17px;
  line-height: 1.5;
  margin: 6px 0;
}

section.all-events h2 {
  text-align: center;
  margin-top: 35px;
  font-size: 22px;
}

section.all-events h2 a {
  color: white;
  background-color: #d3a467f3;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 4px;
  margin-left: 8px;
}

/*---------------------------------Event----------------------------------*/

section.event-page-title {
  text-align: center;
  padding: 3% 15%;
}

section.event-page-title h1 {
  font-size: 40px;
  margin-bottom: 15px;
}

section.event-page-title p {
  font-size: 20px;
  line-height: 1.6;
}

section.coming-events {
  background-color: #fbf3e6ff;;
}

section.coming-events .event-cards .grill {
  position: relative;
  width: fit-content;
  margin: 0 auto 40px auto;
}

section.coming-events .grill .event-img1 {
  display: block;
  width: 1110px;
  max-width: 90%;
  height: auto;
  margin: 0 auto 30px auto;
}

section.coming-events .event-cards .grill .card1 {
  background-color: rgba(224, 230, 174, 0.95);
  border: 3px solid #000a06;
  border-radius: 15px;
  padding: 20px 25px;
  text-align: center;
  box-sizing: border-box;
}


section.coming-events .event-cards .cook {
  position: relative;
  width: fit-content;
  margin: 0 auto 40px auto;
}

section.coming-events .cook .event-img2 {
  display: block;
  width: 1000px;
  max-width: 90%;
  height: auto;
  margin: 0 auto 30px auto;
}

section.coming-events .cook .card2 p {
  font-size: 20px;
}

section.coming-events h2,
section.past-events h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 30px;
}
/* 
section.coming-events,
section.past-events {
  padding: 2% 10%;
}

section.coming-events h2,
section.past-events h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 30px;
}

section.coming-events .event-cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 0 15%;
}

section.coming-events .event-card {
  background-color: rgba(224, 230, 174, 0.9);
  border: 3px solid #000a06;
  border-radius: 15px;
  padding: 20px 25px;
  text-align: center;
}

section.coming-events .event-card h3 {
  font-size: 26px;
  margin-bottom: 15px;
}

section.coming-events .event-card p {
  font-size: 18px;
  line-height: 1.6;
  margin: 8px 0;
} */

section.past-events p {
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
  padding: 0 20%;
}

section.past-events {
  text-align: center;
  margin-top: 60px;
}

section.past-events .setsubun-event {
  position: relative;
  width: 800px;
  height: 800px;
  margin: 40px auto;
}

section.past-events .setsubun-event .photo {
  position: absolute;
  width: 420px;
  height: 420px;
  object-fit: cover;
  border-radius: 10px;
  border: 5px solid white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

section.past-events .setsubun-event .p1 {
  top: 300px;
  left: -50px;
  transform: rotate(-8deg);
}

section.past-events .setsubun-event .p2 {
  width: 600px;
  top: 0;
  left: 140px;
  transform: rotate(3deg);
  z-index: 2;
}

section.past-events .setsubun-event .p3 {
  top: 330px;
  left: 360px;
  transform: rotate(10deg);
}

/*---------------------------------Link----------------------------------*/

section.link-page {
  text-align: center;
  padding: 40px 0;
}

section.link-page h1 {
  font-size: 40px;
  margin-bottom: 30px;
}

.link-container {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.link-card {
  background-color: rgba(255, 240, 220, 0.9);
  border: 2px solid #5a4634;
  border-radius: 15px;
  padding: 30px 25px;
  width: 250px;
}

.link-card h2 {
  margin-bottom: 20px;
}

.link-button {
  display: inline-block;
  margin-bottom: 20px;
  padding: 10px 15px;
  background-color: #d3a467f3;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.qr {
  width: 150px;
  height: 150px;
}