/* 全体の設定 */
html {
  font-size: 62.5%;
}
body {
  box-sizing: border-box;
  color: #333;
  font-size: 1.8rem;
  font-family: "Noto Sans JP", serif;
  font-weight: 400;
  line-height: 1.7;
}
img {
  max-width: 100%;
}
h1 {
  font-size: clamp(16px,2vw, 22px);
  /* font-size: 2.2rem; */
  line-height: 1.3;
}
h2, h3, h4 {
  text-align: center;
}
.NotoSansM, h2, h3 {
  font-weight: 500;
}
h2 {
  width: 90%;
  margin: 0 auto;
  border-bottom: 6px dotted #94bf32;
  font-size: 3.6rem;
}
h3 {
  font-size: 2.6rem;
}
h4 {
  font-size: 2.4rem;
}
.wrapper {
  max-width: 1100px;
  margin: 0 auto;
}
.wrapperBorder {
  width: 90%;
  margin: 0 auto;
  border-bottom: 6px dotted #94bf32;
}
.pagetop {
  position: fixed;
  right: 20px;
  bottom: 100px;
}
.pagetop a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  background-color: rgba(148, 191, 50,0.8);
}
.pagetop a::before {
  display: block;
  width: 10px;
  height: 10px;
  content: "";
  border-left: 2px solid #fff;
  border-top: 2px solid #fff;
  transform: rotate(45deg);
}
main {
  margin-top: 78px;
}
/* ここからヘッダー */
.logo {
  display: flex;
  gap: 20px;
}
.logo img {
  width: 50px;
}
.globalnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0px;
  width: 100%;
  padding: 10px 20px;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.8);
}
.globalnav ul {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  gap: 20px;
} 
.globalnav li {
  transition: all 700ms;
}
.globalnav li:hover{
color: #94bf32;
}
.globalnav nav {
  flex: 1;
  line-height: 1.5;
  font-size: clamp(0.625rem, 0.154rem + 1.79vw, 1.5rem);
  /* font-size: 1.8rem; */
}
.menu-btn{
  display: none;
}
.slider {
  padding: 0;
  line-height: 0;
  font-size: 0;
}
.slider img {
  width: 100%;
  height: 65vh;
  object-fit: cover;
}
/* スライダー下の隙間をなくす */
.slick-dotted.slick-slider {
  margin-bottom: 0;
}
.catch {
  margin-bottom: 120px;
  padding:15px 0 120px;
  font-size: 4.2rem;
  text-align: center;
  background: #e7b18d url(../images/item105.svg) no-repeat center bottom 20px/ 80px;
}
.catch span {
  color: #fff;
  font-size: 5.0rem;
}
.catch p:last-child {
  font-size: 2.4rem;
}

/* ここからメイン */
#activityS > p {
  margin: 60px 0;
  font-size: 2.4rem;
  text-align: center;
}
.btn , .mainBtn {
  text-align: center;
  color: #fff;
  background-color: #e7b18d;
  box-shadow: 0 5px 0 #c79675;
  transition: all 500ms;
}
.btn {
  position: relative;
  width: 200px;
  border-radius: 50px;
  padding: 10px 18px 10px 2px;
  margin: 0 auto;
}
.byoshi {
  background-color: #aec774;
  box-shadow: 0 5px 0 #92a761;
}
.btn:hover , .mainBtn:hover {
  background-color: #94bf32;
  transform: translateY(5px);
  box-shadow: none;
}
.byoshi:hover {
  background-color: #e7b18d;
}
.mainBtn {
  max-width: 600px;
  padding: 20px;
  margin: 0 auto 120px;
  border-radius: 50px;
  font-size: 2.8rem;
}
.content .btn::after {
  position: absolute;
  top: 50%;
  right: 23px;
  content: "";
  transform: translateY(-50%);
  border-style: solid;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 16px solid #fff;
}
.content {
display: flex;
justify-content: center;
flex-wrap: wrap;
margin-bottom: 120px;
column-gap:3%;
row-gap: 60px;
}
.content h3 {
  text-decoration-color:  #e7b18d;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-thickness: 2px;
  text-underline-offset: 10px;
}
.content .yoshi {
  text-decoration-color: #94bf32;
}
.content section {
  display: flex;
  flex-direction: column;
  flex-basis:calc(33.33% - 44px);
  padding:20px;
  border-radius:48px;
  gap: 20px;
  border: 5px solid #e7b18d;
  
}
.content section img{
  border-radius: 28px 
}
.content section:last-child {
  border-color: #aec774;
}
.content img {
  order: -1;
}
.order {
  flex: 1;
}
.content ul, #kizuna ul {
  padding: 2rem 0 0 1.3em;
}
.content li, #kizuna li {
  text-indent: -1.3em;
  padding-bottom: 1.5rem;
}
.content li::before, #kizuna li::before,.mark::before {
  margin-right: 5px;
  content: "●";
}
#kizuna {
  width: 95%;
  margin: 0 auto 120px;
  padding: 80px 30px 0;
  border-radius: 50px;
  border: 3px solid #e7b18d;
  background-color: #ffffdc;
}
#kizuna span {
  font-size: 2.4rem;
}
.aboutUs {
  display: flex;
  flex-direction: column-reverse;
  max-width: 800px;
  gap: 30px;
  margin: 60px auto 60px;
  padding-bottom: 60px;
  border-bottom: 2px dotted;
}
.representative {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-width: 836px;
  margin: 60px auto 60px;
  gap: 25px;
}
.representative section {
  width: 500px;
  padding: 20px 40px;
  border-radius: 50px;
  background-color: #fff;
}
.introduction {
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  position: sticky;
  top: 68px;
  max-width: 250px;
  gap: 20px;
  text-align: center;
}
.introduction img {
  min-width: 150px;
  width: 200px;
  margin: 0 auto;
}
.introduction .NotoSansM {
  font-size: 2.4rem;
}

/* ここからフッター */
.foot {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 10px 10px 10px;
  gap: 10px;
}
.foot img {
  width: 80px;
}
.insta img {
  width: 90px;
  padding-left: 50px;
}
.foot div p{
  font-size: 2.8rem;
  text-align: center;
}
small {
  display: block;
  text-align: center;
  background-color: #e7b18d;
}
address {
  text-align: center;
}

/* ここからactivity */
.mainImage {
  position: relative;
  margin-bottom:150px;
}
.mainImage img {
  width: 100%;
  height: 65vh;
  object-fit: cover;
}
#cooking, #visit, #yoshi {
  margin-top: -170px;
  padding-top: 170px;
}
.mainImage h2 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  padding: 20px 40px;
  transform: translate(-50%,-50%);
  border: 2px solid #fff;
  color: #fff;
}
.service {
  position: relative;
  width: 95%;
  margin: 0 auto 150px;
  padding: 100px 60px 0;
  border: dashed 2px #fff;
  border-radius: 50px;
  box-shadow: 0px 0px 0px 10px #e7b18d;
  background-color: #e7b18d;
}
.visitImg {
  width: 90%;
  margin: 0px auto 60px;
  padding: 10%;
  border-radius: 20px;
  background: #e7b18d url(../images/item-131.jpg) no-repeat center;
  background-size: cover;
}
.visitImg > div {
  width: 100%;
  margin: 0 auto;
  padding: 20px 10px;
  border-radius: 20px;
  color: #6a4939;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.7);
}
.service >p, .yoshiInsta{
  font-size: 2.4rem;
  text-align: center;
  color: #fff;
}
.service .emphasis {
  margin: 0;
  font-size: 4.0rem;
}
.service span {
  font-size: 4.0rem;
}
.service h3 {
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translate(-50%,0);
  width: 500px;
  padding: 30px;
  border-radius: 50px 50px 0 0;
  color: #fff;
  background-color: #6a4939;
}
.clip {
  position: absolute;
  top: -70px;
  left: 50%;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  z-index: -1;
  transform: translate(-50%,-50%);
  background-color: #6a4939;
}
.clip::after {
  position: absolute;
  top: 25px;
  left: 50%;
  content: "●";
  transform: translate(-50%,-50%);
  color: #fff;
  font-size: 2.8rem;
}
.service section, .yoshiyoshi{
  margin: 70px 0 80px;
  padding: 20px 25px 20px;
  border-left: 20px dotted #e7b18d;
  border-radius: 0 10px 10px 0;
  box-shadow: 0 0 0 1rem #fff;
  background-color: #fff;
}
.yoshiyoshi {
  padding-top: 40px;
}
.service section h4 {
  margin-bottom: 50px;
  padding: 0.25em 0 0.3em 0.5em;
  border-left: 10px double #94bf32;
  border-bottom: 2px dashed #ccc;
  text-align: left;
}
.aboutService {
  display: flex;
  flex-wrap: wrap-reverse;
  align-items: flex-end;
  justify-content: center;
  gap: 40px;
}
.aboutService div {
  flex: 1 0 250px;
}
.aboutService img {
  max-width: 300px;
  width: 100%;
}
/* マーカー分字下げ 左訳2.2rem */
.aboutService ul {
  list-style-type: square;
}
.aboutService dl {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 20px 0 0;
  padding: 20px 0 0;
  border-top: 2px dashed #ccc;
}
.aboutService dt {
  width: 15%;
}
.aboutService dd {
  width: 85%;
}
.indent {
  margin-left: 20px;
}
.reverse {
  flex-direction: row-reverse;
}
.space {
  margin: 20px 0;
}
.feature {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 60px 0;
  gap: 25px;
  text-align: center;
}
.feature p {
  width: 300px;
  height: 300px;
  padding-top: 180px;
  border-radius: 50%;
  background-color: #fff;
}
.feature p:first-child {
  background: #fff url(../images/item112.svg) no-repeat center top 40%/ 80px;
}
.feature p:nth-child(2) {
  background: #fff url(../images/item113.svg) no-repeat center top 40%/ 80px;
}
.feature p:last-child {
  background: #fff url(../images/item114.svg) no-repeat center top 40%/ 80px;
}
.lightbox_container ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  gap: 60px;
}
.lightbox_container li {
  width: 200px;
  transition-property: all;
  transition-duration: 0.5s;
}
.lightbox_container li:hover {
  opacity: 0.5; 
  transform:scale(1.1,1.1);
}
.click {
  position: relative;
}
.click div {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 220px;
  height: 220px;
}
.click svg {
  overflow: visible;
}
.click path {
  fill: none;
}
.click text {
  fill: #94bf32;
  font-weight: bold;
  font-size: 1.0rem;
}
.border {
  margin: 30px 0 60px;
  border-bottom: 2px dashed #ccc;
}
.color {
  margin: 20px 0 0 80px;
  color: #94bf32;
  font-weight: bold;
}
.frailty {
  position: relative;
  width: 80%;
  margin: 0 auto 150px;
  padding: 60px 50px 0;
  border: 3px solid #e7b18d;
  border-radius: 50px;
}
.frailty h3 {
  position: absolute;
  top: 0;
  left: 50%;
  margin: 0 auto;
  padding: 20px 10px;
  border-radius: 50px;
  transform: translate(-50%,-50%);
  color: #e7b18d;
  background-color: #fff;
}
.frailty p {
  max-width: 850px;
  margin: 0 auto;
}
.size {
  width: 850px;
  margin: 0 auto;
}

.frailty div {
  display: flex;
  flex-direction: column-reverse;
  margin-bottom: 60px;
  gap: 20px;
}
.mark {
  margin: 10px 0;
}
.br {
  display: none;
}
#yoshi h3 {
  padding-left: 80px;
}
#yoshi h3 img{
  position: absolute;
  top: 50%;
  left: 60px;
  width: 60px;
  transform: translate(0,-50%);
}
/* 変更点 */
#yoshi .service {
  box-shadow: 0px 0px 0px 10px #aec774;
  background-color: #aec774;
}
.yoshiyoshi {
  border-left: 20px dotted #aec774;
}
/* 変更点終わり */
.yoshiMenu {
  display: block;
}
.yoshiMenu dt, .yoshiMenu dd {
  width: 100%;
}
.yoshiMenu dd {
  margin-left: 25px;
}
#flow {
  width: 95%;
  margin: 208px auto 150px;
  padding: 60px;
  border: 3px solid #e7b18d;
  border-radius: 50px;
  text-align: center;
}
#flow h2 {
  margin-bottom: 30px;
}
#flow>p:nth-child(2) {
  margin-bottom: 50px;
}
.flowpart {
  max-width: 700px;
  margin: 0 auto;
}
.part {
  margin-bottom: 30px;
  padding: 20px;
  border-radius: 20px;
  color: #fff;
  background-color: #e7b18d;
}
.part3a p:first-child {
  margin-bottom: 150.59px;
}
.flowpart3 {
  display: flex;
  justify-content: space-between;
  gap: 10%;
}
.flex1 {
  flex: 1;
}
.part3a, .part3b {
  width: 100%;
  padding: 30px 0;
  border-radius: 20px;
  color: #fff;
}
.part3a {
  background: #e7b18d url(../images/item112.svg) no-repeat center top 50%/ 80px;
}
.part3b {
  background: #e7b18d url(../images/item113.svg) no-repeat center top 50%/ 80px;
}
.part3b div {
  margin-bottom: 120px;
}
.triangle {
  width: 0;
  height: 0;
  margin: 0 auto 20px;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 30px solid #6a4939;
}

/* ここから#question */
#question{
  width: 95%;
  margin: 0 auto 150px;
  padding: 60px 5%;
  border: 3px solid #e7b18d;
  border-radius: 50px;
  background-color: #ffffdc;
}
#question h2{
  margin-bottom: 50px;
}
form{
  padding-top: 20px;
}
.radio1{
  margin-bottom: 60px;
  padding-right: 40px;
}
.form1{
  margin-bottom: 50px;
}
form p {
  margin-bottom: 30px;
}
.radio2{
  display: flex;
  flex-direction: column;
  width: 60%;
  margin: 0 auto 20px;
  padding-top: 20px;
}
.radio2 label{
  margin-bottom: 10px;
}
.select{
  display: flex;
}
.select input{
  margin-top: 9px;
}
.plan{
  display: block;
}
input[type="text"],
input[type="email"],
textarea{
  width: 100%;
  margin-top: 5px;
  padding: 8px 18px;
  border: 1px solid #333;
  border-radius: 10px;
  background-color: #fff;
}
#question > p:nth-of-type(1),
form p:nth-of-type(2)
{
  width: fit-content;
  margin: 0 auto;
  padding: 0 20px;
  border-bottom: 3px dotted #94bf32;
  font-size: 2rem;
  text-align: center;
}
form p:nth-of-type(1){
  text-align: center;
}
form textarea{
  padding-bottom: 100px;
}
input[type=radio]{
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 10px;
}
.btn_question{
  margin-top: 50px;
  padding: 10px 18px;
  cursor: pointer;
}
.nav p{
  display: none;
}

/* form */
.thankubox {
  display: flex;
  justify-content: center;
  align-items:center;
  flex-direction: column;
  row-gap: 5%;
  width: 90%;
  height: 100vh;
  margin: 0 auto;
}
.thanku {
  background-color: #FFFFDD;
  border: 2px solid #E7B18D;
  border-radius: 50px;
  padding: 40px;
  text-align: center;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
}
.thanx {
  color: #333;
  margin-bottom: 30px;
}
.thanku-logo{
  width:20%;
  min-width:120px;
  display: block;
  margin: 0 auto;

}
.formBtn {
  padding: 10px 20px;
}

.back{
  background-color: #797955;
  box-shadow: 0 5px 0 #363331;
}
.formTable{
  width: 80%;
  margin: 30px auto;
  border-collapse: collapse;
}
.formTable th{
  color: #333;
  padding: 10px;
  border-bottom: #94bf32 2px solid; 
}
.formTable td{
  color: #333;
  padding: 10px;
  border-bottom: #c79675 1px solid;
}
.center-ms{
  display: flex;
  justify-content: center;
}
.error_messe{
  color: red;
  font-size: 2rem;
  margin: 10px 0 10px 10%;
  text-align: left;
}
@media (max-width: 768px) {
  .globalnav  {
  display: block;
}

.globalnav ul {
  justify-content: space-around;
  margin-top: 10px;
}
main {
  margin-top: 98px;
}
.content section {
  flex-basis: 80%;
}
}
/* ここからモバイル版 */
@media (max-width: 600px) {
/* 全体 */
/* body {
font-size: 1.6rem; 
}
h1 {
  font-size: 1.8rem; 
} */
h2 {
  font-size: 2.8rem;
  line-height: 1.5;
}
h3 {
  font-size: 2.4rem;
}
h4 {
  font-size: 2.0rem;
}
.wrapperBorder {
  width: 80%;
}
.br {
  display: block;
}
main {
  margin-top: 68px;
}

/*footer*/
.foot img {
  width: 50px;
}
.foot div p{
  font-size: 1.6rem;
}
.insta img {
  padding-left: 10px;
  width: 40px;
}

/* topページ */
.catch {
  padding: 30px 0 60px;
  background: #e7b18d url(../images/item105.svg) no-repeat center bottom 10px/ 50px;
  font-size: 2.0rem;
}
.catch span{
  font-size: 3.0rem;
}
.catch p:last-child {
  font-size: 1.6rem;
}
#kizuna {
  width: 95%;
  padding: 80px 25px 0;
}

.representative {
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.representative section {
  width: 100%;
  padding: 20px 25px;
}
#activityS h2 {
  width: 80%;
  margin: 0 auto ;
}
.mainBtn {
  font-size: 1.8rem;
  width: 90%;
}

/* activity */
.service >p, #activityS > p{
  font-size: 2.0rem;
}
.service h3 {
  top: -60px;
  width: 280px;
  padding: 20px 0;
  border-radius: 30px 30px 0 0;
}
.introduction{
  position: static;
}
.clip {
  width: 50px;
  height: 50px;
  top: -60px;
}
.clip::after {
  top: 16px;
  content: "●";
  font-size: 1.6rem;
}
.service {
  padding: 80px 25px 0;
}
.frailty h3 {
  width: 200px;
}
#yoshi h3 img{
  left:30px;
}
.service .emphasis {
  font-size: 2.4rem;
  margin-bottom: 20px;
}
.frailty {
  padding: 60px 10px 0;
}
/* flow */
#flow, #question {
  width: 95%;
  padding: 60px 25px;
}
#flow {
  margin-top: 0;
  padding: 80px 15px;
}
.radio2 {
  width: 90%;
}
.flowpart3 {
  gap: 4%;
}
.part3a p:first-child {
  margin-bottom: 147.2px;
}
.pyoshi {
  letter-spacing: -0.06em;
}
.select input{
  margin-top: 6px;
}
input[type="submit"]{
  display: inline-block;
  text-align: center;
  cursor: pointer;
}

/* フォーム確認 */
.formTable{
  width: 90%;
  margin: 30px auto;
  border-collapse: collapse;
}
.formTable td {
  margin-bottom:30px;
}
.formTable th, .formTable td{
  display: block;
  width: 100%;
}
/* ハンバーガーメニュー */
.menu-btn{
  display: block;
  position: fixed;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 28px;
  margin-top: 4px;
  z-index: 10;
  cursor: pointer;
  border: none;
  background: transparent;
}
.menu-btn::after{
  display: block;
  margin-top: 12px;
  content: "MENU";
  font-size: 1.2rem;
}
.menu-btn span,
.menu-btn span::before,
.menu-btn span::after{
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 1.5px;
  background: #333;
  transition: all .5s;
}
.menu-btn span{
  position: relative;
}
.menu-btn span::before,
.menu-btn span::after{
  position: absolute;
  content: "";
}
.menu-btn span::before{
  top: -11px;
}
.menu-btn span::after{
  top: 11px;
}
.menu-btn.active span{
  background: rgba(255, 255, 255, 0);
}
.menu-btn.active span::before,
.menu-btn.active span::after{
  top: 0;
  background: #fff;
}
.menu-btn.active span::before{
  transform: rotate(45deg);
}
.menu-btn.active span::after{
  transform: rotate(-45deg);
}
.menu-btn.active::after{
  color: #fff;
}
.nav.open{
  right: 0;
}
.nav{
  position: fixed;
  right: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  padding-top: 100px;
  z-index: 5;
  background:#94bf32;
  transition: all .3s;
}
.nav a{
  position: relative;
  display: block;
  padding: 20px;
  border-bottom: 3px dotted #fff;
  text-decoration: none;
  color: #fff;
  font-size: 1.8rem;
}
.nav.open .NotoSansM{
  display: block;
}
.nav li{
  padding-left: 30%;
  font-weight: 400;
}
.nav a::after{
  position: absolute;
  right: 20px;
  top: 50%;
  width: 8px;
  height: 8px;
  content: "";
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg) translateY(-50%);
}
.nav p{
  display: block;
  padding-top: 160px;
  color: #fff;
  font-size: 1.6rem;
  text-align: center;
  background: url(../images/item125.svg) no-repeat center top 70px/100px;
}
.globalnav{
  padding: 10px;
}
.globalnav ul{
  display: block;
}
.yoshiInsta .insta {
  gap: 20px;
  flex-direction: column;
}}