@charset "utf-8";
/* CSS Document */
html {
  font-size: 16px; /* ベースのフォントサイズ */
}
h1, h2, h3, h4, h5 {
  text-decoration: none;
  font-size: 16px;
  font-weight: 600px;
}
body {
  background: #c9caca;
  margin: 0;
  padding: 0;
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.container {
  display: flex;
  align-items: stretch;
  font-size: 0.8rem;
  margin: 0 auto;
  min-width: min-content;
  max-width: max-content;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(.7, .3, .3, 1) 0.1s;
}
.container.show {
  opacity: 1;
}
.left {
  width: 300px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: flex-start;
  height: 100%;
}
.logo {
  width: 65%;
  height: auto;
  margin-bottom: 40px;
}
.left-text {
  line-height: 1.7;
}
.right {
  width: 1000px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.tiles {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 328px);
  grid-template-rows: repeat(3, 235px);
  gap: 10px;
  margin-bottom: 28px;
  justify-content: center; /* 横中央寄せ */
}
.tile {
  width: 100%;
  height: auto;
  min-width: 0;
  min-height: 0;
  padding: 0; /* padding-top:100%は消す */
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #B7B7B7;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.9s;
  mix-blend-mode: multiply;
}
.tile img.active {
  opacity: 1;
}
.right-text {
  line-height: 1.5;
  text-align: left;
  width: 100%;
}
h2 {
  font-size: 0.9rem;
  margin-bottom: 6px;
  position: relative;
  display: inline-block;
  line-height: 1.8;
  padding-bottom: 8px;
  font-weight: normal;
}
h2 .underline {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0.7em; /* 1文字分 */
  height: 1px;
  background: #000;
  content: '';
  display: inline-block;
}
.left-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.left-list li {
  margin-bottom: 0px;
  letter-spacing: 0.04em;
}
.left-list a {
  color: #000;
  text-decoration: underline; /* 通常：下線あり */
  transition: text-decoration 0.2s;
}
.left-list a:hover {
  text-decoration: none; /* ホバー時：下線消す */
  color: #8C8C8C; /* 任意：ホバーで色変化も可 */
}
.section1 {
  margin-bottom: 25px;
}
.section2 {
  margin-bottom: 25px;
}
/* PC時：SP用ロゴ非表示 */
.logo-sp {
  display: none;
}
.section3 {
  margin-bottom: 40px;
}
.company-btn {
  display: block;
  width: 70%;
  padding: 6px 0;
  border: 1px solid #222;
  color: #000;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: background 0.3s, color 0.3s;
  box-sizing: border-box;
  font-size: 0.9em;
}
.company-btn:hover, .company-btn:focus {
  background: #222;
  color: #fff;
  text-decoration: none;
}
.section4 {
  margin-bottom: 30px;
}
.section4 p {
  line-height: 1.5;
  margin: 0 0 10px
}
.section5 {
  margin-bottom: 68px;
}
.section6 {
  margin-bottom: 0px;
}
.section6 p {
  font-size: 0.7rem;
}
.section6 img {
  width: 50%;
}

.button-row {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  gap: 14px; /* ボタン間の余白 */
  width: 70%;
  margin: 0;
}
.button-row .company-btn {
  width: auto; /* 親のflex内で均等幅 */
  min-width: 47%;
  margin: 0; /* 余計な外側余白を消す */
  border: 1px solid #222;
  color: #000;
  transition: background 0.3s, color 0.3s;
}
.button-row .company-btn:hover, .button-row .company-btn:focus {
  background: #222;
  color: #fff;
  text-decoration: none;
}

.line{display: none}

@media (max-width: 1100px) {
  .container {
    width: 98vw;
    min-width: 320px;
  }
}
@media (max-width: 750px) {
  html, body {
    font-size: 14px;
  }
  .container {
    flex-direction: column;
    align-items: stretch;
    width: 100vw;
    min-width: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 1em;
    padding: 0;
    height: 100%;
  }
  .left, .right {
    width: 100%;
    padding: 0;
    min-width: 0;
    box-sizing: border-box;
    align-items: stretch;
    margin: 0 auto;
  }
  .right {
    order: 1;
  }
  .left {
    order: 2;
  }
  .left {
    padding: 0 6px;
  }
  .logo {
    display: none;
  }
  .logo-sp {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 82px;
    height: 82px;
    margin: 24px auto 12px auto;
    background: none;
    border-radius: 0%;
    color: none;
    font-size: 1.4em;
    box-shadow: none;
    left: 20px;
    position: relative;
  }
  .tiles {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 4px;
    margin-bottom: 40px;
    max-width: 100vw;
  }
  .tile {
    min-width: 0;
    min-height: 0;
    width: 100%;
    height: auto;
  }
  .right-text, .left-text {
    margin: 0 auto;
    text-align: left;
    padding-left: 4px;
    padding-right: 4px;
    width: 90%;
    font-size: 0.85rem;
	  line-height: 1.8;
	  
  }
  .company-btn {
    width: 50%;
  }
  .button-row {
    width: 100%;
    gap: 8px;
    margin: 0 0 16px 0;
  }
  .button-row .company-btn {
    width: 25%;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .section5 {
    margin-bottom: 100px;
  }
  .section6 img {
    width: 100%;
    max-width: 120px;
  }
  /* PC用ロゴ非表示 */
  .logo-sp {
    display: flex;
    justify-content: flex-start;
    align-items: none;
    width: 40%;
    height: auto;
    margin: 40px 0 20px;
    background: none;
    border-radius: 50%;
    color: #fff;
    font-weight: bold;
    font-size: 1.7em;
    box-shadow: none;
  }
  .tile {
    aspect-ratio: 2/3; /* スマホでも縦長をキープ */
  }
  .right-text {
    order: 3;
    margin: 0 auto 50px;
  }
  .left-text {
    order: 4;
    margin-top: 8px;
    padding-bottom: 28px;
  }
	.line {
		display: block;
 border-bottom: #A8A8A8 1px solid;
	width: 100%;
	height: 1px;
	margin-bottom: 40px;
}
	.section6 p {
  font-size: 0.6rem;
}
}