* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: #f5f5f5;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
}

.image-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-left: 20px;
  padding-right: 20px;
  background-color: #daf6f2;
}

/* === CTA表示用 === */
.cta-inline ,
.cta-floating3
{
  display: block;
  width: 100%;
  max-width: 400px;
  animation: swingInfinite 1s linear infinite;
  transform-origin: center;
}





.cta-floating11{
  display: block;
  width: 100%;
  max-width: 400px;
  margin-bottom: 66px;
  animation: swingInfinite 1s linear infinite;
  transform-origin: center;
}

.cta-inline img {
  width: 100%;
  display: block;
}

/* === アニメーション === */
@keyframes swingInfinite {
  0%   { transform: rotate(3deg); }
  50%  { transform: rotate(-3deg); }
  100% { transform: rotate(3deg); }
}

/* === フォーム系 === */
.form-container {
  background: #86d0c1;
  padding: 24px;
  margin: 0px 15px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  font-family: 'Helvetica Neue', sans-serif;
  max-width: 100%;
  border: 2px solid #efe71b;
  color: #efe71b;
}

.form-container h2 {
  text-align: center;
  font-size: 20px;
  margin-bottom: 20px;
  color: #efe71b;
}

.form-container label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #efe71b;
  margin-top: 16px;
  margin-bottom: 6px;
}

.form-container input,
.form-container textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  border: 1px solid #efe71b;
  border-radius: 8px;
  background-color: #ffffff;
  color: #333;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.form-container input:focus,
.form-container textarea:focus {
  border-color: #efe71b;
  box-shadow: 0 0 6px rgba(239, 231, 27, 0.6);
  outline: none;
}

.form-container button {
  margin-top: 24px;
  width: 100%;
  padding: 14px;
  background: #efe71b;
  border: none;
  border-radius: 8px;
  color: #333;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(239, 231, 27, 0.4);
  transition: transform 0.2s ease, background 0.3s ease;
}

.form-container button:hover {
  background: #e5dd00;
  transform: translateY(-2px);
}

/* === フッターバナー === */
.floating-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  z-index: 9999;
  font-size: 0;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.half-banner {
  flex: 1;
  padding: 0;
  border: none;
  margin: -1px;
  margin-bottom: -2px;
  line-height: 0;
}

.half-banner img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  clip-path: inset(2px 0 2px 0);
}

/* === 法務系ページ === */
body.legal-page {
  font-family: 'Helvetica Neue', 'Hiragino Kaku Gothic ProN', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.8;
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
}

body.legal-page h1 {
  font-size: 1.8em;
  color: #2c3e50;
  border-bottom: 2px solid #ccc;
  padding-bottom: 10px;
  margin-bottom: 30px;
}

body.legal-page h2,
body.legal-page h3 {
  color: #34495e;
  margin-top: 30px;
}

body.legal-page p {
  margin-bottom: 15px;
}

body.legal-page strong {
  color: #2c3e50;
}

body.legal-page a {
  color: #3498db;
  text-decoration: none;
}

body.legal-page a:hover {
  text-decoration: underline;
}
