/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* css/style.css */

body {
  margin: 0; /* この行を追加してbodyの余白をなくします */
  background-color: #0c0500; /* サイト全体の背景色をコンテンツに合わせて設定 */
}




/* start of header */
header {
  position: fixed; /* ヘッダーを画面に固定 */
  top: 25px;
  left: 25px;
  right: 25px;
  height: 70px;
  padding: 0 10px;
  background-color: rgba(30, 18, 0, 0.5); /* 背景色を設定（任意） */
  z-index: 1000; /* 他の要素より手前に表示 */

  border-radius: 35px;

  border-color: rgba(255, 255, 255, 0.2);
  border-width: 1px;
  border-style: solid;

  backdrop-filter: blur(20px);

  display: flex;
  align-items: center;
  justify-content: normal;

  box-sizing: border-box; /* paddingとborderを高さに含める */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cfilter id='noise' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.1'/%3E%3C/svg%3E");

}


header h1{
  font-family: "Funnel Display", sans-serif;
  color: white;
  font-weight: 400;
  font-size: 25px;
  margin: 0 10px; /* ブラウザのデフォルトマージンをリセット */
  position: relative; /* 位置調整の基準を現在の場所に設定 */
  top: -2px; /* 現在の位置から2ピクセル上に移動 */
}

.headerButton{
  font-family: "Funnel Sans", sans-serif;
  color: white;
  cursor: pointer;

  margin-left: auto;

  font-size: 18px;
  height: 50px;
  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: center;


  background-color: rgba(0, 0, 0, 0.15);

  border-radius: 25px;
  border-color: rgba(255, 255, 255, 0.2);
  border-width: 1px;
  border-style: solid;
}

.headerButton:hover{
  background-color: rgba(0, 0, 0, 0.5);
}
/* end of header */





/* start of titleSection */
.titleSectionBackground {
  width: 100%;
  height: 100vh;
  background: linear-gradient(to bottom, #000000, #261000);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);

  display: flex;
  align-items: center;
}


.titleSectionContent {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 50px;
  width: 100%;
  height: 100vh;
  display: flex; /* Flexboxコンテナにする */
  align-items: center; /* 子要素を垂直方向の中央に配置 */




}

/* start of titleSectionLeft */
.titleSectionLeft{
  width: 60%;
  display: grid;
  justify-items: start;
}

.titleText {
  display: flex;
  flex-direction: column;
  font-family: "Funnel Display", sans-serif;
  margin: 0;
}

.firstLine span{
  background: linear-gradient(to bottom, #ffa600, #cc8400); /* 上から下へのグラデーション */
  -webkit-background-clip: text; /* Safariなどのブラウザ対応 */
  color: transparent;
  filter: drop-shadow(0px 0px 20px rgba(255, 166, 0, 1));
}

.tagText{
  font-size: 20px;
  color: #888888;
  font-weight: 400;
  margin: 0;
  font-family: "Funnel Display", sans-serif;
}

.firstLine{
  font-size: 40px;
  background: linear-gradient(to bottom, #f5f5f5, #999999); /* 上から下へのグラデーション */
  -webkit-background-clip: text; /* Safariなどのブラウザ対応 */
  color: transparent;
  font-weight: 400;
  margin: 0 10px 0 0;
  line-height: 80px;
}

.secondLine{
  margin-top: 10px;
  height: 70px; /* pタグ1行分の高さを指定 */
  line-height: 60px; /* 高さと合わせることで垂直中央揃えに */
  overflow: hidden; /* はみ出たテキストを隠す */
}

.scrollContainer{
  animation: scroll-text 10s cubic-bezier(.8,0,.2,1) infinite; /* アニメーション名 時間 繰り返し */
}

.scrollContainer p{
  font-size: 55px;
  height: 70px;
  background: linear-gradient(to bottom, #ffa600, #cc8400); /* 上から下へのグラデーション */
  -webkit-background-clip: text; /* Safariなどのブラウザ対応 */
  color: transparent;
  font-weight: 400;
  margin: 0 0 0 0;
}

/* end of titleSectionLeft */

/* start of titleSectionRight */
.titleSectionRight {
  width: 40%;
  height: 100%;
}

.marquee-container {
  width: 100%;
  height: 100%;
  overflow-y: hidden;
  -webkit-mask-image: -webkit-linear-gradient(
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  mask-image: linear-gradient(
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.marquee-track {
  display: flex;
  flex-direction: column;
  animation: marquee-vertical 700ms linear infinite;
}

/*pause animation while hovered*/
/*.marquee-container:hover .marquee-track {*/
/*  animation-play-state: paused;*/
/*}*/

.marquee-item {
  width: 100%;
  padding-bottom: 20px; /* アイテム間の隙間 */
  box-sizing: border-box;
  position: relative; /* p要素の位置決めの基準点にする */
  text-decoration: none; /* aタグの下線を消す */
}

.marquee-item img {
  width: 100%;
  height: auto; /* アスペクト比を維持 */
  display: block;
  border-radius: 10px;
}

.marquee-item p {
  position: absolute; /* 親要素(.marquee-item)を基準に絶対配置 */
  bottom: 20px;
  left: 0;

  color: white;
  margin: 0;
  padding: 15px 15px;
  width: 100%;
  box-sizing: border-box;

  font-family: "Funnel Sans", sans-serif;
  font-size: 16px;
  line-height: 1.2;

  /* 画像の下部にグラデーションをかけてテキストを読みやすくする */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  border-bottom-left-radius: 10px;  /* 画像の角丸に合わせる */
  border-bottom-right-radius: 10px; /* 画像の角丸に合わせる */
}

/* end of titleSectionRight */


/* responsive */
@media (max-width: 570px) {
  .tagLine{
    font-size: 15px;
    color: #888888;
    font-weight: 400;
    margin: 0;
    font-family: "Funnel Display", sans-serif;
  }
  .firstLine{
    font-size: 55px;
    background: linear-gradient(to bottom, #f5f5f5, #999999); /* 上から下へのグラデーション */
    -webkit-background-clip: text; /* Safariなどのブラウザ対応 */
    color: transparent;
    font-weight: 400;
    margin: 0;
    line-height: 60px;
  }
  .secondLine{
    margin-top: -5px;
    height: 70px; /* pタグ1行分の高さを指定 */
    line-height: 60px; /* 高さと合わせることで垂直中央揃えに */
    overflow: hidden; /* はみ出たテキストを隠す */
  }
  .scrollContainer{
    animation: scroll-text 10s cubic-bezier(.8,0,.2,1) infinite; /* アニメーション名 時間 繰り返し */

  }
  .scrollContainer p{
    font-size: 30px;
    height: 70px;
    background: linear-gradient(to bottom, #ffa600, #cc8400); /* 上から下へのグラデーション */
    -webkit-background-clip: text; /* Safariなどのブラウザ対応 */
    color: transparent;
    font-weight: 400;
    margin: 0 0 0 0;
  }
  .titleSectionContent{
    padding: 30px;
  }
  .content{
    padding: 30px;
  }
  header {
    top: 15px;
    left: 15px;
    right: 15px;
  }
}
@media (max-width: 950px) {
  .titleSectionRight{
    visibility: collapse;
  }
  .titleSectionLeft{
    width: 100%;
  }
  .titleSectionRight{
    width: 0;
  }

}
/* responsive-end */


/* end of titleSection */


/* start of content */
.content{
  max-width: 1600px;      /* titleSection-content と同じ最大幅を設定 */
  margin: 0 auto;         /* 中央揃え */
  padding: 50px;
  height: 500px;
  background-color: #0c0500;
}

.contentTitle{
  font-family: "Funnel Display", sans-serif;
  font-size: 40px;
  color: white;
  margin: 0;
}

.aboutContainer{
  margin-top: 20px;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.makingContentContainer{
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.makingSwiper {
  width: 100%;
  flex-grow: 1; /* 残りの高さをすべて占めるようにする */
}

/* 各スライドのスタイル */
.swiper-slide {
  width: 100%;
  height: 100%;
  text-align: center;
  font-size: 18px;
  background: #fff;
  /* 中央揃えのためのFlexbox */
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ページネーションの色を指定された色に変更 */
:root {
  --swiper-pagination-color: rgb(255, 255, 255);
}

.makingContentContainer p{
  margin-top: 15px;
  color: white;
  font-size: 25px;
  font-family: funnel sans;
}





@keyframes marquee-vertical {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

@keyframes scroll-text {
  /* --- 1つ目のテキスト --- */
  /* 表示 */
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(0);
  }
  /* --- 2つ目のテキストへ移動 --- */
  33% {
    transform: translateY(-70px);
  }
  58% {
    transform: translateY(-70px);
  }
  /* --- 3つ目のテキストへ移動 & 表示 --- */
  66% {
    transform: translateY(-140px);
  }
  91% {
    transform: translateY(-140px);
  }
  /* --- 最初のテキストへ戻る --- */
  100% {
    transform: translateY(0);
  }
}





/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #ffffff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
