@charset 'UTF-8';

/*
GENERAL STYLING
================================================ */
html {
    font-size: 100%;
}
body {
	color: #555;
	font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'ヒラギノ角ゴ ProN W3', 'ヒラギノ角ゴシック', 'Meiryo', 'メイリオ', sans-serif;
}

/*
COMMON
================================================ */
p,
td {
    line-height: 1.7;
}

/* Layout */
.wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}
main {
    max-width: 900px;
    width: 96%;
    margin: 3.0rem auto;
    padding: 3rem 1rem;
    background: #fff;
    box-shadow: 0 0 6px rgba(0,0,0,.2);
}

.merchandise main {
    width: 100%;
    margin: 3.0rem auto;
    padding: 3rem 0;
    background: #fff;
    box-shadow: 0 0 6px rgba(0,0,0,.2);
}

.text-center {
    text-align: center;
}

.signature {
    margin: 30px 0 50px;
    text-align: right;
}

.red {
  color: red;
}

.icon-link {
    margin: 0 5px 0 0;
    padding: 0 25px 0 0;
    background: url(../img/global/link.png) 100%  5px no-repeat;
    background-size: 15px;
}
.icon-link:hover {
    margin: 0 5px 0 0;
    padding: 0 25px 0 0;
    border-bottom: 1px solid #0e1187;
}

.hp_ssMb30 {
    margin-bottom: 30px;
}


/* Button */
.btn {
    display: inline-block;
    padding: 1.25rem 3.25rem;
    font-size: 1.0rem;
    text-align: center;
    width: 100%;
}
.btn-primary {
    color: #fff;
    background: #e25c00;
}
.btn-primary:hover {
    background: #ffbf00;
}
.btn-secondary {
    color: #555;
    background: #d0bea2;
}
.btn-secondary:hover {
    background: #d9cebe;
}

/* Heading */
.title {
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: 700;
    color: #142e56;
		text-align: center;
}
.title::after {
    content: '';
    display: block;
    height: 5px;
    width: 10rem;
    background: #d0bea2;
    margin: 2rem auto 2.5rem;
}
.title-center {
    text-align: center;
}
.title-center::after {
    margin: 2.5rem auto;
}

.title_h3 {
    font-size: 1.3rem;
    line-height: 1.5;
    text-align: center;
    font-weight: 700;
    color: #142e56;
}

/* Table */
table {
    margin: 3.5rem 0;
    width: 100%;
}
th,
td {
    display: block;
}
th {
    font-weight: normal;
    background: #f8f6f2;
    vertical-align: middle;
    padding: 1rem;
}
td {
    padding: .75rem 1rem 1.75rem;
}

/* 見出し */
.headTitle2 {
  margin: 0;
  padding: 0;
  color: #142e56;
  text-shadow: 0 0 5px white;
  padding: 0.3em 0.5em;
  background: -webkit-repeating-linear-gradient(-45deg, #cce7ff, #cce7ff 3px,#e9f4ff 3px, #e9f4ff 7px);
  background: repeating-linear-gradient(-45deg, #cce7ff, #cce7ff 3px,#e9f4ff 3px, #e9f4ff 7px);
  font-size: 1.5rem;
  text-align: left;
  line-height: 1.75;
  font-weight: 700;
}

.headTitle3 {
  margin: 2rem 0;
  padding: 0;
  border-bottom: solid 3px black;
  color: #142e56;/*文字色*/
  font-size: 1.5rem;
  text-align: center;
  line-height: 2.0;
  font-weight: 700;
}

.headTitle4 {
  margin: 2rem 0;
  padding: 0.5em;/*文字周りの余白*/
  color: #142e56;/*文字色*/
  background: #eaf3ff;/*背景色*/
  border-bottom: solid 3px #516ab6;/*下線*/
  font-size: 1.0rem;
  line-height: 1.5;
  text-align: left;
  font-weight: 700;
}

/*
HEADER
================================================ */
header {
    background: linear-gradient(
    to bottom,
    #e49563 0%,      /* オレンジ系 */
    #e4c563 20%,     /* 黄色系 */
    #aee463 40%,     /* ライトグリーン系 */
    #63cbe4 60%,     /* 水色系 */
    #6399e4 80%,     /* 青系 */
    #476fa3 100%     /* 濃い青 */
  );
}

header .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

/*.main-nav {
    display: flex;
}
.main-nav li {
    text-align: center;
    font-size: .75rem;
}*/

/* --- モバイル（600px未満） --- */
/* --- 共通 --- */
body {
	font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'ヒラギノ角ゴ ProN W3', 'ヒラギノ角ゴシック', 'Meiryo', 'メイリオ', sans-serif;
  margin: 0;
  background: #f5f6fa;
}
nav {
/*  position: relative;*/
/*  background: #fff;*/
  z-index: 200;
}
.main-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* --- スマートフォン（600px未満） --- */
.menu-toggle {
  display: flex;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  margin: .5rem;
}
.menu-toggle span {
  display: block;
  height: 4px;
  margin: 4px 0;
  background: #142e56;
  border-radius: 2px;
  transition: .3s;
}

.main-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  width: 100%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.07);
  z-index: 100;
}
.main-nav a {
  font-weight: 700;
}
.main-nav.open {
  display: flex;
}
.main-nav > li {
  position: relative;
  border-bottom: 1px solid #ddd;
  min-height: 44px;
}
.main-nav > li > a {
  display: block;
  padding: 1rem;
  color: #142e56;
  text-decoration: none;
  width: 100%; 
  box-sizing: border-box;
}

/* 親要素のみトグルボタン表示 */
.has-submenu > .submenu-toggle {
  display: block;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: #142e56;
  padding: 0;
  width: 1.5rem;
  height: 1.5rem;
  line-height: 1.5rem;
  text-align: center;
  z-index: 110;
}

/* プラス/マイナス切り替え（親のみ） */
.has-submenu > .submenu-toggle::after {
  content: "+";
}
.has-submenu.open > .submenu-toggle::after {
  content: "−";
}

/* サブメニュー（初期非表示） */
.has-submenu > .sub-nav {
  display: none;
  position: static;
  background: #f9f9f9;
  box-shadow: none;
  min-width: 0;
  max-height: none;
  overflow: visible;
  padding: 0;
  margin: 0;
  list-style: none;
}
.has-submenu.open > .sub-nav {
  display: block;
}

/* サブメニューのliとa（高さ・パディングをしっかり） */
.sub-nav li {
  min-height: 44px;
  border-bottom: 1px solid #eee;
}
.sub-nav li:last-child {
  border-bottom: none;
}
.sub-nav li a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: #333;
  text-decoration: none;
  font-size: 1rem;
  white-space: nowrap;
  background: transparent;
  transition: background 0.2s;
}
.sub-nav li a:hover {
  background: #e6eaff;
}

/* 子要素にはトグルボタンを表示しない */
.sub-nav .submenu-toggle {
  display: none !important;
}

.logo {
    width: 5.0rem;
}
/*.main-nav a {
    display: block;
    padding: .5rem;
    width: 4rem;
}
.main-nav a::before {
    display: block;
    margin-bottom: .25rem;
/* Font Awesome */
/*    font-family: 'Font Awesome 5 Pro';
    font-weight: 900;
    color: #555;
    font-size: 1.25rem;
}*/
/*.menu-home::before {
    content: '\f015';
}
.menu-job::before {
    content: '\f0ca';
}
.menu-form::before {
    content: '\f56e';
}*/
.main-nav .current {
    background: #f8f6f2;
}

.text-link {
  margin: .5rem 0;
  padding: .5rem 0;
}
/*
HOME
================================================ */
.home-hero {
  text-align: center;
  padding: 1rem 0 1rem;
  background: url('../img/index/bg-hero.jpg') no-repeat center top / cover;
  height: 300px;
}
.home-hero {
  text-align: center;
  padding: 2.5rem 0 2.5rem;
  background: url('../img/index/bg-hero.jpg') no-repeat center top / cover;
  min-height: 380px;        /* 初期表示でしっかり高さを出す */
  height: 40vh;             /* 画面の高さに応じて可変（お好みで） */
  display: flex;
  flex-direction: column;
  justify-content: center;  /* 中央寄せ */
}

.home-hero h2 {
  font-size: 1.5rem;
  margin: 1rem 0 1.5rem;
  padding: 1rem;
	color: #fff;
	padding: 1rem;
	display: inline-block;
	font-weight: 700; /* 文字を太くする */
	text-shadow:
			0 4px 16px rgba(0,0,0,0.7),   /* より強い影（距離・濃度UP） */
			0 0 2px #222,                 /* 輪郭をさらに強調 */
			2px 2px 0 #222,               /* 斜め方向にも影を追加 */
			-2px 2px 0 #222;              /* 反対側にも影を追加 */
	border-radius: 0.5em;             /* お好みで角丸 */
}

.large-message {
	font-size: 1.5rem;
	max-width: 1080px;
	margin: 3rem auto 0;
	padding: 1rem;
	word-wrap: break-word;
	color: #142e56;
	font-family: 'Noto Serif JP', serif;
}

/* Contents */
.brown-bg {
    background: #f8f6f2;
}
.content {
  display: flex;
  flex-direction: column; /* 縦方向に並べる */
  gap: 2rem;
  padding: 2rem 0 4rem;
}
.new-content {
  display: flex;
  flex-direction: column; /* 基本縦並び */
  align-items: center;
  gap: 2rem;
}

.home-text {
     text-align: center;
  margin: 0 auto;
}

.image-wrapper {
  display: grid;
  grid-template-columns: 1fr; /* デフォルト1列（スマホ） */
  gap: 1rem;
  justify-items: center;
}

.service-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

.modal-content {
  max-width: 90vw;     /* 横幅を画面の90%に制限 */
  max-height: 80vh;    /* 高さを画面の80%に制限 */
  margin: 2rem auto 1rem auto; /* 上部にスペースを開ける */
  display: block;
  object-fit: contain;
}

.close {
  position: fixed;     /* 画面の固定位置に */
  top: 1rem;           /* 上からの距離 */
  right: 1rem;         /* 右からの距離 */
  z-index: 1001;       /* 画像より必ず前面 */
  font-size: 2rem;
  cursor: pointer;
  color: white;
  background: rgba(0,0,0,0.4);
  border-radius: 50%;
  padding: 0.2rem 0.5rem;
}

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

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

.custom-wrapper {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* スマホ：600px未満は縦並び */
.custom-wrapper .section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
}

.custom-wrapper .section-image img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 10px;
  background: #fff;
}

.custom-wrapper .section-content {
  flex: none;
}

.custom-wrapper .section-content h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #0B2265;
}

.custom-wrapper .section-content hr {
  width: 80px;
  border: 2px solid #C9B898;
  margin: 0 auto 20px auto;
}

.custom-wrapper .section-reverse {
  flex-direction: column;
}


/*
company.html
================================================ */
/*.page-job {
    background-image: url('../img/bg-job.jpg'), linear-gradient(180deg, transparent 0%,transparent 50%, #F8F6F2 50%, #F8F6F2 100%);
    background-position: center 106px, 0 0;
    background-size: cover, contain;
    background-repeat: no-repeat;
    height: 300px;
}
.page-job .btn {
    margin-bottom: 4rem;
}*/

.company-hero {
    height: 300px;
    background-image: url('../img/local/contents_top.jpg'), linear-gradient(180deg, transparent 0%, transparent 50%, #F8F6F2 50%, #F8F6F2 100%);
    background-position: center, 0 0;
    background-size: cover, contain;
    background-repeat: no-repeat;
}
.company-hero .btn {
    margin-bottom: 4rem;
}

/* Timeline */
.timeline {
    list-style: decimal inside;
    font-family: 'Sawarabi Mincho', sans-serif;
}
.timeline-item {
    margin-bottom: 2rem;
}
.timeline-title {
    font-size: 1.375rem;
    display: inline-block;
    margin-bottom: 1rem;
}
.timeline-content {
    font-family: sans-serif;
}

/*monologue.html
================================================ */
/*.page-job {
    background-image: url('../img/bg-job.jpg'), linear-gradient(180deg, transparent 0%,transparent 50%, #F8F6F2 50%, #F8F6F2 100%);
    background-position: center 106px, 0 0;
    background-size: cover, contain;
    background-repeat: no-repeat;
    height: 300px;
}
.page-job .btn {
    margin-bottom: 4rem;
}*/

.monologue-hero {
    height: 150px;
    background-image: url('../img/local/contents_top.jpg'), linear-gradient(180deg, transparent 0%, transparent 50%, #F8F6F2 50%, #F8F6F2 100%);
    background-position: center, 0 0;
    background-size: cover, contain;
    background-repeat: no-repeat;
}
.monologue-hero .btn {
    margin-bottom: 4rem;
}

/*information.html
================================================ */
/*.page-job {
    background-image: url('../img/bg-job.jpg'), linear-gradient(180deg, transparent 0%,transparent 50%, #F8F6F2 50%, #F8F6F2 100%);
    background-position: center 106px, 0 0;
    background-size: cover, contain;
    background-repeat: no-repeat;
    height: 300px;
}
.page-job .btn {
    margin-bottom: 4rem;
}*/

.information-hero {
    height: 300px;
    background-image: url('../img/local/contents_top.jpg'), linear-gradient(180deg, transparent 0%, transparent 50%, #F8F6F2 50%, #F8F6F2 100%);
    background-position: center, 0 0;
    background-size: cover, contain;
    background-repeat: no-repeat;
}
.information-hero .btn {
    margin-bottom: 4rem;
}

/* Timeline */
.timeline {
    list-style: decimal inside;
    font-family: 'Sawarabi Mincho', sans-serif;
}
.timeline-item {
    margin-bottom: 2rem;
}
.timeline-title {
    font-size: 1.375rem;
    display: inline-block;
    margin-bottom: 1rem;
}
.timeline-content {
    font-family: sans-serif;
}

/*


/*merchandise.html
================================================ */
/*.page-job {
    background-image: url('../img/bg-job.jpg'), linear-gradient(180deg, transparent 0%,transparent 50%, #F8F6F2 50%, #F8F6F2 100%);
    background-position: center 106px, 0 0;
    background-size: cover, contain;
    background-repeat: no-repeat;
    height: 300px;
}
.page-job .btn {
    margin-bottom: 4rem;
}*/

.merchandise-hero {
    height: 300px;
    background-image: url('../img/local/contents_top.jpg'), linear-gradient(180deg, transparent 0%, transparent 50%, #F8F6F2 50%, #F8F6F2 100%);
    background-position: center, 0 0;
    background-size: cover, contain;
    background-repeat: no-repeat;
}
.merchandise-hero .btn {
    margin-bottom: 4rem;
}

.sub_container {
  display: grid;
  grid-template-columns: 1fr; /* スマホは縦1列 */
  gap: 20px;
  padding: 20px;
}
.tile {
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  background: #fff;
}
.tile img {
width: 100%;
aspect-ratio: 1 / 1;
object-fit: cover;
display: block;
border-bottom: 1px solid #ccc;
}
.tile-content {
  padding: 10px;
}
.tile-title {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 8px;
}
.tile-description {
  font-size: 1em;
  color: #555;
}

/*

/*
NEWS
================================================ */
/* デフォルト（スマホ）用 */
#news-cont {
  height: auto;
  text-align: left;
  margin: 0 auto 100px;
  padding: 30px 20px;
  width: 100%;
}
.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  max-width: 1080px; /* 必要に応じて調整 */
}
.news-item {
  display: block;
  padding: 15px 0;
  border-bottom: 1px dashed #bbccdd;
  line-height: 1.7;
}

.news-date {
  display: block;
  color: #005133;
  margin-bottom: 8px;
}
.news-article a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
.news-article a:hover {
  color: #5f7c9e;
}

/*
monologue.html
================================================ */

.blog_cont_in {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}


.blog-text {
  text-align: left;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}
/*.blog-text p {
  margin-bottom: 1rem;
  margin: 0;
  padding: 0 2rem;
}*/

.blog-text2 {
  text-align: left;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

.tiles-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tile {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}
.tile h2 {
  font-size: 1.3em;
  color: #142e56;
  border-left: 5px solid #142e56;
  padding-left: 12px;
  margin-top: 0;
}
.tile p {
  line-height: 1.6;
  margin-top: 10px;
}

.symptom-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  padding: 0;
  margin: 0 auto;
  max-width: 1200px;
}
.symptom-item {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.symptom-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}
.symptom-item h2 {
  font-size: 1.3em;
  color: #142e56;
  border-left: 5px solid #142e56;
  padding-left: 12px;
  margin-top: 0;
}
.symptom-item p {
  line-height: 1.6;
  margin-top: 10px;
}


/* Un-order-list */
.bl_bulletList {
  margin: 2rem 0;
  padding: 0 0 0 1rem;
}


.bl_bulletList > *:last-child {
  margin-bottom: 0;
}
.bl_bulletList > li {
  position: relative;
  padding-left: 1em;
  margin-bottom: 10px;
}
.bl_bulletList > li::before {
  content: '';
  position: absolute;
  top: .5em;
  left: 0;
  display: block;
  width: .4em;
  height: .4em;
  background-color: #142e56;
  border-radius: 50%;
}

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 2rem 0;
}

.image-grid img {
  width: 100%;
  display: block;
}

/*
privacy
================================================ */
.privacy_ttl {
    font-size: 18px;
    background: #0067b7;
    color: #fff;
    padding: 5px 10px 5px;
    margin: 0 auto 17px auto;
  }
.privacy_txt {
    text-indent: 1rem;
    padding: 0 0 20px 10px;
  }
.privacy_list {
    margin: 0 auto 30px;
}
.privacy_list li {
    padding: 0 20px;
    text-indent:-1em;
    padding-left:2em;
    margin-bottom: 1rem;
    line-height: 1.7;
}

/*
terms
================================================ */
.terms p {
    margin-bottom: 50px;
  }




/* 600px以上は3カラム2段のグリッド */
@media screen and (min-width: 600px) {
.tiles-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 20px;
}
.tile {
  width: 100%;
}
}

/* FAQ */
.bl_faq {
  margin: 3rem 0;
  padding: 0;
}

.bl_faq > *:last-child {
  margin-bottom: 0;
}

.bl_faq_q,
.bl_faq_a {
  position: relative;
  display: flex;
  align-items: flex-start;
  box-sizing: content-box;
  min-height: 45px;
  padding-left: 60px;
}

.bl_faq_q {
  margin-bottom: 15px;
  font-size: 1.125rem;
  font-weight: bold;
}

.bl_faq_q_txt {
  padding-top: 12px;
}

.bl_faq_a {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.bl_faq_icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-weight: normal;
  line-height: 45px;
  text-align: center;
}

.bl_faq_q .bl_faq_icon {
  background-color: #142e56;
  color: #fff;
}

.bl_faq_a .bl_faq_icon {
  background: #efefef;
  color: #142e56;
}

.bl_faq_a_body {
  padding-top: 12px;
}

.bl_faq_a_body > *:last-child {
  margin-bottom: 0;
}

.bl_faq_a_txt {
  margin-bottom: 20px;
}


/*
contact.html
================================================ */
/*.page-form {
    background-image: url('../img/bg-form.jpg'), linear-gradient(180deg, transparent 0%,transparent 50%, #F8F6F2 50%, #F8F6F2 100%);
    background-position: center 106px, 0 0;
    background-size: 100vw auto, contain;
    background-repeat: no-repeat;
}
.text-small {
    font-size: .875rem;
}*/

.contact-hero {
    height: 300px;
    background-image: url('../img/local/bg-contact.jpg'), linear-gradient(180deg, transparent 0%, transparent 50%, #F8F6F2 50%, #F8F6F2 100%);
    background-position: center, 0 0;
    background-size: cover, contain;
    background-repeat: no-repeat;
}
.contact-hero .btn {
    margin-bottom: 4rem;
}

.upper_cont {
  margin: 0 auto;
  padding: 50px 0;
}

.under_cont {
  margin: 0 auto;
  padding: 0 0 100px;
}

.line_qr {
  margin: 3rem auto;
   padding: 0 ;
  width: 100%;
}
.line_qr img {
  width: 100%;
  max-width: 30%;
  margin: 0 auto;
  padding: 0 ;
}


/* Form */
input[type='text'],
input[type='email'],
input[type='url'],
select,
textarea {
    border: 1px solid #bbb;
    background: #fff;
    padding: .5rem;
    width: 100%;
}
input[type='text']::placeholder,
input[type='email']::placeholder,
input[type='url']::placeholder,
textarea::placeholder {
    color: #bbb;
}
textarea {
    height: 10rem;
}

label {
    display: block;
    margin-bottom: 1rem;
}

.select-box {
    position: relative;
}
.select-box::after {
    display: inline-block;
    position: absolute;
    top: .625rem;
    right: 1rem;
/* Font Awesome */
    font-family: 'Font Awesome 5 Pro';
    font-weight: 900;
    content: '\f078';
    color: #bbb;
}

/* デフォルトのチェックボックスを非表示 */
input[type='checkbox'] {
    opacity:0;
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
}
/* チェックボックス用の四角形を作る */
input[type='checkbox'] + span::before {
    display: inline-block;
    content: '';
    width: 1.5rem;
    height: 1.5rem;
    border: 1px solid #bbb;
    background: #fff;
    margin: -.125rem .5rem 0 0;
    vertical-align: middle;

/* Font Awesome */
    font-family: 'Font Awesome 5 Pro';
    font-weight: 900;
    padding: 0 2px;
    line-height: 1.5;
}
/* チェックが入るとチェックアイコンを表示 */
input[type='checkbox']:checked + span::before {
    content: '\f00c';
}

/*
FOOTER
================================================ */
footer {
/*    background: #142e56;*/
background: linear-gradient(
    to bottom,
    #e49563 0%,      /* オレンジ系 */
    #e4c563 20%,     /* 黄色系 */
    #aee463 40%,     /* ライトグリーン系 */
    #63cbe4 60%,     /* 水色系 */
    #6399e4 80%,     /* 青系 */
    #476fa3 100%     /* 濃い青 */
  );
    /*color: rgba(255,255,255,.8);*/
    color: #142e56;
    padding: 3.5rem 1rem .5rem;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}
.footer-nav li a {
  /* スマホ時のデフォルト（必要ならここに小さめのpaddingを指定） */
  padding: 8px 8px;
  font-size: 1rem;
  display: inline-block;
}
.footer-company {
    margin-top: 2rem;
    font-size: 1rem;
    text-align: center;
}
.footer-company a {
    /*color: #d5d7e4;*/
    color: #142e56;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-company a:hover {
    /*color: #fff;*/
    color: #142e56;
    text-decoration: underline;
}
.footer-info {
    margin-top: 0.5rem;
    /*color: #d5d7e4;*/
    color: #142e56;
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: center;
}
.footer-info p {
    margin: 0;
}
.footer-copyright {
    margin-top: 2.5rem;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.05em;
    text-align: center;
}

.back-to-top {
  background: #e25c00 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'><polyline points='18 15 12 9 6 15'/></svg>") no-repeat center/60%;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  bottom: .5rem;
  right: .5rem;
  z-index: 100;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s, background 0.2s, box-shadow 0.2s;
  display: flex;
}

.back-to-top.active {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: #e25c00 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'><polyline points='18 15 12 9 6 15'/></svg>") no-repeat center/60%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.20);
}

.monologue-image {
    width: 100%;          /* PC表示時の横幅（お好みで調整） */
    margin-left: 0;     /* レイアウト調整（必要に応じて） */
}

.flex-reverse .monologue-image {
    margin: 0 2vw 0 0;    /* flex-reverse時のマージン調整 */
}

.monologue-image img {
    width: 100%;          /* 画像を枠いっぱいに表示 */
    display: block;
}

/*.back-to-top svg {
  display: block;
  margin: auto;
  color: #fff;
}*/

/* 店舗案内 */
.row {
  display: flex;
  flex-direction: column; /* モバイルは縦並び */
  gap: 8px;              /* モバイルの間隔 */
  justify-content: center;
  margin: 30px 0 50px;
}

.column {
  flex: 1 1 0;
}

img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px; /* 角丸。不要なら削除 */
}

/* 地図 */
.map-wrap {
  margin: 18px 0; /* スマホの上下余白（小さめ） */
  text-align: center;
}

.map-wrap iframe {
  width: 100% !important;  /* 画面幅に合わせる */
  max-width: 750px;        /* PC時の最大幅 */
  height: 300px;           /* モバイル時の高さ */
  border: 0;
}

/* news */
#news-section {
  padding: 1rem;
  margin: 4rem 0 6rem;
}
#news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
#news-list li {
  margin-bottom: .5em;
  padding-bottom: .5em;
  border-bottom: 1px dotted #aaa;
}


/* セール情報拡大表示 */
/* 縮小表示するサムネイル画像 */
.thumbnail {
  width: 100%;
  cursor: pointer;
}

/* モーダル全体のスタイル */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

/* 閉じる（×）ボタン */
.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* モーダル内の画像 */
.modal-content {
  margin: auto;
  display: block;
  max-width: 100vw;
  max-height: 98vh;
  object-fit: contain;
  padding-top: 1rem;
}

.image-wrapper {
  display: grid;
  grid-template-columns: 1fr; /* デフォルト1列（スマホ） */
  gap: 1rem;
  justify-items: center;
}


/* キャプションテキスト */
/*.caption {
  text-align: center;
  color: white;
  padding: 10px 0;
}*/

.container {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1080px;
    margin: 60px auto;
     flex-direction: column;
  }
  .container img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
  }
  .description {
    flex: 1;
    font-size: 16px;
    line-height: 1.5;
  }
  /* クラス名「custom-heading」を付けたh2の装飾 */
  h2.custom-heading {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 10px;
 }
  h2.custom-heading::after {
   content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    background: #d0bea2;
    margin: 10px 0 0 0;
 }

.container_rev {
  display: flex;
  flex-direction: column; /* デフォルトは縦並び */
  align-items: center;
  gap: 20px;
  max-width: 1080px;
  margin: 60px auto;
}
.container_rev img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
}
.description {
  font-size: 16px;
  line-height: 1.5;
}

/* bl_media */
.bl_media {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 3rem auto;
}
.bl_media_body {
  flex: 1;
  margin: 1rem auto;
  text-align: center;
}
.bl_media_body p, .bl_media_body ul {
  margin-bottom: 15px;
}
.bl_media_body > *:last-child {
  margin-bottom: 0;
}
.bl_media_imgWrapper {
  flex: 0 1 27.58333%;
  margin-right: 3.33333%;
}
.bl_media_imgWrapper > img {
  width: 100%;
}
.bl_media_ttl {
  margin-bottom: 10px;
  font-size: 1.125rem;
  font-weight: bold;
}
.bl_media_txt {
  margin: 0;
  padding: 0;
  text-align: left;
}

.bl_media.bl_media__rev {
  flex-direction: row-reverse;
}
.bl_media__rev .bl_media_imgWrapper {
  margin-right: 0;
}
.bl_media__rev .bl_media_body {
  margin-right: 3.33333%;
  text-align: right;
}

.blog-text2 .bl_media_imgWrapper {
   flex: 0 1 50%;
  margin-right: 3.33333%;
}


/* bl_card 2col */
.bl_cardUnit {
  display: flex;
  flex-wrap: wrap;
}

.bl_cardUnit.bl_cardUnit__col2 {
  margin-bottom: -30px;
}

.bl_cardUnit__col2 > .bl_card {
  width: 40%;
  margin-right: 2%;
  margin-bottom: 30px;
}

.bl_cardUnit__col2 > .bl_card:nth-of-type(2n) {
  margin-right: 0;
}


/*
DESKTOP SIZE
================================================ */
@media (min-width: 600px) {
/* Common */
main {
    margin: 6.25rem auto;
    padding: 3rem 2rem;
    width: 98%;
}
.btn {
    width: auto;
}

.title {
    font-size: 1.875rem;
    line-height: 1.5;
    font-weight: 700;;
}
.title::after {
	text-align: left;
}

/* Table */
tr:nth-child(odd) {
    background: #f8f6f2;
}
tr:nth-child(even) th {
    background: #fff;
}

th,
td {
    padding: 1.25rem;
    display: table-cell;
}
th {
    width: 24%;
    vertical-align: middle;
}
td {
    width: 76%;
}

/* Header */
header .wrapper {
    padding: 1rem 1rem;
}
/*.logo {
    width: 12.5rem;
}*/
/*.main-nav li {
    margin-left: 2rem;
    font-family: 'Sawarabi Mincho', sans-serif;
    font-size: 1.25rem;
}
.main-nav a {
    width: auto;
}
.main-nav a:hover,
.main-nav .current {
    border-bottom: 2px solid #2d3374;
    padding-bottom: .5rem;
    background: none;
}
.main-nav a::before {
    content: '';
}*/


  .menu-toggle {
    display: none;
  }
  nav {
/*    background: #fff;*/
  }
  .main-nav {
    display: flex !important;
    flex-direction: row;
    position: static;
    box-shadow: none;
    background: none;
  }
	.main-nav a {
  font-weight: 700;
}
  .main-nav > li {
    border: none;
    margin-left: 0;
    position: relative;
  }
  .main-nav > li:first-child {
    margin-left: 0;
  }
  .main-nav > li > a {
    padding: .5rem ;
    font-size: 1.rem;
    color: #142e56;
  }
  /* トグルボタンはPC時は非表示 */
.has-submenu > .submenu-toggle {
    display: none !important;
}
/* サブメニューはホバーで表示 */
.has-submenu > .sub-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.07);
    min-width: 150px;
    max-height: 70vh;
    overflow-y: auto;
    padding: 0;
    margin: 0;
    list-style: none;
    z-index: 120;
}
.main-nav > li:hover > .sub-nav {
    display: block;
}
.sub-nav li {
    border-bottom: 1px solid #eee;
    min-height: 44px;
}
.sub-nav li:last-child {
    border-bottom: none;
}
.sub-nav li a {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    background: transparent;
    color: #333;
    white-space: nowrap;
}
.sub-nav li a:hover {
    background: #e6eaff;
}

.headTitle2 {
  margin: 2rem 0;
  font-size: 2.0rem;
  line-height: 2.0;
  text-align: center;
}
.headTitle4 {
  font-size: 1.3rem;
  line-height: 1.75;
  text-align: center;
}


/* Home */
.home-hero {
    padding: 5.5rem 1rem 3rem;
    min-height: 450px;      /* PCではさらに高さを出す */
    height: 80vh;           /* 画面高の55%に */
  }
  .home-hero h2 {
    font-size: 3rem;
    margin: 1rem 0 1.5rem;
    color: #fff;
    padding: 1rem;
    display: inline-block;
    font-weight: 700; /* 文字を太くする */
    text-shadow:
        0 4px 16px rgba(0,0,0,0.7),   /* より強い影（距離・濃度UP） */
        0 0 2px #222,      tle           /* 輪郭をさらに強調 */
        2px 2px 0 #222,               /* 斜め方向にも影を追加 */
        -2px 2px 0 #222;              /* 反対側にも影を追加 */
    border-radius: 0.5em;             /* お好みで角丸 */
}

.home-hero p {
    width: 38vw;
    font-size: 1.125rem;
}

.large-message {
  font-size: 40px;
  max-width: 1080px;
  margin: 7rem auto;
  word-wrap: break-word;
  color: #142e56;
  font-family: 'Noto Serif JP', serif;
}

.page-link {
    margin: 3rem 0;
    padding: 0;
    text-align: center;
}



/* Contents */
.content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1rem 4rem;
}
.flex-reverse {
    flex-direction: row-reverse;
}
.flex-row {
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}
.monologue-image {
	width: 100%;
	margin: 0;
}
.home-text {
  width: 50vw;
  margin-bottom: 0;
  margin: 2rem;
}
/*.image-wrapper {
    flex-direction: row; /* 600px以上は横並び */
/*    justify-content: center;
    gap: 2rem;
}*/
.image-wrapper {
  grid-template-columns: repeat(2, 1fr); /* 2列（PC） */
}


.service-image {
    flex: 1; /* 幅を均等に分配（可変） */
    max-width: 100%; /* 横2枚で余裕を持たせる */
}

.service-image img {
    width: 100%; /* 親要素にフィット */
    height: auto;
}

 .flex-row {
    flex-direction: row; /* テキスト左・画像右 */
    justify-content: center;
    align-items: center;
    gap: 2rem;
  }
  .flex-row-reverse {
    flex-direction: row-reverse; /* 画像左・テキスト右 */
    justify-content: center;
    align-items: center;
    gap: 2rem;
  }
  .custom-wrapper .section {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 40px 0;
  }
  .custom-wrapper .section-reverse {
    flex-direction: row-reverse;
  }
  .custom-wrapper .section-image img {
    width: 250px;
    max-width: 100%;
  }
  .custom-wrapper .section-content {
    flex: 1;
  }
  .custom-wrapper .section-content hr {
    margin: 0 0 20px 0;
  }

.container {
    flex-direction: row;
    align-items: center;
}
.container img {
    max-width: 40%;
    width: auto;
}
.description {
    flex: 1;
}
.container_rev {
    flex-direction: row-reverse; /* 画像右、説明文左 */
    align-items: center;
}
.container_rev img {
    max-width: 40%;
    width: auto;
}
.description {
    flex: 1;
}

.sub_container {
    grid-template-columns: repeat(3, 1fr); /* パソコンは3列横並び */
}


/* Timeline */
.timeline-item {
    display: flex;
    margin-bottom: 0;
}
.timeline-title {
    width: 24%;
    padding: 2rem 2.5rem 2rem 0;
    text-align: right;
}
.timeline-content {
    border-left: 5px solid #f8f6f2;
    width: 76%;
    padding: 1.5rem 0 1.5rem 2.5rem;
    position: relative;
}
.timeline-content::before {
    display: block;
    width: 2.25rem;
    height: 2.25rem;
    background: #d0bea2;
    text-align: center;
    padding: .1rem;
    position: absolute;
    top: 1.5rem;
    left: -1.5rem;
/* Font Awesome */
    font-family: 'Font Awesome 5 Pro';
    font-weight: 900;
    color: #fff;
    font-size: 1.25rem;
}
.icon-file::before{
    content: '\f56e';
}
.icon-code::before{
    content: '\f121';
}
.icon-chat::before{
    content: '\f086';
}
.icon-hands::before{
    content: '\f2b5';
}

/* monologue */
.monologue main {
    padding: 0 2rem 3rem;
    max-width: 1080px;
}

/* 店舗案内 */
.row {
    flex-direction: row;
    gap: 16px; /* PCでは広め */
}

/* Map */
.map-wrap {
    margin: 32px 0; /* 余白を広めに */
}

.map-wrap iframe {
    height: 500px;
    max-width: 750px; /* 横幅制限（中央寄せ） */
}

/* marchandise */
.sub_container {
    grid-template-columns: repeat(3, 1fr); /* 3列横並び */
}

.merchandise main {
  max-width: 1280px;
  width: 96%;
  margin: 3.0rem auto;
  padding: 3rem 1rem;
  background: #fff;
  box-shadow: 0 0 6px rgba(0,0,0,.2);
}


/* News */
.news-list {
  margin: 0 auto;
}
.news-item {
  display: flex;
  align-items: flex-start;
  width: 100%;
  padding: 15px 0;
  border-bottom: 1px dashed #bbccdd;
  line-height: 1.7;
}
.news-date {
  display: inline-block;
  min-width: 7em;
  margin-right: 1em;
  margin-bottom: 0;
  color: #005133;
  flex-shrink: 0;
}
.news-article {
  flex: 1 1 0%;
  max-width: 1080px; /* ←ここで最大幅を指定（例：32em、600pxなどお好みで） */
  word-break: break-word; /* 長い単語やURLでも折り返す */
  overflow-wrap: break-word;
}

.news-article a {
text-decoration: none;
color: inherit;
transition: color 0.2s;
}
.news-article a:hover {
color: #5f7c9e;
}

/* monologue */
.monologue-hero {
  height: 300px;
}
.image-grid {
  grid-template-columns: repeat(4, 1fr);
}

.blog_cont_in {
  display: block;
  width: 100%;
  margin: 20px 0;
  padding: 20px;
}
.blog-text {
  padding: 1rem 1rem 3rem;
}
.blog-text2 {
  padding: 3rem 1rem 3rem;
}
.bl_faq {
  margin: 0 0 3rem ;
}

 .symptom-grid {
    grid-template-columns: repeat(2, 1fr);
    margin: 3rem 1rem 1rem;
}

.image-one {
  display: block;
  margin: 3rem auto;
  padding: 0;
}

.image-one img {
  width: 50%;
  max-width: 30%;
  height: auto;
  display: block;
  margin: 0 auto;
  padding: 0;
}

.bl_media {
  margin: 0;
  flex-direction: row;
}
.bl_media_body {
  flex: 1;
  margin: 0;
  text-align: left;
}

/* Form */
label {
    display: inline-block;
    margin: 0 1.5rem 0 0;
}
.select-box {
    width: 40%;
}

/* Footer */
.footer-nav {
    display: flex;
    justify-content: center;
}
.footer-nav li {
    margin: 0 .75rem;
}
.footer-nav a:hover {
    color: #fff;
}
.footer-nav li a {
  padding: 12px 24px;   /* PCやタブレットでは広めのパディング */
  font-size: 1.1rem;    /* 必要なら文字も大きく */
}
.footer-copyright {
  font-size: 0.85rem;
}
}
@media (min-width: 768px) {
.logo {
	width: 5.0rem;
}
}
@media (min-width: 852px) {
.logo {
	width: 8.0rem;
}
.main-nav > li {
	margin-left: 2rem;
	padding: .5rem 1.5rem;
}
}