@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
}

.zen-maru-gothic-regular {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.admin-section {
  /* ...既存のコード... */
  margin: 0 32px;  /* 上下0px、左右32pxの余白 */
}

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

body {
  margin: 0;
  background-color: #fdf6ec; /* 指定背景色 */
  color: #362b2b; /* 文字色 */
  line-height: 1.6;
　font-family: "Zen Maru Gothic", sans-serif;
}

body, h1, h2, h3, p, a, button, input, label {
  font-family: "Zen Maru Gothic", sans-serif;
}

.hr1 {
 border-top: 5px 
 dotted #d35d6e; 
 width: 70%;
 border-bottom: none;
 margin-left: auto;
 margin-right: auto;
}

#wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
}

/* --- ヘッダー --- */
.header {
  background: rgb(255, 255, 255);
  position: relative;
  padding: 0.5rem 0;
  /* ヘッダーの高さを必要に応じて調整 */
  min-height: 50px; /* 例: 80px。必要に応じて変更 */
  display: flex;
  align-items: center;
}

.logo-img {
  height: 60px;      /* ヘッダーの高さより小さめに */
  width: auto;       /* 幅は自動で比率維持 */
  display: block;
  margin-left: 1rem; /* 左側の余白 */
}

header h1 {
  text-align: center;
  padding: 0rem;
  font-size: 2rem;
}

nav {
  /* display: none; */
  height: 100vh;
  width: 300px;
  position: absolute;
  top: 0;
  right: -300px;
  z-index: 50;
  background-color: rgba(0, 0, 0, .5);
  transition: transform .5s;
}

#navBtn {
  display: none;
}

#navBtn:checked ~ nav {
  display: block;
  transform: translateX(-300px);
}

.open {
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 10px;
  display: block;
  z-index: 100;
  width: 40px;
  height: 40px;
  border: 1px solid #CCC;
  border-radius: 2px;
}

/*humburger button*/

.open::before,
.open::after {
  content: "";
}

.open span,
.open::before,
.open::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 30%;
  width: 40%;
  border-bottom: 2px solid #333;
  transition: transform .5s;
}

.open::before {
  transform: translateY(-8px);
}

.open::after {
  transform: translateY(8px);
}

/*close button*/
#navBtn:checked + .open span {
  transform: scaleX(0);
}

#navBtn:checked + .open::before {
  transform: rotate(45deg);
}

#navBtn:checked + .open::after {
  transform: rotate(-45deg);
}

#navBtn:checked + .open span,
#navBtn:checked + .open::before,
#navBtn:checked + .open::after {
  border-bottom-color: #EEE;
}

nav ul {
  list-style: none;
  padding-bottom: 1rem;
  text-align: center;
  
}

nav ul li {
  /* display: inline-block; */
  margin: 0 10px;
  padding: 10px 0;
}

nav ul li a {
  text-decoration: none;
  font-weight: bold;
  color: #EEE;
}

/* --- ヒーロー画像 --- */
.hero-image {
  margin-top: 60px; /* ヘッダー分のスペース確保 */
  width: 100%;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.margin-bottom-5rem {
  margin-bottom: 0.5rem;
}

.margin-bottom-1rem {
  margin-bottom: 1rem;
}

.margin-bottom-3rem {
  margin-bottom: 3rem;
}

.margin-top-1rem {
  margin-top: 1rem;
  }

.margin-bottom-2rem {
  margin-bottom: 2rem;
}
.margin-top-2rem {
  margin-top: 2rem;
  }

.margin-bottom-4rem {
  margin-bottom: 4rem;
}
.margin-top-4rem {
  margin-top: 4rem;
}

h3 span {
  display: inline-block;
}

p span {
  display: inline-block;
}

.intro {
  text-align: center;
  padding: 4rem 1rem;
}

.taramubi {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  padding: 4rem 1.5rem 2rem 1.5rem; /* 左右余白を1.5remに調整 */
  max-width: auto;
  margin: 0 auto;
  box-sizing: border-box;
}

.taramubi-text {
  text-align: center;
  align-items: center;
  width: 100%;
  margin-bottom: 1rem;
  word-break: break-all;
}

.taramubi-text span,
.taramubi-text strong {
  display: inline-block;
}

.miryoku {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem 2rem 1rem; /* 左右余白を1.5remに調整 */
  max-width: auto
  margin auto;
  box-sizing: border-box;
}
  
/* --- 管理者紹介 --- */
.admin-section {
  align-items: center;
  padding: 2rem 1rem;
  gap: 3rem;
  max-width: 380px;
  margin:  1rem ;
  background: white;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  margin: auto;
}

.admin {
  font-size: 1rem;
  font-weight: bold;
  color: #362b2b;
  margin-bottom: 0.5rem;
  text-align: center;
}

.admin-icon img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  margin: auto;
  display: block;
}

.admin-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: #362b2b;
  margin-bottom: 0.5rem;
  text-align: center;
}

/* 吹き出し風メッセージ */
.admin-message {
  position: relative;
  background: #d35d6e;
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  max-width: 400px;
  font-size: 1rem;
  line-height: 1.4;
}

/* 吹き出しの三角形部分 */
.admin-message::before {
  content: '';
  position: absolute;
  left: calc(50% - 8px);
  top: -8px;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-bottom-color: #d35d6e;
}

.highlight {
  background-color: #d35d6e;
  color: #fff;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  margin: 1.5rem;
}

.pic_kakomu {
  display: inline-block;      /* 枠の幅を画像に合わせる */
  border: 4px solid #fff;     /* 白い枠線 */
  padding: 8px;               /* 枠と画像の間に余白 */
  background: #fff;           /* 枠の内側も白くする場合 */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* お好みで影も */
  border-radius: 12px;
}

.video-container-wrapper {
  display: flex;
  justify-content: center;
}

.video-container {
  display: inline-block;      /* 枠の幅を画像に合わせる */
  border: 4px solid #fff;     /* 白い枠線 */
  padding: 12px;               /* 枠と画像の間に余白 */
  background: #fff;           /* 枠の内側も白くする場合 */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* お好みで影も */
  border-radius: 12px;
  margin: auto;
  padding: auto;
}

.hyouka {
  display: inline-block;      /* 枠の幅を画像に合わせる */
  align-items: center;
  margin: auto;
  font-size: 2rem;
  max-width: auto;
  color: #d35d6e; /* テキストの強調色 */
}

.kaisetsu {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 1.5rem 2rem 1.5rem; /* 左右余白を1.5remに調整 */
  max-width: 400px;
  margin: 0 auto;
  box-sizing: border-box;
}

.image-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* 左右余白を1.5remに調整 */
  max-width: auto;
  margin: 0 auto;
  box-sizing: border-box;
}

.flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 1.5rem 2rem 1.5rem; /* 左右余白を1.5remに調整 */
  max-width: 400px;
  margin: 0 auto;
  box-sizing: border-box;
}

.description {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 1.5rem 2rem 1.5rem; /* 左右余白を1.5remに調整 */
  max-width: 400px;
  margin: 0 auto;
  box-sizing: border-box;
}

.details {
	transition: .3s;
	overflow: hidden;
	margin-top: -10px;
	padding-bottom: 20px;
	&:last-of-type {
		margin-bottom: 0;
	}
}
.details[open] {
	margin-top: 0;
	padding-bottom: 10px;
} 
.details-summary {
	display: block;
	padding: 15px;
    transition: .3s;
	transform: translateY(10px);
	background-color: #d35d6e;
	font-size: 20px;
	font-weight: bold;
	color: #fff;
	&:hover {
		cursor: pointer;
	}
}

.details-summary::-webkit-details-marker {
	display: none;
}

.details[open] .details-summary {
	transform: translateY(0);
}

.details-content {
	padding: 20px;
	background-color: #ffe0e5;
	border-bottom: 2px solid #d35d6e ;
	border-left: 2px solid #d35d6e;
	border-right: 2px solid #d35d6e;
}

.content-block {
  display: block;
  padding: 1rem;
  max-width: autos;
  border-radius: 8px;
  margin-bottom: 1rem;
 padding: 4rem 1.5rem 2rem 1.5rem;
}

.content {
  display: block;
  padding: 1rem;
  max-width: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
 padding: 4rem 1.5rem 2rem 1.5rem;
}


/*  目次 */

.toc-005 {
    margin-bottom: 30px;
    border-radius: 3px;
    background-color: #ffe0e5;
}

.toc-005 div {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 10px 0;
    background-color: #d35d6e;
    color: #fff;
    font-weight: 600;
    font-size: 1.1em;
}

.toc-005 div::before {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 5px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 4H21V6H8V4ZM3 3.5H6V6.5H3V3.5ZM3 10.5H6V13.5H3V10.5ZM3 17.5H6V20.5H3V17.5ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z' fill='%23fff'%3E%3C/path%3E%3C/svg%3E");
    content: '';
}

.toc-005 ol {
    list-style-type: disc;
    margin: 0;
    overflow: hidden;
    text-align: left;
}

.toc-005 > ol {
    padding: 1em 1em 1em 1.5em;
}

.toc-005 ol ol {
    margin-top: 5px;
    padding-left: 1.1em;
}

.toc-005 li {
    padding: 5px 0;
    font-weight: 600;
    text-align: left;
}

.toc-005 ol ol li {
    font-weight: 500;
    font-size: .9em;
}

.toc-005 a {
    color: #333;
    text-decoration: none;
}

/* --- リンクボタン --- */
.link-buttons {
  text-align: center;
  padding: 2rem 1rem;
}

.rounded-button {
  display: inline-block;
  background-color: #d35d6e;
  color: white;
  padding: 1rem 2rem;
  border-radius: 1.5rem;
  text-decoration: none;
  font-size: 1.2rem;
  margin: 0.5rem 1rem;
  user-select: none;
  transition: background-color 0.3s ease;
}

.rounded-button:hover,
.rounded-button:focus {
  background-color: #b8485b;
}

.rounded-button3 {
  display: inline-block;
  width: 220px; /* お好みで調整 */
  text-align: center;
  /* 既存のスタイルもここに */
    background-color: #d35d6e;
  color: white;
  padding: 1rem 2rem;
  border-radius: 1.5rem;
  text-decoration: none;
  font-size: 1.2rem;
  margin: 0.5rem 1rem;
  user-select: none;
  transition: background-color 0.3s ease;
}
.rounded-button h6 {
  display: block;
  margin: 0;
  font-size: 0.9em;
}

.rounded-button3:hover,
.rounded-button3:focus {
  background-color: #b8485b;
}

/* --- リンクボタン2 --- */
.link-buttons2 {
  text-align: center;
  padding: 0.5rem 0.5rem;
}

.rounded-button2 {
  display: inline-block;
  background-color: #d35d6e;
  color: white;
  padding: 1rem 1rem;
  border-radius: 2rem;
  text-decoration: none;
  font-size: 1rem;
  margin: 0.2rem 0,2rem;
  user-select: none;
  transition: background-color 0.3s ease;
}

.rounded-button2:hover,
.rounded-button2:focus {
  background-color: #b8485b;
}

/***レビュー用***/

ul.movie-info {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: auto;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

ul.movie-info li {
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
}

ul.movie-info li:last-child {
  border-bottom: none;
}

ul.movie-info li strong {
  display: inline-block;
  min-width: 100px;
  font-weight: bold;
  color: #222;
}

a {
  color: #d35d6e;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


/***トップへ戻るボタン***/
#page-top {
    display: block;
    font-weight: bold;
    padding: .7em;
    text-align: center;
    background: #fff; /*背景色*/
    color: #666; /*文字色*/
    transition: .3s;
}
/***マウスオーバー時***/
#page-top:hover {
    background: #666; /*背景色*/
    color: #fff; /*文字色*/
}
/***トップへ戻るボタンここまで***/

.back-to-top:hover,
.back-to-top:focus {
  background-color: #b8485b;
}

/***

/***追従するトップへ戻るボタン***/
#page-top {
    position: fixed;
    right: 5px;
    bottom: 20px;
    height: 50px;
    text-decoration: none;
    font-weight: bold;
    transform: rotate(90deg);
    font-size: 90%;
    line-height: 1.5rem;
    color: #b8485b;
    padding: 0 0 0 35px;
    border-top: solid 1px;
    background: none;
    scroll-behavior: smooth;
}

#page-top::before {
    content: "";
    display: block;
    position: absolute;
    top: -1px;
    left: 0px;
    width: 15px;
    border-top: solid 1px;
    transform: rotate(35deg);
    transform-origin: left top;
}

#page-top:hover {
    background: none;   /* ホバー時も背景色なし */
    color: #b8485b;     /* ホバー時も文字色そのまま */
}
/***トップへ戻るボタンここまで***/

/* --- レスポンシブ --- */
@media all and (min-width: 1025px) {
  nav {
    display: block;
    height: auto;
    width: 100%;
    position: static;
    background-color: transparent;
    margin-left: 4rem;
  }

  nav ul {
  display: flex;
  align-items: center;      /* 上下中央揃え */
  height: 60px;             /* メニューバーの高さ（調整可） */
  margin: 0;
  padding: 0;
  list-style: none;

}

nav li {
  height: 100%;
  display: flex;
  align-items: center;      /* 各li内も上下中央 */
}

  nav ul li {
    display: inline-block;
  }

nav li a {
  display: flex;
  align-items: center;      /* aタグ内も上下中央 */
  height: 100%;
  padding: 10px 20px;       /* 上下の余白を調整（下げたい場合はpadding-topを増やす） */
  text-decoration: none;
  color: inherit;
}

  nav ul li a {
    color: #000 !important;
  }
  
  #navBtn,
  .open {
    display: none;
  }
  }

@media screen and (min-width: 768px) {
  .admin-section {
    max-width: 720px;
    padding: 3rem 2rem;
    display: flex;
  }

  .admin-message::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-right-color: #d35d6e;
}

.admin-icon img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.admin-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: #362b2b;
  margin-bottom: 0.5rem;
}

  .link-buttons {
    padding: 3rem 1rem;
  }

  .rounded-button {
    font-size: 1.4rem;
    padding: 1.2rem 3rem;
  }
}

@media screen and (min-width: 1024px) {
  .admin-section {
    max-width: 900px;
    padding: 4rem 3rem;
  }

  .link-buttons {
    padding: 4rem 2rem;
  }

  .rounded-button {
    font-size: 1.6rem;
    padding: 1.5rem 4rem;
  }
}
