@charset "utf-8";

/* =======================
   BASE
======================= */
:root{
  --bg: #ffffff;
  --text: #111111;
  --subtext: #555;
  --accent: #0aa7ff;
  --card: #eef6ff;
  --border: #ddd;
  --max: 1100px;
}

*{ box-sizing: border-box; }

html, body{
  margin: 0;
  padding: 0;
}

body{
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", "Hiragino Sans", "Noto Sans JP", sans-serif;
  line-height: 1.7;
}

img{
  max-width: 100%;
  height: auto;
  display: block;
}

a{
  color: var(--accent);
  text-decoration: none;
}
a:hover{ opacity: .8; }

/* =======================
   HEADER
======================= */
.header{
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.header-inner{
  width: min(var(--max), 92vw);
  margin: 0 auto;
  padding: 16px 0;
}

.menu{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.menu a{
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

/* =======================
   HERO
======================= */
.hero{
  width: min(var(--max), 92vw);
  margin: 0 auto;
  padding: 60px 0 40px;
  text-align: center;
}

.hero-img-wrap{
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.hero-img-wrap img{
  max-width: 420px;
}

.lead{
  font-size: clamp(20px, 4vw, 32px);
  font-weight: 800;
  letter-spacing: .05em;
}

.pizadousuru{
  margin-top: 40px;
  padding: 24px;
  border-radius: 20px;
  background: var(--card);
  text-align: center;
}

.pizadousuru h3{
  margin-bottom: 12px;
  font-size: 20px;
}

.pizadousuru img{
  margin: 0 auto 12px;
  max-width: 300px;
}

.btn{
  display: inline-block;
  margin-top: 10px;
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
}

/* =======================
   PIZZA + MOVIE
======================= */
.pizadousuru-wrap{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 40px;
}

/* YouTube */
.pizadousuru-movie{
  position: relative;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 20px;
  overflow: hidden;
  background: #000;
}

.pizadousuru-movie iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* 右側カード（今のデザインそのまま活かす） */
.pizadousuru{
  padding: 24px;
  border-radius: 24px;
  background: var(--card);
  text-align: center;
}

@media (max-width: 768px){
  .pizadousuru-wrap{
    grid-template-columns: 1fr;
  }
}


/* =======================
   BLOG
======================= */
.ourteam{
  width: min(var(--max), 92vw);
  margin: 80px auto;
  text-align: center;
}



.slider{
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.slide{
  min-width: 240px;
}

.img-wrap{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.caption{
  padding: 10px;
  font-size: 14px;
  font-weight: 600;
}

/* =======================
   TEAM
======================= */
.yakuinn{
  width: min(var(--max), 92vw);
  margin: 80px auto;
}

.team-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
}

.member-card{
  text-align: center;
}

.member-photo-wrap{
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
}

.member-role{
  font-size: 12px;
  color: var(--subtext);
  margin-top: 8px;
}

.member-name-ja{
  font-weight: 700;
}

/* =======================
   JOLLY SECTION
======================= */
.jolly{
  width: min(var(--max), 92vw);
  margin: 100px auto;
}

/* タイトルは中央 */
.jolly-title{
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
}

/* ロゴ＋文章 横並び */
.jolly-body{
  display: flex;
  gap: 40px;
  align-items: center;
}

/* ロゴ */
.jolly-logo img{
  max-width: 260px;
}

/* 文章 */
.jolly-text{
  max-width: 520px;
}

.jolly-text p{
  color: var(--subtext);
  margin-bottom: 20px;
}

/* =======================
   FOOTER
======================= */
.footer{
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
  font-size: 12px;
}
@media (max-width: 768px){

  /* Jollyセクション：スマホは縦並び */
  .jolly-body{
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
  }

  /* ロゴは大きすぎないように */
  .jolly-logo img{
    max-width: 220px;
    width: 80%;
    margin: 0 auto;
  }

  /* 文章の幅をちゃんと確保して読みやすく */
  .jolly-text{
    max-width: 520px;
    width: 100%;
  }

  .jolly-text p{
    text-align: left;     /* 中央だと読みにくいなら左寄せ */
    font-size: 14px;
    line-height: 1.8;
  }

  /* タイトルは中央のまま */
  .jolly-title{
    text-align: center;
  }
}
