/* ============================================
   JCI 東海地区協議会 - Main Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&family=Montserrat:wght@400;600;700;800;900&family=Caveat:wght@700&display=swap');
/* ============================================
   CSS Variables
   ============================================ */
:root {
  --color-primary: #00b0a0;
  --color-yellow: #d4e84a;
  --color-yellow2: #f5e84a;
  --color-green: #6dc84a;
  --color-orange: #f5a623;
  --color-pink: #f08cb8;
  --color-blue: #4a9fd4;
  --color-dark: #1a1a1a;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-white: #ffffff;
  --color-bg-light: #f9f9f9;
  --font-jp: 'Noto Sans JP', sans-serif;
  --font-en: 'Montserrat', sans-serif;
  --font-hand: 'Caveat', cursive;
  --transition: 0.3s ease;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.15);
  --radius: 16px;
  --container: 1200px;
}

/* ============================================
   Reset & Base
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Zen Kaku Gothic New";
  color: var(--color-text);
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
  font-weight: bold;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul,
ol {
  list-style: none;
}

.container {
  margin: 100px 0 0;
}
main{
  margin-right: 80px;
}

/* ============================================
   site-menu
   ============================================ */
.site-menu {
  position: fixed;
  top: 0;
  /* left: 0; */
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  width: 80px;
  height: 100vh;
  background: linear-gradient(to bottom, #1FB8F0 28%, #FFF500, #F50D78);
}

.site-menu.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}
.logo_side{
margin: 20px auto;
    width: 75%;
}
.menu-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* height: 70px; */
  padding: 0 32px;
  max-width: var(--container);
  margin: 0 auto;
}
.header {
  display: block;
  z-index: 999;
  position: fixed;
  top: 40px;
  left: 0;
  width: calc(100% - 80px);
  /* min-width: 1120px; */
  /* min-width: 1330px; */
  
}
.header_wrapper {
  display: flex;
  align-items: center;
}
.header_inner {
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  /* max-width: 1080px; */
  margin: 0 50px;
  background-color: #F7F7F7;
  border-radius: 50px;
  color: #535353;
  height: 72px;
  padding: 0 100px 0 0;
}

/* Logo */
.header-logo {
  display: block;
  width: 50%;
  margin-left: 5%;
}

.header-sns {
  display: flex;
  gap: 10px;
  flex-direction: column;
  position: absolute;
  bottom: 10%;
  left: 30%;
}

.header-sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  /* background: var(--color-bg-light); */
  transition: var(--transition);
}

.header_logo {
  display: block;
  width: 30%;
  margin-left: 0;
}
.header h1 {
  width: 30%;
}
.header_menu {
  display: flex;
  font-size: 15px;
}
.header_menu_list {
  display: inline;
}
.header_menu li {
  text-decoration: none;
  list-style: none;
  margin: 0 20px;
  display: inline-block;
  line-height: 1rem;
}
.header_menu_list_en {
  color: #FF6C00;
  font-size: 12px;
}
.header_members_card img {
  /* width: 55%; */
}
.header_members_card{
  position: absolute;
  text-align: center;
  right: 35px;
  -webkit-transition: all .3s;
  transition: all .3s;
  width: 99px;
  height: 99px;
}

.nav {
  position: fixed;
  top: 45%;
  right: 7px;
  /* width: 100%; */
  padding: 1rem;
  /* background-color: #fff; */
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
}

.hamburger {
  position: relative;
  width: 30px;
  height: 18px;
  cursor: pointer;
  z-index: 100;
  border: none;
  background: none;
}

.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: #fff;
  transition: all 0.4s;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 11px;
  opacity: 0;
}

.hamburger span:nth-child(3) {
  bottom: 0;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(5px) rotate(-45deg);
  background-color: #fff;
  height: 2px;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  background-color: #fff;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-11px) rotate(45deg);
  background-color: #fff;
  height: 2px;
}

.hamburger div::after {
  content: "open";
  color: #fff;
  top: 22px;
  position: absolute;
  left: 1px;
}

.hamburger.active div::after {
  content: "close";
  color: #fff;
  top: 22px;
  position: absolute;
  left: 1px;
}

.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(to bottom, #1FB8F0 28%, #FFF500, #F50D78);
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.4s;
  padding: 50px 100px;
}
.menu img{
  width: 50%;
}
.menu.active {
  transform: translateX(0);
}
.menu_inner{
  display: grid;
    gap: 50px;
    grid-template-columns: 1fr 1fr;
    margin-top: 10%;
    width: 60%;
}

.menu-nav-col h4 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
  border-bottom: 1px solid;
  padding-bottom: 15px;
}

.menu-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.under_ul{
  margin-top: 80px;
}
.menu-nav-col ul li a {
  font-size: 16px;
}

.menu-nav-col ul li a:hover {
  /* color: var(--color-primary); */
  color: #000;
}
.menu_map_img{
  position: absolute;
  right: 55px;
  top: 25%;
}

/* メニュー項目の遅延アニメーション */
.menu.active li:nth-child(1) {
  transition-delay: 0.2s;
}

.menu.active li:nth-child(2) {
  transition-delay: 0.3s;
}

.menu.active li:nth-child(3) {
  transition-delay: 0.4s;
}

.menu.active li:nth-child(4) {
  transition-delay: 0.5s;
} */

/* メニューリンク */
.menu a {
  color: #fff;
  text-decoration: none;
  position: relative;
}

.menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: right;
}

.menu a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: white;
  padding: 24px 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  z-index: 999;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.mobile-nav a:hover {
  color: var(--color-primary);
}


/*====== 9-1-1 縦線が動いてスクロールを促す =======*/

/*スクロールダウン全体の場所*/
.scrolldown1{
  /*描画位置※位置は適宜調整してください*/
position:absolute;
left:50%;
bottom:-20px;
  /*全体の高さ*/
height:100px;
z-index: 2;
}

/* 線の描写 */
.scrolldown1::after{
content: "";
  /*描画位置*/
position: absolute;
top: 0;
  /*線の形状*/
width: 1px;
height: 30px;
background: #000;
  /*線の動き1.4秒かけて動く。永遠にループ*/
animation: pathmove 1.9s ease-in-out infinite;
opacity:0;

}
.scroll_blue::after{
  background: #0097D7;
}
/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove{
0%{
  height:0;
  top:0;
  opacity: 0;
}
30%{
  height:50px;
  opacity: 1;
}
100%{
  height:0;
  top:100px;
  opacity: 0;
}
}



/* ============================================
   Photo Strip (横スクロール)
   ============================================ */

.slider div {
  width: 100vw;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: linear-gradient(to bottom, #FFF500, #5EC16A, #1FB8F0);;
  color: white;
  padding: 60px 130px 0 50px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.sp_position{
  display: flex;
  gap: 40px;
}
.footer-logo img{
  width: 80%;
  margin-bottom: 50px
}

.footer-sns {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.footer-sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: var(--transition);
}

.footer-sns a:hover {
  background: var(--color-primary);
  color: white;
  
}

.footer-nav-col h4 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
  border-bottom: 1px solid;
  padding-bottom: 15px;
}

.footer-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.under_ul{
  margin-top: 80px;
}
.footer-nav-col ul li a {
  font-size: 16px;
}

.footer-nav-col ul li a:hover {
  /* color: var(--color-primary); */
  color: #000;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 15px;
}

.footer-policy {
  display: flex;
  gap: 20px;
}

.footer-policy a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-policy a:hover {
  color: var(--color-primary);
}
/* ============================================
   line_btn
   ============================================ */
   .text-on-circle-wrapper .line_btn{
      width: 80%;
   }
  .text-on-circle-wrapper{
    position: fixed;
    bottom: 20px;
    right: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
  }



/* 内側の円サイズ */
.text-on-circle {
    width: 160px;
    height: 160px;
    animation: rotate-circle 20s linear infinite;
    z-index: 999;
    position: absolute;
}

/* 外側の円サイズ */
.text-outside-circle {
    width: 170px;
    height: 170px;
    animation: rotate-circle-reverse 20s linear infinite;
}

/* 共通スタイル */
.text-on-circle span, .text-outside-circle span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: 0 0;
    font-size: 14px;
    text-align: center;
}

/* 内側テキストの色 */
.text-on-circle span {
    color: #fff;
    font-weight: 400;
}

/* 外側テキストのスタイル */
.text-outside-circle span {
    transform: rotate(calc(var(--i) * 6deg)) translate(0, -108px);
    color: #111;
    font-weight: 700;
}

/* 中心の四角 */
.square {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    background-color: #000; /* 四角の色 */
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

/* アニメーション（内側） */
@keyframes rotate-circle {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}

/* アニメーション（外側） */
@keyframes rotate-circle-reverse {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* スマートフォン対応 */
@media (max-width: 768px) {
    .text-wrapper {
        flex-direction: column;
        gap: 30px;
    }
}
/* ============================================
   particles-js
   ============================================ */

canvas {
  display: block;
  vertical-align: bottom;
}

/* ---- particles.js container ---- */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  /* background-color: #2c2e43; */
  background-image: url("");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  z-index: -2;
}

/* ---- stats.js ---- */
.count-particles {
  /* background: #000022; */
  position: absolute;
  top: 48px;
  left: 0;
  width: 80px;
  color: #13E8E9;
  font-size: .8em;
  text-align: left;
  text-indent: 4px;
  line-height: 14px;
  padding-bottom: 2px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
}

.js-count-particles {
  font-size: 1.1em;
}

#stats,
.count-particles {
  -webkit-user-select: none;
  margin-top: 5px;
  margin-left: 5px;
}

#stats {
  border-radius: 3px 3px 0 0;
  overflow: hidden;
}

.count-particles {
  border-radius: 0 0 3px 3px;
}
/* ============================================
   Keyframes
   ============================================ */
   @keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
  }
/* ============================================
  particles
  ============================================ */
/*コンテンツを囲むラッパー要素*/
.wrap{
	width:100%;
	/* height:100vh; */
	position:relative;/*基準要素、子の基準となる*/
}
/*アニメーション描画用*/
canvas{
	position:absolute;/*親のブロックを基準にして相対位置に配置する*/
	/*位置指定*/
	top:0;
	right:0;
	z-index:-1;/*重ね順を-1に　※1以上だとほかのコンテンツの上に被さってしまいます*/
}

/* ================================================
  Scroll animation
================================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  position: absolute;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */
@media (min-width: 769px){
  .hide-pc{
    display: none;
  }
  .menu-sns{
    display: none;
  }
}
@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

 .noneline{
    display: none!important;
  }

@media (max-width: 768px) {
 .none{
    display: none!important;
  }
  .hide-sp{
    display: none;
  }

  .menu_inner{
    display: block;
    width: 90%;
  }
  .menu-nav-col ul li a {
    font-size: 15px;
  }
  .under_ul{
    margin-top: 25px;
  }
  .menu-nav-col{
    margin-top: 25px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding-bottom: 20px;
  }
  .footer-copy {
    font-size: 10px;
}
  .container {
    padding: 0 20px;
  }
  main{
    margin-right:0;
  }
  .header-logo{
    margin: 0 auto;
    width: 80%;
    padding: 10px 0;
  }
  .menu{
    height: calc(100vh - 53px);
    padding: 30px 30px 10px;
  }

  
  .site-footer{
    padding: 40px 20px 0;
  }
  .sp_position{
    display: flex;
    justify-content: space-between;
  }
  .footer-nav-col h4{
    font-size: 15px;
  }
  .footer-nav-col ul li a {
    font-size: 13px;
  }
  .footer-logo img {
    margin: 0 auto;
  }
  .header{
    position: relative;
  }
  .header_menu{
    display: none;
  }
  .header_inner{
    display: block;
    width: 100%;
    max-width: unset;
    margin: unset;
    background-color: unset;
    border-radius: 0;
    color: unset;
    height: unset;
    padding-left: 50px;
  }
  .site-menu{
    top: unset;
    right: unset;
    -ms-flex-wrap: wrap;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: fixed;
    bottom: 0;
    flex-wrap: nowrap;
    width: 100%;
    height: 53px;
    gap: 3px;
    background: #F50D78;
    border-top: solid 2px #fff;
    z-index: 999;
  }
  .logo_side{
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .menu-inner{
    display: flex;
    justify-content: space-between;
    /* height: 70px; */
    padding: 0;
    /* max-width: var(--container); */
    margin: 0 auto;
    /* align-items: center; */
    border: 1px solid #fff;
  }
  .nav{
    top: unset;
    right: 17px;
  }
  .hamburger div::after{
    content: "menu";
    color: #fff;
    top: -3px;
    position: absolute;
    left: -96px;
    font-size: 20px;
  }
  .hamburger.active div::after{
    content: "close";
    color: #fff;
    top: -3px;
    position: absolute;
    left: -96px;
    font-size: 20px;
  }
  .header-sns a{
    display: block;
      left: -85px;
      position: absolute;
      top: -35px;
  }
  .header-sns .sns_facebock{
    display: none!important;
  }

  .header_members_card{
    display: none;
  }
  main {
    margin-right: 0;
  }
  .footer-sns{
    display: none;
  }
  .sp_position{
    display: none;
  }
  .menu-sns{
    display: flex;
    margin-top: 20px;
  }
  .menu img{
    width: 95%;
  }
  .menu-sns img{
    width: 60%;
  }
  .initiative-sp-card{
    position: relative;
    margin-bottom: 20px
  }
  .bubble-delay-6{
    position: absolute;
    width: 50%;
    top: 220px;
    left: -11px;
  }
  .bubble-delay-7{
    position: absolute;
    width: 50%;
    left: 10px;
    top: 14px;
  }
  .bubble-delay-8{
    position: absolute;
    width: 50%;
    right: -13px;
    top: -42px;
  }
  
}