*, ::before, ::after{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* outline:  1px solid purple; */
}
html {
  scroll-behavior: smooth;
  font-size: 62.5%;
  overflow-x: hidden;
}
body {
  margin: 0;
  padding: 0;
  font-size: 2rem;
}
html, body {
  height: 100%;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.inner {
  flex: 1;
}

ul,ol{
  margin-left: 25px;
}

/* リンク */
a {
  color: #5c6bc0;
  text-decoration: underline;
  word-break: break-all; /
}
a:hover {
  text-decoration: none;
}

/* ヘッダー */
header {
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}
.header-top {
  width: 100%;
  height: 35px;
  text-align: center;
  background: #004583;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fafafa;
}
.header-box {
  border-bottom: 1px solid #ccc;
  background: #fff;
}
.header-box-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-box-inner .logo {
  padding-top: 10px;
  padding-left: 10px;
  width: 100px;
  height: auto;
}

.btn_contact {
  width: 160px;
  height: 80px;
  background: #ed9e31;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fafafa;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}
.btn_contact:hover {
  opacity: 0.7;
}

.inner {
  max-width: 1200px;
  width: 100%;
  padding: 0 12px;
  margin: 0 auto 100px auto;
  flex: 1;
}
/* カラー */
.text-red{
  color: red;
}
/* フォント */
.fwb{
    font-weight: bold;
}
.fs14{
  font-size: 1.4rem;
}
.fs24{
  font-size: 2.4rem;
}
.als{
  text-align: center;
}
.all{
  text-align: left;
}
.alr{
  text-align: right;
}

h1 {
  text-align: center;
  margin: 15px 0;
}
h2 {
  font-size: 2.6rem;
  margin-top: 50px;
  margin-bottom: 25px;
  display: inline-block;
  position: relative;
  margin-left: calc(3.5em / 5);
  line-height: 1;
  border-bottom: 1px solid #bbdbfb;
  padding-bottom: 7px;
  width: 90%;
}
h2::before {
  position: absolute;
  bottom: calc(-1.5em / 5);
  left: calc(-2em / 2);
  z-index: -1;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  background: #bbdbfb;
  content: "";
}
/* パンくず */
#breadcrumbBox {
    background: #f4fbff;
    padding: 0;
    line-height: 1;
    font-size: .7em;
    display: flex;
}
#breadcrumb li {
    color: #3a3a3a;
    display: block;
    float: left;
    line-height: 1;
    margin-right: .3em;
    padding: .5em .5em;
    padding-right: .5em;
    position: relative;
}
#breadcrumb li a {
    color: #888;
    padding-right: .1em;
    text-decoration: none;
  }
  #breadcrumb li:not(:last-of-type):after {
    content: "";
    background: #d7d7d7;
    display: block;
    width: 1px;
    height: 2em;
    transform: skewX(-15deg);
    position: absolute;
    top: 0;
    right: 0;
}
.in {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
}
@media screen and (max-width: 767px) {
    #breadcrumb ul {
        white-space: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
    }
        #breadcrumb ul li {
        float: none;
        display: inline-block;
        vertical-align: middle;
    }
}

/* グロナビ */
.film-nav {
  position: relative;
  z-index: 1000;
}
.primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.primary-menu > li {
  position: relative;
  margin-right: 30px;
}
.primary-menu > li > a,
.submenu-toggle{
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
  cursor: pointer;
}
.primary-menu > li > a:hover {
  color: #0078d7;
}
.primary-menu .jp {
  font-weight: bold;
}
.primary-menu .en {
  font-size: 12px;
  color: #666;
}
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #004583;
  border: 1px solid #ccc;
  list-style: none;
  padding: 0;
  min-width: 200px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
.submenu li {
  padding: 0;
  border-bottom: 1px solid #ccc;
}
.submenu li a {
  display: block;
  padding: 8px 20px;
  color: #fafafa;
  text-decoration: none;
  transition: background-color 0.3s;
}
.submenu li a:hover {
  background-color: #002c53;
  opacity: 0.7;
}
.menu-submenu:hover .submenu {
  display: block;
}

/* ホームアイコン*/
.icon-home {
  width: 25px;
  height: 25px;
  background: url("../home.svg") no-repeat center center;
  background-size: contain;
  margin-bottom: 5px;
}

/* MV */
.mv img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* フィルムコマ */
.film-container {
  width: 100%;
  overflow: hidden;
  border-top: 8px dotted #fafafa;
  border-bottom: 8px dotted #fafafa;
  background-color: #222;
  padding: 20px 0;
}
.film-strip {
  display: flex;
  animation: scrollFilm 20s linear infinite;
}
.film-frame {
  width: 230px;
  height: 160px;
  background: #000;
  margin: 0 10px;
  border: 4px solid #fff;
  box-shadow: 0 0 10px #000;
  flex-shrink: 0;
}
.film-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* お知らせ */
.report-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
  margin-bottom: 50px;
}
.report-item {
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 8px;
  overflow: hidden;
}
.report-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.report-item a {
  display: block;
  text-decoration: none;
  color: #333;
}
.report-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.report-info {
  padding: 15px;
}
.report-date {
  font-size: 1.3rem;
  color: #888;
  margin-bottom: 5px;
  display: block;
}
.report-title {
  font-size: 1.6rem;
  font-weight: bold;
}

/* バナー */
.bnr img {
  max-width: 100%;
  min-width: 320px;
  margin: 50px auto;
  display: block;
}
.bnr:hover {
  opacity: 0.7;
}
.link-box{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  text-align: center;
}

/* フッター */
footer {
  font-size: 1.8rem;
  background-color: #bbdbfb;
  /* margin-top: 70px; */
  position: relative;
}
footer .logo {
  position: absolute;
  /* 7/1コンテンツ増えたらこっちにする */
  top: -22%;
  /* top: -30%; */
  left: 2%;
}
footer p {
  margin: 0;
}
footer ul {
  list-style-type: none;
}
footer li li{
  margin-bottom: 4px;
}
footer .footer-boxarea {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 15px 0;
}
footer .footer-box {
  text-align: center;
  padding-right: 15px;
}
footer .footer-nav {
  display: flex;
  gap: 7px;
}
footer .main_logo {
  text-align: center;
  width: 320px;
  height: auto;
  margin: 0 auto 15px auto;
}
footer span {
  width: 1px;
  max-height: 420px;
  background: #fafafa;
}
footer .footer-btn {
  text-align: center;
}
footer .copyright {
  text-align: center;
  background-color: #004583;
  color: #fafafa;
  padding: 3px 0;
}
footer .copyright p {
  margin: 0;
}
footer .btn_contact {
  width: 320px;
  height: 60px;
  margin: 12px auto 0 auto;
  border-radius: 12px;
}

/* 映像関係者の方へ */
.text_center {
  text-align: center;
}
.layout {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 3fr;
}
/* aside */
.sidebar {
  padding: 0;
  width: 230px;
}
.f_special .sidebar  {
  width: 260px;
}
.sidebar .page-list {
  background: #fafafa;
  box-shadow: 0 4px 20px rgba(187, 219, 251, 0.8);
  padding: 13px 16px;
  font-size: 90%;
  line-height: 2.3;
  margin-top: 50px;
}
.page-list ul {
  padding: 0;
  margin: 0;
}
.page-list li {
  list-style-type: none;
}
.page-list a {
  text-decoration: none;
  transition: 0.7s;
}
.page-list a:hover {
  color: #f8b500;
}
.page {
  color: #f8b500;
}
.primary {
  flex: 1;
}
#crew section {
  margin-bottom: 70px;
}
.nav_box li:hover,
.btn a:hover {
  box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.2);
  top: 2px;
}

/* ボタン */
.btn {
  margin-top: 2rem;
  text-align: center;
}
.btn a {
  display: inline-block;
  width: 60%;
  margin: 0 10px;
  padding: 7px 10px;
  background-color: #f8b500;
  color: #fafafa;
  border: none;
  border-radius: 5px;
  margin-bottom: 20px;
  box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, 0.3);
  transition: 0.2s ease;
  position: relative;
  top: 0;
  text-decoration: none;
}

/* 撮影までの流れ */
.flow_design {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 35px;
}
.flow_design dd {
  margin-left: 0;
}
ul.flow{
  margin-left: 0;
}
.flow > li {
  position: relative;
  list-style: none;
}
.flow > li:not(:last-child) {
  margin-bottom: 40px;
}
.flow > li dl {
  width: 100%;
  padding: 20px 30px;
  border: 2px solid #F88400;
  border-radius: 10px;
  position: relative;
}
.flow > li:not(:last-child) dl::before,
.flow > li:not(:last-child) dl::after {
  content: "";
  border: solid transparent;
  position: absolute;
  top: 100%;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
.flow > li:not(:last-child) dl::before {
  border-width: 22px;
  border-top-color: #F88400;
}
.flow > li:not(:last-child) dl::after {
  border-width: 20px;
  border-top-color: #fff;
}

#Flow h3 {
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: #444;
  position: relative;
  padding-left: 4rem;
}
#Flow h3 span {
  position: absolute;
  left: 0;
  top: 0;
  background: #d8c27a;
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 8px;
  font-weight: bold;
}
#Flow .box_area {
  margin-top: 1rem;
  background-color: #f8f5f0;
  border-left: 4px solid #d8c27a;
  padding: 1rem 1.5rem;
  border-radius: 6px;
}
#Flow .box_area p {
  margin-top: 0;
}
#Flow .box_area h4 {
  margin-top: 1rem;
  font-weight: bold;
  margin-bottom: 5px;
}

/* 撮影ルール */
#Rules .box_area {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  padding: 1rem;
}
#Rules .box {
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background-color: #d4e1e8;
}
#Rules .box h3 {
  margin-bottom: 0.8rem;
  margin-top: 0;
  border-bottom: 1px solid #a0a5bd;
}
#Rules h3,
#achievements h3 {
  font-size: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-left: 6px solid #a0a5bd;
  padding-left: 0.8rem;
  color: #2e2e2e;
}
#Rules h4{
  margin-top: 12px;
}
#Rules dl {
  border-top: 1px solid #ddd;
  margin-top: 1rem;
}
#Rules .shoot-item {
  /* border-bottom: 1px solid #eee; */
  padding: 1rem 0;
}
#Rules dt {
  font-weight: bold;
  margin-bottom: 0.5rem;
}
#Rules dd {
  margin-left: 0;
}

/* 申請手続きについて */
#Procedure ol	{
	position: relative;
	margin:0;
	padding:0
}
#Procedure ol li{
  list-style: none;
  list-style-position:outside;
	margin:0;
	padding-left:1.25em
}
#Procedure ol li span {
	position: absolute;
	left:0;
	margin:0
  left: -1.25em;
}
#Procedure h3{
  padding-left: 7px;
  border-left: 1px solid #004583;
  margin-top: 35px;
  margin-bottom: 7px;
}
#Procedure h4{
  margin-top: 25px;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  padding-left: 12px;
}
#Procedure h4:before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 8px;
  border-color: transparent transparent transparent #333;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  margin: auto;
}
#Procedure table{
  margin-bottom: 15px;
}
#Procedure tr td:nth-child(1){
  text-align: center;
  width: 23%;
  background: #004583;
  color: #fafafa;
}
#Procedure .data-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
  margin-top: 7px;
}
#Procedure .data-box{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin-top: 7px;
  margin-bottom: 20px;
}
#Procedure .data-grid-6{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 20px;
  margin-top: 7px;
}
#Procedure .data-box.data-box-6 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 7px;
    margin-top: 7px;
    margin-bottom: 20px;
}
#Procedure .data-box a{
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 7px 20px;
  border-radius: 15px;
  background-color: #fafafa;
  font-size: 2rem;
}
#Procedure .data-box .wold{
  border: 3px solid #004583;
  color: #004583;
}
#Procedure .data-box .pdf{
  border: 3px solid #b94047;
  color: #b94047;
}
img.data{
  width: 45px;
  height: auto;
  margin-right: 7px;
}
#Procedure .data-box a:hover{
  opacity: 0.7;
}
#Procedure strong{
  counter-reset: #b94047;
}
#Procedure .btn a{
  width: 90%;
}
#Procedure .hissu span{
  background-color: #004583;
  color: #fff;
  font-size: 0.8em;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 5px;
  vertical-align: baseline;
}
#Procedure .hissu-box{
  margin-top: 1rem;
  background-color: #f8f5f0;
  border-left: 4px solid #d8c27a;
  padding: 1rem 1.5rem;
  border-radius: 6px;
}
/* #Procedure strong{
  color: #b94047;
} */

/* 撮影内容リスト */
#Rules .shoot-list,
dd ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}
#Rules .shoot-list li,
dd ul li {
  margin-bottom: 0.5rem;
}

/* 表 */
.price-table {
  width: 100%;
  margin: 12px auto;
  border-collapse: collapse;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.price-table thead {
  background-color: #004583;
  color: #fafafa;
}
.price-table th,
.price-table td {
  padding: 1rem;
  text-align: left;
  border: 1px solid #ddd;
}
.price-table tbody tr:nth-child(even) {
  background-color: #fafafa;
}
.price-table tbody td {
  color: #444;
}

/* 撮影申請一覧 */
/* タブ切り替え */
.tab-1,
.tab-2 {
  display: flex;
  flex-wrap: wrap;
}
.tab-2 {
  margin-top: 50px;
}
.tab-1 > label,
.tab-2 > label {
  flex: 1 1;
  order: -1;
  padding: 0.7em 1em 0.5em;
  border-bottom: 1px solid #f0f0f0;
  border-radius: 0;
  background-color: #e9f0f6;
  color: #535353;
  font-size: 0.9em;
  text-align: center;
  cursor: pointer;
}
.tab-1 > label:hover,
.tab-2 > label:hover {
  opacity: 0.8;
}
.tab-1 input,
.tab-2 input {
  display: none;
}
.tab-1 > div,
.tab-2 > div {
  display: none;
  width: 100%;
  padding-top: 12px;
  background-color: #fff;
}
.tab-1 label:has(:checked),
.tab-2 label:has(:checked) {
  background-color: #fff;
  border-color: #2589d0 #f0f0f0 #fff;
  border-style: solid;
  border-width: 4px 1px 1px;
  border-radius: 5px;
  color: #333333;
}
.tab-1 label:has(:checked) + div,
.tab-2 label:has(:checked) + div {
  display: block;
}

/* テーブル本体 */
.facility-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
  table-layout: fixed;
}
.facility-table th {
  background-color: #004583;
  color: #fff;
  padding: 12px;
  text-align: left;
}
.facility-table td {
  padding: 12px;
  border: 1px solid #ccc;
  vertical-align: top;
  word-break: break-word;
}
.facility-table td ul{
  margin-left: 8%;
}

/* 列幅調整 */
.facility-table th:nth-child(1),
.facility-table td:nth-child(1) {
  width: 15%;
}
.facility-table th:nth-child(2),
.facility-table td:nth-child(2) {
  width: 25%;
}
.facility-table th:nth-child(3),
.facility-table td:nth-child(3) {
  width: 20%;
}
.facility-table th:nth-child(4),
.facility-table td:nth-child(4) {
  width: 40%;
}

/* よくある質問 */
#Faq .box_area {
  width: 80%;
  margin: 0 auto;
}
#Faq .box_area .box {
  padding: 20px 0;
  border-bottom: 1px solid #c8c8c8;
}
#Faq .box_area .box dt,
#Faq .box_area .box dd {
  display: flex;
  align-items: baseline;
  margin: 15px 0;
}
#Faq .box_area .box dt p {
  margin: 0;
  padding-left: 15px;
  font-weight: bold;
  width: 100%;
}
#Faq .box_area .box dd p {
  margin: 0;
  padding-left: 15px;
  width: 100%;
}
#Faq .box_area .box:last-of-type {
  border-bottom: none;
}
#Faq .box_area .box dt::before {
  content: "Q";
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background: #6699b7;
  width: 2em;
  height: 2em;
}
#Faq .box_area .box dd::before {
  content: "A";
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background: #d65556;
  width: 2em;
  height: 2em;
}

/* ロケ地検索 */
#location .box_area .box_area_grid,
.cont-inner .cont-List {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  max-width: 941px;
    margin: 15px auto 0 auto;
}
#location .box_area .box {
  cursor: pointer;
  overflow: hidden;
}
.box_area .box:hover img {
  transform: scale(1.1);
}
#location .box img {
  width: 230px;
  aspect-ratio: 23 / 18;
  object-fit: cover;
  transition: transform 0.6s ease;
}
#location .box {
  position: relative;
}
#location .box p {
  position: absolute;
  bottom: 5px;
  background: rgba(66, 66, 66, 0.6);
  width: 230px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
}
#location a.box {
  color: #fafafa;
}
.search__table {
  width: 100%;
  color: #222;
  margin-bottom: 60px;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
  font-size: inherit;
  width: 100%;
  border: 1px solid #d4e1e8;
  margin-top: 20px;
}
.search__table tr td:first-child {
  width: 20%;
  text-align: center;
  background-color: #004583;
  color: #fafafa;
  font-weight: bold;
  padding: 30px 10px;
}
.search__table tr td:last-child {
  width: 80%;
}
td {
  background-color: #fafafa;
  border: 1px solid #d4e1e8;
  padding: 10px;
}

.btn__wrap {
  text-align: center;
}
.btn__wrap input {
  width: 150px;
  margin: 0 10px;
  padding: 7px 10px;
  background-color: #f8b500;
  color: #fafafa;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 20px;
  box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, 0.3);
  transition: 0.2s ease;
  position: relative;
  top: 0;
}
.btn__wrap input:hover {
  box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.2);
  top: 2px; /* 少し沈んだ感じ */
}

#location label {
  margin: 10px;
}

/* 元のチェックボックス非表示 */
input[type="checkbox"] {
  display: none;
}
/* チェックボックス */
input[type="checkbox"] + label {
  position: relative;
  padding-left: 23px;
  color: #333;
  cursor: pointer;
  user-select: none;
  display: inline-block;
  min-width: 100px;
}
/* チェックボックスの外枠 */
input[type="checkbox"] + label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  border: 2px solid #76a5c0;
  border-radius: 5px;
  background-color: white;
  box-sizing: border-box;
}
/* チェックマーク */
input[type="checkbox"]:checked + label::after {
  content: "✔";
  position: absolute;
  left: 3px;
  top: -10px;
  font-size: 25px;
  color: #76a5c0;
  font-weight: bold;
}
/* 検索一覧 */
.search__result-item {
  position: relative;
}
.search__result-item a {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #ddd;
  color: #333;
  padding: 5px 20px;
  font-weight: bold;
  font-size: 14px;
  border-radius: 0 0 0 5px;
  text-decoration: none;
}
.search__result-item a:hover {
  opacity: 0.8;
}
.cont-inner{
  margin-top: 15px;
}
/* 名称 */
.search_result table tr td:nth-child(1) {
  width: 16%;
  text-align: center;
}
/* 画像 */
.search_result table tr td:nth-child(2) {
  width: 20%;
}
/* 内容 */
.search_result table tr td:nth-child(3) {
  width: 24%;
}
/* URL */
.search_result table tr td:nth-child(4) {
  width: 20%;
  word-break: break-all;
}
.search_result table tr td:nth-child(4) a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
  color: #004583;
}
.search_result table tr td:nth-child(4) a:hover {
  color: #76a5c0;
  text-decoration: underline;
}
/* カテゴリ */
.search_result table tr td:nth-child(5) {
  width: 20%;
  text-align: center;
}
.search_result thead {
  background-color: #004583;
  color: #fafafa;
}
.search_result_table tbody tr.tr_box:nth-child(odd) td {
  background-color: rgba(169, 198, 207, 0.3) !important;
}
td.contents_image {
  text-align: center;
}
td.contents_image img {
  width: 180px;
  aspect-ratio: 180 / 135;
  object-fit: cover;
  padding: 6px 3px;
}

/* 検索結果 */
.cont-inner {
  width: 100%;
  margin: 0 auto;
}
.card {
  width: 230px;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.card:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  transform: translateY(-2px);
  opacity: 0.8;
}
.card a {
  text-decoration: none;
}
.card figure {
  width: 100%;
  margin: 0;
}
.centerPhoto a {
  width: 100%;
  display: block;
}
.centerPhoto img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  vertical-align: bottom;
  border-radius: 10px 10px 0 0;
}
.card-section {
  width: 90%;
  margin: 0 auto;
  color: #333;
  padding-bottom: 26px;
}
.card-section h3 {
  font-size: 1.6rem;
  text-decoration: unset;
  margin: 10px 0 20px;
}
.card-section .catBox {
  display: inline;
}
.card-section .catBox .cat {
  background-color: #bbdbfb;
  color: #004583;
  display: inline-block;
  margin-right: 6px;
  font-size: 14px;
  padding: 2px 10px;
  font-weight: 500;
  border-radius: 5px;

}
/* ページネーション */
.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 50px;
  font-family: Arial, sans-serif;
}
.pager b {
  border: 2px solid #004583;
  background-color: #004583;
  color: #fafafa;
  padding: 2px 12px;
  border-radius: 5px;
  font-size: 16px;
}
.pager a {
  color: #d4e1e8;
  border: 2px solid #d4e1e8;
  text-decoration: none;
  padding: 2px 12px;
  border-radius: 5px;
  font-size: 16px;
  transition: all 0.3s ease;
}

/* ロケ地詳細 */
.slider {
  max-width: 800px;
  margin: auto;
}
.slider-main {
  position: relative;
  overflow: hidden;
  height: 500px;
}
.slider-main .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.slider-main .slide.active {
  opacity: 1;
  z-index: 1;
}
.slider-main .slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.slider-thumb {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.slider-thumb .thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
}
.slider-thumb .thumb.active {
  border-color: #0073aa;
}
.detail-section h3 {
  margin: 25px 0 5px 0;
}
.search_no_message{
  font-size: 2rem;
  text-align: center;
}
.detail-table {
      width: 100%;
      border-collapse: collapse;
    }

.detail-table th,
.detail-table td {
  border: 1px solid #ccc;
  padding: 8px;
  vertical-align: top;
  text-align: left;
}

.detail-table th {
  background-color: #f5f5f5;
  width: 20%;
}

/* ロケ地募集 */
#Recruitment .inner li {
  line-height: 1.8;
}
#Recruitment .box_area {
  margin-top: 1rem;
  background-color: #f8f5f0;
  border-left: 4px solid #d8c27a;
  padding: 1rem 1.5rem;
  border-radius: 6px;
}

/* お知らせ */
#News_detail .news-img{
  text-align: center;
  margin: 15px 0;
}
#News_detail .news-img img{
  width: 80%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}
#News_detail .news-link{
  background: #fafafa;
  border: 1px solid #004583;
  border-radius: 15px;
  /* width: 55%; */
  height: 55px;
  text-align: center;
  margin: 50px auto 15px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, 0.3);
  transition: 0.2s ease;
}
#News_detail .news-link{
  text-decoration: none;
  color: #004583;
}
#News_detail .news-link:hover{
  box-shadow: 2px 2px 2px 0 rgba(0, 0, 0, 0.2);
  top: 2px;
}
#News_detail .news-back{
  margin: 50px auto 0 auto;
  border-bottom: 1px solid #004583;
  width: fit-content;
}
#News_detail .news-back a{
  color: #004583;
  text-decoration: none;
  padding: 3px 7px;
}
#News_detail .news-back:hover{
  border-bottom: none;
}

/* ロケ実績 */
.search-form {
    display: flex;
    align-items: center;
    gap: 0 10px;
    justify-content: center;
    margin-top: 15px;
    margin-bottom: 30px;
}
.search-form label {
    width: 420px;
}
.search-form input {
    width: 100%;
    height: 34px;
    padding: 1px 5px 1px 8px;
    border: 1px solid #d0d0d0;
    box-sizing: border-box;
    color: #000;
    outline: none;
}
.search-form button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30%;
    max-width: 140px;
    height: 34px;
    border: none;
    background-color: #4070ff;
    color: #fff;
    cursor: pointer;
}
.search-select {
  display: inline-flex;
  align-items: center;
  position: relative;
}
#achievements .search-box{
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.search-select::after {
  position: absolute;
  right: 15px;
  width: 10px;
  height: 7px;
  background-color: #535353;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  content: '';
  pointer-events: none;
}
.search-select select {
  appearance: none;
  min-width: 230px;
  padding: 12px 7px;
  border: 1px solid #d0d0d0;
  border-radius: 3px;
  background-color: #fff;
  color: #333333;
  cursor: pointer;
}
#achievements h4{
  margin-top: 25px;
}
#achievements table{
  margin-top: 10px;
  table-layout: fixed;
}
#achievements-detail .img-box img{
  width: 80%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* topページ　スライドショー */
.mv-slider {
      position: relative;
      overflow: hidden;
      width: 100%;
      /* height は JS でセットします */
    }

    .mv-slider .mv-item {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      opacity: 0;
      /* 最初は透明 */
    }

    .mv-slider .mv-item.active {
      opacity: 1;
      /* active なものだけ透過率100% */
      z-index: 2;
      /* 重なり順を上に */
      transition: opacity 1s ease-in-out;
    }

    .mv-slider .mv-item img {
      width: 100%;
      height: auto;
      display: block;
    }

    .mv-slider .mv-item a:hover {
      opacity: 0.8;
      transition: all 0.3s ease;
    }

    .bdr-f_special{
    position: relative;
    padding: 0 0 .75rem .75rem;
    border-bottom: 2px solid #6491bc;
    margin-top: 3rem;
    margin-bottom: 1rem;
    }

    .detail-child{
      padding: 10px 0;
    }

    /************************************

     特集一覧 IDはf_special-detail-page 

     *******************************************/
    #f_special-detail-page .card {
      width: 80%;
      max-width: 1200px;
      height: 320px;
      margin: 0 auto 2em;
      border-radius: var(--card-radius);
      box-shadow: var(--card-shadow);
      background: var(--card-bg);
      overflow: hidden;
      /* 角丸に沿って子要素をクリップ */
      transition: box-shadow .2s ease-in-out, transform .2s ease-in-out;
    }

    #f_special-detail-page .card:hover {
      box-shadow: var(--card-shadow-hover);
      transform: translateY(-2px);
    }

    #f_special-detail-page .card a {
      display: flex;
      align-items: stretch;
      min-height: var(--card-h);
      text-decoration: none;
      color: inherit;
      gap: var(--card-gap);
    }

    #f_special-detail-page .card figure {
      width: 40%;
      margin: 0;
      overflow: hidden;
      border-top-left-radius: var(--card-radius);
      border-bottom-left-radius: var(--card-radius);
      background: #f5f5f5;
    }

    #f_special-detail-page .card figure .centerPhoto {
      width: 100%;
      height: 100%;
      position: relative;
    }

    #f_special-detail-page .card figure img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      /* はみ出しをトリミングしてカバー */
      object-position: center;
      border-radius: var(--img-radius);
    }

    #f_special-detail-page .card .card-section {
      flex: 1;
      padding: 1em;
      box-sizing: border-box;
      min-width: 0;
      /* 長文でのはみ出し防止 */
      position: relative;
      z-index: 0;
    }

    #f_special-detail-page .card .card-section::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 40%;
      pointer-events: none;
      z-index: 1;
      background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, var(--card-bg) 85%);
    }

    #f_special-detail-page .card .card-section h3 {
      margin: 0 0 .4em;
      line-height: 1.3;
      font-size: 1.2em;
      padding-bottom: 1rem;
      border-bottom: 1px solid #eee;
    }

    #f_special-detail-page .card .card-section p {
      margin: .4em 0;
      line-height: 1.6;
      overflow-wrap: anywhere;
    }