@charset "UTF-8";
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  position: relative;
  font-family: "游ゴシック", "Yu Gothic", yugothic, "メイリオ", meiryo,
    "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", verdana, arial,
    sans-serif !important;
  font-size: 16px;
  color: #222;
  background-color: #fff;
}

body {
  width: 100%;
  min-width: 350px;
  visibility: hidden;
}

span.text-emphasis {
  font-weight: bold;
}

.cta-button-wrapper {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  width: 200px;
  height: 112px;
  background-color: #fff;
  border-radius: 10px;
  border: 2px solid #000;
}
.cta-button-wrapper .close-button-cta {
  position: absolute;
  top: 0;
  right: 2px;
  width: 20px;
  height: 20px;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
}
.cta-button-wrapper .text-box {
  position: absolute;
  top: -20px;
  right: 28px;
  z-index: 100;
  width: 156px;
  height: 38px;
  font-size: 20px;
  font-weight: bold;
  line-height: 38px;
  color: #fff;
  text-align: center;
  border-radius: 15px;
  background-color: #80007bff;
  transform: skew(-4deg, -2deg);
}
.cta-button-wrapper .text-box2 {
  position: absolute;
  top: -20px;
  right: 28px;
  z-index: 100;
  width: 156px;
  height: 38px;
  font-size: 12px;
  font-weight: bold;
  line-height: 38px;
  color: #fff;
  text-align: center;
  border-radius: 15px;
  background-color: #4f0080ff;
  transform: skew(-4deg, -2deg);
}
.cta-button-wrapper .box {
  position: absolute;
  top: -14px;
  right: 22px;
  z-index: 10;
  width: 156px;
  height: 38px;
  background-color: #ffffffff;
  border-radius: 15px;
  border: 2px solid #000;
  transform: skew(-4deg, -2deg);
}
.cta-button-wrapper p {
  margin-top: 30px;
  font-size: 10px;
  font-weight: 600;
  color: #e732e7ff;
  text-align: center;
}
.cta-button-wrapper button#cta-button {
  font-family: vdl-logog, sans-serif;
  font-style: normal;
  font-weight: 400;
  box-shadow: 5px 5px 0 0 rgb(0, 0, 0), 4px 4px 0 0 rgb(0, 0, 0),
    3px 3px 0 0 rgb(0, 0, 0), 2px 2px 0 0 rgb(0, 0, 0), 1px 1px 0 0 rgb(0, 0, 0);
  position: absolute;
  bottom: 12px;
  left: 10px;
  padding: 2px 10px;
  font-size: 20px;
  cursor: pointer;
  background-color: #f7c61e;
  border: 2px solid #000;
  border-radius: 6px;
}
.cta-button-wrapper button#cta-button2 {
  font-family: vdl-logog, sans-serif;
  font-style: normal;
  font-weight: 400;
  box-shadow: 5px 5px 0 0 rgb(0, 0, 0), 4px 4px 0 0 rgb(0, 0, 0),
    3px 3px 0 0 rgb(0, 0, 0), 2px 2px 0 0 rgb(0, 0, 0), 1px 1px 0 0 rgb(0, 0, 0);
  position: absolute;
  bottom: 12px;
  left: 10px;
  padding: 2px 10px;
  font-size: 20px;
  cursor: pointer;
  color: #ffffff;
  background-color: #ee67e0ff;
  border: 2px solid #000;
  border-radius: 6px;
}
.cta-button-wrapper button#cta-button:hover {
  box-shadow: none;
  transform: translate(5px, 5px);
}
.cta-button-wrapper button#cta-button a {
  color: #000;
  text-decoration: none;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 48px;
  line-height: 48px;
  color: #fff;
  background-color: #fff;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
}
header a img {
  width: 120px;
  margin-left: 28px;
  vertical-align: middle;
  object-fit: contain;
}
header nav ul {
  display: flex;
  margin-right: 14px;
  list-style: none;
}
header nav ul li {
  margin-right: 14px;
  font-size: 14px;
}
header nav ul li a {
  color: #000;
  text-decoration: none;
}

#example {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}
#example .regulation {
  position: relative;
  display: flex;
  justify-content: space-around;
  width: 960px;
  overflow: hidden;
}
#example .regulation h2 {
  padding: 40px 0 30px;
  font-size: 30px;
}
#example .regulation p {
  padding: 10px 0 30px;
  text-align: right;
}
#example .regulation p a {
  font-size: 14px;
  color: #000;
}
#example .regulation p a:hover {
  text-decoration: none;
}
#example .regulation dl dt {
  padding: 12px;
  font-weight: bold;
  line-height: 26px;
  border: #e2e9ed 1px solid;
  border-bottom: none;
}
#example .regulation dl dd {
  padding: 12px;
  margin-bottom: 20px;
  line-height: 26px;
  border: #e2e9ed 1px solid;
}
#example .regulation dl dd a:hover {
  text-decoration: none;
}
#example .regulation #news,
#example .regulation #faq {
  display: flex;
  flex-basis: 440px;
  flex-direction: column;
}

footer {
  align-items: center;
  width: 100%;
  font-size: 14px;
  color: #fff;
  text-align: center;
  background-color: #000;
}
footer ul {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  padding: 40px 20px;
  line-height: 40px;
  list-style: none;
}
footer ul li {
  float: left;
}
footer ul li + li {
  margin-left: 14px;
}
footer ul li a {
  color: #fff;
  text-decoration: none;
}
footer ul li a:hover {
  text-decoration: underline;
}
footer p {
  line-height: 40px;
}

@media (width <= 769px) {
  body {
    min-width: 375px;
  }
  body h2 {
    font-size: 22px;
  }
  header img {
    margin-left: 14px;
  }
  header nav .hamburger {
    position: fixed;
    top: 0;
    right: 6px;
    z-index: 1000;
    display: block;
    width: 48px;
    height: 48px;
    font-size: 48px;
    color: #000;
    cursor: pointer;
  }
  header nav .hamburger span {
    position: absolute;
    left: 13px;
    display: inline-block;
    height: 2px;
    background-color: #000;
    transition: all 0.5s;
  }
  header nav .hamburger span:nth-of-type(1) {
    top: 16px;
    left: 10px;
    width: 30px;
  }
  header nav .hamburger span:nth-of-type(2) {
    top: 30px;
    left: 10px;
    width: 30px;
  }
  header nav .hamburger.active span:nth-of-type(1) {
    top: 16px;
    left: 10px;
    width: 30px;
    transform: translateY(6px) rotate(-45deg);
  }
  header nav .hamburger.active span:nth-of-type(2) {
    top: 29px;
    left: 10px;
    width: 30px;
    transform: translateY(-6px) rotate(45deg);
  }
  header nav ul {
    position: fixed;
    top: -120%;
    left: 0;
    z-index: 999;
    display: block;
    width: 100%;
    height: auto;
    padding: 30px;
    text-align: center;
    background: #fff;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
    transition: all 0.6s;
  }
  header nav ul.panel-active {
    top: 0;
    background-color: #fff;
  }
  header nav ul li {
    margin-right: 14px;
    font-size: 14px;
  }
  header nav ul li a {
    color: #000;
    text-decoration: none;
  }

  #example {
    display: block;
  }
  #example .regulation {
    display: block;
    width: 90%;
    margin: auto;
  }
  #example .regulation h2 {
    font-size: 26px;
  }
  #example .regulation dl dt {
    padding: 8px;
    font-weight: bold;
    line-height: 24px;
  }
  #example .regulation dl dd {
    padding: 8px;
    line-height: 24px;
  }
  #example .regulation #news,
  #example .regulation #faq {
    display: flex;
    flex-basis: 440px;
    flex-direction: column;
  }
}
@media screen and (width >= 600px) and (width <= 960px) {
  #example {
    display: block;
  }
  #example .regulation {
    width: 90%;
    margin: auto;
  }
  #example .regulation h2 {
    font-size: 22px;
  }
  #example .regulation dl dt {
    padding: 8px;
    font-weight: bold;
    line-height: 24px;
  }
  #example .regulation dl dd {
    padding: 8px;
    line-height: 24px;
  }
  #example .regulation #news,
  #example .regulation #faq {
    flex-basis: 46%;
  }
  .modal .modal-content {
    width: 80%;
    padding: 26px;
    margin: 12% auto;
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
  }
  50% {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.8);
  }
}

@keyframes bounce-gentle {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes pop-in {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}
.bounce-gentle {
  animation: bounce-gentle 2s ease-in-out infinite;
}
.pop-in {
  animation: pop-in 0.6s ease-out;
}

/* 吹き出しの三角形 */
.speech-bubble::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
}

.speech-bubble-purple::after {
  border-top: 15px solid #8b5cf6;
}

.speech-bubble-gradient::after {
  border-top: 15px solid #3b82f6;
}

.speech-bubble-yellow::after {
  border-top: 15px solid #fbbf24;
}

.speech-bubble-green::after {
  border-top: 15px solid #10b981;
}

.speech-bubble-red::after {
  border-top: 15px solid #ef4444;
}

/* 記事リンクカードのスタイル */
.article-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 48px 0;
}

.article-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.article-card-image {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: bold;
}

@media (max-width: 767px) {
  .article-card-image {
    height: 180px;
  }
}

.article-card-content {
  padding: 20px;
}

.article-card-title {
  font-size: 18px;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 12px;
  line-height: 1.4;
}

.article-card-description {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.article-card-date {
  color: #9ca3af;
  font-size: 12px;
}

.article-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}
