@charset 'UTF-8';
/*
Theme Name: a.moi
Description: あ・もいのWordPressのテーマです
Author: yamashita
Version: 1.0.0
*/

* {
  margin: 0;
  padding: 0;
}
body {
    max-width: 1200px;
    box-sizing: border-box;
    color:#2D2300 ;
    margin: 0 auto;
}
.sp_only {
  display: none;
}
.pc_only {
  display: block;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
}
.header_inner {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  background-color: #ffffffeb;
}
.logo img {
  width: 190px;
  height: auto;
}
.nav_list {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
li.nav_item {
  list-style: none;
  margin-right: 20px;
}
.nav > ul > li {
  position: relative;
}
nav > ul > li > a {
  text-decoration: none;
  color: #2D2300;
}
nav > ul > li > a > span > img {
  position: absolute;
  width: 36px;
  height: auto;
  top: -34px;
}
img.icon-home {
  left: 7px;
}
img.icon-service {
  left: 34px;
}
img.icon-flow {
  left: 20px;
}
img.icon-campany {
  left: 14px;
}
img.icon-nurse {
  left: 28px;
}
img.icon-resume {
  left: 12px;
}
img.icon-mail {
  left: 12px;
}
img.menu-insta {
  width: 52px;
}
.wrapper {
  max-width: 1100px;
  height: auto;
  margin: 0 auto;
}
main {
  max-width: 1100px;
  height: auto;
  margin:0 auto;
  overflow: hidden;
  margin-top: 70px;
}
/*swiper*/
.slider-area {
    position: relative;
    margin-bottom: 30px;
}
.swiper {
	position: relative;
	width: 100%;
	height: 50vw;
	overflow: hidden;
	max-height: 550px;	
}
.swiper-slide {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.swiper-slide img {
  width: 100%;
  height: auto;
	object-fit: cover;
}
.swiper-pagination {
 bottom: -20px !important;
}
/*/swiper*/
#nursing_care img {
  max-width: 1100px;
  width: 100%;
  height: auto;
}

.h2_title {
  display: block;
  position: relative;
  color: #fba717;
  font-size: 30px;
  text-align: center;
  margin: 30px auto;
}
.h2_title:before {
  content: '';
  display: inline-block;
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: #fba717;
}
.h1_title {
  content: "";
  background-image: url("images/logomark.png");
  background-size: cover;
  background-repeat: no-repeat;
  width: 90px;
  height: 90px;
 }
.amoi_titletext {
  font-size: 28px;
  font-weight: bold;
}
.amoi_hi_title {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  margin-bottom: 50px;
}
div#nursing_care {
  margin-bottom: 50px;
}
/* ごあいさつ */
#greeting {
  width: 80%;
  margin: 0 auto;
}
.h2_title {
  margin-bottom: 50px;
}
.word {
  text-align: right;
}
/* あ・もいの訪問介護 */
.nursing_care_message {
  width: 60%;
  margin: 0 auto;
  margin-bottom: 50px;
}
.medical {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 82px auto;
}
.medical_img {
  width: 50%;
  z-index: 2;
}
.medical_text {
  width: 49%;
  height: auto;
  background-color: #B1D380;
  z-index: 1;
  box-shadow: 0px 0px 40px 40px #B1D380;
	padding: 10px 0px 20px 20px;
}
.medical_title {
  font-size: 22px;
  font-weight: bold;
  margin: 0 auto 20px;
  text-align: center;
  color: #fff;
}
.medical_message {
  font-size: 16px;
  color: #fff;
  width: 87%;
  margin: 0 auto;
}
.social_worker {
  margin: 50px 0; 
}
.social_worker_title {
  font-size: 24px;
  font-weight: bold;
  margin: 20px auto;
  padding: 8px;
  color: #fff;
  background-color: #fba717;
  text-align :center;
  width: 80%;
  border-radius: 10px;
}
.text_orange {
  font-size: 18px;
  color: #fba717;
  margin: 28px 0 20px 10px;
}
.social_worker_message {
  font-size: 16px;
  color: #2D2300;
  width: 80%;
  margin: 0 auto;
  background-color: #FBF6EB;
  padding: 20px;
  border-radius: 20px;
}
.social_worker_list {
  display: block;
  font-size: 16px;
  color: #2D2300;
  width: 60%;
  margin: 0 auto;
  background-color: #FBF6EB;
  padding: 20px 20px 20px 40px;
  border-radius: 20px;
}
.details {
  max-width: 1100px;
  margin: 100px 0 80px;
  background-image: url(images/details_bg_1100.png);
  background-size: cover;
  background-repeat: no-repeat;
  padding: 50px;
}
.details_inner p {
  text-align: center;
  font-weight: bold;
  margin: 30px 0;
}
a.phone_number {
  font-size: 38px;
  text-decoration: none;
  color: #2D2300;
  margin-left: 30px;
}
.details_phone {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}
.details_link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin: 20px 0;
}
.details_flow a, .details_contact a {
  color: #2D2300;
  text-decoration: none;
  margin-left: 10px;
}
.details_flow {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #B1D380;
  padding: 10px 20px;
  border-radius: 50px;
}
.frow_white {
  width: 64px;
  height: 64px;
}
.details_contact {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #B1D380;
  padding: 10px 20px;
  border-radius: 50px;
}
.details_contact {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 10px; 
  background-color: #B1D380;
}
.check_list {
  font-size: 22px;
	background-color: #B1D380;
	margin: 0 auto 100px;
	padding: 22px 40px;
	text-align: center;
	color: white;
	border: none;
	border-radius: 32px;
	cursor: pointer;
	width: 380px;
	max-width: 68%;
  }
.check_list a {
  color: #fff;
  text-decoration: none;
}
.staff_inner {
	display: flex;
    justify-content: center;
    align-items: center;
/*   position: relative;
  height: 310px; */
  margin: 82px auto;
}
.staff_box {
/*   position: absolute;
  top: 8px;
  left: 30px; */
  width: 49%;
  height: auto;
  background-color: #F5A94E;
  z-index: 1;
  box-shadow: 0px 0px 30px 30px #F5A94E;
	padding: 5px 20px 20px 5px;
}
.staff_img {
/*   position: absolute;
  top: 0;
  right: 0; */
  width: 50%;
/*   height: 100%; */
  z-index: 2;
}
.staff_title {
  font-size: 22px;
  font-weight: bold;
  margin: 20px auto;
  text-align: center;
  color: #fff;
}
.staff_message {
  font-size: 16px;
  color: #fff;
  width: 87%;
  margin: 50px auto;
}
.staff_link {
  font-size: 22px;
  margin: 30px auto;
  text-align: center;
  color: #fba717;
  background-color: #ffffff;
  padding: 10px 20px;
  border-radius: 50px;
  width: 40%;
}
.staff_link a {
  color: #fba717;
  text-decoration: none;
}
.recruit {
  	font-size: 22px;
	background-color: #F5A94E;
	margin: 100px auto 70px;
	padding: 15px 40px;
	text-align: center;
	color: white;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	width: 300px;
	max-width: 68%;
}
.application_form {
	font-size: 22px;
	background-color: #F5A94E;
	margin: 10px auto 70px;
	padding: 15px 40px;
	text-align: center;
	color: white;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	width: 300px;
	max-width: 68%;
}
.recruit a, .application_form a {
  color: #fff;
  text-decoration: none;
}
.erea_box {
  width: 80%;
  background-color: #FCEBD5;
  margin: 0 auto;
  padding: 20px 0 20px 20px;
}
.erea_inner {
  position: relative;
  border: 3px dashed #f6ae59;
  width: 80%;
  margin: 100px auto;
  padding: 40px 0;
  border-radius: 10px;
}
.erea_map {
  position: absolute;
  top: -50%;
  right: -34%;
  z-index: 2;
}
img.map_img {
  width: 36%;
  height: auto;
  border-radius: 10px;
}

#access, #contact_link {
  max-width: 1100px;
  margin: 0 auto;
}
section#notice {
  margin: 100px auto;
}
.notice_left {
  width: 40%;
}
.notice_right {
  width: 50%;
}
.notice_h1_title {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 10px;
}
.notice_h1_img {
  width: 90px;
  height: 90px;
}
.notice_link a {
text-decoration: none;
color: #ffffff;
font-size: 20px;
background-color: #f6ae59;
padding: 5px 20px;
border-radius: 50px;
margin-left: 20px;
}
.notice_inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.news-list li {
  list-style: none;
  padding: 5px 10px;
  border-bottom: 3px dotted #f6ae59;
  margin: 5px;
  line-height: 3;
}
a.news-item {
  color: #2D2300;
  text-decoration-line: none;
}
span.news-date {
  font-size: 20px;
  margin-right: 60px;
}
a.news-item {
  color: #2D2300;
  text-decoration-line: none;
  font-size: 20px;
}
/* お問い合わせ */
p.contact_message {
  font-size: 20px;
  text-align: center;
}
p.note {
    margin: 16px auto;
    text-align: center;
}
.contact-card-container{
	display: flex;
	flex-wrap: wrap;           /* 2列を折り返す */
	gap: 180px;                 /* カード間のスペース */
	justify-content: center; /* カードの間隔 */
	padding: 50px;
	border-radius: 10px;
}

.contact-card{
	width: 30%;
	background-color: #F5F5F5;  /* コンテナの背景色 */
	padding: 40px;
	border-radius: 6px;
	text-align:center;
}

/* 電話 */
.ccontact-card-tel-title{
	margin-bottom: 10px;
}

.contact-tel,
.contact-mail{
	display: flex;
	align-items: center;          /* 縦中央揃え */
	justify-content: center;      /* 横中央揃え*/
}
.contact-tel{
	margin-top: 20px;
	margin-bottom: 20px;
}
.contact-tel .tel {
  color:#2D2300;
  text-decoration: none;
}
.contact-tel img{
	width: 15%;
	margin-right: 20px;
}

.tel{
	font-size: 28px;
}

/* メール */
.contact-card-mail-title{
	margin-bottom: 30px;
}

.mail-button{
	padding: 15px 20px;
	border: 1px solid #707070;
	font-weight: bold;
	border-radius: 20px;
	text-decoration: none;
	background-color: #fff;
	color: #222;
	font-size: 16px;
	font-family: sans-serif;
	cursor: pointer;
	width: 200px;               /* 任意の固定幅。autoなら文字に合わせて伸びる */
	max-width: 90%; 
  }          

.access_inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  margin: 50px auto;
}
.access_amoi h3, .add {
  margin-bottom: 20px;
}
.work {
  margin-bottom: 10px;
}
.access_list li {
  list-style: none;
}

footer {
  max-width: 1100px;
  margin: 0 auto;
  background-color: #F6F69D;
  padding: 10px 5px;
}
.footer_mrnu {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.footer_logo {
  width: 190px;
  height: auto;
}
.menu_single {
  list-style: none;
  font-size: 14px;
}
.menu_single a {
  text-decoration: none;
  color: #2D2300;
  margin-left: 10px;
}
.footer_mrnu li+li {
  border-left: 1px solid #2D2300;
}
footer li.menu_single.second_menu:after {
content: '';
display: inline-block;
width: 6px;
height: 6px;
margin: 0 0 3px 7px;
border-right: 1px solid #2D2300;
border-bottom: 1px solid #2D2300;
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
}
footer ul.menu_second-level {
  height: 36px;
  display: none;
}
footer ul.menu_second-level li {
  list-style: none;
  padding-bottom: 5px;
}
footer ul.menu_second-level li a {
  text-decoration: none;
  color: #2D2300;
  padding: 10px;
  border: none;
  background-color: #f3eeee52
}
footer li .second_menu {
  position: relative;
}
footer li .second_menu ul.menu_second-level li {
  position: absolute;
  top: 40px;
  width: 100%;
  -webkit-transition: all .2s ease;
  transition: all .2s ease;
}
footer ul.menu_second-level {
  visibility: hidden;
  opacity: 0;
  z-index: 1;
  padding: 0;
}
footer li.menu_single.second_menu:hover ul.menu_second-level {
  top: 50px;
  visibility: visible;
  opacity: 1;
  display: block;
}
img.footer_insta {
  width: 52px;
}
.footer_copy {
  font-size: 12px;
  text-align: center;
}

/* single.php */
#news_single {
  background-color: #FBF6EB;
  padding: 20px 0 20px 0;
  max-width: 1100px;
  margin: 0 auto;
}
.entry {
  padding: 20px;
  width: 90%;
  margin: 50px auto 30px auto;
  background-color: #fff;
  border-radius: 20px;
}
.entry-item {
  margin: 10px 0;
}
.entry-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}
.entry-content img {
  width: 180px;
  height: auto;
}
.entry-content p {
  width: 60%;
}
.news_back {
  text-align: center;
  margin: 10px;
}
.news_back a {
  text-decoration: none;
  color: #ffffff;
  font-size: 20px;
  background-color: #f6ae59;
  padding: 5px 20px;
  border-radius: 50px;
}
/* single.phpここまで */
/* archive.php */
main#archive_main {
  background-color: #FBF6EB;
  padding: 30px 0;
	margin-top: 0;
}
#archive_main h1 {
	text-align: center;
}
article {
  width: 90%;
  margin: 20px auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 20px;
}
article  h2 a {
  text-decoration: none;
  color: #2D2300;
  font-size: 20px;
}
article h2 {
  margin: 10px 0;
}
.entry-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}
.entry-content img {
  width: 180px;
  height: auto;
}
.entry-content p {
  width: 60%;
}
.news_back {
  text-align: center;
  margin: 10px;
}


.entry-inner {
  display: flex;
  justify-content: center;
  gap: 40px;
}
/* pagenav */
div.wp-pagenavi {
    text-align: center;
}
span.pages {
    display: none;
}
a.page.smaller {
    margin-right: 10px
}
a.first, a.last {
    color: #2D2300;
}
@media (min-width: 768px) {
  a[href^="tel:"] {
      pointer-events: none
      cursor: default;
  }
  }

  @media only screen and (max-width: 768px) {

    .sp_only {
      display: block;
    }
    .pc_only {
      display: none;
    }
    .nav {
      position: fixed;
      right: -320px; /* 右から出てくる */
      top: 0;
      width: 300px; /* スマホに収まるサイズ */
      height: 100vh;
      padding-top: 60px;
      background-color: #fff;
      transition: all .6s;
      z-index: 200;
      overflow-y: auto; /* メニューが多くなったらスクロールできるように */
    }
    .hamburger {
      position: absolute;
      right: 20px;
      top: 8px;
      width: 40px; /* クリックしやすい幅 */
      height: 40px; /* クリックしやすい高さ */
      cursor: pointer;
      z-index: 300;
    }
    .nav_list {
      display: block;
      margin: 0;
      padding: 0;
      list-style: none;
    }
    .nav_item {
      text-align: center;
      padding: 0 14px;
    }
    .nav_item a {
      display: block;
      padding: 8px 0;
      border-bottom: 1px solid #eee;
      text-decoration: none;
      color: #333;
    }
    nav > ul > li > a > span > img {
      top: 0;
    }
    img.icon-home, img.icon-service, img.icon-flow, img.icon-campany, img.icon-nurse, img.icon-resume, img.icon-mail {
      left: 40px;
    }
    .nav_item a:hover {
      background-color: #eee;
    }
    .hamburger_border {
      position: absolute;
      left: 11px;
      width: 24px;
      height: 2px;
      background-color: #333;
      transition: all .6s;
    }
    .hamburger_border_top {
      top: 14px;
    }
    .hamburger_border_center {
      top: 20px;
    }
    .hamburger_border_bottom {
      top: 26px;
    }
    .black_bg {
      position: fixed;
      left: 0;
      top: 0;
      width: 100vw;
      height: 100vh;
      z-index: 100;
      background-color: #333;
      opacity: 0;
      visibility: hidden;
      transition: all .6s;
      cursor: pointer;
    }
  
    /* 表示された時用のCSS */
    .nav-open .nav {
      right: 0;
    }
    .nav-open .black_bg {
      opacity: .8;
      visibility: visible;
    }
    .nav-open .hamburger_border_top {
      transform: rotate(45deg);
      top: 20px;
    }
    .nav-open .hamburger_border_center {
      width: 0;
      left: 50%;
    }
    .nav-open .hamburger_border_bottom {
      transform: rotate(-45deg);
      top: 20px;
    }
    .h1_title {
      width: 70px;
      height: 70px;
    }
    .amoi_titletext {
      font-size: 22px;
      font-weight: bold;
    }
	  .medical {
    	display: block;
	  }
	  .medical_img {
    	width: 100%;
	  }
	  .medical_text {
    	width: 76%;
		  margin: 50px auto;
      padding: 0;
	  }
    .medical_title {
      font-size: 16px;
      margin: 10px auto 20px;
    }
    .medical_message {
      font-size: 14px;
    }
    .social_worker_title {
      font-size: 15px;
    }
    .text_orange {
      font-size: 16px;
    }
    img.phone_img {
      width: 34px;
    }
    a.phone_number {
    font-size: 30px;
    }
    .details_link {
      display: block;
    }
    .check_list {
      font-size: 14px;
    }
	 .staff_inner {
		display: block;
		margin: 0 auto;
	  }
	  .staff_box {
    	width: 80%;
		  box-shadow: 0px 0px 30px 30px #F5A94E;
    	padding: 5px 20px 20px 5px;
      margin: 0 auto;
	  }
    .staff_title {
      font-size: 15px;
    }
	.staff_img {
    	width: 100%;
		  margin-top: 42px;
	  }
    .staff_message {
      font-size: 14px;
      margin: 10px auto;
    }
    .staff_link {
      font-size: 14px;
    }
    .recruit, .application_form {
      font-size: 18px;
    }
    .erea_title {
      font-size: 18x;
    }
    .erea_inner {
      margin: 0 auto 50px auto;
    }

    .contact-card {
      width: 90%;  /* スマホでは1列にする */
    }
    .details_flow {
      padding: 10px 0px;
    }
    .details_flow a, .details_contact a {
      font-size: 13px;
    }
    .notice_inner {
      display: block;
      margin: 0 auto;
    }
    .notice_left {
      width: 90%;
      margin: 0 auto;
    }
    .notice_right {
      width: 90%;
      margin: 0 auto;
    }
    .notice_h1_title {
      font-size: 18px;
      justify-content: center;
    }
    .notice_link {
      display: block;
      text-align: center;
      margin-bottom: 20px;
    }
    p.notice_message {
      font-size: 13px;
    }
    p.contact_message {
      font-size: 13px;
      width: 80%;
      margin: 0 auto;
    }
    .news-list li {
      margin: 5px auto;
    }
    span.news-date {
      display: block;
    }
    .contact-card-container {
      gap: 30px;   /* スマホでのスペースを調整 */
      padding: 20px;
      width: 86%;
      margin: 0 auto;
    }
    
    .contact-tel img {
      width: 25%; /* アイコンをやや大きくして見やすく */
      margin-right: 10px;
    }
    
    .tel {
      font-size: 22px;
    }
    
    .mail-button {
      width: auto;       /* 自動調整（または90%でもOK） */
      font-size: 14px;
      padding: 12px 16px;
    }
    iframe {
      margin-bottom: 20px;
  }
  .footer_mrnu {
    display: block;
    margin: 0 auto;
    width: 80%;
  }
  .menu_single {
    margin-bottom: 5px;
  }
  .footer_mrnu li+li {
    border-left: none;
}
  .footer_copy {
    font-size: 10px;
  }
}
/* sp */
  
  /* @media only screen and (min-width: 769px) {
    .header_inner{
      max-width: 980px;
      width: 100%;
      padding: 15px 30px;
      margin-left: auto;
      margin-right: auto;
    }
    .logo{
      padding: 12px 30px
    }
    .nav_list{
      text-align: right;
    }
    .nav_list li{
      display: inline-block;
      text-align: right;
      padding-left: 20px;
    }
    .nav_list li a{
      color: #fff;
      font-weight: 600;
    }
  } */