:root {
  --ink: #0b1533;
  --ink-2: #334155;
  --bg: #ffffff;
  --bg-alt: #f1f5f9;
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic', Meiryo, sans-serif
}

a {
  color: inherit;
  text-decoration: none
}

img {
  max-width: 100%;
  display: block
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px
}

header {
  position: sticky;
  top: 0;
  background: #fffdfdcc;
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid #e5e7eb;
  z-index: 20;
  padding: 0 24px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 0;
  justify-content: space-between
}

.brand img {
  width: 80px;
  height: auto;
}

.links {
  display: none
}

@media(max-width:480px) {
    header {
        padding: 0 10px;
    }
    .nav {
        gap: 18px;
    }
    .brand img {
        width: 60px;
    }
}

@media(min-width:768px) {
  .links {
    display: flex;
    gap: 25px;
    text-align: center;
    line-height: normal;
    font-weight: bold;
  }

  .links a {
    font-size: 14px;
    opacity: .85
  }

  .links a:hover {
    opacity: .6
  }
}

.cta {
  border: 1px solid var(--ink);
  padding: 8px 14px;
  border-radius: 12px;
  font-weight: 600;
  text-align: center;

}
.nav .cta {
  font-size: 0.8rem;
}

.cta:hover {
  background: var(--ink);
  color: #fff
}

.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden
}

@media(max-width:480px) {
  .hero {
    min-height: 82vh;
  }
}


.hero>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hero>video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.hero .copy {
  position: relative;
  color: #fff;
  padding: 56px 15px 50px;  
}

h1 {
  font-size: 42px;
  line-height: 1.15;
  margin: 0;
  text-shadow: 0 2px 10px #000000;
  display: none; /*動画に文字があるため*/
}
.hero .copy p {
  margin-top:12px;
  font-size:18px;
  max-width:720px;
  text-shadow: 2px 2px 2px #000000;
  display: none; /*動画に文字があるため*/
}
.hero .copy .cta_area{
  display:flex;
 /* gap:12px;*/
  margin-top:50px;
}


@media(min-width:768px) {
  h1 {
    font-size: 56px
  }
  
}

section {
  padding: 72px 0
}

.hero {
  padding: 80px 0 10px 0;
}

.section-alt {
  background: var(--bg-alt)
}

h2 {
  font-size: 28px;
  margin: 0 0 16px
}
#about h2{
  margin: 0;
}
.about_heading_sub{
  margin: 0;
  font-size: 20px;
}

@media(min-width:768px) {
  h2 {
    font-size: 32px
  }
  .about_heading_sub{
	  font-size: 24px;
}
}

.cards {
  display: grid;
  gap: 16px
}

@media(min-width:768px) {
  .cards {
    grid-template-columns: repeat(3, 1fr)
  }
}

.card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .03)
}

.padded {
  padding: 20px 22px
}

.thumb {
  aspect-ratio: 4/3;
  width: 100%;
  object-fit: cover;
  display: block
}

.card-body {
  padding: 18px
}

footer {
  border-top: 1px solid #e5e7eb;
  padding: 28px 0;
  color: #64748b;
  text-align:center;
}

.flow {
  display: grid;
  gap: 16px;
}
.arrow {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: #64748b;
    clip-path: polygon(0 63.2%, 31% 63.2%, 31% 0, 69% 0, 69% 63.2%, 100% 63.2%, 50% 100%);
    margin: 0 auto;
  }

@media(min-width:900px) {
  .flow {
    grid-template-columns: 1fr 40px 1fr 40px 1fr;
    align-items: center; 
  }

  .arrow {
    clip-path: polygon(0 31%, 63.2% 31%, 63.2% 0, 100% 50%, 63.2% 100%, 63.2% 69%, 0 69%);
  }
}

.flow .card strong {
  display: block
}

.contact-grid {
  display: grid;
  gap: 20px
}

@media(min-width:900px) {
  .contact-grid {
    grid-template-columns: 1.2fr .8fr
  }
}

.contact-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px
}

.input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-top: 6px;
  font-size: 15px
}

.button-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0b1533;
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 800;
  gap: 10px
}

.button-lg:hover {
  background: #0b1533;
  color: #fff
}

label {
  display: block;
  margin-top: 12px;
  font-weight: 700
}

textarea.input {
  min-height: 160px;
  resize: vertical
}

.muted {
  color: #64748b;
  font-size: 12px
}

.lang-tabs {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-left: 8px
}

.lang-btn {
  padding: 6px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-weight: 700;
  font-size: 12px;
  background: #fff;
  cursor: pointer
}

.lang-btn[aria-selected="true"] {
  background: #0b1533;
  color: #fff;
  border-color: #0b1533
}

/* --- カスタムビデオコントローラーのスタイル --- */

/* コントロール全体を右下に配置 */
.p-index-mv__video-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 10; /* 動画コンテンツより手前に表示 */
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  /* background: rgba(0, 0, 0, 0.5);  半透明の背景 */
  border-radius: 8px;
  pointer-events: auto; /* クリック可能にする */
}

/* ミュートボタンのスタイル */
.p-index-mv__video-mute {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative; 
  width: 30px; 
  height: 30px;
  overflow: hidden; 
  
  /* --- スピーカー本体を描画 --- */
  background-image: url('./img/mute_icon.svg');
  background-size: contain; /* ボタンサイズに合わせて画像を調整 */
  background-repeat: no-repeat;
  background-position: center;
}

/* ::before で斜め線を描画（ミュート時のみ表示） */
.p-index-mv__video-mute::before {
    content: "";
    display: block;
    width: 2px;
    height: 24px; 
    background: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    /* 斜め線の位置と角度 */
    transform: translate(-50%, -50%) rotate(-45deg); 
    z-index: 2; /* スピーカー本体より手前に表示 */
    opacity: 1; /* デフォルト（ミュート時）は表示 */
    transition: opacity 0.2s;
}

/* .is-unmute クラスが付いたとき（音量ON時）は斜め線を非表示にする */
.p-index-mv__video-mute.is-unmute::before {
    opacity: 0;
}

/* ボリュームスライダーのスタイル */
.p-index-mv__video-volume {
  -webkit-appearance: none;
  appearance: none;
  width: 80px;
  height: 4px;
  background: #fff; /* トラックの色 */
  border-radius: 2px;
  cursor: pointer;
  margin: 0;
/* 初期状態では非表示にし、操作を受け付けない */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s; /* フェードイン・アウトのアニメーションを追加 */
}

/* スライダーが表示されるときのスタイル */
.p-index-mv__video-volume.is-active {
  opacity: 1;
  pointer-events: auto;
}
.p-index-mv__video-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  background: #c0c0c0; /* サム（つまみ）の色 */
  border-radius: 50%;
}
.p-index-mv__video-volume::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: #c0c0c0;
  border: none;
  border-radius: 50%;
}

@media(max-width:480px) {
  .p-index-mv__video-controls {
    bottom: 10px;
    right: 10px;
    padding: 6px 10px;
  }
  .p-index-mv__video-volume {
    width: 80px;
  }
  .p-index-mv__video-mute {
    width: 25px;
    height: 25px;
  }
  .p-index-mv__video-mute::before {
    height: 22px; /* 小さいアイコンサイズに合わせて調整 */
  }
}
/* --- /カスタムビデオコントローラーのスタイル --- */