@charset "utf-8";

html {
    font-family: 'Markazi Text';
    font-weight: 400;
    color: #333;
    line-height: 1.8;
}

.point-font {
    font-family: "Edu NSW ACT Cursive", cursive;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
}

body {
    background: #fff;
    background-attachment: fixed;
    overflow-x: hidden;
}

p {
    color: #333;
    margin-bottom: 0.5rem;
}

h2 {
    padding: 30px 0 20px;
}

a {
    text-decoration: none;
    color: #028760;
}

section {
    padding: 0px 10px;
}

li {
    list-style: none;
}

main {
    width: 1020px;
    display: block;
    margin: 0 auto 0;
    position: relative;
}

.inner {
    margin: 30px 0 60px;
}

.pc-none {
    display: none;
}

@media (max-width: 768px) {
    html {
        line-height: 1.2;
    }
}

@media screen and (max-width : 1199px){
    section {
        padding: 0px 0px;
    }

    .inner {
        margin: 20px 0 40px;
    }
}

/* ヘッダーナビ、レスポンシブ */
header {
    position: fixed;
    z-index: 10;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
    padding: clamp(20px, 5.333333333333333vw, 40px);
    -webkit-transition-duration: 300ms;
    transition-duration: 300ms;
    background: #028760;;
}

header a {
    color: #fff;
}

@media (min-width: 1025px) {
    header {
        padding: clamp(30px, 3.125vw, 60px) clamp(40px, 4.6875vw, 90px);
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    header {
        padding: clamp(10px, 2.998500749625187vw, 20px);
    }
}

.header-container {
    display: -ms-grid;
    display: grid;
    -webkit-box-align: center;
    align-items: center;
    -ms-flex-align: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-grid-columns: 1fr 2fr;
    grid-template-columns: 1fr 2fr;
}

    .header-logo {
      width: -moz-fit-content;
      width: -webkit-fit-content;
      width: fit-content;
    }

    @media (max-width: 768px) and (orientation: landscape) {
        .header-logo {
            width: clamp(70px, 17.991004497751124vw, 140px);
        }
    }

    .logo-link {
      display: block;
      -webkit-transition-duration: 300ms;
      transition-duration: 300ms;
    }

    .logo-link:hover {
      opacity: 0.6;
    }

    @media (max-width: 1024px) {
      .nav-menu {
        position: fixed;
        z-index: -1;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        height: calc(var(--vh, 1vh) * 100);
        padding-right: clamp(30px, 8vw, 60px);
        padding-bottom: clamp(30px, 8vw, 60px);
        padding-left: clamp(30px, 8vw, 60px);
        transition-duration: 300ms;
        transform: translateX(200%);
        overflow: auto;
        /* ナビメニューの背景色を変えたい時 */
        background-color: rgba(0, 0, 0, .6);
      }

      .nav-menu.active {
        transform: translateX(0);
      }
    }

    @media (max-width: 768px) {
        main {
            width: 100%;
        }
        .header-container {
            grid-template-columns: 4fr 1fr;
        }
        .header-logo {
            font-size: 1.25rem;
        }
        .pc-none {
            display: block;
        }
    }

    @media (min-width: 1025px) {
      .nav-menu {
        padding-top: 0 !important;
      }
    }

    @media (min-width: 1025px) {
      .menu-list {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        align-items: center;
        -ms-flex-align: center;
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
        gap: clamp(20px, 2.0833333333333335vw, 40px);
      }
    }

    @media (max-width: 1024px) {
      .menu-item {
        /* 各ナビメニューの下線を変えたい時 */
        border-style: solid;
        border-color: #333;
        border-bottom-width: 1px;
      }
      .menu-list li {
        text-align: center;
        line-height: 2.4rem;
      }
    }

    .menu-link {
      display: block;
      color: #fff;
      -webkit-transition-duration: 300ms;
      transition-duration: 300ms;
    }

    .menu-link:hover {
      opacity: 0.6;
    }

    .nav-menu.active .menu-link {
      color: #fff;
    }

    @media (max-width: 1024px) {
      .menu-link {
        font-size: clamp(14px, 1.0416666666666667vw, 20px);
        padding-top: clamp(10px, 2.6666666666666665vw, 20px);
        padding-bottom: clamp(10px, 2.6666666666666665vw, 20px);
        text-align: center;
        /* ナビメニューの文字色を変えたい時 */
        color: #fff;
      }
    }

    @media (min-width: 1025px) {
      .menu-link {
        font-size: clamp(14px, 1.0416666666666667vw, 20px);
      }
    }

    .hamburger-button {
      width: -moz-fit-content;
      width: -webkit-fit-content;
      width: fit-content;
      height: clamp(13px, 3.466666666666667vw, 26px);
      margin-right: 0;
      margin-left: auto;
      cursor: pointer;
    }

    .hamburger-lines {
      position: relative;
      width: clamp(40px, 10.666666666666666vw, 90px);
      height: clamp(13px, 3.466666666666667vw, 26px);
      -webkit-transition-duration: 300ms;
      transition-duration: 300ms;
    }

    @media (max-width: 1024px) {
      .hamburger-lines {
        width: clamp(40px, 10.666666666666666vw, 90px);
        height: clamp(13px, 3.466666666666667vw, 26px);
      }
    }

    @media (max-width: 768px) and (orientation: landscape) {
      .hamburger-lines {
        width: clamp(30px, 7.496251874062969vw, 50px);
        height: clamp(15px, 2.998500749625187vw, 20px);
      }
    }

    .hamburger-lines.active {
      height: 1px;
    }

    .hamburger-lines .line {
      position: absolute;
      right: 0;
      left: 0;
      display: block;
      width: 100%;
      height: clamp(1px, .26666666666666666vw, 2px);
      margin: auto;
      -webkit-transition-duration: 300ms;
      transition-duration: 300ms;
      /* ハンバーガーメニューの線の色を変えたい時 */
      background-color: #333;
    }

    .hamburger-lines.active .line {
      /* ハンバーガーメニューオープン時の線の色を変えたい時 */
      background-color: #fff;
    }

    .hamburger-lines .line:nth-child(1) {
      top: 0;
    }

    .hamburger-lines .line:nth-child(2) {
      bottom: 0;
    }

    @media (min-width: 1025px) {

      /* タブレットサイズ以上でハンバーガーメニューを丸ごと非表示 */
      .hamburger-button {
        display: none;
      }
    }

/* Main イメージ＆キャッチコピー */
#mainimage{
    position: absolute;
    top: 136px;
	background-image: url("../images/main.jpg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
    height: 600px;
}
#mainimage .inner{
	width: 1200px;
	max-width: 100%;
	padding-top: 780px;
	position: relative;
}
#mainimage .maintext{
	display: inline-block;
	position: absolute;
	top: 40%;
	left: 50%;
	transform: translate(-50%,-50%);
    font-size: 1.8rem;
    color: #333;
}

@media screen and (max-width : 1199px){
	#mainimage .inner{padding-top:calc(780 / 1200 * 100%);}
}

@media screen and (max-width: 767px) {
   #mainimage .inner{
        padding-top:calc(600 / 750 * 100%); 
    }
    #mainimage {
        top: 40px;
        height: 300px;
    }
    #mainimage .maintext {
        left: 15%;
        transform: translate(0%, 0%);
        font-size: 1rem;

    }
}

/* Topics */
#topics .inner {
    background: #028760;
    color: #fff;
    margin: 0 calc(50% - 50vw);
    padding: 40px calc(50vw - 50%) 60px;

}

.news-list{
  list-style: none outside;
  margin: 0;
  padding: 0;
  padding-bottom: 40px;
}
.news-list .item {
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  text-decoration: none;
  border-bottom: 1px solid #fff;
  padding: 10px;
}
.news-list .item .date, .news-list .item .title {
  color: #fff;
}
.news-list .item:first-child {
  border-top: 1px solid #fff;

}
.news-list .item .date{
  margin: 0;
  min-width: 120px;
  font-size: 16px;
  padding: 0 10px 0 0;
}
.news-list .item .title{
  margin: 0;
  width: 100%;
}

@media screen and (max-width: 767px){
#topics .inner {
    margin: 0 0px;
    padding: 20px 4% 40px;
}
.news-list {
    padding-bottom: 20px;
}

.news-list .item {
  flex-wrap: wrap;
}
.news-list .item .date{
  min-width: 100px;
}
.news-list .item .title{
  margin-top: 10px;
}
#topics ul {
    width: 100%;
}
}

/* 装飾 */
 
*{
  box-sizing: border-box;
}
a{
  text-decoration: none;
}

/* About */
dl{
    display: -webkit-flex;
    display: -moz-flex;
    display: flex;
	flex-wrap: wrap;
	align-items: stretch;	
	width: 100%;
	border: 1px solid #ccc;
	border-bottom: none;
}
dl dt{
	background: #fff;
	padding: 10px;
	width: 200px;
}
dl dd{
	padding: 10px;
	width: calc(100% - 200px);
}

#about ul:last-of-type, #contact ul:last-of-type{
	border-bottom: 1px solid #ccc;
}

@media only screen and (max-width: 765px) {
	dl dt{ 
		width: 100%;
		border-right: none;
	}
	dl dd{
		width: 100%;
	}
    #about .inner {
    margin: 0 0px;
    padding: 20px 4% 40px;
}
}

/* About */

/* service */
#service p {
    color: #333;
    font-weight: bold;
    font-size: 18px;
}
#service {
    background-image: url(../images/service3.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0 calc(50% - 50vw);
    padding: 30px calc(50vw - 50%);
}
#service .inner {
    color: #333;
    margin: 0 calc(50% - 50vw);
    padding: 30px calc(50vw - 50%) 60px;
}
#service h3 {
  font-size: 20px;
  margin-bottom: 0.5rem;
}

#service .inner div {
  background-color:rgba(255,255,255,0.9);
  border-radius: 20px;
  padding: 10px 20px 20px;
  font-size: 16px;
}
#service .inner div.btn {
  background-color:initial;
}

#service a {
    color: #028760;
}

/* content */
#contact {
    color: #333;
}

#contact dt {
    width: 300px;
    line-height: 2.4;
}
#contact dd {
    width: calc(100% - 300px);
    box-sizing:border-box;
    padding: 10px;

}

input, textarea {
    width: 100%;
    padding: 5px;
    box-sizing:border-box;
}
[type="submit"] {
    border: 1px solid #fff;
    width: 160px;
    padding: 10px 0;
    margin: 20px auto 20px;
    display: block;
}

@media only screen and (max-width: 765px) {
	#contact dt {
    width: 100%;
    }
    #contact dd {
    width: 100%;
    }
    #service .inner {
    margin: 0 0px;
    padding: 20px 4% 40px;
    }
    #contact .inner {
    margin: 0 0px;
    padding: 20px 4% 40px;
    }
}


/* footer */
#footer {
    text-align: center;
    padding: 20px 0;
    background: #028760;
    color: #fff;
}

#footer p {
  color: #fff;
}

.btn {
    margin-top: 30px;
    text-align: right;
}

.btn span/*a*/ {
    width: 200px;
    padding: 10px;
    margin-left: 10px;
    border: 1px solid #028760;
    color: #028760;
}

@media only screen and (max-width: 765px) {
    .btn span {
        line-height: 4;
    }
}

/* モーダル */

body.fixed {
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
}

/* ボタンスタイリング */
#modal__btn {
  border: 1px solid #028760;
  color: #028760;
  cursor: pointer;
  text-align: center;
  line-height: 25px;
  height: 38px;
  width: auto;
  padding: 0 10px;
  display: block;
  margin: 0 0 0 auto;
}
#modal__btn:hover {
  opacity: .8;
}

/* モーダル関係スタイリング */
#modal {
  background: #fff;
  display: none;
  padding: 20px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 50vh; /*好きなサイズに変更*/
  width: 80%; /*好きなサイズに変更*/
  z-index: 1;
  color: #333;
}
.modal__inner {
  height: 100%;
  overflow: scroll;
}
#close__btn {
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translate(-50%, 100%);
  text-align: center;
  line-height: 40px;
  height: 40px;
  width: 40px;
}
#close__btn:hover {
  opacity: .8;
}
#overlay {
  background: rgba(0,0,0,.7);
  display: none;
  cursor: pointer;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}


/********************** 
  ここからはデザインに合わせて
**********************/
.modal__inner h3 {
  border-bottom: 2px solid #333;
  padding-bottom: 10px;
  line-height: 2;
  margin-top: 1rem;
}
.modal__inner p {
  line-height: 1.7;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}
.modal__inner li {
  list-style: disc;
  margin-left: 1rem;
  line-height: 1.6;
}
.modal__inner h3,.modal__inner h4,.modal__inner h5 {
  margin-top: 1rem;
}

 #contact .modal__inner ul:last-of-type {
    border-bottom: none;
 }