@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: 94%;
    margin: 3.25rem auto;
    padding: 3rem 1rem;
    background: #fff;
    box-shadow: 0 0 6px rgba(0,0,0,.2);
}
.works_ba main {
    max-width: 1080px;
    width: 94%;
    margin: 3.25rem auto;
    padding: 3rem .5rem;
    background: #fff;
    box-shadow: 0 0 6px rgba(0,0,0,.2);
}
.text-center {
    text-align: center;
}

/* Button */
.btn {
    display: inline-block;
    padding: 1.25rem 3.25rem;
    font-size: 1.0rem;
    text-align: center;
    width: 100%;
}
.btn-primary {
    color: #fff;
    background: #0067b7;
}
.btn-primary:hover {
    background: #3a7edf;
}
.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: #0067b7;
	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: #0067b7;
}


/* 見出し */
.headTitle2 {
  margin: 0;
  padding: 0;
  color: #0067b7;
  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 #0067b7;
  color: #0067b7;/*文字色*/
  font-size: 1.25rem;
  text-align: center;
  line-height: 2.0;
  font-weight: 700;
}

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

/* 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 .75rem;
}

.sm_Mbottom {
    margin-bottom: 30px;
}
.sl_Mbottom {
    margin-bottom: 50px;
}


.bulletList > li {
  position: relative;
  padding-left: 1.0rem;
  margin-bottom: 10px;
  line-height: 1.5;
}
.bulletList > li::before {
  content: '';
  position: absolute;
  top: .5em;
  left: 0;
  display: block;
  width: .4em;
  height: .4em;
  background-color: #0e1187;
  border-radius: 50%;
}


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

/* --- モバイル（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: #0067b7;
  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: #0067b7;
  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: #0067b7;
  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: 10rem;
}
.main-nav .current {
    background: #f8f6f2;
}

.sp_br {
    display: block;
}

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

/*.home-hero h2 {
  font-size: 1.0rem;
  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;             /* お好みで角丸 */
/*}*/

.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: 200px;
    height: 30vh; /* ZEHの分見やすく少し高めてもOK */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-catch, .hero-zeh, .hero-sub {
    color: #fff;
    text-shadow:
        0 4px 16px rgba(0,0,0,0.7),
        0 0 2px #222,
        2px 2px 0 #222,
        -2px 2px 0 #222;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.hero-catch {
    font-size: 2.0rem;
    margin-bottom: 0.5em;
}

.hero-zeh {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 0.3em;
    font-weight: 900;
    letter-spacing: 0.15em;
}

.hero-sub {
    font-size: 1.6rem;
    font-weight: 500;
}

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

/* Contents */
.brown-bg {
    background: #f8f6f2;
}
.content {
    padding: 4rem .5rem;
}
.home-text {
    margin-bottom: 2rem;
}
.home-chart {
    margin-left: 2vw;
}
.flex-reverse {
  display: flex;
  flex-direction: column;
}
.flex-reverse .home-chart {
    margin: 0 2vw 0 0;
}
.flex-row {
  display: flex;
  flex-direction: column;
}
.home-chart img {
    width: 100%;
}
.home-chart p {
    text-align: center;
}

/* グラフの文字 */
.ct-label {
    font-size: 1rem;
    fill: #fff;
}

/* 円グラフ */
.ct-series-a .ct-slice-pie {
    fill: #2d3374;
}
.ct-series-b .ct-slice-pie {
    fill: #3a7edf;
}
.ct-series-c .ct-slice-pie {
    fill: #9bcbf8;
}
.ct-series-d .ct-slice-pie {
    fill: #bbb;
}

/* 棒グラフ */
.ct-series-a .ct-bar {
    stroke: #3a7edf;
}
.ct-bar {
    stroke-width: 16%;
}

.map_cont {
  position: relative;
  width: 100%;
  margin: 30px auto;
  padding-top: 75%; /* 16:9なら56.25%、4:3なら75% */
  height: 0;
}

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

/*
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: 150px;
    background-image: url('../img/local/content_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;
}

/*service.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;
}*/

.service-hero {
    height: 300px;
    background-image: url('../img/local/content_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;
}
.service-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;
}

/*zeh.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;
}*/

.zeh-hero {
    height: 300px;
    background-image: url('../img/local/content_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;
}
.zeh-hero .btn {
    margin-bottom: 4rem;
}


/*case.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;
}*/

.case main {
    max-width: 1280px;
    width: 94%;
    margin: 3.25rem auto;
    padding: 3rem .5rem;
    background: #fff;
    box-shadow: 0 0 6px rgba(0,0,0,.2);
}

.case-hero {
    height: 150px;
    background-image: url('../img/local/case_top2.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;
}
.case-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;
}

/*



/*
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: 150px;
    background-image: url('../img/local/content_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;
}
.contact-hero .btn {
    margin-bottom: 4rem;
}

/* 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';
}


/*
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;
}

/*
FOOTER
================================================ */
footer {
    background: #0067b7;
    color: rgba(255,255,255,.8);
    padding: 3.5rem 1rem 1rem;
    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;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-company a:hover {
    color: #fff;
    text-decoration: underline;
}
.footer-info {
    margin-top: 0.5rem;
    color: #d5d7e4;
    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: #0067b7 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: 3.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: #444b8c 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);
}

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

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

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


.grid-container {
  display: grid;
  grid-template-columns: 1fr; /* デフォルトはスマホ（1列） */
  gap: 24px;
  margin: 20px;
}
.category-menu { margin: 20px; }
.category-menu a {
  margin-right: 16px;
  color: #337ab7;
  text-decoration: none;
  font-weight: bold;
}
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 8px 0 rgba(0,0,0,0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 300px;
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.card-body {
  padding: 16px;
  /*flex: 1;*/
  min-height: 60px;
  display: flex;
  flex-direction: column;
}
.card-desc {
  font-size: 15px;
  margin-bottom: 14px;
  /*flex: 1;*/
  min-height: 20px; 
}
.tags {
  margin-bottom: 10px;
}
.tag {
  background: #edf2f7;
  color: #47a;
  border-radius: 12px;
  padding: 2px 10px;
  margin-right: 6px;
  font-size: 12px;
  display: inline-block;
}
.card-footer {
  margin-top: auto;
  text-align: right;
}
.card-footer a {
  color: #206bbc;
  font-size: 15px;
  text-decoration: underline;
}

/* 画像２枚並び */
.photo-grid {
  display: grid;
  grid-template-columns: 1fr; /* スマホは1列縦並び */
  gap: 10px;
}

.photo-grid img {
  width: 100%;
  display: block;
}
.shikaku-box {
    margin: 1rem auto 5rem;
    padding: 0;
}
.shikaku-box img {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}


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

/* 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;
}


/* 画像を縦方向に並べるレイアウトの基本 */
.image-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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


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

/* スライダー */
.slider {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.slides {
  position: relative;
}

.slide {
  display: none;
}
.slide.active {
  display: block;
}
.slide img {
  width: 100%;
  border-radius: 10px;
}

.prev, .next {
  position: absolute;
  top: 50%;                  /* 常に縦方向は中央 */
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  border-radius: 5%;
  z-index: 10;  
}
.prev {
  left: 15px;  /* ← 左からの固定距離 */
}
.next {
  right: 15px; /* → 右からの固定距離 */
}

.thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.thumbnails img {
  width: 60px;
  height: 40px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 5px;
}
.thumbnails img.active {
  border-color: #d19a4c;
}

/* 説明部分 */
.txt {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
}

.txt h2 {
  margin-top: 0;
  font-size: 1.5em;
}

.txt dl {
  margin: 15px 0;
}
.txt dl div {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid #ddd; /* hrの代わり */
}
.txt dt {
  font-weight: bold;
}
.txt dd {
  margin: 0;
}

.txt h3 {
  margin-top: 20px;
  font-size: 1.2em;
  border-bottom: 2px solid #d19a4c;
  display: inline-block;
  padding-bottom: 4px;
}

.caption {
  margin-top: 10px;
  line-height: 1.6;
}

/* ビフォーアフター写真並び */
.before-after-container {
  display: flex;
  gap: 20px; /* 写真間のスペース */
  flex-wrap: wrap; /* 縦並びに切り替えるため */
  justify-content: center;
  margin: 30px 0;
  text-align: center;
}




/*
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;
  }




/*
DESKTOP SIZE
================================================ */
@media (min-width: 600px) {
/* Common */
main {
    margin: 6.25rem auto;
    padding: 1rem 5rem 5rem;
}
.content_section {
    width: 100%;
    margin: 20px auto;
    padding: 0;
}
.btn {
    width: auto;
    font-size: 1.2rem;
}

.title {
    font-size: 1.875rem;
    line-height: 1.5;
    font-weight: 700;;
}
.title::after {
	text-align: left;
}
.company-hero {
    height: 300px;
}
.case-hero {
    height: 700px;
}
.contact-hero {
    height: 300px;
}

/* 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%;
}
.sp_br {
    display: none;
}

/* Header */
header .wrapper {
    padding: 1rem 1rem;
}

.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.1rem;
    color: #0067b7;
  }
  /* トグルボタンは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;
}

/* 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;
}


.hero-catch {
  font-size: 4.0rem;
  margin-bottom: 0.5em;
}

.hero-zeh {
  font-size: 10rem;
  line-height: 1;
  margin-bottom: 0.3em;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.hero-sub {
  font-size: 3.0rem;
  font-weight: 500;
}


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


/* Contents */
.content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4rem 1rem;
}
.flex-reverse {
    flex-direction: row-reverse;
}
.flex-row {
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}
.service-image {
	width: 100%;
	margin: 0 0 0 2vw;
}
.home-text {
  width: 50vw;
  margin-bottom: 0;
}
.home-chart {
    width: 34vw;
}



/* 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';
}

/* 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;
}

/*service.html
================================================ */
.service-hero {
    height: 300px;
}
.service-hero .btn {
    margin-bottom: 4rem;
}
/*zeh.html
================================================ */
.zeh-hero {
    height: 300px;
}
.zeh-hero .btn {
    margin-bottom: 4rem;
}

/*business.html
=============================================== */
.shikaku-box {
  margin: 1rem auto 6rem;
  padding: 0;
}



/* 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;    /* 必要なら文字も大きく */
 }

.grid-container {
    grid-template-columns: repeat(2, 1fr);
}

.case main {
    max-width: 1280px;
    width: 94%;
    margin: 3.25rem auto;
    padding: 3rem .5rem;
    background: #fff;
    box-shadow: 0 0 6px rgba(0,0,0,.2);
}
.case .content_section {
    width: 100%;
    margin: 20px auto;
    padding: 0 20px;
}

/* 画像２枚並び */
.photo-grid {
    grid-template-columns: repeat(2, 1fr); /* 600px以上は2列横並び */

}
.shikaku-box img {
    max-width: 60%;
}

.blog-text {
  padding: 1rem 1rem 3rem;
}

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

.image-container {
  flex-direction: column;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.image-container img {
  width: 100%;
  max-width: 100%;
}


.works-container {
    flex-direction: row;
  }
  .slider, .txt {
    flex: 1;
  }

.prev, .next {
  position: absolute;
  top: 45%;                  /* 常に縦方向は中央 */
  transform: translateY(-45%);
}


}
@media (min-width: 768px) {
.logo {
	width: 10rem;
}
}

@media (min-width: 901px) {
.grid-container {
    grid-template-columns: repeat(3, 1fr);
}
}
@media (min-width: 1090px) {
.logo {
	width: 15rem;
}
.main-nav > li {
	margin-left: 2rem;
	padding: .5rem 1.5rem;
}
}