@charset "UTF-8";

/* -------------------------------------------
   通常の挿入画像
------------------------------------------- */
.top_page .text_area_layout > img{
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 30px 0;
  border-radius: 0;
}


/* -------------------------------------------
   パーティクル生成後はDOMテキストを隠す
------------------------------------------- */
.top_page.fx-active .text_area_layout{
  visibility: hidden;
}



/* ===== 基本タイポグラフィ ===== */
.top_page h1, .top_page h2 {
margin: 25px 0 20px 0;
padding: 0;

/*FONT 375px計算*/
font-size: 31px;
font-size: 8.2666666vw;
font-size: clamp(30px, 8.2666666vw, 32px);

line-height: 1.1;
color: #000;

letter-spacing: 0.0em;
font-feature-settings: "liga" 1, "pnum" 1;
}


.top_page .english p {
margin: 0 0 30px 0;

font-family: "swiss-721-bt", sans-serif;
font-weight: 700;
font-style: normal;

/*FONT 375px計算*/
font-size: 31px;
font-size: 8.2666666vw;
font-size: clamp(30px, 8.2666666vw, 32px);

color: #000;
line-height: 1.1;

letter-spacing: 0.0em;
font-feature-settings: "liga" 1, "pnum" 1;
}



.top_page .small_english p {
margin: 0 0 0 0;

font-family: "swiss-721-bt", sans-serif;
font-weight: 700;
font-style: normal;

/*FONT 375px計算*/
font-size: 15px;
font-size: 4vw;
font-size: clamp(14px, 4vw, 16px);

color: #000;
line-height: 1.1;

letter-spacing: 0.0em;
font-feature-settings: "liga" 1, "pnum" 1;
}



.top_page .japanese p {
margin: 0 0 30px 0;

/* Noto Sans - Google */
font-family: YakuHanJPs, "swiss-721-bt","Noto Sans JP", sans-serif;
font-optical-sizing: auto;
font-weight: 700;
font-style: normal;

/*FONT 375px計算*/
font-size: 28px;
font-size: 7.4666666vw;
font-size: clamp(27px, 7.4666666vw, 29px);

color: #000;
line-height: 1.3;

letter-spacing: 0.0em;
font-feature-settings: "liga" 1, "pnum" 1;
}






/* スマホ終了
------------------------------------------------------------------------------------------- */
@media screen and (min-width: 768px) {

/* -------------------------------------------
   通常の挿入画像
------------------------------------------- */
.top_page .text_area_layout > img{
  display: block;
  width: 100%;
/*  max-width: 750px;*/
  height: auto;
  margin: 0 0 40px 0;
  border-radius: 0;
}

/* -------------------------------------------
   パーティクル生成後はDOMテキストを隠す
------------------------------------------- */
.top_page.fx-active .text_area_layout{
  visibility: hidden;
}



/* ===== 基本タイポグラフィ ===== */
.top_page h1, .top_page h2 {
margin: 0 0 30px;
padding: 0;

/*FONT 1440px計算*/
font-size: 50px;
font-size: 3.4722222vw;
font-size: clamp(48px, 3.4722222vw, 52px);

color: #000;
line-height: 1.3;

letter-spacing: 0.0em;
font-feature-settings: "liga" 1, "pnum" 1;
}




.top_page .english p {
margin: 0 0 31px 0;

font-family: "swiss-721-bt", sans-serif;
font-weight: 700;
font-style: normal;

/*FONT 1440px計算*/
font-size: 44px;
font-size: 3.0555556vw;
font-size: clamp(42px, 3.0555556vw, 46px);

/*FONT 1440px計算*/
font-size: 50px;
font-size: 3.4722222vw;
font-size: clamp(48px, 3.4722222vw, 52px);

color: #000;
line-height: 1.1;

letter-spacing: 0.0em;
font-feature-settings: "liga" 1, "pnum" 1;
}


.top_page .small_english p {
margin: 0 0 31px 0;

font-family: "swiss-721-bt", sans-serif;
font-weight: 700;
font-style: normal;

/*FONT 1440px計算*/
font-size: 18px;
font-size: 1.25vw;
font-size: clamp(16px, 1.25vw, 20px);

line-height: 1.1;
color: #000;

letter-spacing: -0.02em;
font-feature-settings: "liga" 1, "pnum" 1;
}


.top_page .japanese p {
margin: 0 0 31px 0;

/* Noto Sans - Google */
font-family: YakuHanJPs, "swiss-721-bt","Noto Sans JP", sans-serif;
font-optical-sizing: auto;
font-weight:600;
font-style: normal;

/*FONT 1440px計算*/
font-size: 42px;
font-size: 2.9166667vw;
font-size: clamp(40px, 2.9166667vw, 44px);

line-height: 1.2;
color: #000;
letter-spacing: 0.0em;
}




}/*PC終了*/








/* -------------------------------------------
   パーティクル調整パネル
------------------------------------------- */
.top_page #panel{
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 100;

  width: 440px;
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  padding: 10px 12px;

  background: rgba(20,20,20,.88);
  color: #eee;

  font-family: monospace;
  font-size: 11px;

  border-radius: 6px;
  backdrop-filter: blur(4px);
}

/* panel-body を2カラムに */
.top_page #panel #panel-body{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
}
/* 全幅で見せたい要素（ボタン・注記・見出し）は2カラムをまたぐ */
.top_page #panel #panel-body > #apply,
.top_page #panel #panel-body > .note{
  grid-column: 1 / -1;
}

.top_page #panel .panel-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.top_page #panel button{
  background: #333;
  color: #eee;
  border: 1px solid #555;
  border-radius: 4px;

  font-family: monospace;
  font-size: 11px;
  cursor: pointer;

  padding: 2px 8px;
}

.top_page #panel #toggle{
  padding: 0 8px;
  line-height: 1.4;
}

.top_page #panel label{
  display: block;
  clear: both;

  margin: 7px 0;
  line-height: 1.5;
}

.top_page #panel input[type="range"]{
  display: block;
  width: 100%;
  margin-top: 3px;
}

.top_page #panel input[type="number"]{
  float: right;
  width: 60px;

  background: #2a2a2a;
  color: #7fd;

  border: 1px solid #555;
  border-radius: 3px;

  font-family: monospace;
  font-size: 11px;
  text-align: center;

  padding: 1px 2px;
}

.top_page #panel #apply{
  width: 100%;
  margin-top: 6px;
  padding: 4px;
}

.top_page #panel .note{
  margin-top: 6px;
  color: #999;
  line-height: 1.4;
  font-size: 10px;
}

.top_page #panel.collapsed #panel-body{
  display: none;
}

/* ===== スマホ：パネルを画面幅に収めて1カラムに ===== */
@media screen and (max-width: 767px){
  .top_page #panel{
    width: auto;
    left: 12px;
    right: 12px;
    max-height: calc(100vh - 24px);
  }
  .top_page #panel #panel-body{
    grid-template-columns: 1fr;   /* 狭い画面では1カラム */
  }
}
