@charset "utf-8";

.bgSub {
    background-color: #EAF5FF;
}


strong {
    font-weight: bold!important;
    color: #0B2492;}



/* 共通: ダークモード＆色変数 */
:root{
  --marker-yellow: #fff176;  /* いわゆる蛍光ペン黄色 */
  --marker-pink:   #ff8a80;
  --marker-green:  #a5d6a7;
}
@media (prefers-color-scheme: dark){
  :root{
    --marker-yellow: #ffea7a;
    --marker-pink:   #ff9aa9;
    --marker-green:  #b8e4b9;
  }
}

/* ①王道の“スーッ”と引いた感じ（下3割だけ着色） */
strong.marker {
  background-image: linear-gradient(transparent 60%, var(--marker-yellow) 60%);
  padding: 0 .15em;                /* 文字の左右に少し余白 */
  box-decoration-break: clone;     /* 複数行でも綺麗に */
  -webkit-box-decoration-break: clone;
  border-radius: .12em;            /* 角をちょい丸く */
}

/* ②太めのマーカー（全体に薄く、下に濃い層） */
strong.marker-fat {
  background-image:
    linear-gradient(transparent 25%, color-mix(in srgb, var(--marker-pink) 70%, transparent) 25%),
    linear-gradient(var(--marker-pink), var(--marker-pink));
  background-size: 100% 100%, 100% 0.45em; /* 全体と“太い下塗り”の2層 */
  background-repeat: no-repeat;
  background-position: 0 0, 0 90%;
  padding: 0 .18em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  border-radius: .15em;
}

/* ③手描きっぽい“ムラ感”のあるマーカー（SVGで軽めのテクスチャ） */
strong.marker-scribble {
  background-image:
    url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'>\
<defs><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='1' stitchTiles='stitch'/></filter></defs>\
<rect width='100%' height='100%' fill='none'/>\
<rect y='4.5' width='100%' height='3.5' fill='%23fff176' filter='url(%23n)' opacity='0.9'/>\
</svg>");
  background-size: 12px 12px;
  background-repeat: repeat-x;
  background-position: 0 100%;
  padding: 0 .18em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  border-radius: .18em;
}

/* お好みで色替え用のユーティリティ（classを追加で付ける） */
strong.is-yellow { --marker-yellow:#fff176; --marker-pink:#fff176; --marker-green:#fff176; }
strong.is-pink   { --marker-yellow:#ff8a80; --marker-pink:#ff8a80; --marker-green:#ff8a80; }
strong.is-green  { --marker-yellow:#a5d6a7; --marker-pink:#a5d6a7; --marker-green:#a5d6a7; }

/* 既存の<strong>全部に適用したい場合（サイト内限定で） */
.profile-area strong { /* セレクタは任意のラッパーに変えてね。 */
  background-image: linear-gradient(transparent 60%, var(--marker-yellow) 60%);
  padding: 0 .15em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  border-radius: .12em;
}






#top main h2,
#sub main .h2{
    font-size: 42px;
    margin: 0 0 20px 0;
    font-family: "hanken-grotesk", sans-serif;
    font-weight: 200;
    font-style: normal;
}
#top h2 span,
#sub .h2 span{
    font-weight: 600;
    font-size: 16px;
    color: #20378A;
    display: block;
}



#sub .h3{
    font-weight: 600;
    font-size: 28px;
    margin: 0 0 20px 0;
    font-family: "peridot-devanagari", sans-serif;
    font-style: normal;
    color: #E63F81;
}

#sub .h4{
    font-weight: 600;
    font-size: 20px;
    margin: 0 0 20px 0;
    font-family: "peridot-devanagari", sans-serif;
    font-style: normal;
    color: #EB659A;
}


@media (max-width: 768px) {
    #top main h2,
    #sub main .h2{
        font-size: 28px;
        margin: 0 0 10px 0;
    }
    #top h2 span,
    #sub .h2 span{
        font-size: 16px;
    }
}





.topNews {
  display: flex;
  gap: 20px;
  padding: 60px 0 30px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.topNews__wrapper {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.title {
  min-width: 300px;
  flex-shrink: 0;
}


.box {
  background-color: #eef7ff;
  padding: 20px;
  flex: 1;
  min-width: 250px;
}

.news-item {
  margin-bottom: 20px;
}

.news-date {
  margin: 0 0 5px;
  font-weight: bold;
}


.topHours {
padding: 30px 0 60px;
}

.topHours__wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.topHours__info {
  flex: 1;
  min-width: 300px;
  width: 100%;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 10px;
  font-size: 15px;
  text-align: center;
}

.hours-table th,
.hours-table td {
  padding: 6px 8px;
  border-bottom: 1px solid #ccc;
  text-align: center;
}

.hours-table td {
  color: #007ACC;
  font-size: 150%;
}



.closed {
  color: red;
  font-size: 14px;
  margin: 10px 0;
}

.tel {
  font-size: 22px;
  font-weight: bold;
  color: #007acc;
  margin: 10px 0;
}

.tel a {
  color: #007acc;
  text-decoration: none;
}

.calendar-btn {
  display: inline-block;
  background-color: #007acc;
  color: #fff;
  text-decoration: none;
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 4px;
  margin-top: 10px;
}

.topHours__map {
  flex: 1;
  min-width: 300px;
}

.topHours__map .address {
  font-size: 14px;
  margin-top: 10px;
}

/* レスポンシブ対応：スマホでは縦並びに */
@media (max-width: 768px) {
    .topNews {
      gap: 0;
      padding: 10px;
    }
    .topNews h2,topHours h2 {
      font-size: 24px;
    }
    .topNews__wrapper {
        flex-direction: column;
        gap: 0;
    }
    
  .topHours__wrapper {
    flex-direction: column;
      }
    .topHours {
        padding: 10px;
     }
    .topHours__map {
      min-width: 300px;
      width: 100%;
    }     
     
     
}










/* グレーの背景 */
.topGreat {
    background-color: #EAF5FF; /* グレー */
    padding: 100px 20px;
    position: relative; /* 相対配置（白いボックスの基準にする） */
    background-image: url(/img/wave.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;
}


.topGreat h2  {
    text-align: center;
}

.topGreat .col2  {
   margin: 0 0 50px 0;
}

.topGreat .col2 article:first-child {
    width: 50%;
}

.topGreat .col2 article:last-child {
    width: 440px;
    text-align: center;
    margin: 0 0 0 50px;
}

.topGreat .col2 article:last-child img {
    margin: 0;
    width: auto;
}

.topGreat .name {
    font-size: 24px;
    text-align: center;
    font-weight: 600;
}


@media (max-width: 736px) { /* forSMP */
    .topGreat {
        padding: 20px 10px;
    }
    
    #top .topGreat h2 {
        font-size: 24px;
        margin: 20px 0 0 0;
    }
    
    .topGreat h3.fuki {
        padding: 15px;
        margin: 0 0 20px 0;
        top: -60px;
        left: 50%;
        font-size: 18px;
        width: 90%;
        font-weight: 900;
    }

    .topGreat .col2  {
       margin: 0 0 50px 0;
    }

    .topGreat .col2 article:first-child {
        width: 100%;
    }

    .topGreat .col2 article:last-child {
        width: 100%;
    }

    .topGreat .col2 article:last-child img {
        margin: 0;
        width: auto;
        height: auto;
    }
    
    .topGreat .name {
        font-size: 16px;
    }
}









.topSubject{
   
}

.topSubject h2  {
    text-align: center;
}


.topSubject .box {
margin: 0 10px 40px; /* 左右に余白を追加 */
  display: flex;
  gap: 30px;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
  align-items: center;
  flex-wrap: wrap;
}

.topSubject .box__img {
  flex: 1;
  min-width: 250px;
}

.topSubject .box__img img {
  width: 100%;
  height: auto;
}

.topSubject .box__text {
  flex: 2;
  min-width: 300px;
}

.topSubject .box__text h3 {
  font-size: 24px;
  color: #6b4f1d;
  margin-bottom: 1em;
}

.topSubject .box__text p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .topSubject .box {
    flex-direction: column;
      gap: 10px;
  padding: 15px;
  margin: 0 10px 20px; /* 左右に余白を追加 */
  }

  .topSubject .box__img,
  .topSubject .box__text {
    width: 100%;
  }
  
  .topSubject .box__text h3 {
  font-size: 18px;
  margin-bottom: 0.6em;
    }

    .topSubject .box__text p {
      font-size: 14px;
      line-height: 1.5;
    }
  
  
}









.topColumn{
   padding: 100px 0;
}





.topColumn .col2 article:nth-child(1) {
    width: 25%;
}

.topColumn .col2 article:nth-child(2) {
    width: 75%;
}



@media (max-width: 736px) { /* forSMP */

    .topColumn{
       padding: 20px 10px;
    }

    .topColumn .col2 article:nth-child(1) {
        width: 100%;
        padding: 0;
    }

    .topColumn .col2 article:nth-child(2) {
        width: 100%;
        padding: 0;
    }


}







.topGuide{
   padding: 80px 0;
}

.topGuide h3 {
    text-align: center;
    margin: 0 0 30px 0;
    font-size: 24px;
}


.topGuide__wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.topGuide__col {
  flex: 1;
  min-width: 300px;
}

.guide-block {
  margin-bottom: 30px;
}

.guide-block h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
}

.guide-block ul {
  list-style: disc;
  padding-left: 1.2em;
  margin: 0;
}

.guide-block li {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
.topGuide{
   padding: 30px;
}
}















.topForm {
    background: #fff;
    border-radius: 30px;
    padding: 50px;
}

.topForm h2 {
    text-align: center;
}

@media (max-width: 736px) { /* forSMP */
    .topForm {
        padding: 15px;
    }
}








.topMap{
   
}


.topMap .col2 article {
    width: 50%;
}

.topMap .col2 article:nth-child(1) {
    padding: 50px;
}


.topMap .col2 article:nth-child(1) h2  {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    display: inline-block;
}

.topMap .col2 article:nth-child(1) h2 span  {
        font-size: 16px;
    font-weight: normal;
    display: flex;
    align-items: center;
    color: #666;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: pink;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.topMap .col2 article:nth-child(1) table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.topMap .col2 article:nth-child(1) th {
    text-align: left;
    font-weight: bold;
    color: #e60073;
    padding: 10px 0;
}

.topMap .col2 article:nth-child(1) td {
    color: #333;
    padding: 10px 0;
}


@media (max-width: 736px) { /* forSMP */
    .topMap .col2 article {
        width: 100%;
    }

    .topMap .col2 article:nth-child(1) {
        padding: 15px;
    }

    .topMap .col2 article:nth-child(1) tr {
        border-bottom: solid thin #E3E3E3;
    }

    .topMap .col2 article:nth-child(1) th {
        background: #F7F7F7;
        padding: 10px;
        font-size: 11px;
        width: 20%;
    }

    .topMap .col2 article:nth-child(1) td {
        padding: 10px;
        font-size: 11px;
    }
}














/* topBlog */
ul.topBlog{
    
}
ul.topBlog li{
    border-bottom: thin solid #2E72CF;
    padding: 20px 15px;
    width: 100%;
    display: block;
    color: #7D7D7D;
}

ul.topBlog li:nth-child(1) {
    border-bottom: thin solid #2E72CF;
    border-top: thin solid #2E72CF;
}


ul.topBlog li date{
    
}
ul.topBlog li a{
    color: #104985;
    text-decoration: none;
    font-weight: 600;
}


@media (max-width: 736px) { /* forSMP */
    ul.topBlog li{
        font-size: 13px;
        padding: 10px 5px;
    }

    ul.topBlog li date{
        display: block;
        font-size: 90%;
    }
}






/* contents */
header.title {
    text-align: center;
    padding: 150px 50px 50px 50px;
    /*border-bottom: 1px solid #DEDEDE;*/
    margin: 0;
    background-image: url("/img/pt/title.jpg");
    background-position: center bottom;
}

header.title h1 {
	font-size: 36px;
    text-shadow: 
    0px 0px 3px #C4C4C4, 
    0px 0px 20px #fff, 
    0px 0px 40px #fff, 
    0px 0px 60px #fff, 
    0px 0px 80px #fff;
    color: #fff;
    font-family: "peridot-devanagari", sans-serif;
}
header.title p {
    color: #fff;
}
@media (max-width: 736px) { /* forSMP */
    header.title {
        padding: 80px 0 50px; 
        margin: 0;
        background-image: url("/img/pt/titleSP.jpg");
        background-position: center;
    }
    header.title h1 {
	font-size: 24px;
    margin: 30px 0 0 0;
    }
    header.title p {
    color: #E9E9E9;
    font-size: 12px;
    }
}



.google-maps {
  position: relative;
  overflow-y: hidden;
  width: 100%;
  padding-top: 75%;
}

.google-maps iframe {
  position: absolute;
  top: -150px;
  left: 0;
  width: 100%;
  height: calc(100% + (150px * 2));
}



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

.btn-primary {
  display: inline-block;
  padding: 12px 40px;
  background-color: #007acc;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #0052cc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}


/* wp */
.go-to-top-visible .go-to-top {
    display: none;
}


/* crearfix */
.clearfix,
.topAboutus ul,
.topMap
{overflow:hidden; zoom: 1;}

.clearfix:after,
.topAboutus ul:after,
.topMap:after
{content: "."; display: block; height: 0px; clear: both; visibility: hidden;}
