/* Reset default browser styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  color-scheme: light;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

header {
  background-color: #f8f8f8;
  padding: 20px;
  text-align: center;
}

h1 {
  font-size: 1.6rem;
  line-height: 1.5;
  letter-spacing: .08;
  margin-bottom: 20px;
  color: #222;
}

h2 {
  font-size: 1.55rem;
  margin-bottom: 20px;
  line-height: 1.5;
  letter-spacing: .09em;
  color: #222;
  font-weight: bold;
  border-bottom: 1px solid #e5e5e5; /* 下線を追加 */
  display: inline-block; /* 下線をテキストの幅に合わせる */
  padding-bottom: 10px; /* 下線とテキストの間隔 */
}


.contact-form h2{
  font-size: 1.2rem;
}
.contact-form label{
  font-size: 0.9rem;
}

section {
  padding: 40px 80px;
}

section.header{
  margin: 48px 80px 0 80px;
  padding: 0 0 0 40px;
  border-left: 1px solid #e5e5e5;
}
section.header h1 span{
  font-size: 1.2rem;
  display: block;
}
section.header .status {
  margin-block: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2lh 1ic;
}
section.header .status > * {
  padding-inline: 0.5ic;
  border-radius: 3px;
  background: #e63a00;
  font-size: 85%;
  color: white;
}
section.header p{
  padding-bottom: 0;
}

.key-visual img {
  width: 100%;
}
section.key-visual {
  padding-top: 36px;
}

ul {
  list-style-type: disc;
  margin-left: 20px;
}

ul, p{
  padding-bottom: 1.5rem;
}

/* dl, dt, ddのスタイリングで、dtとddを横並びにし、それぞれの要素の上下にグレーの線を入れる設定 */
dl {
  display: flex;
  flex-wrap: wrap;
  background-color: #fff;
  padding: 0px 0px 40px 0px;
}

dt {
  flex-basis: 20%;
  background-color: #F5F5F5;
  font-weight: 500;
  font-family: YakuHanJP, neue-haas-grotesk-text, Koburina Gothic W6 JIS2004, sans-serif;
  color: #00001a;
  padding: 26px 10px 26px 20px;
  border-bottom: 1px solid #e5e5e5; /* #F5F5F5より少し濃いグレー */
}

dd {
  flex-basis: 80%;
  background-color: #fff;
  padding: 26px 10px 26px 20px;
  border-bottom: 1px solid #e5e5e5; /* #F5F5F5より少し濃いグレー */
}
.time-table dl {
	padding: 0;
}
.time-table dl + dl {
	border-top: 1px solid #e5e5e5;
}
.time-table :is(dt, dd) {
	padding-block: 0.5lh;
	border-bottom: 0;
}
.time-table dt {
	background: white;
}
.time-table dt + dd {
	font-weight: bolder;
	padding-bottom: 0.3lh;
}
.time-table dd + dd {
	margin-left: auto;
	padding-block: 0 0.75lh;
	font-size: 75%;
}


.speaker {
  display: flex;
  align-items: flex-start;
  margin-bottom: 45px;
}

.speaker > img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 20px;
}
.speaker .speaker-info img[src*="logo-"] {
  width: auto;
  object-fit: contain;
}

.speaker-info {
  flex: 1;
}

.speaker-info p{
  padding-bottom: 0;
  font-weight: bold;
}
.speaker-name {
  font-size: 1.25rem;
}
.speaker-title {
  font-size: 1rem;
  margin-top: 1rem;
}

.speaker-company {
  font-size: 0.9rem;
  color: #666;
}

.speaker-info p.speaker-profile{
  font-weight: normal;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  width: fit-content;
  background-color: #333;
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 1rem;
}
.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7em;
  height: 1.7em;
  flex-shrink: 0;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 0.85em;
  line-height: 1;
}
.btn-arrow svg {
  width: 62%;
  height: 62%;
  display: block;
}


section.cta {
  padding-block: 60px;
}
section.cta .btn {
  margin-inline: auto;
  font-size: 1.25rem;
  padding: 12px 30px;
}

.contact-form {
  padding: 40px 60px 80px;
}

/* PC：申込フォームをスクロールに追従させる。
   注意：bottom基準のstickyはこのレイアウトでは効かない（要素が流れていく）ため top基準にする。
   ただし top基準だと、フォーム高がビューポートより高い場合に送信ボタンが画面外へ固定され
   押せなくなる。そのため下記2点をセットで行う。
     1. 余白を詰めてフォーム自体を縮め、1画面に収まりやすくする
     2. それでも収まらない環境向けに max-height + overflow-y で
        フォーム内スクロールを可能にし、送信ボタンへ必ず到達できるようにする */
@media screen and (min-width: 769px) {
  .contact-form {
    position: sticky;
    top: 0;
    max-height: 100vh;
    overflow-y: auto;
    padding: 26px 40px 30px;
  }
  .contact-form h2 {
    margin-bottom: 14px;
    padding-bottom: 6px;
  }
  .contact-form .form-group {
    margin-bottom: 12px;
  }
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"] {
    padding: 8px 10px;
  }
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

@media (hover: hover) {
  .btn,
  button[type="submit"] {
    transition: 0.3s 0s ease;
  }
  .btn:hover,
  button[type="submit"]:hover {
    background-color: #555;
  }
}
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 40px 80px;
  font-size: 0.8rem;
}

.main-content {
  display: flex;
  flex-wrap: wrap;
}

.main-content-left {
  flex: 1;
  padding-right: 50px;
  min-width: 0;
}

.main-content-right {
  width: 400px;
  background-color: #fafafa;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
  width: 100%;
}
.form-group span{
  color: #e63a00;
}

.br-pc {
  display: block;
}

/* Media queries for responsiveness */
@media screen and (max-width: 768px) {
  section {
    padding: 30px;
  }
  /* CTAボタン：スマホでは全幅にし、文字サイズを画面幅に追従させる。
     文言の長さや端末幅（320px端末を含む）に関わらず折り返さないようにするため。
     左右の余白も詰めて文字が入る幅を確保する。 */
  section.cta {
    padding-inline: 16px;
  }
  section.cta .btn {
    width: 100%;
    font-size: clamp(0.95rem, 4.6vw, 1.25rem);
    padding: 14px 16px;
    white-space: nowrap;
  }
  section.header{
    margin:38px 30px 0px 30px;
    border-left: 0;
    padding: 0;
  }
  section.header h1{
	  font-size: 4.8vw;
  }
  section.header h1 span{
    font-size: 3.2vw;
    margin-bottom: 0.5rem;
  }

  .speaker {
    flex-direction: column;
    text-align: center;
  }

  .speaker > img {
    margin-right: 0;
    margin-bottom: 10px;
    margin-inline: auto;
  }

  .main-content {
    flex-direction: column;
  }

  .main-content-left {
    padding-right: 0;
    margin-bottom: 50px;
  }

  .main-content-right {
    width: 100%;
  }
  dt, dd {
    flex-basis: 100%;
  }
  .time-table :is(dt, dd) {
	padding-inline: 0;
  }
	.time-table dt {
		flex-basis: 20%;
	}
	.time-table dd {
		flex-basis: 80%;
	}
  .br-pc {
    display: none;
  }
}

.main-topics hr {
  margin-block: 1.5rem;
  border: 0;
  border-bottom: 1px solid #e5e5e5;
}
.main-topics p + hr {
  margin-top: 0;
}

/* FV内「得られること」プレビュー（CTA直上） */
section.fv-value {
  margin: 0 80px 20px 80px;
  padding: 24px 32px;
  background: #f7f7f7;
  border-radius: 8px;
}
.fv-value-question {
  font-size: 1.15rem;
  font-weight: bold;
  color: #222;
  padding-bottom: 1rem;
}
.fv-value-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: bold;
  color: #fff;
  background: #e63a00;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 0.75rem;
  padding-bottom: 4px;
}
.fv-value-list {
  list-style: none;
  margin-left: 0;
}
.fv-value-list li {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  padding-bottom: 0.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #222;
}
.fv-value-list li:last-child {
  padding-bottom: 0;
}
.fv-value-list li .num {
  font-size: 1.3em;
  font-weight: 800;
  color: #e63a00;
  flex-shrink: 0;
}

/* 「その不動産は…」3ブロック構成 */
.value-block {
  margin-bottom: 1.25rem;
}
.value-block .value-label {
  display: block;
  font-size: 1.15rem;
  font-weight: bold;
  color: #222;
  line-height: 1.4;
  padding: 2px 0 2px 14px;
  border-left: 4px solid #e63a00;
  margin-bottom: 0.5rem;
}
.value-block .value-label .num {
  font-size: 1.6em;
  font-weight: 900;
}

/* 【ラベル】右からのフェードイン（IntersectionObserverが使える場合のみ発動） */
.value-block .value-label.will-animate {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.value-block .value-label.will-animate.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.value-block p:not(.value-label) {
  padding-bottom: 0;
}
.value-closing {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e5e5;
  font-weight: bold;
  color: #222;
  padding-bottom: 0;
}

@media screen and (max-width: 768px) {
  section.fv-value {
    margin: 0 30px 20px 30px;
    padding: 20px;
  }
}