@charset "UTF-8";

/*
Theme Name: ApRicoT
Description:アプリコットのホームページ
Author:SASA COLOR
Version:1.0.0
*/

/* 共通部分
------------------------*/
html {
  font-size: 100%;
}
body {
    font-family: "Noto Sans JP", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    line-height: 1.7;
    font-weight: 400;
    color: #000000;
    margin: 0 auto;
    padding-top: 60px;
  }

a { 
  text-decoration: none;
}
img {
  max-width: 100%;
  vertical-align: bottom;
}
h1 {
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.05em;
}
h2 {
  font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.05em;
  color: #fc9d0c;
  text-shadow: 1px 2px 3px #a09f9f
}
h3 {
  font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.05em;
}
.hr1 {
  border-top: 3px solid #fc9d0c;
}
li {
  list-style: none;
  padding-top:20px;
  padding-bottom:20px;
  font-size: 18px;
}
p {
  color: #000000;
  font-size: 18px;
}
.sec-ttl {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 5px;
}
br.sp {
  display: none; /* PCでは非表示 */
}
br.pc { 
  display: block; /* PCでは改行する */
}

@media screen and (max-width: 767px) {
body {
  max-width: none; 
  margin: 0;      /* 中央寄せ */
  box-sizing: border-box;
  padding-top: 75px;
}
li {
  font-size: 15px;
}
p {
  font-size: 15px;
  margin: 5px 0;
}
.wrapper.flex {
  flex-wrap: wrap;
}
br.sp {
  display: block; /* スマホで改行する */
}
br.pc {
  display: none;  /* PCでは非表示 */
}
}
/* HEADER
------------------------*/
.page-header {
  position: fixed;/*fixedで固定*/
  width: 100%;
  top:0;
  padding: 5px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999; /*ヘッダーを固定＆ボタンがヘッダーに被らないようにする */
  background-color: rgba(255, 246, 195, 0.4);
  backdrop-filter: blur(6px);     /* 背景がうっすらぼけて高級感が出る */
}
.header-logo img {
  display: block;
	width: 80px;
  transition: opacity 0.3s;
}
.header-logo img:hover {
  opacity:0.7;
}
.header-menu-container {
  display: flex;
  justify-content: flex-end;
}
.main-nav {
  list-style: none;
  justify-content: flex-end; 
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
}
.main-nav li {
  flex-shrink: 1;
  white-space: nowrap;  /* 文字の途中改行を防ぐ */
}
.main-nav a {
  color: #2c2c2c;
  text-decoration: none;
  font-size: 18px;
}
.main-nav a:hover {
  color: #78c803;
}

@media screen and (max-width: 767px) {
header {
  display: block;
  padding: 10px;
}
.page-header {
  padding: 5px 50px 5px 30px;
}
.header-logo {
  width: 50px;
  margin: 5px 10px;
}
}

/* スマホのメニューボタン
------------------------*/
.menu-button {
  display: none;
  padding: 10px 15px;
  border: 2px solid #FF9800; /* 枠線 */
  background: #ffaf37;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  position: fixed;
  right: 30px;
  color: #ffff;
}
@media (max-width: 767px) {
.menu-button {
  display: block;
}
.menu-button:hover {
  background: #FF9800;
  color: #fff;
}
.header-menu-container {
  display: block;
  position: fixed;
  top: 8%;
  left: 0;
  width: 140px;
  height: auto;
  max-height: 90vh;  /* 高さの上限を画面比率で */
  min-height: 280px; /* 小さい画面でも下限 */
  background-color: #ffd18d;
  transform: translateX(-100%);
  transition: transform 0.4s;
  z-index: 90;
  box-sizing: border-box;
  border-radius: 8px;
  overflow: hidden; /* スクロールさせない */
}
.header-menu-container.active {
  transform: translateX(0);
  box-shadow: 2px 0 4px rgba(0,0,0,.1);
}
.main-nav {
  flex-direction: column;   /* 縦並び */
  align-items: flex-start;  /* 左寄せ */
  gap: 5px;
  justify-content: space-around; /* メニューを上下に均等配置 */
  height: 100%;
}
.main-nav li {
  width: 100%;
}
.nav__item {
  padding: 0 25px;
}
.nav__link {
  display: block;
  font-size: 16px;
  padding: 8px 0;
  color: #333;
  text-decoration: none;
  border-bottom: 1.5px solid #ffff;
}
}


/* ---------------------------------- */
/*	各ページのヘッダー下部分
/* ---------------------------------- */
.site-content {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}
.site-content-wrap {
  padding: 5px 0 20px;
  max-width: 100%;
  width: 100%;
  margin: 0 ;
}
.site-content-wrap.is-appear {
  padding: 4.5rem 0;
  max-width: 100%;
  width: 100%;
  height: auto;
  margin: 0 auto;
}
.site-content-wrap .no-articles {
  text-align: center;
  vertical-align: middle;
  margin: 0;
}
.head-ttl-wrap {
  position: relative;
  width: 100%;
}
.head-ttl-wrap .mvContainer.is-page .head-ttl {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 2rem;
  margin: 0;
  text-shadow: 1px 2px 3px #808080
}
.head-ttl-wrap .head-ttl span {
  font-size: 1rem
}
.mvContainer.is-page {
  padding-top: 200px;
  background-color: #fc9d0c;
  background-image: repeating-radial-gradient(circle, rgba(255, 220, 106, 0.77), rgba(255, 167, 0, 0.84) 12%, rgba(251, 233, 187, 0.77) 24%);
}
@media (max-width: 767px) {
  .mvContainer.is-page {
    height: 160px; 
    padding-top: 0; 
  }
.head-ttl-wrap .mvContainer.is-page .head-ttl {
    font-size: 1.7rem;
    white-space: nowrap;
}
}

/*	Breadcrumb（パンくずリスト）
/* ----------------------------------- */
.breadcrumb {
    font-size: 14px;
    margin: 10px 5px;
    padding-left: 10px ;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb .separator {
    margin: 0 5px;
    color: #555;
}
.breadcrumb .current {
    color: #333;
    font-weight: bold;
}
/* スマホ対応 */
@media (max-width: 767px) {
.breadcrumb {
   font-size: 12px;
  }
.breadcrumb a {
   padding: 1px 3px;
  }
}

/* HOME（スライダー)
------------------------*/
.swiper-container-wrapper {
  padding: 30px 80px 10px;
  display: flex;
  flex-direction: column; /* 縦方向に並べる */
  align-items: center;    /* 中央揃え */
}
.mySwiper {
  width: 100%;
  position: relative; /* 矢印位置の基準 */
  padding: 0 40px
}
.mySwiper .swiper-slide {
  display: flex;
  justify-content: center; /* 横方向の中央揃え */
  align-items: center;     /* 縦方向の中央揃え */
  padding: 0 20px;
}
.mySwiper .swiper-slide img {
  max-width: 100%;
  width: auto;
  max-height: 500px;
  height: auto;
  object-fit: contain; /* ← 上下に切れない */
}
/* 矢印（ナビゲーション） */
.swiper .swiper-button-prev,
.swiper .swiper-button-next {
  color: #bcbbbb; 
}

/* ページネーションの余白 */
.swiper-pagination {
  position: static ;
  margin: 10px 0 ;
}
/* ページネーション（ドット） */
.swiper-pagination-bullet {
  background: #bcbbbb !important;
  opacity: 0.7 !important;
}
.swiper-pagination-bullet-active {
  background: #78c803 !important;
  opacity: 1 !important;
}

/* タブレット */
@media (max-width: 1024px) {
.swiper-container-wrapper {
  padding: 50px 30px 10px;
}
}
@media screen and (max-width: 767px) {
.swiper-container-wrapper {
  padding: 50px 30px 10px;
}
.mySwiper {
  padding: 0 10px;
}
  .swiper-button-prev {
    left: -2px; 
  }
  .swiper-button-next {
    right: -2px; 
  }
  .swiper-button-prev,
  .swiper-button-next {
    top: 50%;          /* 縦中央 */
    transform: translateY(-50%); /* 中央に正確に配置 */
  }
}
/* ARTIST
------------------------*/
.artist {
  padding: 50px 100px;
  background-image: url(./images/pinkyellow_mable.jpg);
}
.artist  .sec-ttl {
  text-shadow: 1px 2px 3px #ffff
}
.artist_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* PCは2列 */
  gap: 5px;
  text-align: center;
  justify-items: center;
  margin-bottom: 20px;
}
.artist_item {
  width: 280px;
  position:relative;
	top:0;
  text-align: center;
}
.artist_item img {
  display: block;        /* 画像をブロック化 */
  margin: 0 auto;        /* 横方向中央寄せ */
  max-width: 100%;       /* はみ出し防止 */
  height: auto;
  border-radius: 8px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.artist_item:hover img {
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.artist_item:hover .artist-name {
  opacity: 0.7;
}

@media screen and (max-width: 767px) {
.artist {
  padding: 5%;
}
.artist_list {
  grid-template-columns: 1fr; /* 1列表示 */
  gap: 20px;
  justify-content: center;
}
.artist_item {
  width: 250px;
  height: auto;
}
}

/* ARTIST一覧　（archive-artist.php）
------------------------*/
.bg-col-pinkyellow {
  background-image: url(./images/pinkyellow_mable.jpg);
}
.artist-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* PCは2列 */
  gap: 5px;
  text-align: center;
  justify-items: center;
  padding: 0 50px;
}
.artist-item {
  width: 280px;
  height: auto;
  display: block;
  text-align: center;
}
.artist-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.artist-item:hover img {
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.artist-name {
  margin-top: 10px;
  font-weight: bold;
  color: #333;
  transition-property: opacity;
  transition-duration: 0.5s;
}
.artist-item:hover .artist-name {
  opacity: 0.7;
}

@media screen and (max-width: 767px) {
.artist-list {
  grid-template-columns: 1fr; /* 1列表示 */
  gap: 20px;
  justify-content: center;
  padding: 0 30px;
}
  .artist-item {
    width: 85%;
  }
}

/* ARTIST詳細 （single-artist.php）
------------------------*/
.artist-profile {
  display: flex;
  gap: 50px;
  max-width: 1000px;
  margin: 50px auto;
  align-items: flex-start;
}
.artist-photo {
  flex: 1;
}
.artist-photo img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.artist-text {
  flex: 2;
}
.artist-text h1 {
  margin-top: 0;
  font-size: 2rem;
  color: #333;
}
.artist-furigana {
  font-size: 0.9rem;
  color: #666;
  letter-spacing: 0.1em;
}
.profile-content {
  margin-top: 20px;
  line-height: 1.6;
  color: #555;
}
.profile-content p {
  list-style: none;
  padding: 0.8rem 0 0.8rem;
  border-top: 1px dotted #B2B2B2;
}
.artist-profile-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.artist-profile-list li {
  margin-bottom: 6px;
  border-bottom: 1px solid #ddd;
}
.artist-profile-list .label {
  color: #6c6a6a;
  font-size: 14px;
}
.artist-profile-list .data {
  color: #333;
}
.artist-sns {
  display: flex;
  gap: 20px;
  margin-top: 15px;
}
.artist-sns a {
  display: inline-block;
  transition: 0.3s;
}
.artist-sns a:hover {
  opacity: 0.8;
}
.sns-icon {
  width: 22px;
  height: 22px;
}

/* 主な出演作品 */
.artist-works {
  width: 850px;
  margin: 0 auto;
  line-height: 1.6;
  color: #555;
}
.artist-works h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  border-bottom: 2px solid #ddd;
  padding-bottom: 5px;
  color: #444;
  text-align: center;
}
.artist-works ul {
  list-style: disc inside;
  line-height: 1.8;
}
.artist-works li {
  border-bottom: 1px solid #ddd;
  padding: 10px 10px;
}
/* タブレット */
@media (max-width: 1024px) {
  .artist-profile {
    padding: 0 80px;
}
}

@media screen and (max-width: 767px) {
.artist-profile {
    flex-direction: column;
    gap: 20px;
    margin: 30px;
    padding: 0;
}
.artist-photo {
  margin: 10px 10px;
}
.artist-text {
  padding: 0 20px;
}
.artist-text h1 {
  text-align: center;
}
.artist-furigana{
  text-align: center;
}
.artist-gallery .gallery-item {
  width: 48%;
}
.artist-works {
  width: 100%;
  padding: 20px;
}
.artist-profile-list li {
  margin-bottom: 0;
}
}

/* NEWS
------------------------*/
.top-news {
  padding: 50px 100px;
  margin: 0 auto;
  background-color: #fefcf2;
}
.news-list {
  list-style: none;
  margin: 30px 100px;
}
.news-item {
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
  .news-meta {
    display: flex;
    align-items: center;
    gap: 16px;
  }
.news-date {
  color: #999;
  font-size: 0.9em;
  white-space: nowrap;
}
.news-title {
  color: #333;
  text-decoration: none;
  display: block;
  width: 100%;
}
.news-title:hover {
  text-decoration: underline;
}
/* タブレット */
@media (max-width: 1024px) {
.news-list {
  margin: 30px;
}
}
@media screen and (max-width: 767px) {
.top-news {
  padding: 20px;
}
.news-title {
  font-size: 16px;
}
.news-list {
  margin: 20px 10px;
}
.news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
  }
}


/* archive-news →　NEWS一覧ページ
------------------------*/
.news-archive {
  margin: 50px 100px;
}
.news-archive .news-title:hover {
  text-decoration: underline;
}
.news-cats {
  display: flex;
  flex-wrap: wrap; /* 折り返しを許可 */
  gap: 2px;
}
.news-cat {
    font-size: 0.7rem;
    color: #333;
    padding: 0.25rem 0.5rem;
    margin: 2px;
    display: inline-block;
    border-radius: 3px;
    overflow: hidden;
    white-space: nowrap; /* 折り返しなし */
    border: solid 1px #cfcfcf
}
.news-pagination {
  text-align: center;
}
/* カテゴリごとの色指定 */
.news-cat.cat-cast {
  background-color: #ffc6ff;
}
.news-cat.cat-stage {
  background-color: #c6ffc6;
}
.news-cat.cat-cooperation {
  background-color: #ffffad;
}

@media screen and (max-width: 767px) {
.news-archive {
  margin: 20px;
}
.news-item {
   display: block;
}
  .news-date,
  .news-cat,
  .news-item a {
    display: block;
    margin-bottom: 5px;
  }
}
/* single-news.php　→　NEWS詳細ページ
------------------------*/
.news-single {
  margin: 0 auto;
  padding: 3rem 0;
  max-width: 1000px;
}
.news-single a {
  color: #0158f9;
  text-decoration: underline;
}
.news-single a:hover {
  color: #adcaff;
  text-decoration: underline;
}
.news-single p {
  line-height: 1.8;
  margin-bottom: 1.2em;
}
.news-content{
  background-color: #fffff8;
  padding: 30px;
}
.news-content img {
  margin: 0 auto;
}
.news-content p {
  font-size: 16px;
}
.news-single .news-title:hover {
  text-decoration: none;
}

/* タブレット */
@media (max-width: 1024px) {
.news-single {
  padding: 4.5rem 5rem;
}
}
@media screen and (max-width: 767px) {
.news-single {
  margin: 0 20px ;
  padding: 1.5rem 0;
}
.news-content p {
  font-size: 14px;
}
}
/* WORKS
------------------------*/
.works {
  padding: 50px 100px;
}
.site-archive-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 80px
}
.works-item {
  background: #fff;
  border: 1px solid #a3a2a2;
  transition: 0.3s;
}
.works-item:hover {
	opacity:0.7;
	transition:0.3s;
}
.thumContainers {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  align-items: center;     /* 縦中央 */
  justify-content: center; /* 横中央 */
}
.thumContainers img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position:center center ;
 }
.works-metas {
  display: flex;
  justify-content: space-between; /* 左右に振り分け */
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 5px;
  align-items: center;
}
.works-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    margin: 2px;
    display: inline-block;
    width: fit-content;
    border-radius: 3px;
    overflow: hidden;
    border: solid 1px #cfcfcf
}
/* カテゴリごとの色指定 */
.works-badge.cat-cast {
  background-color: #ffc6ff;
}
.works-badge.cat-stage {
  background-color: #c6ffc6;
}
.works-badge.cat-cooperation {
  background-color: #ffffad;
}
.works-date {
  font-size: 0.75rem;
  color: #666;
  white-space: nowrap; /* 日付が改行されない */
}
/* タブレット */
@media (max-width: 1024px) {
.site-archive-wrap {
    margin: 15px 0;
    grid-template-columns: repeat(2, 1fr);
    padding: 30px 0;
  }
}
/* スマホ */
@media screen and (max-width: 767px) {
.works{
  padding: 5%;
}
.works-item {
  overflow: hidden;
}
.grid {
  grid-template: none;
}
.thumContainers {
  width: auto;
  height: 180px; /* スマホ用に少し低めに */
}
.thumContainers img {
  object-position: 60% center; 
}
.site-archive-wrap {
  margin: 15px auto;
  grid-template-columns: 1fr; /* 1列縦並び */
  gap: 15px;
}
}

/* archive-works →　WORKS一覧ページ
------------------------*/
.bg-col-white {
  display: flex;
  flex-direction: column; /* 縦並びにする */
}
.archive-works {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 横3列固定 */
  gap: 30px;
  max-width: 1200px;
  padding: 0 80px 15px;
  justify-content: center;
  margin: 0 auto;
}
.works-card {
  background: #fff;
  border: 1px solid #ddd;
  overflow: hidden;
  transition: transform 0.2s;
}
.works-card img {
  width: 100%;
  aspect-ratio: 16 / 9; /* または 4 / 3 や 1 / 1 */
  object-fit: cover;
  display: block;
}
.works-card:hover {
  opacity:0.7;
	transition:0.3s;
}
.works-card-body {
  padding: 10px;
}
.works-badges {
  display: flex;
  flex-wrap: wrap;
}
.works-titles {
  font-size: 14px;
  margin: 5px 0 0 0;
}

/* ページネーション */
.pagination {
  margin: 0 auto;
  padding: 5px;
}
.pagination a, .pagination span {
  display: inline-block;
  margin: 0 5px;
  padding: 4px 12px;
  background-color: #f0f0f0;
  color: #333;
  text-decoration: none;
  border-radius: 5px;
  justify-content: center; /* 中央寄せ */
}
.pagination .current {
  background-color: #f7a94d;
  color: #fff;
}
.pagination a :hover {
	opacity:0.7;
	transition:0.3s;
}
/* タブレット */
@media (max-width: 1024px) {
.archive-works {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 100px 15px;
  }
}
/* スマホ */
@media screen and (max-width: 767px) {
.archive-works {
  margin: 0 auto;
  padding: 5%;
  grid-template-columns: 1fr; /* 1列縦並び */
}
}

/* single-works.php　→　WORKS詳細ページ
------------------------*/
.section-inner {
  display: flex;
  flex-direction: column; /* 縦並びにする */
  margin: 20px auto;
  padding: 3rem 0;
  max-width: 1000px;
}
.works-title {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: left; 
  width: 100%; 
  display: block; 
  word-break: break-word;
}
.works-thumbnail {
  text-align: center;
  margin: 30px auto;
}
.works-thumbnail img {
  width: 100%;
  height: auto; /* 縦横比を維持 */
  max-width: 500px;
  display: block;
  margin: 0 auto;
}
.works-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1rem;
  word-break: normal;
}
.back-link {
  margin-top: 40px;
  text-align: center;
}
.works-meta {
  margin: 20px 0;
  padding: 30px;
  background: #f9f9f9;
  border-left: 4px solid #f7a94d;
}
.works-meta p {
  display: flex;
  gap: 12px;  
  margin-bottom: 12px; 
  padding-bottom: 8px; 
  border-bottom: 1px solid #e0e0e0; 
  font-size: 16px;
  line-height: 1.7;
}
.works-meta .label {
  width: 105px;
  font-weight: bold;
  white-space: nowrap;
}
.section-inner a {
  color: #0158f9;
  text-decoration: underline;
}
.section-inner a:hover {
  color: #adcaff;
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
.section-inner {
  margin: 0 20px ;
  padding: 1.5rem 0;
}
.works-title {
  font-size: 1.3rem;
}
.works-meta {
  padding: 15px;
}
.works-meta p {
  font-size: 14px;
}
.works-meta .label {
  width: 63px;
}
.works-thumbnail {
  margin: 10px auto;
}
}
/* CONTACT
------------------------*/
.contact {
  padding: 60px 100px;
  position: relative;
  min-height: 300px;
}
.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/orange_right5.jpg');
  background-size: cover;
  background-position: 30% 70%;
  filter: blur(3px);
  z-index: -2;
}
.contact .sec-ttl {
  color: #fff;
  text-shadow: 1px 1px 3px rgba(46, 45, 45, 0.7);
}
.contact p {
  font-size: 20px;
  color: #FFFF;
  margin: 30px;
  text-align: center;
  line-height: 1.8;
  white-space: normal; /*  折り返しOK */
  word-break: break-word; /* ← 長い単語も折り返す */
  text-shadow: 1px 1px 3px rgba(46, 45, 45, 0.7);
}
/* テキストやボタンを前面に */
.contact > * {
  position: relative;
  z-index: 1;
}
.sec-ttl,
.contact p,
.sec-foot {
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 767px) {
.contact {
  padding: 5%;
  height: auto; /* 固定高さだとスマホで窮屈になるので自動に */
}
.contact p {
  font-size: 16px;   /* スマホは少し小さめで見やすく */
  line-height: 1.6;
}
.contact::before {
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(1.5px);
}
}

/* CONTACT フォーム
------------------------*/
.page-id-17 main > h1 {
  padding-top: 80px;
  padding-left: 100px;
}
.contact-wrap{
  width: 90%;        /* 両サイドに余白 */
  max-width: 600px;  /* PCで広がりすぎないように制限 */
  margin: 10px auto;
  display: block;
  color: #242424;    
}
.contact-site1{
  margin: 20px 0;
}
.contact-site2{
  margin: 20px 0;
}
.contact-site3{
  margin: 20px 0;
}
.page-id-17 .mail-button {
	display: block;
  width: fit-content;
  margin: 30px auto; 
}
.mail-button {
	text-align: center;
	text-decoration: none;
	padding: 1rem 4rem;
  border-radius: 6px;
	font-weight: bold;
	border: 2px solid #fc9d0c;
	background: #fc9d0c;
	color: #fff;
	transition: 0.5s;
}
.mail-button:hover {
	color: #fc9d0c;
	background: #fff;
}
.mail-text {
  font-size: 1rem;
  margin: 8px auto;
}
.contact-backup {
  max-width: 480px;
  background-color: #fff0d7;
  border: 1px solid #ffc754;
  padding: 20px;
  margin: 0 auto;
  border-radius: 10px;
}
.contact-backup label {
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
}
.contact-backup input,
.contact-backup textarea {
  width: 100%;
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}
.contact-backup .form-button {
  display: block;
	text-align: center;
	text-decoration: none;
	width: fit-content;
	margin: 20px auto; 
	padding: 1rem 4rem;
  border-radius: 6px;
	font-weight: bold;
	border: 2px solid #fc9d0c;
	background: #fc9d0c;
	color: #fff;
	transition: 0.5s;
  font-size: 16px;
}
.contact-backup .form-button:hover {
	color: #fc9d0c;
	background: #fff;
}
.cb-success {
  background: #e6f7e6;
  color: #000000;
  border: 2px solid #81c784;
  padding: 12px;
  border-radius: 6px;
  text-align: center;
  margin: 20px auto;
  width: 300px;
}
@media (max-width: 768px) {
.page-id-17 main > h1 {
  padding-top: 50px;
  padding-left: 15px;
}
.mail-button {
	width: 100px;
}
}

/* ボタン
------------------------*/
.button {
	text-align: center;
}
.button a {
	display: inline-block;
	text-decoration: none;
	width: 170px;
	margin: auto;
	padding: 0.5rem 2rem;
	font-weight: bold;
	border: 2px solid #fc9d0c;
	color: #fc9d0c;
	cursor: pointer;
	position: relative;
 	overflow: hidden;
 	z-index: 1;
  background-color: #ffff;
}
.button a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: #fc9d0c;
	transform: translateX(-100%);
	transition: all .3s;
	z-index: -1;
}
.button a:hover::before {
	transform: translateX(0);
}
.button a:hover {
	color: #fff5e7;
}

/* 会社概要
------------------------*/
/* 固定ページ「会社概要」専用 背景設定 */
.page-id-142 {
  background-color: #fffaf1;
  background-image: url('http://llc-apricot.com/wp-content/uploads/2025/11/logo_text1.png'); /* アップロード後のURLに変更 */
  background-repeat: repeat;   
  background-position: center;
  background-size: 80px auto; 
  background-attachment: fixed; /* スクロールしても背景固定 */
}

/* テキストが読みやすいように内容部分を半透明白で覆う */
.page-id-142 main,
.page-id-142 .site-content-wrap {
  background-color: rgba(255, 254, 231, 0.8);
  padding: 60px;
  border-radius: 15px;
}
/* 背景レイヤー */
.page-id-142::before {
  opacity: 0.08; /* 淡くする（0.05〜0.15が目安） */
  transform-origin: center;
  z-index: 0;
}
.company-profile {
  max-width: 800px;
  margin: 50px auto;
  padding: 40px 20px;
  background: #ffe4ba;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}
.company-table th,
.company-table td {
  padding: 16px 20px;
}
.company-table th {
  width: 30%;
  background-color: #fff1e6; /* 淡いオレンジ系 */
  font-weight: 600;
  color: #444;
  border-bottom: 1px solid #f2d5b3;
}
.company-table td {
  background-color: #fff;
  border-bottom: 1px solid #f5e1cb;
  color: #333;
}
@media screen and (max-width: 767px) {
.company-profile {
  margin: 0 5px;
}
.company-table {
  font-size: 0.85rem;
}
}

/* プライバシーポリシー
------------------------*/
.page-id-3 main > h1 {
  padding-top: 80px;
  padding-left: 100px;
}
.page-id-3 #main-content {
  line-height: 1.8;
  color: #333333;
  font-size: 16px;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 30px;
}
.page-id-3 #main-content p {
  margin-bottom: 1.2em;
}
.page-id-3 #main-content h1,
.page-id-3 #main-content h2,
.page-id-3 #main-content h3 {
  color: #111111;
  margin-top: 2.5em;
  margin-bottom: 1em;
  text-shadow: none;
}
.page-id-3 #main-content h2 {
  border-bottom: 2px solid #cccccc;
  padding-bottom: 5px;
}
.page-id-3 #main-content h3 {
  font-size: 20px;
}
.page-id-3 #main-content ul,
.page-id-3 #main-content ol {
  margin: 1em 0;
}
.page-id-3 #main-content ul li {
  list-style-type: disc;
  margin-bottom: 0.75em;
  list-style:none
}
.page-id-3 #main-content li {
  padding-top:0;
  padding-bottom:0;
  font-size: 16px;
}
.page-id-3 #main-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
}
.page-id-3 #main-content table th,
.page-id-3 #main-content table td {
  border: 1px solid #dddddd;
  padding: 0.75em;
}
.page-id-3 #main-content table th {
  background-color: #efefef;
  font-weight: bold;
}
/* リスト全体の基本設定 */
.ol-list.is-num {
  list-style: none;
  counter-reset: level1;
  padding-left: 1.5em;
  margin-left: 0;
}
/* ===== 第1階層 ===== */
.ol-list.is-num > li {
  counter-increment: level1;
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 0.5em;
}
.ol-list.is-num > li::before {
  content: counter(level1, decimal) ". ";
  position: absolute;
  left: 0;
  top: 0;
}
/* ===== 第2階層 ===== */
.ol-list.is-num > li > ol {
  counter-reset: level2;
  margin-top: 0.5em;
  padding-left: 1.5em;
}
.ol-list.is-num > li > ol > li {
  counter-increment: level2;
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.4em;
}
.ol-list.is-num > li > ol > li::before {
  content: counter(level2, lower-alpha) ". ";
  position: absolute;
  left: 0;
  top: 0;
}

/* ===== 第3階層 ===== */
.ol-list.is-num > li > ol > li > ol {
  counter-reset: level3;
  margin-top: 0.4em;
  padding-left: 1.5em;
}
.ol-list.is-num > li > ol > li > ol > li {
  counter-increment: level3;
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.3em;
}
.ol-list.is-num > li > ol > li > ol > li::before {
  content: "(" counter(level3, decimal) ") ";
  position: absolute;
  left: 0;
  top: 0;
}

/* モバイル向けレスポンシブ調整 */
@media (max-width: 768px) {
.page-id-3 main > h1 {
  padding-top: 50px;
  padding-left: 15px;
}
  .page-id-3 #main-content {
    padding: 25px 20px;
    font-size: 15px;
  }
  .page-id-3 #main-content h2 {
    font-size: 20px;
  }
.ol-list.is-num {
  padding-left: 0;
}
}

/* FOOTER
------------------------*/
footer {
  background-color: #fffadf;
  padding: 20px 0;
  gap: 5px; /* 縦の間隔 */
  border-top: 4px solid #fc9d0c;
}
.footer-content {
  flex-direction: column; /* 縦並び */
  text-align: center;
}
.footer-content a {
  text-decoration: none;
  color: #333;
}
.footer-logo {
  width: 220px;
  display: block;
  margin: 0 auto; /* ロゴ画像を中央に */
  padding: 5px;
}
.footer-logo:hover {
  opacity:0.8;
}
.footer-logo a {
  display: inline-block; /* aタグをインラインブロック化 */
}
.footer-x {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  color: inherit;
}
.footer-x:hover {
  opacity:0.5;
}
.sns-icon {
  margin: 0 auto;
  padding: 5px;
  width: 40px;
  height: 40px;
  vertical-align: middle;
}
.official {
  font-size: 14px;
  color: #777777;
}
.privacy {
  font-size: 12px;
  color: #777777;
  padding: 5px;
}
.footer-content a:hover  {
  opacity:0.7;
}
.copyright {
  font-size: 14px;
  color: #777777;
}

@media screen and (max-width: 767px) {
.footer-logo {
  width: 180px;
}
.sns-icon {
  width: 30px;
  height: 30px;
}
}

/* TOPへ戻るボタン*/
.pagetop {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 20px;
}
.pagetop a {
    display: block;
    background-color: #a3f923;
    text-align: center;
    color: #222;
    font-size: 12px;
    text-decoration: none;
    padding: 5px 10px;
	  filter:alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}
.pagetop a:hover {
    display: block;
    background-color: #fc9d0c;
    text-align: center;
    color: #fff;
    font-size: 12px;
    text-decoration: none;
    padding:5px 10px;
	  filter:alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}

.mySwiper {
  --swiper-theme-color: #78c803;
}