:root {
  --main-bg: #F5F2E9;
  --primary: #FF6B6B;
  --secondary: #4ECDC4;
  --deep: #556270;
  --text: #333;
}
body {
  margin: 0;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  background-color: var(--main-bg);
  color: var(--text);
  overflow-x: hidden;
}
.header {
  background-color: #fff;
  z-index: 2;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 0 5px 2px rgba(0, 0, 0, .1);
}
.header-item {
  display: flex;
}
.dr-logo {
  width: 82px;
  height: 59px;
  margin: 10px 0 7px 10px;
}
.header-right-item {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.header-contact-btn {
  background-color: var(--primary);
  color: #ffffff;
  padding: 0.9em 2em;
  font-size: 13px;
  font-weight: bold;
  border-radius: 40px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s;
  margin: 0 10px 0 10px;
}
.header-contact-btn:hover {
  transform: translateY(-5px);
}
.first-view {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  padding: 100px 20px 80px 20px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.first-view-img {
  height: 250px;
  width: 250px;
}
.text-area {
  padding-left: 60px;
}
.first-view h1 {
  font-size: 52px;
  margin-bottom: 20px;
  position: relative;
  animation: fadeInDown 1s ease;
}
.first-view p {
  font-size: 22px;
  margin-bottom: 40px;
  position: relative;
  animation: fadeInUp 1s ease 0.5s both;
}
.cta-buttons a {
  background: white;
  color: var(--primary);
  padding: 18px 40px;
  margin: 10px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.4s ease;
  position: relative;
  display: inline-block;
}
.cta-buttons a:hover {
  transform: translateY(-5px);
  background: var(--primary);
  color: white;
}
.image-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap;
}
.image-container img {
  max-width: 320px;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: transform 0.5s;
}
.image-container img:hover {
  transform: scale(1.08) rotate(3deg);
}
.intro-section, .section {
  max-width: 1100px;
  margin: 100px auto;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}
.active {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
.intro-section h2 {
  font-size: 54px;
  color: var(--primary);
  margin-bottom: 30px;
  text-align: center;
}
.intro-section p {
  font-size: 25px;
  text-align: center;
  font-weight: bold;
}
.intro-section img {
  width:480px;
  height:320px;
}
table {
  background-color: #ffffff;
  text-align: center;
  border: 2px solid;
  font-size: 20px;
  margin: 50px auto 100px;
}
th {
  border: solid 1px;
  background-color: #98C7B1;
  padding: 5px 0;
  width: 300px;
}
.situation {
  width: 150px;
}
td {
  border: solid 1px;
  height: 50px;
}
.intro-section-result {
  font-size: 27px;
  text-align: center;
}
.red {
  color: red;
  font-weight: bold;
}
.image-graph-sample {
  text-align: center;
  margin: 50px 0;
}
.section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 10px;
}
.section h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  margin: 10px auto 0 auto;
  border-radius: 2px;
}
.features, .plans {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
}
.feature-item, .plan-item {
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  padding: 40px;
  flex: 1 1 30%;
}
.difference {
  text-align: center;
  font-size: 25px;
}
.sample-img {
  text-align: center;
}
.img-effective {
  width: 341px;
  height: 255px;
  padding-right: 10px;
}
.closing {
  background: var(--deep);
  color: white;
  text-align: center;
  padding: 100px 20px;
  border-radius: 80px 80px 0 0;
}
.contact-form {
  background: #fff;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  max-width: 700px;
  margin: 50px auto 0 auto;
  color: #000000;
  text-align: center;
}
h3#contact {
  font-size: 28px;
}
.contact-form h3 {
  margin-bottom: 25px;
  color: #333;
}
.required {
  color: var(--primary);
  font-size: 12px;
}
.contact-form input, .contact-form textarea {
  width: 90%;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 12px;
  font-size: 18px;
}
.detail {
  display: block;
  text-align: center;
}
.contact-form button {
  background: var(--primary);
  color: #ffffff;
  padding: 18px 40px;
  border: none;
  border-radius: 40px;
  font-size: 18px;
  cursor: pointer;
  transition: 0.4s;
}
.contact-form button:hover {
  background: var(--secondary);
}
footer {
  text-align: center;
  padding: 30px 10px;
  font-size: 14px;
  color: #777;
}
.footer-wrapper {
  text-align: center;
}
ul {
  padding-left:0;
  text-align: center;
}
li {
  list-style: none;
  display: inline-block;
  padding: 0 1em;
}
.item {
  text-decoration: none;
  color: #777;
}

@keyframes fadeInDown { 0% { opacity: 0; transform: translateY(-30px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: translateY(0); } }

/* レスポンシブ強化 */
@media screen and (max-width: 1024px) {
  header h1 { font-size: 42px; }
  header p { font-size: 20px; }
  .feature-item, .plan-item { flex: 1 1 45%; }
  .image-container img { max-width: 90%; }
}

@media screen and (max-width: 768px) {
  header h1 { font-size: 34px; }
  header p { font-size: 18px; }
  .cta-buttons a { font-size: 16px; padding: 14px 30px; }
  .intro-section h2 { font-size: 32px; }
  .section h2 { font-size: 28px; }
  .feature-item, .plan-item { flex: 1 1 100%; }
  .contact-form { padding: 30px 20px; }
  .contact-form input, .contact-form textarea { font-size: 16px; padding: 16px; }
  .contact-form button { font-size: 16px; padding: 16px 30px; }

  .dr-logo {
    width: 61px;
    height: 44px;
    margin: 7px 0 7px 7px;
  }
  .header-contact-btn {
    padding: 9px 20px;
    font-size: 10px;
  }
  .first-view {
    display: block;
  }
  .text-area {
    padding-left: unset;
  }
  .intro-section p {
    font-size: 22px;
  }
  .intro-section-result {
    font-size: 25px;
  }
  li {
    display: block;
  }
  .intro-section img {
    width:240px;
    height:160px;
  }
  .sample-img img {
    width:256px;
    height:191px;
  }
  .img-effective {
    padding-right: unset;
  }
  .closing {
    padding: 40px 20px;
  }
  footer {
    padding: 10px;
  }
  li {
    padding-top: 7px;
  }
}

@media screen and (max-width: 480px) {
  header h1 { font-size: 28px; }
  header p { font-size: 16px; }
  .cta-buttons a { font-size: 14px; padding: 12px 24px; }
  .intro-section p, .section p { font-size: 16px; }
  .section h2 { font-size: 24px; }

  .dr-logo {
    width: 61px;
    height: 44px;
    margin: 7px 0 7 7px;
  }
  .header-contact-btn {
    padding: 9px 20px;
    font-size: 10px;
  }
  .first-view {
    display: block;
    padding: 100px 20px 40px 20px;
  }
  .text-area {
    padding-left: unset;
  }
  .intro-section, .section {
    margin: 40px auto;
  }
  .first-view p {
    font-size: 16px;
  }
  .intro-section h2 {
    font-size: 24px;
  }
  .intro-section p {
    font-size: 18px;
    line-height: normal;
  }
  table {
    margin: 25px auto 50px;
  }
  th {
    font-size: 13px;
  }
  .situation {
    width:20px;
  }
  td {
    font-size: 14px;
  }
  td:first-child {
    writing-mode: vertical-rl;
    padding: 8px 0;
  }
  .intro-section-result {
    font-size: 20px;
    font-weight: bold;
  }
  .image-graph-sample {
    margin: 25px 0;
  }
  .section h2 {
  margin-bottom: 10px;
  }
  .difference {
    font-size: 18px;
  }
  .img-effective {
    margin-bottom: 20px;
  }
  .closing {
    padding: 40px 20px;
  }
  h3#contact {
    font-size: 18px;
  }
  footer {
    padding: 10px;
  }
  li {
    padding-top: 7px;
  }
}
