@charset "utf-8";

@import url("theme.css");
@import url("inview.css");

/*
 * 画面幅別に整理したCSS
 * 1. 共通設定（すべての画面幅）
 * 2. 900px以上 / 768px以上
 * 3. 899px以下 / 800px以下 / 767px以下 / 700px以下 / 600px以下
 * max-width の指定は狭い幅で重ねて適用されます。
 * .small-screen / .large-screen は元のクラス条件のままです。
 */

/* アニメーション */
@keyframes animation1 {
  0% { right: -200px; }
  100% { right: 0; }
}

@keyframes opa1 {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* 全体 */
body * {
  box-sizing: border-box;
}

html {
  font-size: clamp(13px, 0.29vw + 11.9px, 16px);
  overflow-x: visible;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--base-font);
  -webkit-text-size-adjust: none;
  background: var(--bg-color);
  color: var(--bg-inverse-color);
  line-height: 2;
  overflow-x: hidden;
}

figure,
dd {
  margin: 0;
}

nav,
ul,
li,
ol {
  margin: 0;
  padding: 0;
}

nav ul {
  list-style: none;
}

table {
  border-collapse: collapse;
}

img {
  border: none;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

video {
  max-width: 100%;
}

iframe {
  width: 100%;
}

input {
  font-size: 1rem;
}

/* セクション */
section {
  padding: var(--content-space-v, var(--content-space-l))
    var(--content-space-l);
}

section > :first-child {
  margin-top: 0;
}

section > :last-child {
  margin-bottom: 0;
}

main h2 {
  margin-top: 0;
}

/* リンク */
a {
  color: inherit;
  transition: 0.3s;
}

a:hover {
  filter: brightness(1.1);
  text-decoration: none;
}

/* サイト全体 */
#container {
  animation: opa1 0.2s 0.2s both;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ヘッダー */
header {
  display: block;
  padding: 0;
}

header h1 {
	margin: 0;
	font-size: 0.7rem;
	width: 100%;
	font-weight: normal;
	padding-top: 8px;
	padding-right: 24px;
	padding-bottom: 0;
	padding-left: 24px;
}

header .logo {
	margin: 0;
	padding-top: 10px;
	padding-right: 24px;
	padding-bottom: 15px;
	padding-left: 24px;
}

header .logo img {
  display: block;
}

/* ロゴのリンク範囲を画像の幅に合わせる */
header .logo a {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

header .logo img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 案内帯：文言はHTMLの header-info 内で変更 */
.header-info {
  width: 100%;
  margin: 0;
  padding: 10px 20px;
  background: #000;
  color: #fff;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

/* メニューオーバーレイ */
#menubar-overlay {
  display: none;
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

body.noscroll {
  overflow: hidden;
}

/* 電話番号の共通設定 */
#menubar .tel {
  text-align: center;
  line-height: 1.4;
}

#menubar .tel a {
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

#menubar .tel i {
  color: #000;
  font-size: 0.8em;
  margin-right: 0.3rem;
}

#menubar .tel span {
  display: block;
  font-size: 0.7rem;
  font-weight: normal;
}

/* スマホ用メニュー */
.small-screen #menubar {
  display: none;
  animation: animation1 0.2s both;
  position: fixed;
  overflow: auto;
  z-index: 100;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  padding: 100px var(--content-space-l) 50px;
  background: #000;
  color: #fff;
}

.small-screen #menubar a {
  display: block;
  text-decoration: none;
  margin-bottom: 1rem;
  padding: 1rem 2rem;
  border-radius: 5px;
  background: #fff;
  color: #333;
}

.small-screen #menubar .tel a {
  background: none;
  color: #fff;
  margin-bottom: 0;
  padding-bottom: 0;
}

.small-screen #menubar .tel i {
  color: #fff;
}

.small-screen #menubar .tel span {
  margin-bottom: 1rem;
}

.small-screen #menubar .btn a {
  background: none;
  color: #fff;
  border: 1px solid var(--primary-border-color);
  text-align: center;
}

.small-screen #menubar ul ul a {
  margin-left: 2rem;
  padding: 0.5rem 1.5rem;
}

/* ドロップダウン */
a.ddmenu::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f078";
  margin-right: 1em;
  font-size: 0.7em;
  vertical-align: middle;
  display: inline-block;
  line-height: 1;
}

#menubar ul ul {
  display: none;
}

/* ハンバーガーボタン */
#menubar_hdr {
  display: none;
  animation: opa1 0s 0.2s both;
  cursor: pointer;
  position: fixed;
  z-index: 101;
  right: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background: #000;
  border-bottom-left-radius: 10px;
}

#menubar_hdr span {
  display: block;
  transition: 0.3s;
  position: absolute;
  left: 14px;
  width: 32px;
  height: 2px;
  background: #fff;

}

#menubar_hdr.ham {
  background: #ff0000;
}

#menubar_hdr.ham span {
  background: #fff;
}

#menubar_hdr span:nth-of-type(1) {
  top: 24px;
}

#menubar_hdr span:nth-of-type(2) {
  top: 34px;
}

#menubar_hdr span:nth-of-type(3) {
  top: 44px;
}

#menubar_hdr.ham span:nth-of-type(1) {
  transform: translateY(10px) rotate(-45deg);
}

#menubar_hdr.ham span:nth-of-type(2) {
  opacity: 0;
}

#menubar_hdr.ham span:nth-of-type(3) {
  transform: translateY(-10px) rotate(45deg);
}

.small-screen #menubar_hdr {
  display: flex;
}

/* 上の白線 */
#menubar_hdr span:nth-of-type(1) {
  top: 18px;
}

/* 真ん中のMENU */
#menubar_hdr span.menu-label {
  top: 50%;
  left: 0;
  width: 100%;
  height: auto;
  transform: translateY(-50%);
  background: transparent;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  line-height: 1;
  text-align: center;
}

/* 下の白線 */
#menubar_hdr span:nth-of-type(3) {
  top: 40px;
}

/* 開いたときに上下の白線を中央で交差させる */
#menubar_hdr.ham span:nth-of-type(1) {
  transform: translateY(11px) rotate(-45deg);
}

#menubar_hdr.ham span:nth-of-type(3) {
  transform: translateY(-11px) rotate(45deg);
}



/* PC用メニュー・電話番号の配置 */

/* メイン画像 */
.mainimg .slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.mainimg {
  width: 100%;
  position: relative;
  overflow: hidden;
  font-family: "Noto Serif JP", "Hiragino Mincho Pro",
    "ヒラギノ明朝 Pro W3", "HGS明朝E", "ＭＳ Ｐ明朝",
    "MS PMincho", serif;
}

.mainimg .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s;
  overflow: hidden;
  pointer-events: none;
}

.mainimg .img1 {
  position: relative;
  width: 100%;
  height: auto;
}

.mainimg .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transform-origin: center;
  will-change: transform;
}

.mainimg .slide.zoom img {
  transform: scale(1.07);
}

.mainimg .slide .text {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0 var(--content-space-l);
  -webkit-text-stroke: 0.4em #fff;
  paint-order: stroke fill;
}

.mainimg .slide .text.left {
  align-items: flex-start;
  text-align: left;
}

.mainimg .slide .text.right {
  align-items: flex-end;
  text-align: right;
}

.mainimg .text h2 {
  margin: 0;
  padding: 0;
  font-weight: 500;
  font-size: max(18px, 3vw);
  line-height: 1.5;
}

.mainimg .text p {
  font-size: 0.9rem;
  -webkit-text-stroke-width: 0.25em;
}

.mainimg .slide.active {
  pointer-events: auto;
}

/* コンテンツ */
#contents {
  flex: 1;
  min-height: 0;
}

main {
  container-type: inline-size;
}

main ul,
main ol {
  margin-left: 2rem;
  margin-right: 2rem;
}

/* 検索ブロック */
#search {
  padding-inline: var(--content-space-l);
  position: relative;
  z-index: 1;
}

.home #search {
  margin-top: -5rem;
}

.tab1 {
  list-style: none;
  margin: 0 !important;
  padding: 0;
  display: flex;
  gap: 0.4rem;
}

.tab1 li {
  cursor: pointer;
  user-select: none;
  flex: 1;
  text-align: center;
  font-size: 1.1rem;
  font-weight: bold;
  transition: 0.3s;
  padding: 1rem 2rem;
  border: 1px solid #000;
  border-bottom: 0;
  line-height: 1.5;
  background: var(--bg-color);
}

.tab1 i {
  font-size: 1.1em;
  margin-right: 0.6rem;
}

.tab1 li.tab1-active,
.tab1 li:hover {
  background: #000;
  color: #fff;
}

.tab1-content {
  display: none;
  padding: 1.5rem;
  border: 1px solid #000;
  background: var(--bg-color);
}

.tab1-content.tab1-active {
  display: block;
}

/* 検索フォーム */
#search .items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem 1.5rem;
}

#search .item {
  min-width: 0;
}

#search .item label {
  display: block;
  font-size: 0.85rem;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 0.3rem;
}

#search select {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  line-height: 1.5;
  color: inherit;
  background-color: #fff;
  border: 1px solid var(--bg-border-color);
  border-radius: 5px;
  padding: 0.6rem 2.4rem 0.6rem 0.8rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 0.8rem auto;
}

#search select:focus {
  outline: none;
  border-color: #000;
}

#search .range {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#search .range select {
  flex: 1;
  min-width: 0;
  padding-right: 1.8rem;
  padding-left: 0.6rem;
  background-position: right 0.55rem center;
}

#search .search-btn {
  margin: 1.5rem 0 0;
  text-align: center;
}

#search .search-btn button {
  width: min(100%, 25rem);
  font: inherit;
  font-weight: bold;
  background: #000;
  color: #fff;
  border: 1px solid #000;
  border-radius: 5px;
  padding: 0.8rem 2rem;
  cursor: pointer;
  transition: 0.3s;
}

#search .search-btn button:hover {
  filter: brightness(1.15);
}

#search .search-btn i {
  margin-right: 0.5rem;
}

/* 物件一覧 */
.list1 * {
  margin: 0;
  padding: 0;
}

.list1 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2vw;
}

.list1.c4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.list1 .list {
  display: flex;
  flex-direction: column;
  position: relative;
  background: #fff;
  border: 1px solid var(--bg-border-color);
  border-radius: 5px;
  overflow: hidden;
}

.list1 .image {
  position: relative;
}

.list1 .image a img {
  transition: 0.5s;
}

.list1 .image a:hover img {
  transform: scale(1.05);
}

.list1 .list .text {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.list1 .list h4 {
  color: #000;
}

.list1 .list p {
  font-size: 0.85em;
  line-height: 1.5;
}

.list1 .list .price {
  color: #e60000;
  font-weight: bold;
  font-size: 1.2rem;
}

.list1 .list i {
  background: #fff;
  color: #000;
  display: block;
  margin: 2rem auto 1rem;
  font-size: 36px;
  width: 2.4em;
  line-height: 2.4em;
  text-align: center;
  border-radius: 50%;
  border: 1px solid #ddd;
}

.list1 .list i.accent-color {
  color: var(--accent-color);
}

.list1 .list .btn {
  padding: 0 1rem 1rem;
}

.list1 .list .btn a {
  display: block;
  text-align: center;
}

.list1 .tag {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.list1 .tag span {
  border: 1px solid var(--bg-border-color);
  padding: 0 0.2rem;
}

.list1 .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  font-size: 0.8rem;
  padding: 0.2rem 0.4rem;
  line-height: 1.4;
  font-weight: bold;
  position: absolute;
  left: 5px;
  top: 5px;
  background: #000;
  color: #fff;
}

.list1 .icon.accent {
  background: var(--accent-color);
  color: var(--accent-inverse-color);
}

.list1 .icon.closed {
  background: #888;
  color: #eee;
}

/* サムネイル */
.thumbnail-view {
  max-width: 1000px;
  margin: 0 auto 1rem;
}

.thumbnail-nav2 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  max-width: 1000px;
  margin: 0 auto 2rem;
}

.thumb-arrow2 {
  display: none;
}

.thumbnail-wrapper2 {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 6px;
}

.thumbnail-changer {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  margin: 0 auto;
}

.thumbnail-changer img {
  width: 100px;
  margin: 2px;
  cursor: pointer;
  transition: 0.3s;
  display: block;
}

.thumbnail-changer .thumb-wrap {
  position: relative;
  display: inline-block;
  width: 100px;
  margin: 2px;
  cursor: pointer;
  transition: 0.3s;
  background: #000;
}

.thumbnail-changer img,
.thumbnail-changer .thumb-wrap {
  flex: 0 0 auto;
}

.thumbnail-changer .thumb-wrap > video {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  background: #000;
}

.thumbnail-changer img:hover,
.thumbnail-changer .thumb-wrap:hover {
  opacity: 0.8;
}

.thumbnail-changer .thumb-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.thumbnail-changer .thumb-play i {
  background: #ff0000;
  color: #fff;
  border-radius: 9999px;
  padding: 6px 8px;
  font-size: 12px;
  line-height: 1;
}

.thumbnail-view img,
.thumbnail-view video {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* テーブル */
.ta1 caption {
  font-weight: bold;
  padding: 0.2rem 1rem;
  margin-bottom: 1rem;
  background: #000;
  color: #fff;
}

.ta1 {
  table-layout: fixed;
  border-top: 1px solid var(--bg-border-color);
  width: 100%;
  margin-bottom: 2rem;
  background: #fff;
  color: #333;
}

.ta1 tr {
  border-bottom: 1px solid var(--bg-border-color);
}

.ta1 th,
.ta1 td {
  padding: 1rem;
  word-break: break-all;
}

.ta1 th {
  width: clamp(8rem, 22vw, 13rem);
  text-align: left;
  background: var(--light-color);
  color: var(--light-inverse-color);
}

/* フッター */
footer ul {
  list-style: none;
}

footer h3,
footer p {
  margin: 0;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  font-size: 0.8rem;
  padding: var(--content-space-s);
  background: #000;
  color: #fff;
}

footer .logo {
  width: 220px;
}

footer > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

footer .sns {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

footer .sns i {
  font-size: 30px;
}

footer .iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}

footer .iframe iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

footer .ta-week {
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  width: 100%;
  border: 1px solid var(--bg-border-color);
  background: var(--bg-color);
  color: var(--bg-inverse-color);
}

footer .ta-week th:first-child,
footer .ta-week td:first-child {
  width: 25%;
}

footer .ta-week th:not(:first-child),
footer .ta-week td:not(:first-child) {
  width: calc(75% / 7);
}

footer .ta-week th,
footer .ta-week td {
  padding: 0.5rem 0;
  text-align: center;
  border-bottom: 1px solid var(--bg-border-color);
  border-right: 1px solid var(--bg-border-color);
}

footer .ta-week th:last-child,
footer .ta-week td:last-child {
  border-right: none;
}

footer .ta-week tr:last-child td {
  border-bottom: none;
}

footer .ta-week th {
  background: var(--light-color);
  color: var(--light-inverse-color);
}

footer small {
  display: block;
  width: 100%;
  text-align: center;
}

/* ボタン */
.btn a {
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  background: #000;
  color: #fff;
  border: 1px solid #000;
  padding: 0.4rem 2rem;
  border-radius: 5px;
}

.btn.inverse a {
  background: #fff;
  color: #000;
}

.btn.accent a {
  background: var(--accent-color);
  color: var(--accent-inverse-color);
  border: 1px solid var(--accent-color);
}

.btn i {
  transform: scale(1.2);
}

/* お知らせ */
dl.news * {
  margin: 0;
  padding: 0;
}

dl.news dt {
  display: flex;
}

/* テンプレートの著作表示 */
.pr a {
  text-decoration: none;
  display: block;
  background: rgba(0, 0, 0, 0.5);
  color: #ccc;
  text-align: right;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

.pr a::before {
  font-family: "Font Awesome 6 Free";
  content: "\e2ca";
  font-weight: 900;
  margin-right: 0.5em;
}

/* ページトップ */
.pagetop-show {
  display: block;
}

.pagetop a {
  display: block;
  text-decoration: none;
  text-align: center;
  z-index: 99;
  animation: opa1 1s 0.4s both;
  position: fixed;
  right: 20px;
  bottom: 20px;
  color: #fff;
  font-size: 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  width: 60px;
  line-height: 60px;
  border-radius: 50%;
}

/* お問い合わせフォーム */
.contact-form-block {
  width: 100%;
}

.form-global-error {
  border: 1px solid #f0c2c2;
  background: #fff4f4;
  color: #9b2e2e;
}

.js-ajax-form[hidden] {
  display: none !important;
}

.form-row + .form-row {
  margin-top: 1.25rem;
}

.form-label {
  display: block;
  margin-bottom: 0.55rem;
  font-weight: 700;
  line-height: 1.5;
}

.required-badge {
  display: inline-block;
  margin-left: 0.45rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
  background: #d94c4c;
  vertical-align: middle;
}

.contact-form-inner input[type="text"],
.contact-form-inner input[type="email"],
.contact-form-inner input[type="file"],
.contact-form-inner select,
.contact-form-inner textarea {
  width: 100%;
  appearance: none;
  border: 1px solid #ccc;
  border-radius: 16px;
  padding: 0.95rem 1rem;
  background: #fff;
  color: #333;
  font: inherit;
  line-height: 1.6;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  box-sizing: border-box;
}

.contact-form-inner input[type="file"] {
  padding: 0.8rem 1rem;
  cursor: pointer;
}

.contact-form-inner input[type="file"]::file-selector-button {
  margin-right: 0.9rem;
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  background: var(--primary-light-color);
  color: var(--primary-light-inverse-color);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.contact-form-inner textarea {
  resize: vertical;
  min-height: 12em;
}

.contact-form-inner input[type="text"]:focus,
.contact-form-inner input[type="email"]:focus,
.contact-form-inner input[type="file"]:focus,
.contact-form-inner select:focus,
.contact-form-inner textarea:focus {
  outline: none;
  border-color: #000;
}

.select-inline-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.select-inline {
  width: 100%;
}

.check-group,
.radio-group {
  display: grid;
  gap: 0.7rem;
}

.check-item,
.radio-item,
.check-single {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.6;
}

.check-item input,
.radio-item input,
.check-single input {
  margin-top: 0.3rem;
  flex-shrink: 0;
}

.form-help-text,
.form-file-reset-text {
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
  line-height: 1.6;
}

.form-row.is-error input[type="text"],
.form-row.is-error input[type="email"],
.form-row.is-error input[type="file"],
.form-row.is-error select,
.form-row.is-error textarea {
  border-color: #d94c4c;
  background: #fff8f8;
}

.form-row.is-error .form-label,
.form-row.is-error .check-single,
.form-row.is-error .check-item,
.form-row.is-error .radio-item {
  color: #972f2f;
}

.form-error-text {
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #b23838;
}

.form-actions {
  margin-top: 1.8rem;
  text-align: center;
}

.form-row.js-privacy-row .check-single {
  display: flex;
  width: fit-content;
  margin: 0 auto;
  align-items: center;
  gap: 0.5rem;
}

.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 13em;
  min-height: 56px;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 2rem;
  background: var(--accent-color);
  color: var(--accent-inverse-color);
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.submit-button:hover {
  transform: translateY(-1px);
}

.submit-button:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* 住所入力 */

.h-adr select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 0.8rem auto;
  cursor: pointer;
}

/* 背景色 */
.bg1-parts {
  background-color: var(--bg-inverse-color);
  color: var(--bg-color);
}

.bg1-primary-parts {
  background-color: #000;
  color: #fff;
}

.bg1-primary-light-parts {
  background-color: var(--primary-light-color);
  color: var(--primary-light-inverse-color);
}

.bg1-light-parts {
  background-color: var(--light-color);
  color: var(--light-inverse-color);
}

.bg1-accent-parts {
  background-color: var(--accent-color);
  color: var(--accent-inverse-color);
}

.bg-parts {
  padding-top: var(--content-space-v, var(--content-space-l));
  padding-bottom: var(--content-space-v, var(--content-space-l));
}

/* 幅・余白の調整 */
.bleed-x-parts {
  --bleed-x: var(--content-space-l);
  width: calc(100% + (var(--bleed-x) * 2));
  margin-left: calc(var(--bleed-x) * -1);
  margin-right: calc(var(--bleed-x) * -1);
  max-width: none;
}

.bleed-left-parts {
  width: calc(100% + var(--content-space-l));
  margin-left: calc(-1 * var(--content-space-l));
}

.bleed-right-parts {
  width: calc(100% + var(--content-space-l));
  margin-right: calc(-1 * var(--content-space-l));
}

/* その他 */
.color-check,
.color-check a {
  color: #ff0000 !important;
}

.l { text-align: left !important; }
.c { text-align: center !important; }
.r { text-align: right !important; }

.ws,
.wl {
  width: 100%;
  display: block;
}

.padding-x {
  padding: 0 var(--content-space-l);
}

.mt0 { margin-top: 0 !important; }
.mt20 { margin-top: 20px !important; }
.mt1rem { margin-top: 1rem !important; }
.mt3rem { margin-top: 3rem !important; }

.mb0 { margin-bottom: 0 !important; }
.mb1rem { margin-bottom: 1rem !important; }
.mb3rem { margin-bottom: 3rem !important; }
.mb30 { margin-bottom: 30px !important; }

.look {
  display: inline-block;
  padding: 0 10px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  border-radius: 3px;
  margin: 5px 0;
  word-break: break-all;
}

.look .color-check {
  color: yellow !important;
}

.small {
  font-size: 0.8em;
}

.large {
  font-size: 1.4em;
  letter-spacing: 0.1em;
}

.pc { display: none; }
.dn { display: none !important; }
.inline-block { display: inline-block !important; }
.block { display: block !important; }
.is-clip { overflow: hidden; }

.large-screen .ws { width: 50%; }
.large-screen .sh { display: none; }
.large-screen .pc { display: block; }

/* フッターの会社情報・メニュー配置 */
footer.site-footer {
  display: block;
  padding: 48px 24px 20px;
  background: #000;
  color: #fff;
  font-size: 14px;
}

footer.site-footer > .footer-inner {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 1.5fr);
  align-items: start;
  gap: 40px 60px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.site-footer .footer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  min-width: 0;
}

.site-footer .logo {
  width: 320px;
  max-width: 100%;
}

.site-footer .logo a,
.site-footer .logo img {
  display: block;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer .footer-info .large {
  display: inline-block;
  padding: 6px 0;
}

.site-footer .sns {
  gap: 16px;
}

.site-footer .sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

/* パソコン：リンクを3列で配置 */
.site-footer .footer-nav {
  min-width: 0;
}

.site-footer .footer-nav ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer .footer-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 0;
  border-bottom: 1px solid #444;
  line-height: 1.6;
}

.site-footer a:hover {
  color: #ccc;
}

.site-footer a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

footer.site-footer small {
  display: block;
  width: 100%;
  max-width: 1200px;
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid #444;
  color: #ccc;
  font-size: 12px;
  text-align: center;
}

/* スマホ・タブレット：会社情報の下にリンクを2列 */

/* ==================================================
   900px以上
   ================================================== */
@media (min-width: 900px) {
  header {
    position: relative;
  }

  header h1,
  header .logo {
    padding-right: 300px;
  }

  header #menubar {
    display: block;
    position: static;
    width: 100%;
    background: #fff;
    color: #333;
    border-bottom: 1px solid #e2e5e9;
  }

  header #menubar > nav {
    position: static;
  }

  header #menubar > nav > ul {
    position: static;
    display: flex;
    align-items: stretch;
    gap: 0;
    width: min(1200px, 100%);
    margin: 0 auto;
    padding: 8px 0;
    list-style: none;
    font-size: 15px;
    font-weight: bold;
  }

  header #menubar > nav > ul > li {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    border-right: 1px dashed #aaa;
    text-align: center;
  }

  header #menubar > nav > ul > li:first-child {
    border-left: 1px dashed #aaa;
  }

  header #menubar > nav > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 8px;
    margin: 0;
    border: 0;
    border-radius: 0;
    text-decoration: none;
    line-height: 1.5;
    background: transparent;
    color: #333;
  }

  header #menubar > nav > ul > li > a:hover,
  header #menubar > nav > ul > li > a:focus-visible {
    background: #eef3f8;
    color: #000;
  }

  header #menubar > nav > ul > .btn > a {
    color: #000;
  }

  header #menubar ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    width: max(100%, 190px);
    padding: 6px;
    background: #fff;
    box-shadow: 0 5px 16px #0002;
    list-style: none;
    z-index: 100;
    text-shadow: none;
    animation: opa1 0.5s 0.1s both;
  }

  header #menubar ul ul a {
    display: block;
    text-decoration: none;
    background: #fff;
    margin: 0;
    border: 0;
    border-radius: 0;
    padding: 10px;
  }

  header #menubar > .sh {
    display: none;
  }

  header #menubar li:focus-within > ul {
    display: block !important;
  }

  /* 電話番号をロゴの右側へ */
  header #menubar > nav > ul > li.tel {
    position: absolute;
    top: 32px;
    right: 24px;
    width: auto;
    margin: 0;
    border: none;
    text-align: right;
    z-index: 20;
  }

  header #menubar > nav > ul > li.tel > a {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    font-size: 22px;
    line-height: 1.4;
    letter-spacing: 0;
    color: #000;
  }

  header #menubar > nav > ul > li.tel span {
    display: block;
    margin: 0;
    padding: 0;
    font-size: 11px;
    font-weight: normal;
    color: #333;
  }

  dl.news {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 0 2rem;
    align-items: start;
  }
}

/* ==================================================
   768px以上
   ================================================== */
@media (min-width: 768px) {
  .h-adr input[name="postal_code"],
  .h-adr input[name="address_pref"] {
    width: min(100%, 10rem);
  }
}

/* ==================================================
   899px以下
   ================================================== */
@media (max-width: 899px) {
  header h1 {
  padding-right: 80px;
}

header .logo {
  padding-right: 68px;
   padding-left: 5px;
  padding-bottom: 2px;
  
  
}

header .logo a,
header .logo img {
  width: 100%;
}


  .header-info {
    padding: 10px 16px;
    font-size: 12px;
  }
}

/* ==================================================
   800px以下
   ================================================== */
@media (max-width: 800px) {
  footer.site-footer > .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .site-footer .footer-nav ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 24px;
  }
}

/* ==================================================
   767px以下
   ================================================== */
@media (max-width: 767px) {
  .contact-form-inner {
    border-radius: 22px;
  }

  .select-inline-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .js-date-select-group[data-date-mode="ymd"] .select-inline-group {
    grid-template-columns: 1fr;
  }

  .submit-button {
    width: 100%;
    min-width: 0;
  }
}

/* ==================================================
   700px以下
   ================================================== */
@media (max-width: 700px) {
  .small-screen #menubar {
    width: 100%;
  }

  .home #search {
    margin-top: -3rem;
  }
}

/* ==================================================
   600px以下
   ================================================== */
@media (max-width: 600px) {
  .list1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .list1.c4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  footer {
    flex-direction: column;
  }
}

.site-footer .sns img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}
/* アイコンを囲む円 */
.list1 .list .service-icon {
  width: 95px;
  height: 95px;
  box-sizing: border-box;
  margin: 30px auto 30px;
  background-color: #EEF4F0;
border: 1px solid #D8E5DC;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 円の中の画像を大きくする */
.list1 .list .service-icon img {
  display: block;
  width: 80px;
  height: 80px;
  max-width: none;
  margin: 0;
  padding: 0;
  object-fit: contain;
}



.list1 .list .text-top {
  position: relative;
  top: -40px;
}

summary {
  cursor: pointer;
}

/* Q&Aページの本文をメニューの幅に合わせる */
.page-inside #contents > main {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}

/* スマホでは本文が画面の端に寄らないようにする */
@media (max-width: 600px) {
  .page-inside #contents > main {
    padding-inline: 16px;
  }
}


.en-voices {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 32px);
}

.en-voices__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.en-voices__card {
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid #e4ddd0;
  border-inline-start: 4px solid #a77b2c;
  border-radius: 8px;
  background: #fff;
  color: #292929;
  overflow-wrap: anywhere;
   box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  
  
}

.en-voices__card .en-voices__service {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 12px;
  border-radius: 4px;
  background: #f6eddb;
  color: #634717;
  font-size: 0.875rem;
  font-weight: 700;
}

.en-voices__card h3 {
  margin: 0 0 6px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.5;
}

.en-voices__card .en-voices__meta {
  margin: 0 0 16px;
  color: #605b52;
  font-size: 0.875rem;
}

.en-voices__card .en-voices__message {
  margin: 0;
  line-height: 1.8;
}

.service-cards .list .text p {
  text-align: left;
}

@media (max-width: 767px) {
  .header-info {
    font-size: min(12px, 2.5vw);
    line-height: 1.6;
    padding-inline: 8px;
  }

  .header-info > span {
    display: block;
  }
}