@charset "utf-8";

/* 変数定義 */
:root {
  --main-color: #f28c28;       /* メインの濃オレンジ */
  --accent-color: #ffcc80;     /* サブオレンジ（カード/背景） */
  --light-bg: #fff3e0;         /* ページ背景の柔らかオレンジ */
  --hover-bg: #ffe0b2;         /* ホバー時などの明るいオレンジ */
  --text-color: #3d2c00;       /* 濃い茶色系でオレンジと調和 */
  --link-color: var(--main-color);
  --border-color: #ddd;     /* 薄オレンジ系の枠線色 */
}



/* 共通 */

html {
  font-family: sans-serif;
  background: #f9f9f9;
  color: var(--text-color);
}
html, body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}
ul {
  list-style: none;
}
a {
  color: var(--link-color);
  text-decoration: none;
  transition: 0.2s;
}
a:hover {
  opacity: 0.7;
}

h1 {
  overflow: hidden;
  font-size: 20px;
}
h1 div {
  display: flex;
  align-items: center;
}
h1 img {
  display: block;
  height: 40px;
  margin-right: 10px;
}
.iframe-aspect {
  width: 100%;
  height: 0;
  padding-top:20px;
  padding-bottom: 56.25%; /* 16:9比率 */
  position: relative;
  overflow: hidden;
}
.iframe-aspect iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  transform: translateX(-0.5px);
}

/* ヘッダー＆メニュー */
header {
  padding: 10px;
  position: fixed;
  width: 100vw;
  background: rgba(255, 255, 255, 0.95);
  height: 60px;
  border-bottom: 1px solid var(--border-color);
  display: none;
  z-index: 5;
  color: var(--text-color);
}
.sub-title {
  margin-left: 20px;
  color: var(--text-color);
  padding-top: 10px;
  font-weight: bold;
}
.side-logo {
  display:block;
}
.side-bar {
  position: fixed;
  width: 240px;
  z-index: 4;
  min-height: 100vh;
  background: #ffffff;
  color: var(--text-color);
  border-right: 1px solid var(--border-color);
}
.side-bar-top {
  background: var(--light-bg);
  padding: 0;
}
.nav-menu li {
  display: block;
  padding: 15px 30px 15px 20px;
  border-bottom: solid #eee 1px;
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  transition: 0.2s;
}
.nav-menu li:hover {
  background: var(--hover-bg);
}
.hamburger-menu {
  display: none;
}
.shacho-btn {
  width: 200px;
  margin: 0 auto;
  background: var(--main-color);
  height: 50px;
  justify-content: center;
  font-size: 18px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  color: #fff;
}
.shacho-btn:hover {
  transition: 0.2s;
  opacity: 0.8;
}

/* メイン */

.main {
overflow: hidden;
  padding-left: 240px;
  min-height: 100vh;
  background: #ffffff;
  color: var(--text-color);
  position: relative;
width:100%;
}
.main-content {
  padding: 1rem;
  min-height: 100vh;
  max-width: 94%;
  margin: 0 auto;
}

/* ホーム */

.background-video {
  position: absolute;
  z-index: 1;
  width: calc(100vw - 240px);
  height: auto;
  overflow: hidden;
}
.background-video img {
  width: 100%;
  height: auto;
}
.video-over {
  z-index: 2;
  position: absolute;
  background: linear-gradient(rgba(255, 255, 255, 0), #ffffff);
  width: calc(100vw - 240px);
  height: 500px;
  overflow: hidden;
}
.video-menu-bar {
  display: flex;
  justify-content: space-around;
  padding-bottom: 20px;
  width: 94%;
  margin: 0 auto;
}
.video-menu {
  width: 22%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 10px;
  background: linear-gradient(to left, var(--accent-color), #fff);
  cursor: pointer;
}
.video-menu-img {
  padding-top: 56.25%;
  width: 100%;
  position: relative;
}
.video-menu-img img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.main-home {
  position: relative;
  z-index: 3;
  background: #ffffff;
  margin-top: 500px;
  min-height: 100vh;
  padding: 1rem;
}
.bana {
  width: 94%;
  display: block;
  margin: 0 auto;
}
.home-wrapper {
  max-width: 94%;
  margin: 0 auto;
  margin-top: 30px;
}
.home-video-menu {
  width: 22%;
  background: none;
  margin-bottom: 50px;
}
.home-video-bar {
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
  margin: 30px auto;
  flex-wrap: wrap;
}
.home-title {
  padding:0 60px;
}
.home-title h3 {
  font-size: 36px;
}
.balloon1-top {
  position: relative;
  display: inline-block;
  margin: 1.5em auto;
  padding: 7px 20px;
  min-width: 120px;
  max-width: 500px;
  font-size: 1.5rem;
  background: sandybrown;
  border-radius:20px;
  font-weight:bold;
}
.balloon1-top:before {
  content: "";
  position: absolute;
  top: -29px;
  left: 50%;
  margin-left: -15px;
  border: 15px solid transparent;
  border-bottom: 15px solid sandybrown;
}
.balloon1-top p {
  margin: 0;
  padding: 0;
  padding-bottom:1px;
  text-align:center;
}

/* 番組一覧 */

.program-gen {
  display: flex;
  justify-content: space-between;
  margin: 30px auto;
}
.program-gen-content {
  background: var(--light-bg);
  width: 150px;
  padding: 10px;
  border-radius: 10px;
  color: var(--text-color);
  text-align: center;
  font-weight: bold;
}
.program-title {
line-height: 1.4em; /* 例: 16pxのフォントなら約19px */
max-height: calc(1.4em * 2); /* 2行分 */
  max-width: 100%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-top: 10px;
}
.program-video-menu {
  width: 22%;
  margin-bottom: 50px;
}
.program-video-bar {
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
  margin: 30px auto;
  flex-wrap: wrap;
}

/* 視聴ページ */

.video-article {
  width: 70%;
  min-width: 500px;
}

/* スタジオ */

.studio-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}
.studio-photo img {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-button {
  text-align: center;
  padding: 10px 0;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  margin-top: 10px;
}
.studio-video-menu {
  width: 15%;
}
.studio-img-bar {
  display: flex;
  margin: 10px 0;
  justify-content: space-between;
}

/* サポーターの声 */

.snsbtniti {
  display: flex;
  margin-left: 16px;
}
.snsbtniti li {
  margin-left: 10px;
}
.friends-box {
  display: flex;
  margin-top: 30px;
  padding: 20px;
  border-bottom: 1px solid #ccc;
}
.friends-box img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 30px;
}
.friends-comment {
  margin-top: 16px;
  background: var(--light-bg);
  border-radius: 5px;
  min-height: 175px;
  padding: 1rem;
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

/* アニメーション */

.fadeIn {
  animation-name: fadeInAnime;
  animation-duration: 2s;
  animation-fill-mode: forwards;
  opacity: 0;
}
.slideIn,
.slideIn2,
.slideIn3 {
  animation: slideIn 1s cubic-bezier(0.35, 1, 0.5, 1) forwards;
}
@keyframes fadeInAnime {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.fadeInTrigger {
  opacity: 0;
}

/* スマホデザイン */

@media screen and (max-width: 768px) {
  header {
  display: flex;
    flex-direction: column-reverse;
    align-items: center;
  }
  h1 img {
    height: 24px;
  }
  .sub-title {
    margin-left: 0;
    padding-top: 0;
    font-weight: bold;
    font-size: 10px;
  }
.balloon1-top {
    display:none;
  }
  .side-logo {
    display:none;
  }
  .hamburger-menu {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: 0.2s;
  }
  .hamburger-menu:hover {
    background: #eee;
  }
  .hamburger-line {
    margin: 3px auto;
    width: 30px;
    height: 2px;
    background-color: #666;
  }
  .active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .side-bar {
    display: none;
    width: 100vw;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
  }
  .side-bar-inner {
  padding-top: 60px;
    background: #ffffff;
    min-height: calc(100vh - 60px);
    width: 70vw;
  }
  .active + .side-bar {
    display: block;
  }
  .main {
  padding-top: 60px;
    padding-left: 0;
  }
  .main-content {
    max-width: 100%;
  }
  .background-video,
  .video-over {
    width: 100vw;
  }
  .video-over {
    height: calc(100vw * 0.56);
  }
  .video-menu-bar {
    width: 98%;
  }
  .main-home {
    margin-top: calc(100% * 0.56);
  }
  .bana,
  .home-wrapper {
    width: 98%;
    max-width: 98%;
  }
  .home-video-menu {
    min-width: 50%;
    padding: 0 10px;
  }
  .home-video-bar {
    flex-wrap: wrap;
  }
  .home-title {
    padding: 0;
    padding-top: calc(100vw * 0.2);
    padding-left: 16px;
  }
  .home-title h3 {
    font-size: 20px;
  }
  .home-title p {
    font-size: 12px;
  }
  .program-gen {
    display: none;
  }
  .program-video-menu {
    min-width: 50%;
    padding: 0 10px;
    margin-bottom: 30px;
    background: none;
  }
  .studio-video-menu {
    width: 30%;
    margin-bottom: 10px;
  }
  .studio-img-bar {
    flex-wrap: wrap;
  }
  .studio-h3 {
    border-left: 5px solid #ccc;
    padding: 8px 0 16px 12px;
  }
  .friends-box {
    flex-direction: column;
    align-items: center;
  }
  .friends-box img {
    margin-right: 0;
    margin-bottom: 20px;
  }
  .recom {
    display: none;
  }
  .video-article {
    width: 100%;
    min-width:100%;
  }
  .article-h2 {
    font-size: 20px;
  }

  @keyframes slideIn {
    0% {
      transform: translateX(-180px);
      opacity: 0;
    }
    40%,
    100% {
      opacity: 1;
    }
    100% {
      transform: translateX(0);
    }
  }
}