@charset "UTF-8";

/*
Theme Name: shinkawa-lp
Description: 新川中央眼科LPのテンプレート
Version: 1.0
Author: Road Skip
*/

html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}
body {
  color: #222;
  font-family: "noto-sans-cjk-jp", sans-serif;
  font-weight: 400;
  font-style: normal;
}
h1{
font-style: normal;
	font-size: 48px;
	line-height: 66px;
	text-shadow:
    2px 1px 0px rgba(255,255,255,1),
    0 0 20px rgba(255,255,255,1),
    0 0 20px rgba(255,255,255,1);
	color:#2e88fd;
	font-weight: 600;
	
}
h2{
  text-align: center;
	font-size: clamp(20px, 4vw, 28px);
	/* line-height: 46px; */
	color: #1F3556;
	font-weight: 600;
	
}
h2 span{

	font-size: 24px;
	font-weight: 400;
}
h3{
font-weight: 400;
font-style: normal;
	font-size: 26px;
	line-height: 40px;
	color: #FF8A3D;
	padding: 20px 0 10px;
	max-width: 650px;
	display: block;
	margin:0 auto;
}
h3 span{
	font-size: 18px;
}
h4{
	color: #222;
	font-size: 24px;
	text-align: center;
	padding: 20px 0;
  background-image: url("/wp-content/uploads/2026/01/line2.png");
  background-repeat: no-repeat;
  background-position: bottom;
    background-size: 200px;
}
h4 span{
	font-size: 34px;
}
p{
	font-size: 16px;
	line-height: 24px;
}
.white{
	font-size: 18px;
	line-height: 26px;
	color: #fff;
}
.white span{
	font-size: 16px;
	line-height: 24px;
}
img {
  width: 340px;
    margin: 0 auto;
    display: block;
  vertical-align: bottom;
}
li {
  list-style: none;
  color: #222;
	font-size: 16px;
	line-height: 22px;
}
a {
  color: #000;
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover {
  opacity: 0.7;
}
iframe {
  vertical-align: bottom;
}
.bad{
	font-family: "Bad Script", cursive;
}


@media (max-width: 768px) {
h1{
		font-size:30px;
		line-height: 38px;
	}
h2{
	font-size: 22px;
	line-height: 33px;
}
h2 span{
	font-size: 14px;
}
h3{
font-style: normal;
	font-size: 18px;
	line-height: 26px;
}
h3 span{
	font-size: 14px;
	line-height:20px;
	display: block;
	margin-bottom: -26px;
}
h4{
	font-size: 18px;
}
h4 span{
	font-size: 28px;
}
p{
	font-size: 14px;
	line-height: 21px;
}
.white{
	font-size: 16px;
	line-height: 26px;
}
.white span{
	font-size: 14px;
}
li {
	font-size: 14px;
	line-height: 28px;
}
	.page-company h1, .page-news h1, .page-case h1{
		line-height: 0;
        margin-top: 40px;
	}
}

/*　ヘッダー　*/
.header{
	background-color: #fff;
}
.btn{
	width: 200px;
	padding: 10px 0;	
  margin-right: auto;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding-left: 2%;
  padding-right: 2%;
}
img.logo {
    height: 70px;
    width: auto;
}

.logo{
	height: 70px;
}
.kye-word{
	font-size: 10px;
	padding-left: 5%;
}


/* .body {
  padding-top: 100px;
} */
.mv-sub-p{
	    font-size: 32px;
	line-height: 44px;
	color: #ff8a3d;
	padding: 10px 0;
    background-image: url(/wp-content/uploads/2026/01/line-white.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 200px;
    margin-top: 0px !important;
	text-shadow: 2px 1px 0px rgba(255, 255, 255, 0.9), 0 0 10px rgba(255, 255, 255, 0.7), 0 0 10px rgba(255, 255, 255, 0.5);
	font-weight: 600;
}

@media (max-width: 768px) {
.kye-word{
	font-size: 8px;
	padding-left: 5%;
}
	.header-inner{
padding-left: 15px;
  padding-right: 15px;
	}

	.mv-sub-p{
	    font-size: 22px;
		line-height: 26px;
}
}


/* SP時 */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .pc-contact {
    display: none;
  }

  .sp-menu.is-open {
    display: block;
  }
	.sns-icon{
		width: 200px;
		margin-top: 20px;
		margin-bottom: 40px;
	}
}
/* PCナビ */
.pc-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pc-nav a {
  text-decoration: none;
  color: #185abc;
  font-size: 16px;
  white-space: nowrap;
}

/* SPではPCナビ非表示 */
@media (max-width: 768px) {
  .pc-nav {
    display: none;
  }
	.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
	.sp-contact {
  margin-left: auto;
  margin-right: 14px;
}

.sp-btn {
  width: 180px;
  height: auto;
  display: block;
}
}
@media (min-width: 769px) {
  .sp-contact {
    display: none;
  }
}





/*　top画像　*/
.mv {
  position: relative;
  width: 100%;
  overflow: hidden;
}


.mv-image img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: cover;
  display: block;
}


.mv-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.mv-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 5%;
  color: #222;
}
.mv-sub{
	font-size: 20px;
	padding: 10px 40px;
	text-shadow:
    0 0 10px rgba(255,255,255,0.9),
    0 0 10px rgba(255,255,255,0.7),
    0 0 10px rgba(255,255,255,0.5);
}

@media (max-width: 768px) {
	.mv-sub{
	font-size: 16px;
	padding: 0px; 
	line-height: 28px;
    padding-top: 10px;
}
	.mv-text{
		justify-content: unset;
		top: 26%
	}
}

/* メイン */
.main {
    margin: 0 auto;
    max-width: 1000px;
    width: 100%;
}

@media screen and (max-width: 767px) {
  .main {
    min-width: inherit;
  }
}

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





/* フッター */
.footer{
	background-color: #F5FFFF;
}
.footer-left {
  max-width: 420px;
}

.footer-left .logo{
	margin: 0;
}

.footer-desc {
  margin-top: 16px;
  line-height: 1.8;
  font-size: 14px;
	padding-bottom: 40px;
}

.footer-right {
  max-width: 520px;
}

.footer-title {
  font-size: 18px;
  margin-bottom: 16px;
}

.footer-right .sns-icon{
	padding-top: 40px;
    width: 300px;
}


.footer-copy{
	font-size: 9px;
	padding: 80px 0 20px;
	text-align: center;
}
.text-r{
	text-align: right;
}

/* 404 */
.error404 .main{
	padding-top:80px;
	padding-bottom: 80px;
}
.error404 .page-title{
	padding-bottom: 40px;
}



@media (max-width: 767px){
  .inner{
    padding-left: 15px;
    padding-right: 15px;
  }
	.intro{
	padding-top: 40px;
	padding-bottom: 40px;
}
.ctb{
	margin: 20px 0px;
}
	.work-box1,.work-box2{
		min-width: 340px;
        width: 100%;
	}
	.line-white{
	font-size: 16px;
}

	  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer-left,
  .footer-right {
    max-width: 100%;
  }

  .footer-info {
    grid-template-columns: 100px 1fr;
  }
	.feature-box{
font-size: 14px;
}
}






/* =========================
   お知らせページ
========================= */
.page-news .mv-image img {
  height: 180px;
  object-fit: cover;
}
.text .excerpt {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cat-list {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}

.cat-list li {
  font-size: 12px;
  line-height: 1;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid #5691ff;
  background: #fff;
	color: #5691ff;
}

/* お知らせ */

.home-news {
  position: relative;
}

/* 背景 */
.home-news::before {
  content: "";
  width: 100%;
  height: calc(100% - 18px);
  background-color: #FFFFFF;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -1;
}

/* リスト全体：Grid */
.home-news .news-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 40px auto;
  max-width: 1200px;
  padding: 0;
  list-style: none;
}

/* 各記事カード */
.home-news .news-list > li {
  width: auto !important;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 0px 8px 2px rgb(0 0 0 / 10%);
}

/* サムネ */
.home-news .news-list .thumbnail {
  background: #f2feff;
  display: flex;
  align-items: center;
  justify-content: center;
}


.home-news .news-list .thumbnail img {
  width: 100%;
  height: 230px;
    object-fit: cover;
}

/* テキストエリア */
.home-news .news-list .text {
  padding: 20px 18px 40px;
}

/* 日付 */
.home-news .news-list time {
  display: block;
  margin-bottom: 6px;
  font-size: 0.75rem;
  color: #777;
}

/* タイトル */
.home-news .news-list .title {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  font-weight: 500;
}

/* 記事がない時 */
.home-news > p {
  min-height: 400px;
  text-align: center;
}

.news-wrapper .box-white {
  padding: 26px 0 50px;
}

.news-wrapper .sidebar {
  width: 32.931%;
}

.news-title {
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 400;
  line-height: 2.25;
}
.home-news ul {
	margin: 0px auto;
	text-align: center;
}
@media screen and (max-width: 768px) {
  .news-title {
    font-size: 1.125rem;
  }
}

.sidebar .item {
  padding: 0 3.773%;
  padding-bottom: 36px;
}
.sidebar .item:not(:last-of-type) {
  border-bottom: 1px solid #BABABA;
  margin-bottom: 42px;
}
.sidebar-list {
  font-weight: 500;
  color: #555555;
}
.sidebar-list a {
  display: inline-block;
  padding-right: 1em;
  line-height: 2.562;
}
.sidebar-list a::before {
  content: "-";
  display: inline-block;
  margin-right: 0.5em;
}

.post .box-white {
  padding-right: 5.882%;
  padding-left: 5.882%;
}
.post-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
  font-size: 0.875rem;
  color: #555555;
}
.post-header time {
  margin-bottom: 0.5em;
}
.post-header .cat-list {
  font-size: 0.875rem;
}
.single{
	margin-top: 40px;
	margin-bottom: 40px;
}



@media screen and (min-width:767px){
	.news-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}
}
@media screen and (max-width: 768px) {
  .post-header .cat-list {
    font-size: 0.8125rem;
  }
}
.post-header .cat-list > li {
  padding-right: 18px;
  padding-left: 18px;
}
.post-title {
  margin-bottom: 0.718em;
  font-size: 24px;
  font-family: "noto-sans-cjk-jp", sans-serif;
  line-height: 1.468;
}
@media screen and (max-width: 768px) {
  .post-title {
    font-size: 18px;
  }
}
.post-wrapper {
  line-height: 1.75;
  letter-spacing: 0.11em;
}
.post-wrapper > * {
  margin-bottom: 36px;
}
.post-wrapper h2 {
  padding-left: 1.166em;
  margin-bottom: 1.5em;
  border-left: 3px solid #333;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.5;
}
@media screen and (max-width: 768px) {
  .post-wrapper h2 {
    font-size: 1.125rem;
  }
}
.post-wrapper h3 {
  padding: 10px 4.444%;
  margin-bottom: 1.318em;
  background-color: #E2EBEF;
  border-radius: 10px;
  font-size: 1.375rem;
  font-weight: bold;
  color: #333;
  line-height: 1.5;
}
@media screen and (max-width: 768px) {
  .post-wrapper h3 {
    font-size: 1rem;
  }
}
.post-wrapper .images-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.post-wrapper .images-wrapper.col2 {
  margin-bottom: 0;
}
.post-wrapper .images-wrapper.col2 > a {
  width: 47.46%;
  margin-bottom: 36px;
}
.post .eyecatch {
  height: 0;
  padding-top: 220px;
  position: relative;
  overflow: hidden;
}
.post .eyecatch img {
  width: 300px;
    height: auto;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
  transform: none;
}


.lb-outerContainer {
  background-color: transparent;
}

.lightbox .lb-image {
  border: none;
}

.page-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px;
  margin-top: 28px;
  border-top: 1px dashed #666666;
  border-bottom: 1px dashed #666666;
  font-size: 0.875rem;
  font-weight: 500;
  color: #666666;
}
@media screen and (max-width: 768px) {
  .page-nav {
    font-size: 0.8125rem;
  }
}
.page-nav > li {
  min-width: 5em;
}
.page-nav > li:first-of-type a::after {
  right: auto;
  left: 0;
  transform: translateY(-50%) rotate(-135deg);
}
.page-nav a {
  display: inline-block;
  min-width: 5em;
  padding: 5px 14px;
  position: relative;
}
.page-nav a.to-archive {
  color: #555;
}
.page-nav a.to-archive::after {
  content: none;
}
.page-nav a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1px solid #666666;
  border-right: 1px solid #666666;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%) rotate(45deg);
}

.maru-text {
  position: relative;
  display: inline-block;
  z-index: 1;
}
.maru-text::before {
    content: "";
    position: absolute;
    left: -10px;
    bottom: 10px;
    width: 30%;
    height: 40%;
    border: 3px solid rgb(255 242 0);
    border-radius: 48% 52% 50% 50% / 55% 45% 55% 45%;
    transform: rotate(339deg);
    z-index: -1;
}
.maru-text-wrap {
  text-align: center;
}
.hlt{
	background: linear-gradient(transparent 0%, #e1fbff 60%);
}





/* =========================
   追加
========================= */


/* cta */
.cta{
padding:40px 20px;
text-align:center;
}

.cta-inner {
max-width:600px;
margin:0 auto;
}

.cta-top {
margin-bottom:20px;
font-size:16px;
}

.cta-span {
color: #28439A;
display: block;
}

.cta-btn {
display:inline-block;
padding:18px 48px;
font-size: clamp(18px, 4vw, 22px);
font-weight:700;
color:#fff;
text-decoration:none;

background:linear-gradient(180deg,#ffb400 0%,#ff8c00 100%);
border-radius:50px;

border:4px solid #fff;

box-shadow:
0 2px 0 #d59143,
0 0 0 2px #c5a939;
text-shadow: 2px 2px 4px #33333380; 
transition:0.2s;
}

.cta-bottom {
margin-top:15px;
font-size: 15px;
}

@media (max-width: 768px) {
	.cta{
padding:20px 20px;
}
  
  .cta-bottom {
	font-size: 13px;
  }

}

/* 啓蒙 */


.enlightenment {
    margin: 0 auto;
    max-width: 800px;
    width: 90%;
    padding: 2px;    
    background: #ffffff;
    border: 1px solid #b6b6b6;
}

.enlightenment-inner {
    width: 100%;
    padding: 20px;
    background: #FFF5EB;
    border: 1px solid #b6b6b6;
}
.enlightenment-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 8px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.enlightenment-kit {
  width: 40px;
}

.enlightenment-stop {
  width: 40px;
  margin-right: 10px;
}

.enlightenment-ttl {
  display: inline-block;
  margin-bottom: 10px;
  background: #fff;
  border-radius: 5%;
}

.enlightenment-txt {
  margin-bottom: 10px;
}

.enlightenment-box {
  display: flex;
  /* justify-content: space-between; */
  /* align-items: center; */
}




