@charset "UTF-8";

/* フォント設定 */
@font-face {
  font-family: 'genshin';
  src: url("../fonts/GenShinGothic-Bold.ttf") format("truetype");
  font-weight: bold;
}

@font-face {
  font-family: 'emugo';
  src: url("../fonts/GenEiMGothic2-Heavy.ttf") format("truetype");
  font-weight: black;
}

/* フォントクラス */
.f-genkaku {
  font-family: source-han-sans-japanese, sans-serif;
  font-style: normal;
}

.w-genkaku-bo {
  font-weight: 700;
}

.w-genkaku-re {
  font-weight: 400;
}

.f-genshin {
  font-family: 'genshin';
}

.f-emugo {
  font-family: 'emugo';
}

.f-mei {
  font-family: 'メイリオ', Meiryo, sans-serif;
}

/* グラデーション */
.grad {
  background: linear-gradient(to right, #22DCFD 0%, #1C91E2 60%, #5865B9 100%);
}

/* ベースレイアウト */
.center {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* イントロセクション */
section#introSection {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

section#introSection .center .wrap {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

@media screen and (max-width: 1024px) {
  section#introSection .center .wrap {
    flex-direction: column;
    gap: 30px;
  }
}

section#introSection .center .wrap .image {
  width: 50%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  perspective: 1200px;
  transform-style: preserve-3d;
}

@media screen and (max-width: 1024px) {
  section#introSection .center .wrap .image {
    width: 100%;
  }
}

section#introSection .center .wrap .image img {
  width: 100%;
  height: auto;
  display: block;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

section#introSection .center .wrap .image::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(45deg, transparent, transparent);
  border-radius: 19px;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

section#introSection .center .wrap .image::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, 
    transparent 20%, 
    rgba(255, 255, 255, 0.8) 50%, 
    transparent 80%);
  transform: skewX(-25deg);
  transition: all 0.8s ease;
  pointer-events: none;
  z-index: 2;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

section#introSection .center .wrap .image:hover img {
  transform: scale(1.03);
  filter: brightness(1.15) contrast(1.15);
}

section#introSection .center .wrap .image:hover::before {
  opacity: 0;
}

section#introSection .center .wrap .image:hover::after {
  left: 100%;
  animation: mainSparkleBeam 1s ease-out;
}


@keyframes mainSparkleBeam {
  0% { 
    left: -100%; 
    opacity: 0;
  }
  30% { 
    opacity: 1;
  }
  70% { 
    opacity: 1;
  }
  100% { 
    left: 100%; 
    opacity: 0;
  }
}

section#introSection .center .wrap .text {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media screen and (max-width: 1024px) {
  section#introSection .center .wrap .text {
    width: 100%;
  }
}

section#introSection .center .wrap .text h2.title {
  font-size: 32px;
  margin-bottom: 30px;
  text-align: center;
  color: #333;
  line-height: 1.3;
}

@media screen and (max-width: 768px) {
  section#introSection .center .wrap .text h2.title {
    font-size: 24px;
    margin-bottom: 20px;
  }
}

section#introSection .center .wrap .text .panel {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@media screen and (max-width: 768px) {
  section#introSection .center .wrap .text .panel {
    padding: 30px 20px;
  }
}

section#introSection .center .wrap .text .panel .description {
  margin-bottom: 25px;
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  border-left: 4px solid #1C91E2;
}

section#introSection .center .wrap .text .panel .description .subtitle {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1C91E2;
}

section#introSection .center .wrap .text .panel .description .content p {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

section#introSection .center .wrap .text .tool-wrap span.index {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

section#introSection .center .wrap .text .tool-wrap .tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

section#introSection .center .wrap .text .tool-wrap .tools .tool {
  font-size: 12px;
  font-weight: 500;
  background: #1C91E2;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

section#introSection .center .wrap .text .tool-wrap .tools .tool:hover {
  background: #22DCFD;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(28, 145, 226, 0.3);
}

/* セカンドセクション */
section#secondSection {
  padding: 100px 0;
  background: #fff;
}

section#secondSection .center {
  max-width: 1000px;
}

section#secondSection .center .first {
  margin-bottom: 60px;
}

section#secondSection .center .first h2.title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 40px;
  color: #333;
  position: relative;
}

section#secondSection .center .first h2.title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #e9ecef;
  border-radius: 2px;
}

@media screen and (max-width: 768px) {
  section#secondSection .center .first h2.title {
    font-size: 28px;
  }
}

section#secondSection .center .first .description {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

section#secondSection .center .first .description .content {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 30px;
  border-left: 4px solid #1C91E2;
}

section#secondSection .center .first .description .content p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 16px;
}

section#secondSection .center .first .description .content p:last-child {
  margin-bottom: 0;
}

section#secondSection .center .second {
  display: flex;
  align-items: center;
  gap: 40px;
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 1024px) {
  section#secondSection .center .second {
    flex-direction: column;
    padding: 30px 20px;
  }
}

section#secondSection .center .second .image {
  width: 45%;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  perspective: 800px;
  transform-style: preserve-3d;
}

@media screen and (max-width: 1024px) {
  section#secondSection .center .second .image {
    width: 100%;
  }
}

section#secondSection .center .second .image img {
  display: block;
  width: 100%;
  height: auto;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

section#secondSection .center .second .image::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, transparent, transparent);
  border-radius: 18px;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

section#secondSection .center .second .image::after {
  content: '';
  position: absolute;
  top: 30%;
  left: -100%;
  width: 80%;
  height: 5px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.85), 
    transparent);
  transform: translateY(-50%) rotate(30deg);
  transition: all 0.7s ease;
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

section#secondSection .center .second .image:hover img {
  transform: scale(1.02);
  filter: brightness(1.1) contrast(1.1);
}

section#secondSection .center .second .image:hover::before {
  opacity: 0;
}

section#secondSection .center .second .image:hover::after {
  left: 100%;
  animation: subSparkleBeam 0.6s ease-out;
}


@keyframes subSparkleBeam {
  0% { 
    left: -100%; 
    opacity: 0;
  }
  50% { 
    opacity: 1;
  }
  100% { 
    left: 100%; 
    opacity: 0;
  }
}

section#secondSection .center .second .text-wrap {
  width: 55%;
}

@media screen and (max-width: 1024px) {
  section#secondSection .center .second .text-wrap {
    width: 100%;
  }
}

section#secondSection .center .second .text-wrap h3.subtitle {
  font-size: 24px;
  margin-bottom: 20px;
  color: #1C91E2;
}

section#secondSection .center .second .text-wrap .content {
  color: #555;
  line-height: 1.7;
}

section#secondSection .center .second .text-wrap .content p {
  font-size: 15px;
  margin-bottom: 12px;
}

section#secondSection .center .second .text-wrap .position {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid #e9ecef;
}

/* サードセクション */
section#thirdSection {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

section#thirdSection .center {
  max-width: 1000px;
}

section#thirdSection .center .wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

section#thirdSection .center .wrap .panel {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

section#thirdSection .center .wrap .panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

section#thirdSection .center .wrap .panel h3.index {
  background: linear-gradient(135deg, #1C91E2 0%, #22DCFD 100%);
  color: white;
  font-size: 20px;
  padding: 15px 25px;
  margin: 0;
  display: block;
  font-weight: 600;
}

@media screen and (max-width: 768px) {
  section#thirdSection .center .wrap .panel h3.index {
    font-size: 18px;
    padding: 12px 20px;
  }
}

section#thirdSection .center .wrap .panel .content {
  padding: 30px;
}

@media screen and (max-width: 768px) {
  section#thirdSection .center .wrap .panel .content {
    padding: 20px;
  }
}

section#thirdSection .center .wrap .panel .content p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 16px;
}

section#thirdSection .center .wrap .panel .content p:last-child {
  margin-bottom: 0;
}

section#thirdSection .center .wrap .panel .content strong {
  color: #1C91E2;
  font-weight: 600;
}

section#thirdSection .center .wrap .panel .content br {
  margin-bottom: 8px;
}

/* レスポンシブ調整 */
@media screen and (max-width: 560px) {
  section#introSection .center .wrap .text h2.title {
    font-size: 20px;
  }
  
  section#secondSection .center .first h2.title {
    font-size: 24px;
  }
  
  section#thirdSection .center .wrap .panel .content p {
    font-size: 14px;
  }
}