@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@100;300;400;500&display=swap');
/* @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700;900&display=swap'); */

/* マテリアルアイコン */
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

:root {
  --main-color: #ffba53;
  --sub-color: rgb(255, 215, 141);
  --background: rgb(254, 254, 254);
}

/*
 * common 
 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Noto Sans JP', sans-serif;
  /* font-family: 'M PLUS Rounded 1c', sans-serif; */
  font-size: 16px;
}

body {
  background-color: var(--background);
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
  border-left: 8px solid var(--main-color);
  border-bottom: 2px solid var(--main-color);
  margin-bottom: 16px;
  margin-top: 32px;
  padding-left: 8px;
}

main h3 {
  font-size: 1.3rem;
  font-weight: normal;
  background: var(--sub-color);
  border-radius: 8px;
  padding-left: 8px;
  margin-top: 16px;
}

ruby rt{
  font-size: 0.5em;
}

p,
dl,
ol,ul {
  line-height: 1.6;
  margin-top: 16px;
  margin-bottom: 32px;
}

ol {
  padding: 8px 16px;
}
table {
  margin-bottom: 32px;
}
th,
td {
  padding: 8px 16px;
}

/* アイコン調整 */
.va-px {
  vertical-align: -7px;
}

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


.button {
  background: whitesmoke;
  border: 2px solid black;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  color: #000;
  cursor: pointer;
  display: inline-block;
  font-weight: bold;
  line-height: 16px;
  padding: 8px 16px;
  text-decoration: none;
}

.button:hover {
  background: black;
  color: #fff;
}

.center-button {
  display: flex;
  justify-content: center;
}

.button-color {
  background: #f2750f;
  border-radius: 40px;
  cursor: pointer;
  color: white;
  display: flex;
  font-weight: bold;
  justify-content: center;
  align-items: center;
  line-height: 32px;
  margin: 32px 0;
  opacity: .8;
  padding: 8px 32px;
  text-decoration: none;
  width: 240px;
}

.button-color:hover {
  opacity: 1;
}

/*-----------------------*
 * header                *
 *-----------------------*/
header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  /* navbarのドロップシャドウを消す */
  width: 100%;
}

header .button {
  background: whitesmoke;
  border-radius: 32px;
  border: 2px solid black;
}

header .logo {
  max-height: 120px;
  width: 40vw;
}

header h1 {
  font-size: 0;
}

/* ヘッダー画像コンテナ */
.top-header {
  width: 100%;
}

.photo-bg {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* スライドショーコンテナ */
.slideshow-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
  margin: 0 auto;
  max-height: 480px;
  background: #000;
}

/* スライド */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 5s ease-in-out;
  z-index: 1;
  
}

/* スライド内の実際の画像 */
.slide-image {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: inset 0 4px 4px #00000033;
}

/* スライド内のブラー背景 */
.slide-blur {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  background-size: cover;
  background-position: center;
  filter: blur(4px);
  z-index: -1;
}

/* アクティブなスライド */
.slide.active {
  opacity: 1;
  z-index: 2;
}

/* スライダードット */
.slider-dots {
  bottom: 10px;
  display: flex;
  justify-content: center;
  position: absolute;
  width: 100%;
  z-index: 3;
}

.dot {
  height: 12px;
  width: 12px;
  background-color: #bbb;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #ff8a15;
}

.title {
  align-items: center;
  background: var(--background);
  display: flex;
  justify-content: space-between;
  padding: 0 14px;
}

.title p {
  margin: 0;
}



/*--------------------
 * メイン
 *-------------------*/

main ul {
  margin-top: 16px;
  padding-left: 32px;
  line-height: 1.6;
}

/* レイアウト */

.flex-row {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  justify-content: space-between;
}

.row-main {
  flex: 2;
}

.row-sub {
  flex: 1;
}

/* 画像 */

main section img {
  border-radius: 16px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.gallery img {
  border-radius: 15px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
  height: 200px;
  margin-bottom: 16px;
  max-width: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: calc(33.333% - 10px);
}
.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}
.no-border {
  border-collapse: collapse;
  /* セル間の境界線を無くす */
}

.no-border td,
.no-border th {
  border: none;
  /* セルの境界線を無くす */
}

/* マップのスタイリング */
.map {
  margin: 16px 0;
  width: 100%;
}

/* カード */
.card {
  background: white;
  /* border: 2px solid rgb(168, 206, 187); */
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 8px;
  padding: 8px;
  max-width: 400px;
}

.card h3 {
  background: none;
  border-radius: 0;
  font-weight: bold;
  margin: 0 0 0 8px;
  padding: 0;
}

.card dl {
  border-radius: 8px;
  background: rgba(202, 236, 216, 0.432);
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 16px;
  padding: 8px;
}

.card dt {
  margin-right: 8px;
  width: 120px;
}

.card dt.time {
  text-align: right;
}

.card dd {
  min-width: calc(100% - 120px - 16px);
  flex: 1;
}


/* 声 */

.voices {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 20px;
  gap: 20px;
}

.voice {
  display: flex;
  align-items: flex-start;
  /* background-color: white; */
  padding: 20px;
  border-radius: 10px;
  /* box-shadow: 0 4px 8px rgba(0,0,0,0.05); */
  flex: 1 1 calc(50% - 20px);
  /* 2列に調整 */
  box-sizing: border-box;
}

.voice .avatar {
  width: 80px;
  border-radius: 50%;
  margin-top: 20px;
  margin-right: 20px;
}

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

.name {
  font-weight: bold;
  margin-bottom: 8px;
  margin-top: 0;
  font-size: 1.1rem;
  color: #333;
}


/* 吹き出し */
.bubble {
  background-color: rgb(217, 235, 226);
  padding: 15px;
  border-radius: 10px;
  position: relative;
  font-size: 1rem;
  max-width: 100%;
}

/* 吹き出しの三角形 */
.bubble::before {
  content: '';
  position: absolute;
  top: 20px;
  left: -18px;
  border-width: 10px;
  border-style: solid;
  border-color: transparent rgb(217, 235, 226) transparent transparent;
}

/* プロフィールカード */

.profile-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 auto;
}

.profile-card {
  background-color: white;
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  flex: 1 1 calc(50% - 16px);
  /* 画面サイズに応じて調整 */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: calc(50% - 16px);
  /* 最大幅を指定 */
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
}

.profile-header .avatar {
  width: 120px;
  border-radius: 8%;
}

.bubble-container {
  flex: 1;
}

.name {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.material-symbols-rounded.male {
  color: #5395ff;
  vertical-align: -7px;
}

.material-symbols-rounded.female {
  color: #ff53da;
  vertical-align: -7px;
}

/* プロフィール詳細（dt, dd を横並び） */
.profile-details {
  width: 100%;
  margin-top: 15px;
  padding: 15px;
  background: #ffffff;
  border-radius: 10px;
}

.profile-item {
  display: flex;
  justify-content: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
}

.profile-item:last-child {
  border-bottom: none;
}

dt {
  font-weight: bold;
  color: #333;
  min-width: 100px;
}

dd {
  margin: 0;
  color: #666;
  flex-grow: 1;
}


/* footer */

.footer {
  background-color: #333;
  color: #fff;
  padding: 40px 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 20px;
}

.footer-company-info {
  flex-basis: 300px;
  margin-bottom: 20px;
}

.footer-company-info h3 {
  font-size: 18px;
  margin-bottom: 15px;
  border-bottom: 1px solid #555;
  padding-bottom: 8px;
}

.footer-company-info p {
  margin: 5px 0;
  font-size: 14px;
  line-height: 1.6;
}
/* iphone電話番号が勝手にリンクになる対策 */
.footer-company-info p a {
  color: white;
  text-decoration: none;
}

.footer-links {
  flex-basis: 200px;
  margin-bottom: 20px;
}

.footer-links h3 {
  font-size: 18px;
  margin-bottom: 15px;
  border-bottom: 1px solid #555;
  padding-bottom: 8px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #fff;
}

.footer-links img {
  background-color: white;
  border-radius: 8px;
  padding: 8px 16px;
  max-height: 60px;
}

.footer-bottom {
  width: 100%;
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #555;
  font-size: 12px;
}


/*
 * ページ固有設定
 */

table {
  border-collapse: collapse;
  margin-top: 8px;
}

.page-index th,
.page-index td {
  background: #f5f5f5;
  border: solid 1px gray;
}

.page-index th {
  background: #eee;
  width: 130px;
}

/*------------------------------------------
  Responsive Grid Media Queries - 1280, 1024, 768, 480
   1280-1024   - デスクトップ（デフォルトのグリッド）
   1024-768    - タブレット横長
   768-480     - タブレット縦長
   480-less    - スマホ
--------------------------------------------*/
@media all and (min-width: 1024px) and (max-width: 1280px) {

}

@media all and (min-width: 768px) and (max-width: 1024px) {
  .profile-container {
    justify-content: center;
  }

  .profile-card {
    flex: 1 1 70%;
    max-width: 70%;
  }
  /* ギャラリー写真 */
  .gallery img {
    width: calc(50% - 10px);
  }
}

@media all and (max-width: 768px) {
  .flex-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .row-main {
    flex: none;
    width: 100%;
  }

  .row-sub {
    flex: 1;
  }

  .title {
    flex-direction: column;
    align-items: center;
  }

  .title .button {
    margin-bottom: 14px;
  }

  .title .logo {
    width: 80vw;
  }

  /* ギャラリー写真 */
  .gallery img {
    width: 80%;
    height: auto;
  }

  /* 吹き出し */
  .voice {
    flex-basis: 100%;
    /* スマホでは1列に */
  }

  .profile-card {
    flex: 1 1 calc(100% - 16px);
    max-width: calc(100% - 16px);
  }

  /* フッター */
  .footer-container {
    flex-direction: column;
  }

  .footer-company-info,
  .footer-links {
    flex-basis: 100%;
  }
}