/* Main Variables */
:root {
  --primary-color: #ff6b8b; /* Warm pink for romance theme */
  --secondary-color: #5d6ae8; /* Soft blue for contrast */
  --accent-color: #ffd166; /* Warm yellow for accents */
  --text-color: #333333;
  --light-text: #666666;
  --bg-color: #ffffff;
  --light-bg: #f9f9f9;
  --border-radius: 8px;
  --box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

/* Base Styles */
html, body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  -webkit-text-size-adjust: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-top: 0;
}

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

a:hover {
  opacity: 0.85;
}

img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

/* Layout */
.container-fluid {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Welcome Hero Section */
.welcome {
  background-color: var(--bg-color);
  width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.cover {
  position: relative;
  background: linear-gradient(135deg, #ff758c, #ff7eb3);
  color: white;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin: 0;
  padding: 0;
  left: 0;
  right: 0;
}

.cover-filter {
  background-color: rgba(0, 0, 0, 0.2);
  width: 100%;
  height: 100%;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.cover__logo {
  margin-bottom: 20px;
}

.cover__description {
  font-size: 1.2rem;
  margin-bottom: 40px;
  line-height: 1.8;
  width: 100%;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Buttons */
.primary-btn,
.sub-btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  margin: 10px 0;
  border: none;
  text-decoration: none;
}

.primary-btn {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 107, 139, 0.3);
}

.primary-btn:hover {
  background-color: #ff527a;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 107, 139, 0.4);
  color: white;
}

.sub-btn {
  background-color: var(--secondary-color);
  color: white;
  box-shadow: 0 4px 15px rgba(93, 106, 232, 0.3);
}

.sub-btn:hover {
  background-color: #4a57d9;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(93, 106, 232, 0.4);
  color: white;
}

.big-btn {
  font-size: 1.1rem;
  padding: 15px 40px;
}

.disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Heading Styles */
.heading {
  text-align: center;
  margin-bottom: 40px;
}

.heading__title {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.heading__title:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

/* Media Section */
.d-md-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.introduction__item {
  flex: 0 0 calc(33.333% - 20px);
  margin-bottom: 30px;
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
}

.introduction__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.c-notice {
  padding: 15px;
  background-color: white;
}

.c-notice h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--primary-color);
  font-size: 1.2rem;
}

/* Flow Steps */
.flow__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.flow__item {
  margin-bottom: 50px;
  position: relative;
}

.flow__wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.flow__wrap h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.flow__wrap h3 strong {
  background-color: var(--primary-color);
  color: white;
  width: 30px;
  height: 30px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin-right: 10px;
  font-size: 1rem;
}

.flow__item p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

mark.strong {
  background-color: rgba(255, 107, 139, 0.2);
  padding: 2px 5px;
  border-radius: 3px;
  color: var(--primary-color);
  font-weight: bold;
}

/* Reasons List */
.reason {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  max-width: 800px;
  margin: 0 auto 40px;
}

.reason__item {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  background-color: white;
  padding: 15px 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.reason__item span {
  margin-right: 15px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Kakumei (Revolution) Section */
.kakumei {
  max-width: 800px;
  margin: 0 auto;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.text-left {
  text-align: left;
}

/* Reports */
.report {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: flex;
  justify-content: center;
}

.report__item {
  max-width: 400px;
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
}

.report__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.report__img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.report__txt {
  padding: 15px;
  margin: 0;
  font-weight: bold;
  color: var(--primary-color);
}

.report__info {
  padding: 0 15px 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
}

.woman {
  color: var(--primary-color);
  margin-right: 10px;
}

.man {
  color: var(--secondary-color);
  margin-left: 10px;
}

.report__description {
  max-width: 800px;
  margin: 30px auto;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: var(--border-radius);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Matches */
.match {
  max-width: 800px;
  margin: 0 auto 40px;
  background-color: white;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.match__tit {
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  max-width: 400px;
  margin: 0 auto 20px;
}

.color-pink {
  color: var(--primary-color);
}

.color-blue {
  color: var(--secondary-color);
}

.match__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.match__item {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.match__item.woman span {
  color: var(--primary-color);
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.match__item.man span {
  color: var(--secondary-color);
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.match__item.cross {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.match__item.cross span {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Small notes */
.lp-note {
  color: var(--light-text);
  font-size: 0.85rem;
}

/* Hover Login */
.hover_cont {
  position: relative;
}

.fixed-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.p-4 {
  padding: 1.5rem;
}

.py-4 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.m-0 {
  margin: 0;
}

.w-100 {
  width: 100%;
}

.text-center {
  text-align: center;
}

/* Utility Classes */
.mb-4 {
  margin-bottom: 1.5rem;
}

.justify-content-between {
  justify-content: space-between;
}

.align-items-start {
  align-items: flex-start;
}

.flex-wrap {
  flex-wrap: wrap;
}

/* Media Queries */
@media (max-width: 992px) {
  .introduction__item {
    flex: 0 0 calc(50% - 15px);
  }

  .heading__title {
    font-size: 1.8rem;
  }

  .section {
    padding: 40px 0;
  }
}

@media (max-width: 768px) {
  .introduction__item {
    flex: 0 0 100%;
  }

  .cover {
    min-height: 400px;
  }

  .cover-filter {
    padding: 60px 15px;
  }

  .cover__description {
    font-size: 1rem;
  }

  .heading__title {
    font-size: 1.6rem;
  }

  .primary-btn, .sub-btn {
     display: block;
  }

  .flow__wrap {
    flex-direction: column;
  }

  .flow__wrap img {
    width: 100%;
    max-width: 300px;
  }

  /* 安心・安全な理由セクションのスマホ表示修正 */
  .reason__item {
    flex-wrap: nowrap;
    align-items: flex-start;
  }

  .reason__item span img {
    width: 18px;
    height: 18px;
  }

  /* 安心・安全な理由の画像とテキスト修正 */
  .section img[alt^="安心・安全な理由"] {
    display: block;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    flex-shrink: 0;
  }

  /* 最近成立したカップルのスマホ表示修正 */
  .match__item.woman span,
  .match__item.man span,
  .match__item.cross span {
    font-size: 0.9rem;
    padding: 6px 0;
  }

  /* レポートセクションのスマホ調整 */
  .report__description {
    font-size: 0.9rem;
    padding: 15px;
  }
}

/* Display toggles for responsiveness */
.only-pc {
  display: block;
}

.only-sp {
  display: none;
}

@media (max-width: 768px) {
  .only-pc {
    display: none;
  }

  .only-sp {
    display: block;
  }
}
