* {
  color: #323c44;
  font-weight: normal;
  margin: 0;
  padding: 0;
  text-decoration: none;
  /* list-style: none; */
  box-sizing: border-box;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
}

a {
  color: #323c44;
}
p {
  letter-spacing: 0.05em;
  text-indent: 1em;
}
p a {
  text-decoration: underline;
  color: blue;
}

.title {
  text-align: center;
}

.title1 {
  display: inline-block;
  text-align: center;
  margin: 0 auto;

  width: 500px;
  height: 350px;

  padding-top: 150px;
}

h1 {
  border-bottom: #4a69a4 1px solid;

  letter-spacing: 0.2em;

  font-size: 40px;
  font-weight: bold;
  padding-bottom: 20px;
  /* margin-left: 320px;
    padding-top: 225px; */
}

.title1 p {
  margin-top: 30px;
  font-size: 16px;
}
.naiyou p {
  font-size: 18px;
  line-height: 30px;
  margin: 0 auto;

  width: 800px;
}
h2 {
  color: #4a69a4;
  border-bottom: 6px #bbe2f1 solid;
  font-size: 36px;
  font-weight: bold;
  padding-top: 30px;
  text-align: center;
  letter-spacing: 0.2em;
  margin-bottom: 50px;
}

.title2 {
  display: flex;
  align-items: center;
  justify-content: start;
  width: 1120px;
  margin: 0 auto;
  padding-top: 150px;
}
.title_2 {
  background-image: url(../images/title1.png);
  width: 160px;
  height: 96px;
}

h3 {
  letter-spacing: 0.1em;
  font-size: 32px;
  font-weight: normal;
}
.title3 {
  display: flex;
  align-items: center;
  justify-content: start;
  width: 1026px;
  margin: 0 auto 20px;
}
.title_3 {
  background-image: url(../images/title2.png);
  width: 113px;
  height: 70px;
}

.content_block p {
  font-size: 18px;
  line-height: 30px;
  margin: 0 auto;

  width: 800px;
}

iframe {
  display: flex;
  margin: 30px auto 0;
}

.date {
  font-weight: bold;
}
img {
  display: flex;
  margin: 0 auto;
}
.intro p {
  margin-top: 10px;
}

.second .intro img {
  width: 600px;
  height: 450px;
  background-size: cover;
}

.images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px; /* 行間隔 */
}

.image-row {
  display: flex;
  justify-content: center;
  gap: 20px; /* 画像の横間隔 */
  flex-wrap: wrap;
}

.image-row img {
  width: 600px;
  height: auto;
  object-fit: contain;
  max-width: 100%;
}

.laboButton {
  background-color: #fff;
  margin: 0 auto;
  margin-top: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;

  width: 290px;
  height: 60px;
  border: #88b2d1 2px solid;
  box-shadow: #bbe2f1 5px 5px;
  transition: 0.4s;
}
.laboButton:hover {
  box-shadow: none;
  background-color: #88b2d1;
  color: #fff;
  transition: 0.4s;
}

/* 上から順番 */
ol {
  list-style: decimal;

  width: 750px;
  margin: 0 auto;
}

.last_text {
  margin-top: 200px;
}

/* 余白 */
.first,
.second,
.third {
  margin-top: 110px;
}
.content_section {
  margin-top: 140px;
}
.content_subsection {
  margin-top: 40px;
}
.content_item {
  margin-top: 20px;
}

section img {
  margin-top: 30px;
  margin-bottom: 30px;
}

.taiken-section {
  display: flex;
  justify-content: center; /* 横中央揃え */
  align-items: stretch;
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px; /* コンテンツ幅を固定 */
  margin: 0 auto; /* 中央に配置 */
  flex-wrap: wrap;
}

.taiken-card {
  flex: 1 1 45%; /* 画面幅に応じて2分割 */
  max-width: 500px;
  min-width: 300px;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s;
}

.taiken-card:hover {
  transform: translateY(-5px);
}

.taiken-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.taiken-card h3 {
  font-size: 1.5rem;
  margin: 1rem 0 0.5rem;
}

.taiken-card p {
  font-size: 1rem;
  padding: 0 1rem;
  color: #555;
}

.taiken-card .button {
  display: inline-block;
  margin: 1rem auto 2rem;
  padding: 0.6rem 1.5rem;
  background-color: #005bac;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.taiken-card .button:hover {
  background-color: #004080;
}

.arrow {
  color: #4a69a4;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 20px;
  width: 50px;
  height: 50px;
  border: solid 1px #4a69a4;
  border-radius: 50%;

  position: absolute;

  left: 140px;
  bottom: 0;

  transition: 0.4s;
}
.arrow:hover {
  color: #fff;
  background-color: #4a69a4;
  transition: 0.4s;
}

/* footer */
.logos {
  margin-left: 80px;
}
.logo {
  display: inline-block;
  background-image: url(../images/soraichi.jpg);
  height: 140px;

  width: 150px;
  background-size: cover;
  background-position: center;
}
.texts {
  display: flex;
}
.kikaku {
  width: 180px;
}

.company_eight {
  width: 210px;
  height: 290px;
  position: relative;
}

.texts a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}
.texts a::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: "";
  width: 100%;
  height: 1px;
  background: #fff;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform 0.3s;
}
.texts a:hover::after {
  transform: scale(1, 1);
}

.yairi {
  display: none;
}

#lec1 {
  font-weight: bold;
}

#lec2 {
  margin-top: 30px;
}

@media screen and (max-width: 768px) {
  /* タブレット用調整 */
  h3 {
    font-size: 24px;
  }

  .title2 {
    width: 90vw;
    padding-top: 120px;
    flex-wrap: wrap;
  }

  .content_block p {
    font-size: 17px;
    line-height: 28px;
    width: 90vw;
  }

  .image-row {
    flex-direction: column;
    gap: 15px;
  }

  .image-row img {
    width: 100%;
    height: auto;
    max-width: 90vw;
  }

  .laboButton {
    font-size: 16px;
    width: 240px;
    height: 55px;
    margin-top: 80px;
  }

  section img {
    max-width: 90vw;
    height: auto;
  }

  .second .intro img {
    width: 90vw;
    height: auto;
  }

  ol {
    width: 85vw;
  }
}

@media screen and (max-width: 480px) {
  h2,
  h3,
  h4 {
    font-size: 18px;
  }
  h2 {
    width: 90vw;
    margin: 0 auto;
    font-size: 24px;
  }
  h3 {
    font-size: 18px;
  }

  .title1 {
    width: min(92vw, 640px);
    padding-top: 80px;
    height: auto;
    min-height: 150px;
  }
  .title1 p {
    font-size: 16px;
    width: auto;
    margin-top: 10px;
  }
  .title2 {
    width: 90vw;
    padding-top: 80px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .title3 {
    width: 85vw;
    flex-direction: column;
    align-items: center;
  }

  .title_1 {
    width: 80px;
    height: 48px;
    background-size: contain;
    background-repeat: no-repeat;
  }

  .title_2 {
    width: 80px;
    height: 48px;
    background-size: contain;
    background-repeat: no-repeat;
    margin-bottom: 10px;
  }
  .title_3 {
    width: 50px;
    height: 30px;
    background-repeat: no-repeat;
    margin-bottom: 10px;
  }

  p {
    font-size: 15px;
    line-height: 26px;
    width: 90vw;
    text-indent: 0.5em;
  }

  .naiyou img {
    max-width: 90vw;
    height: auto;
  }
  iframe {
    width: 85vw;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  ol {
    width: 80vw;
    font-size: 15px;
  }

  .content_block p {
    font-size: 15px;
    line-height: 26px;
    width: 90vw;
    margin-top: 10px;
    text-indent: 0.5em;
  }

  .title2 {
    width: 90vw;
    padding-top: 80px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 15px;
  }

  /* 強制: 装飾と見出しを横並びにする (モバイルでの競合回避) */
  .title2 > .title_2 {
    display: inline-block;
    flex: 0 0 auto;
    width: 50px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    margin: 0;
  }

  .title2 > h3 {
    display: inline-block;
    flex: 1 1 auto;
    margin: 0;
    align-self: center;
    font-size: 16px;
    white-space: normal;
  }

  /* より厳格に適用するための高特異度ルール */
  .content_block .title2 {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .content_block .title2 > .title_2 {
    display: block !important;
    flex: 0 0 50px !important;
    width: 50px !important;
    height: 30px !important;
    background-size: contain !important;
  }

  .content_block .title2 > h3 {
    display: block !important;
    flex: 1 1 auto !important;
    margin: 0 !important;
  }

  /* PCと同様の扱いにして確実に横並びにする: 装飾を h3::before にして一体化 */
  .content_block .title2 > .title_2 {
    display: none !important;
  }

  .content_block .title2 > h3 {
    position: relative !important;
    padding-left: 140px !important; /* 装飾分のスペースを確保（少し小さめ） */
  }

  .content_block .title2 > h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 120px; /* 小さくする */
    height: 72px; /* 小さくする */
    background-image: url(../images/title1.png);
    background-size: contain;
    background-repeat: no-repeat;
  }

  .title_2 {
    width: 50px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
  }

  h3 {
    font-size: 16px;
    word-break: break-word;
  }

  .image-row {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .image-row img {
    width: 90vw;
    height: auto;
    max-width: 100vw;
    padding: 0 5vw;
  }

  .images {
    width: 100%;
    gap: 10px;
  }

  .laboButton {
    font-size: 14px;
    width: 85vw;
    max-width: 280px;
    height: 50px;
    margin-top: 60px;
    padding: 0;
    border-width: 1.5px;
    box-shadow: #bbe2f1 3px 3px;
  }

  section img {
    width: 90vw;
    height: auto;
    max-height: none;
  }

  .second .intro img {
    width: 90vw;
    height: auto;
  }

  /* header */
}
