
/*----- firstview -----*/
.f {
  position: relative;
  display: block;
  margin: 50px auto 0;
  width: 100%;
  height: 220px;
  background-image: url('img/mw.jpg');
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  overflow: hidden;
}

.f img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
}

@media screen and (min-width:560px) {
.f {
  height: 240px;
}

.f img {
  width: 165px;
}
}/*-- 560px --*/

@media screen and (min-width:760px) {
.f {
  height: 250px;
}

.f img {
  width: 175px;
}
}/*-- 760px --*/

@media screen and (min-width:960px) {
.f {
  margin-top: 110px;
  height: 280px;
}

.f img {
  width: 180px;
}
}/*-- 960px --*/

@media screen and (min-width:1060px) {
.f {
  height: 300px;
}
}/*-- 1060px --*/

@media screen and (min-width:1160px) {
.f {
  height: 320px;
}

.f img {
  width: 200px;
}
}/*-- 1160px --*/

@media screen and (min-width:1260px) {
.f {
  height: 330px;
}
}/*-- 1260px --*/

@media screen and (min-width:1360px) {
.f {
  height: 340px;
}

.f img {
  width: 210px;
}
}/*-- 1360px --*/

@media screen and (min-width:1460px) {
.f {
  height: 360px;
}

.f img {
  width: 220px;
}
}/*-- 1460px --*/

@media screen and (min-width:1560px) {
.f {
  height: 380px;
}

.f img {
  width: 230px;
}
}/*-- 1560px --*/



/*----- content -----*/
.w {
  width: 100%;
  margin-top: 70px;
  margin-bottom: 110px;
}

.w .items {
  width: 90%;
  max-width: 1350px;
  margin: 0 auto 80px;
  display: block;
}

.w .item {
  width: 100%;
  height: 180px;
  margin-bottom: 20px;
  overflow: hidden;
}

.w .item a {
  width: 100%;
  height: 100%;
  position: relative;
}

.w .item:hover .img {
  transform: scale(1.1);
}

.w .item .img {
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: 0.4s;
  z-index: -1;
  filter: brightness(80%);
}

.w .item .name {
  position: absolute;
  bottom: 15px;
  left: 15px;
  padding-right: 15px;
  color: rgb(255,255,255);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4em;
}

.w .item .cat {
  position: absolute;
  top: 0;
  right: 0;
  padding: 7px 20px;
  color: rgb(255,255,255);
  background-color: rgba(255,120,40,0.8);
  font-size: 14px;
  font-weight: 700;
  line-height: 1em;
  letter-spacing: 1px;
}

.w div.wp-pagenavi {
  display: block;
  width: 100%;
  margin: 30px auto 0 ;
  text-align: center;
}

.w div.wp-pagenavi span {
  background-color:rgb(255,120,40);
  color: rgb(255,255,255);
  border: none;
  display: inline-block;
  box-sizing: border-box;
  font-size: 18px;
  line-height: 25px;
  font-weight: bold;
  width: 30px;
  height: 30px;
}

.w div.wp-pagenavi a {
  border:solid 1px rgb(255,120,40);
  color: rgb(255,120,40);
  display: inline-block;
  box-sizing: border-box;
  font-size: 18px;
  line-height: 25px;
  font-weight: bold;
  width: 30px;
  height: 30px;
}

@media screen and (min-width:460px) {
.w {
  margin-bottom: 120px;
}

.w .items {
  width: 85%;
}

.w .item .name {
  font-size: 15px;
}
}/*-- 460px --*/

@media screen and (min-width:560px) {
.w {
  margin-top: 90px;
}

.w .items {
  width: 80%;
}

.w .item {
  height: 220px;
  margin-bottom: 30px;
}

.w .item .name {
  left: 30px;
  padding-right: 30px;
  font-size: 16px;
}

.w .item .cat {
  padding: 10px 30px;
  font-size: 15px;
}
}/*-- 560px --*/

@media screen and (min-width:660px) {
.w .items {
  width: 75%;
}

.w .item {
  height: 240px;
  margin-bottom: 35px;
}

.w .item .name {
  bottom: 20px;
  font-size: 18px;
}
.w .item .cat {
  font-size: 16px;
  letter-spacing: 2px;
}
}/*-- 660px --*/

@media screen and (min-width:760px) {
.w .items {
  margin-bottom: 50px;
  width: 90%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.w .item {
  width: 48%;
  height: 220px;
  margin-bottom: 30px;
}

.w .item .name {
  left: 20px;
  bottom: 15px;
  padding-right: 20px;
  font-size: 15px;
}

.w .item .cat {
  padding: 8px 25px;
  font-size: 15px;
}
}/*-- 760px --*/

@media screen and (min-width:860px) {
.w .items {
  width: 85%;
}
}/*-- 860px --*/

@media screen and (min-width:960px) {
.w {
  margin-top: 100px;
}

.w .item {
  height: 250px;
}

.w .item .name {
  left: 30px;
  bottom: 20px;
  padding-right: 30px;
  font-size: 17px;
}

.w .item .cat {
  padding: 10px 30px;
  font-size: 16px;
}
}/*-- 960px --*/

@media screen and (min-width:1060px) {
.w .items {
  width: 90%;
}

.w .item {
  height: 240px;
  width: 32%;
}

.w .item .name {
  left: 20px;
  padding-right: 20px;
  bottom: 15px;
  font-size: 16px;
}

.w .item .cat {
  padding: 8px 25px;
  font-size: 16px;
}
}/*-- 1060px --*/

@media screen and (min-width:1160px) {
.w {
  margin-top: 110px;
  margin-bottom: 150px;
}

.w .item .name {
  font-size: 17px;
}
}/*-- 1160px --*/

@media screen and (min-width:1260px) {
.w .items {
  margin-bottom: 75px;
}

.w .item {
  height: 260px;
}

.w .item .name {
  left: 25px;
  padding-right: 25px;
  bottom: 20px;
}

.w .item .cat {
  padding: 10px 30px;
  font-size: 17px;
}
}/*-- 1260px --*/

@media screen and (min-width:1360px) {
.w {
  margin-top: 120px;
}

.w .items {
  width: 85%;
}

.w .item {
  height: 280px;
  margin-bottom: 40px;
}

.w .item .name {
  left: 30px;
  padding-right: 30px;
  font-size: 18px;
}

.w .item .cat {
  font-size: 18px;
}
}/*-- 1360px --*/

@media screen and (min-width:1560px) {
.w {
  margin-top: 140px;
  margin-bottom: 160px;
}

.w .items {
  margin-bottom: 80px;
}

.w .item {
  height: 300px;
}

.w .item .name {
  font-size: 19px;
}

.w .item .cat {
  padding: 10px 35px;
  font-size: 19px;
}
}/*-- 1560px --*/


/*----- banner -----*/
.b {
  margin: 0 auto;
  padding-top: 60px;
  padding-bottom: 60px;
  width: 100%;
  background-image: url('img/bb1.jpg');
  background-repeat: no-repeat;
  background-position: 50% 70%;
  background-size: cover;
}

.b .ttl {
  margin-bottom: 60px;
  text-align: center;
  color: rgb(255,255,255);
}

.b .ttl h2 {
  margin-bottom: 10px;
  font-size: 38px;
  font-weight: 700;
  line-height: 1em;
  letter-spacing: 5px;
}

.b .ttl p {
  font-size: 15px;
  font-weight: 700;
  line-height: 1em;
  letter-spacing: 2px;
}

.b .flex {
  display: block;
  width: 100%;
}

.b .tel {
  width: 100%;
  color: rgb(255,255,255);
}

.b .tel p {
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 1px;
}

.b .tel .inner {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.b .tel .inner .icon {
  width: 30px;
  margin-right: 15px;
}

.b .tel .inner .num {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 2px;
}

.b .tel .inner .num a {
  color: rgb(255,255,255);
}

.b .mail {
  margin-top: 50px;
  width: 100%;
  color: rgb(255,255,255);
}

.b .mail p {
  margin-bottom: 15px;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 1px;
}

.b .mail .inner {
  margin: 0 auto;
  width: 280px;
  height: 55px;
  background-color: rgb(50,210,50);
  border-radius: 7px;
  transition: 0.5s;
}

.b .mail .inner:hover {
  background-color: rgb(70,230,70);
}

.b .mail .inner a {
  width: 100%;
  height: 100%;
  border-radius: 7px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.b .mail .inner .icon {
  width: 35px;
  margin-right: 15px;
}

.b .mail .inner .text {
  font-size: 17px;
  font-weight: 700;
  color: rgb(255,255,255);
  letter-spacing: 2px;
}

@media screen and (min-width:560px) {
.b {
  padding-top: 70px;
  padding-bottom: 70px;
}

.b .ttl h2 {
  font-size: 44px;
}
}/*-- 560px --*/

@media screen and (min-width:760px) {
.b {
  padding-top: 80px;
  padding-bottom: 80px;
}

.b .ttl {
  margin-bottom: 55px;
}

.b .ttl h2 {
  font-size: 46px;
}

.b .ttl p {
  font-size: 16px;
}

.b .flex {
  width: 80%;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.b .tel {
  margin-right: 2%;
}

.b .tel p {
  margin-bottom: 20px;
}

.b .mail {
  margin-top: 0;
  margin-left: 2%;
}
}/*-- 760px --*/

@media screen and (min-width:860px) {
.b .tel p {
  letter-spacing: 2px;
}

.b .tel .inner .icon {
  margin-right: 15px;
}

.b .tel .inner .num {
  font-size: 34px;
  letter-spacing: 2px;
}

.b .mail p {
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.b .mail .inner {
  width: 300px;
}

.b .mail .inner .icon {
  margin-right: 20px;
}
}/*-- 860px --*/

@media screen and (min-width:1060px) {
.b {
  padding-top: 90px;
  padding-bottom: 90px;
  background-image: url('img/bb2.jpg');
}

.b .ttl {
  margin-bottom: 60px;
}

.b .ttl h2 {
  margin-bottom: 12px;
  font-size: 52px;
  letter-spacing: 7px;
}

.b .ttl p {
  font-size: 18px;
}

.b .flex {
  max-width: 900px;
}

.b .tel {
  margin-right: 5%;
}

.b .mail {
  margin-left: 5%;
}

.b .tel p {
  margin-bottom: 15px;
  font-size: 18px;
}

.b .tel .inner .icon {
  width: 40px;
  margin-right: 20px;
}

.b .tel .inner .num {
  font-size: 38px;
  letter-spacing: 2px;
}

.b .mail p {
  margin-bottom: 15px;
  font-size: 18px;
}

.b .mail .inner {
  width: 340px;
  height: 60px;
  border-radius: 10px;
}

.b .mail .inner a {
  border-radius: 10px;
}

.b .mail .inner .icon {
  width: 40px;
  margin-right: 20px;
}

.b .mail .inner .text {
  font-size: 20px;
  line-height: 60px;
  letter-spacing: 2px;
}
}/*-- 1060px --*/
