body {
  background: #e3efef;
  text-align: left;
  font-family: "Lucida Grande", "Hiragino Kaku Gothic ProN",
    "ヒラギノ角ゴ ProN W3", Meiryo, メイリオ, sans-serif;
}

#wrapper {
  background: #fff;
  width: 1020px;
  height: 100%;
  box-shadow: 1px 2px 2px #ccc;
  border-right: 1px solid #cdcdcd;
}
#header {
  background: #7bb6b2;
  height: 100px;
}
* html #header {
  margin-bottom: -5px;
}
:root * > #header {
  margin-bottom: -5px;
}
.catch {
  font-size: 0.6em;
  color: #fff;
  margin-left: 65%;
}
#logo {
  margin-top: -5px;
  margin-left: 38px;
}
#phone {
  background: url(../images/phone.png) no-repeat;
  width: 280px;
  height: 176px;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  position: absolute;
  top: 25px;
  left: 714px;
}

.clearfix:after {
  content: "";
  clear: both;
  display: block;
}
.green {
  color: #7bb6b2;
}
.bold {
  font-weight: bold;
}
.ta_center {
  text-align: center;
}
.ta_left {
  text-align: left;
}
.ta_right {
  text-align: right;
}
/*--------------------------
navigation
----------------------------*/
#nav {
  height: 60px;
}

#nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  height: 60px;
  background: url("../images/nav-bg.jpg") repeat-x top left;
  background-size: auto 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
#nav ul li {
  width: calc(calc(100% - 300px) / 5);
}
#nav ul li a {
  display: block;
  text-align: center;
  color: #fff;
  text-decoration: none;
}
#nav ul li a:hover {
  color: #fdf5da;
}

/*--------------------------
main
----------------------------*/

/*----index.html-------------*/
#main {
  margin: 46px 0px 0px 38px;
}
#mainimg {
  margin-bottom: 20px;
}
.mainimg-area {
  position: relative;
}
#banner_area {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 940px;
  gap:10px;
}
#banner_area .bn-item {
  min-width: calc(20% - 10px);
  flex: 1;
  max-width: fit-content;
}
#banner_area .bn-item img {
  max-width: 100%;
  height: auto;
  width: 100%;
}

/* #banner_area .bn-item:not(:last-child) {
  padding-right: 10px;
} */
/* #banner_area a {
  display: block;
  width: 100%;
  height: 100%;
} */
#banner_area a:hover {
  opacity: 0.8;
  -moz-opacity: 0.8; /* Firefox */
  cursor: pointer;
}
.aisatsu {
  background: #e3efef;
  padding: 15px;
  width: 910px;
}
.aisatsu h2 {
  font-family: "Times New Roman", "游明朝", YuMincho, "Hiragino Mincho ProN",
    Meiryo, serif;
  font-size: 1.8em;
  margin-bottom: 10px;
}
.aisatsu p {
  line-height: 1.8em;
}
/*---school.html-----------------------*/
#right_banner {
  width: 222px;
  height: 100%;
}
#right_banner img {
  /*	display:block;
*/
  height: 110px;
  margin-bottom: 20px;
}
#leftcolumn {
  float: left;
  width: 700px;
  margin-top: 28px;
}

.example table {
  width: 560px;
  height: 430px;
  border-collapse: collapse;
  background-color: #f6f6f6;
}

.example td {
  padding-left: 10px;
}

.example th {
  border-right: 1px #b4b4b4 dotted;
  width: 30%;
  padding-left: 10px;
  font-weight: bold;
}

#right_banner {
  float: left;
  width: 220px;
  margin-left: 25px;
  margin-top: 28px;
}
#right_banner a:hover {
  opacity: 0.8;
  -moz-opacity: 0.8; /* Firefox */
}

.glay {
  background-color: #dadada;
}
.concour caption {
  text-align: left;
  font-size: 1.2em;
  font-weight: bold;
}
.concour table {
  width: 560px;
  height: 100%;
  border-collapse: collapse;
  background-color: #f6f6f6;
  font-size: 0.8em;
  margin-bottom: 30px;
}
.concour tr {
  height: 30px;
}
.concour td {
  border-left: 1px #b4b4b4 dotted;
  padding-left: 10px;
}
.concour th {
  width: 40%;
  padding-left: 10px;
  font-weight: bold;
}
.concour td.center {
  width: 20%;
}
/*----kitashirota.html----------*/
#map_bg {
  margin-left: 0;
  width: 100%;
  height: 310px;
  background: #7bb6b2;
  padding: 10px;
  box-sizing: border-box;
}
#map {
  background: #fff;
  box-shadow: 1px 2px 2px #333;
  height: 100%;
}
#map iframe {
  width: 100%;
  height: 100%;
}
#map a {
  margin-left: 480px;
}
#address {
  margin-top: 40px;
  margin-bottom: 50px;
}
#pictop {
  width: 700px;
}
#pictop img,
.pic img {
  width: 100%;
  height: auto;
}
#picbottom {
  width: 700px;
  margin-top: 50px;
  display: table;
}
.pic {
  display: table-cell;
  padding: 10px;
}
.pic p {
  width: auto;
  text-align: left;
  font-size: 80%;
  padding: 0.6em 0;
}

.tr {
  display: table-row;
}

/*----news.html---------------------*/
.news table {
  font-size: 0.8em;
  width: 560px;
  height: 100%;
  border-collapse: collapse;
  background-color: #f6f6f6;
  font-size: 0.8em;
  margin-bottom: 30px;
}
.news tr {
  height: 30px;
}
.news th {
  width: 20%;
  padding-left: 10px;
  font-weight: bold;
}
.news td {
  width: 80%;
  border-left: 1px #b4b4b4 dotted;
  padding-left: 10px;
}
/*------------------------------
footer
----------------------------*/
#footer {
  margin-top: 100px;
  height: 120px;
  width: 1020px;
  background: url(../images/footer.gif) repeat-x;
  text-align: center;
  line-height: 100px;
}
#footer span {
  color: #683c11;
}

.rokku-pic div {
  width: 46%;
  float: left;
  margin: 2%;
}
.rokku-pic div img {
  width: 100%;
}

.bn-boshu {
  position: absolute;
  left: 680px;
  top: 210px;
  width: 250px;
  height: auto;
}

/*----講師紹介--------*/

.inst {
  margin: 0 0 60px;
}

.inst h2 {
  font-size: 19px;
  font-weight: bold;
  padding-bottom: 10px;
  border-bottom: 1px solid #7bb5b1;
  margin-bottom: 30px;
}

.inst dl {
  display: flex;
}
.inst dt {
  font-weight: bold;
  color: #4d8a71;
  width: 110px;
  margin-bottom: 1em;
}

.inst dd {
  width: calc(100% - 110px);
}
.inst dd li {
  line-height: 1.6;
  text-indent: -1em;
  padding-left: 1em;
  list-style-type: circle;
  list-style-position: inside;
}

/*-----20240327追加-----*/

.d-flex {
  display: flex;
}

.salon-content img {
  width: 100%;
  height: auto;

}
.salon-side{
	display: flex;
	flex-direction: column;
	gap:20px;
}
.salon-side img{
	height: auto !important;
	width:100%;
	cursor: pointer;
}
/*---モーダルウィンドウのスタイル---*/
 dialog.modal {
    border: none;
    padding: 0;
    background: transparent;
  }

  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto;
  }

  .modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
    background: transparent;
  }

  .modal-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: none;
  }

  .modal-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    font-size: 20px;
    width: 35px;
    height: 35px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  }