@charset "UTF-8";
/*
Theme Name: Shinko Automobile
Theme URI: https://www.shinko-jidosha.co.jp/
Description: 親興自動車 サイトテーマ
Version: 1.0
*/

/* css reset
---------------------------------------------*/

/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
	display:block;
}

/*
nav ul {
    list-style:none;
}
*/

ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}

/* end css reset
---------------------------------------------*/


/* 基本設定
---------------------------------------------*/

html {

}


body {
  /*animation-name: anim-fadein;
  animation-duration: 1s;
  animation-fill-mode:forwards;*/
  font-family: var(--notosans);
  color: #000000;
}

p {
  /*font-size: 1.4rem;*/
  line-height: 1.6;
  margin-bottom: 10px;
  text-align: justify;
}

a {
  /*color: #835b43;*/
  color: #000;
  text-decoration: underline;
  transition: .3s;
}

a:hover {
  opacity: .8;
  text-decoration: none;
}

img {
    max-width: 100%;
  }

/* 変数 */
:root {
      /*フォントサイズに関する参考サイト：https://type-scale.com*/
      --f1: 2.44em; /* 39.04px */
      --f2: 1.95em; /* 31.2px */
      --f3: 1.56em; /* 24.96px */
      --f4: 1.25em; /* 20px */
      --f5: 1em;    /* 16px */
      --f6: 0.8em;  /* 12.8px */

  --basecolor: #009fde; /* 基本色 */
  --secondcolor: #13ae67;
  --thirdcolor: #003d7e;
  --gradient: linear-gradient( 0deg,  rgba(30,214,99,1) 0%, rgba(51,213,219,1) 90% ); /* 参考サイト：https://gradienthunt.com */

  /* フォントの指定 */
  --fontmincho: 'Hiragino Mincho', serif;
  --fontgothic: "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  --notosans: "Noto Sans JP", sans-serif;

}

/* アニメーション */
/* アニメーション */
@keyframes anim-fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* fadeIn */
.fadeIn {
  animation-name: anim-fadein;
  animation-duration: .8s;
  animation-fill-mode: forwards;
  opacity: 0;
}

/* fadeUp */
.fadeInUp {
  animation-name: fadeUpAnime;
  animation-duration: .8s;
  animation-fill-mode: forwards;
  opacity: 0;
}
/* / アニメーション */

/* ボタン */
.btn001 a {
  color: var(--basecolor);
  border: solid 2px var(--basecolor);
  text-align: center;
  text-decoration: none;
  font-size: 1em;
  padding: 1em 0;
  display: block;
}

.btn002 a {
  color: #fff;
  border: solid 2px #fff;
  text-align: center;
  text-decoration: none;
  font-size: 1em;
  padding: 1em 0;
  display: block;
}

.btn003 a {
  color: #fff;
  border: solid 2px var(--basecolor);
  background-color: var(--basecolor);
  text-align: center;
  text-decoration: none;
  font-size: 1em;
  padding: 1em 0;
  display: block;
  border-radius: 50px;
}

.btn--small {
  width: 180px;
}

.btn--info {
  margin: 20px auto 40px;
}

/* / ボタン */


/* 投稿部分とか */
.alignright {
  float: right;
}
/* / 投稿部分とか */



/* end 基本設定
---------------------------------------------*/


/* レイアウト
---------------------------------------------*/

/* ヘッダー
--------------------------------------*/

.header {
  display: flex;
  justify-content: space-between;
  width: 90%;
  min-width: 1000px;
  padding: 20px 2vw 0;
  margin: auto;
}

.header__logo {
  width: 40%;
  max-width: 400px;
  padding-top: .5em;
}

.header__right {
  display: flex;
  justify-content: flex-end;
}

.header__tel {
  width: 250px;
  padding: .7em 1em 0 0;
}

.header__contact {
  width: 150px;
  padding-right: .8em;
}

.header__contact a {
  display: block;
  text-align: center;
  text-decoration: none;
  font-size: var(--f6);
  color: #fff;
  background: var(--basecolor);
  width: 100%;
  padding: 1.5em 0;
}

/* ハンバーガメニュー */
.nav__global--btn {
  display : block;
  position: relative;
  /*position: fixed;
  z-index : 3;
  right : 20px;
  top   : 10px;*/
  width : 50px;
  height: 45px;
  cursor: pointer;
  text-align: center;
  z-index: 150;
  margin-top: 0;
}
.nav__global--btn span {
  display : block;
  position: absolute;
  width   : 40px;
  height  : 4px;
  left    : 5px;
  background : var(--basecolor);
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition   : 0.3s ease-in-out;
  transition        : 0.3s ease-in-out;
}
.nav__global--btn span:nth-child(1) {
  top: 10px;
}
.nav__global--btn span:nth-child(2) {
  top: 22px;
}
.nav__global--btn span:nth-child(3) {
  top: 34px;
}


/* スマホメニューを開いてる時のボタン */
.nav__global--btn.active span:nth-child(1) {
  top : 16px;
  left: 6px;
  background: #fff;
  -webkit-transform: rotate(-45deg);
  -moz-transform   : rotate(-45deg);
  transform        : rotate(-45deg);
}

.nav__global--btn.active span:nth-child(2),
.nav__global--btn.active span:nth-child(3) {
  top: 16px;
  background: #fff;
  -webkit-transform: rotate(45deg);
  -moz-transform   : rotate(45deg);
  transform        : rotate(45deg);
}

.nav__global--btn p {
  color: var(--basecolor);
  border-bottom: solid 2px #906135;
  line-height: 1.2;
  margin: 0;
  padding: 0;
}

/* メニュー背景 */
.nav__global {
  position: fixed;
  z-index : 2;
  top  : 0;
  left : 0;
  color: #fff;
  background: var(--basecolor);
  text-align: center;
  width: 100%;
  height: 100vh;
  padding-top: .5em;
  opacity: 0;
  visibility: hidden;
  /*display: none;
  transform: translateX(100%);
  transform: scaleX(0%);
  transform-origin: right top;
  transition: all 0.6s;*/
  z-index: 100;
  overflow-x: hidden;
  transition: .5s;
}

/* クリックでjQueryで追加・削除 */
.nav__global.active {
  opacity: 1;
  visibility: visible;
  /*transform: translateX(0%);
  transform: scaleX(100%);*/
}

.nav__upper {
  width: 80%;
  margin: 5vh auto 2vh;
}

.nav__upper ul {
  display: flex;
  padding-top: 10vh;
  justify-content: space-between;
  flex-wrap: wrap;
}

.nav__upper ul li {
  width: 45%;
  margin-right: 5%;
  text-align: left;
}

.nav__upper ul li:first-child img {
  width: 300px;
  padding-top: 1em;
}

.nav__upper ul li:nth-child(2) img {
  width: 300px;
}

.nav__bottom {
  width: 80%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 10vh auto 40px;
}

.nav__bottom ul {
  width: 45%;
  color: #fff;
  font-size: var(--f4);
}

.nav__bottom li a {
  color: #fff;
  text-decoration: none;
}

.nav__bottom li {
  margin-bottom: 1em;
  text-align: left;
  margin-bottom: 2em;
}

/* / メニュー*/


/* end ヘッダー
--------------------------------------*/


/* トップページ
--------------------------------------*/
.main-visual-wrap {
  width: 90%;
  min-width: 1000px;
  margin: 0 auto 1.5em;
  position: relative;
}

.main-visual {
  width: 100%;
  position: relative;
  z-index: 1;
}

.main-visual img {
  object-fit: cover;
  width: 100%;
}

.main-visual-wrap,
.main-visual,
.main-visual img {
  height: 80vh;
}

.slides {
  height: 80vh;
}

.main-message {
  position: absolute;
  z-index: 5;
  top: 60px;
  left: 60px;
  font-size: var(--f1);
  color: #fff;
  line-height: 1.6;
  font-feature-settings: "palt";
  letter-spacing: .05em;
  text-shadow: 0 0 10px #999999;
}

@keyframes btn__top-recruit-anime {
    0% {
      background: var(--secondcolor);
    }
    33% {
      background: #1081ae;
    }
    66% {
      background: #96c613;
    }
    100% {
      background: #13ae67;
    }
}

.btn__top-recruit {
  position: absolute;
  z-index: 7;
  top: 60px;
  right: 0;
  width: 300px;
}

.btn__top-recruit a {
  display: block;
  background: var(--secondcolor);
  text-decoration: none;
  text-align: center;
  line-height: 1.5;
  font-size: var(--f4);
  color: #fff;
  padding: .7em 0;
  animation-name: btn__top-recruit-anime;
  animation-duration: 10s;
  animation-iteration-count: infinite;
}

.btn__top-recruit a span {
  display: block;
  color: #ff0;
  font-weight: bold;
}

.btn__top-recruit a:hover {
  opacity: 1;
  background: #3bbd6b;
}

.top-news-list-wrap {
  display: flex;
  width: 80%;
  margin: 20px auto;
}

.top-news-list-ttl {
  width: 160px;
  vertical-align: middle;
  color: var(--basecolor);
  border: solid 2px var(--basecolor);
  text-align: center;
  font-size: 1em;
  line-height: 1.4;
  padding: 1em 0 1em;
  display: grid;
  align-items: center;
}

.top-news-list {
  margin: 1em 0 0 1em;
  line-height: 1.2;
  width: 100%;
}

.top-news-list li {
  margin-bottom: 1em;
  padding-bottom: .5em;
  border-bottom: solid 1px #c1c1c1;
}

.top-main-wrap {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

.top-contents-box {
  clear: both;
  overflow: hidden;
  width: 100%;
  margin: 60px auto;
}

.top-contents__service {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.top-contents__service--left {
  width: 55%;
}

.top-contents__service--right {
  width: 45%;
}

.is-layout-constrained > .top-h-service:where(:not(.alignleft):not(.alignright):not(.alignfull)),
.is-layout-constrained > .top-h-message:where(:not(.alignleft):not(.alignright):not(.alignfull)),
.is-layout-constrained > .top-h-philosophy:where(:not(.alignleft):not(.alignright):not(.alignfull)),
.is-layout-constrained > .top-h-company:where(:not(.alignleft):not(.alignright):not(.alignfull)),
.is-layout-constrained > .top-h-access:where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.top-h-service {
  width: 450px;
}

.service-island-box {
  position: relative;
  margin-top: 40px;
}

.service-island-box .awajishima {
  width: 80%;
  margin: auto 0 0 5%;
  position: relative;
}

.service-circle {
  position: absolute;
  display: block;
  width: 100px;
  height: 100px;
  font-size: var(--f5);
  font-weight: bold;
  text-align: center;
  line-height: 1.1;
  text-decoration: none;
  color: var(--basecolor);
  border: solid 2px var(--basecolor);
  border-radius: 50%;
  background: rgba(255, 255, 255, .7);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: .7s;
}

.service-circle span {
  font-size: small;
}

.service-circle--sell {
  top: 15%;
  left: 20%;
}

.service-circle--inspection {
  top: 45%;
  left: 2%;
}

.service-circle--buy {
  top: 12%;
  right: 10%;
}

.service-circle--maintenance {
  top: 42%;
  right: 35%;
}

.service-circle--active,
.service-circle:hover {
  background: rgba(9, 185, 126, 0.9);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0px 0px 5px 0 #777777;
  border-color: rgb(9, 185, 126);
}

.top-contents__service--right h4 {
  font-size: 1.8em;
  color: var(--basecolor);
  line-height: 1.4;
  margin-bottom: 1.5em;
  margin-top: 1em;
  box-shadow: 1px ;
}

.top-contents__service--right p {
  font-size: var(--f5);
  line-height: 1.8;
  margin-bottom: 1.5em;
}

.top-contents-box h3 {
  clear: both;
  font-size: var(--f3);
  color: #166396;
  margin: 40px 0 20px;
}

.list--type {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.list--type li {
  width: 23%;
  color: #fff;
  text-align: center;
  padding: 1em 0;
  border-radius: 8px;
  background: #2d52a2;
  margin-bottom: 1em;
}

.list--type li:nth-child(even) {
  background: #5b77b6;
}

.top-h-message {
  width: 450px;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.top-greeting {
  background: #ddedf9;
  width: 80%;
  padding: 5% 5% 3%;
  margin: 20px auto;
}

.president-name {
  text-align: right;
  font-size: var(--f4);
}

.president-name span {
  font-size: smaller;
}

.top-h-philosophy {
  width: 470px;
}

.top-philosophy {
  width: 80%;
  margin: 20px auto;
}

.top-philosophy dt {
  font-weight: bold;
  margin-bottom: .7em;
}

.top-philosophy dd {
  margin: 0 0 1.5em 3em;
  line-height: 1.8;
}

.top-h-company {
  width: 400px;
}

.company-info {
  width: 80%;
  margin: 20px auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  line-height: 1.5;
}

.company-info dt {
  width: 13%;
  font-weight: bold;
  text-align-last: justify;
}

.company-info dd {
  width: 82%;
}

.company-info dt,
.company-info dd {
  margin-bottom: 1em;
}

.top-recruit-box {
  clear: both;
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  /*background: var(--secondcolor);*/
  background: #143d7a;
  margin: 60px 0;
}

.top-recruit-image {
  width: 30%;
}

.top-recruit {
  width: 65%;
}

.top-h-recruit {
  text-align: right;
  padding: 1.5em 2em;
  display: flex;
  justify-content: flex-end;
}

.top-h-recruit h2 {
  width: 250px;
}

.top-recruit-message {
  font-size: var(--f2);
  color: #fff;
  padding: 0 0 .5em 0;
}

.top-contact-box {
  width: 80%;
  margin: 40px auto;
  display: flex;
  justify-content: space-between;
}

.top-contact-btn {
  width: 300px;
  height: 40px;
}

.top-contact-box .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.top-contact-btn a {
  display: block;
  background: var(--basecolor);
  width: 100%;
  height: 40px;
  line-height: 40px;
  color: #fff;
  font-size: var(--f4);
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  padding: 1em 2em;
}

.top-contact-btn img {
  vertical-align: middle;
}

.top-calendar-box {
  width: 90%;
  margin: 100px auto 40px;
}

.top-calendar-box img {
  width: 100%;
}

/* 営業カレンダーを横並びにする */
#top-cal.xo-event-calendar .xo-months {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    column-gap: 15px;
    row-gap: 5px;
}

.top-h-access {
  width: 400px;
  margin-bottom: 40px;
}





/* end トップページ
--------------------------------------*/


/* 下層ページ共通
--------------------------------------*/

.container-wrap {
  width: 980px;
  margin: 60px auto 60px;
}

.container-2column-wrap {
  width: 980px;
  margin: 60px auto 60px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.main-column {
  width: 67%;
}

.side-column {
  width: 26%;
}

.page-ttl {
  width: 980px;
  background-color: var(--basecolor);
  color: #fff;
  padding: .5em 0;
  margin: 60px auto 0;
  text-align: center;
  font-size: var(--f2);
}




/* end 下層ページ共通
--------------------------------------*/



/* リクルート
--------------------------------------*/
.recruit-visual-wrap {
  width: 90%;
  min-width: calc(1000px + 6%);
  margin: 0 auto;
  position: relative;
}

.recruit-visual-wrap,
.recruit-visual-wrap .main-visual,
.recruit-visual-wrap .main-visual img {
  height: 60vh;
  min-height: 500px;
}

.recruit-visual-wrap .main-visual img {
  object-position: top;
}

.recruit-message {
  position: absolute;
  bottom: 3%;
  left: 60px;
  font-size: var(--f1);
  color: #fff;
  line-height: 1.6;
  font-feature-settings: "palt";
  letter-spacing: .05em;
  z-index: 10;
}

.recruit-message img {
  width: 10em;
}

.btn__for-outside {
  position: absolute;
  bottom: 10%;
  right: 0;
  width: 230px;
  z-index: 5;
}

.btn__for-outside a {
  display: block;
  background: var(--secondcolor);
  text-decoration: none;
  text-align: center;
  line-height: 1.5;
  color: #fff;
  padding: .7em 0;
  font-size: var(--f4);
}

.btn__for-outside a span {
  display: block;
  font-size: larger;
  font-weight: bold;
}

.btn__for-outside a:hover {
  opacity: 1;
  background: #3bbd6b;
}

.recruit-main-info {
  width: 84%;
  min-width: 1000px;
  margin: 0 auto 80px;
  padding: 2em 3%;
  background-color: var(--thirdcolor);
  color: #fff;
}

.recruit-contents-box {
  width: 90%;
  max-width: 1100px;
  margin: 80px auto;
}

.recruit-contents-box h2,
.recruit-main-info h2 {
  font-size: var(--f2);
  margin-bottom: .6em;
  line-height: 1.3;
}

.recruit-contents-box p,
.recruit-main-info p {
  font-size: var(--f5);
  line-height: 1.8;
}

.recruit-contents-box h2 {
  color: var(--thirdcolor);
}

.recruit-contents-box h3 {
  font-size: var(--f3);
  margin-bottom: 1em;
  color: var(--thirdcolor);
}

.recruit-contents-box h4 {
  font-size: var(--f4);
  text-align: center;
  margin-bottom: 2em;
  padding-bottom: 1em;
  color: var(--secondcolor);
  border-bottom: solid 2px var(--secondcolor);
}

.recruit-reason-wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.recruit-reason {
  width: 31.5%;
  border: solid 2px var(--thirdcolor);
}

.recruit-reason h3 {
  text-align: center;
  margin: 1.8em 0 1.5em;
}

.recruit-reason-list {
  margin: 1.5em;
}

.recruit-reason-list li,
.wp-block-list.recruit-reason-list li {
  line-height: 1.5;
  text-indent: -1em;
  padding-left: 2em;
  padding-right: 1em;
  margin-bottom: 1em;
}

.recruit-reason-list li::before {
  content: "■";
}

.reason-list-narrow-line li,
.wp-block-list.recruit-reason-list.reason-list-narrow-line li {
  margin-bottom: .5em;
}

.interview-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 80px;
  background-color: var(--thirdcolor);
  padding: 3.5%;
}

.interview-list-staff {
  width: 31%;
}

.interview-list-staff img {
  height: 415px;
  object-fit: cover;
}

.interview-list-staff figcaption {
  font-weight: bold;
  font-size: var(--f5);
  margin-top: .5em;
}

.interview-list-staff .job {
  color: #fff;
  margin: .7em 0 0;
  line-height: 1.2;
}

.interview-list-staff .staff-name {
  color: #fff;
  font-size: 1.5em;
  margin: 0;
}

.interview-list-staff .staff-name span {
  font-size: .7em;
  padding-left: .5em;
}

.btn-read-interview {
  color: #fff;
  margin: .7em 0;
  border: solid 2px #fff;
  text-align: center;
  text-decoration: none;
  padding: .7em 0;
  display: block;
  width: 100%;
}

.job-list {
  margin-left: 4em;
}

.job-list li {
  font-size: var(--f4);
  font-weight: bold;
  margin: .7em 0;
}

.job-list li a {
  display: inline-block;
  width: 4em;
  text-align: center;
  color: #fff;
  background-color: var(--thirdcolor);
  text-decoration: none;
  padding: .2em 0;
}

.entry-btn-box {
  width: 650px;
  margin: 40px auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: var(--f4);
}

.entry-txt {
  width: 43%;
  position: relative;
  padding: 1em 0;
}

.entry-txt::after {
  position: absolute;
  top: 50%;
  right: 0;
  content: "";
  width: 25px;
  height: 25px;
  border-top: solid 1px #000;
  border-right: solid 1px #000;
  transform: rotate(45deg) translate(0, -50%);
}

.entry-btn {
  width: 50%;
}

.entry-btn a {
  display: block;
  text-align: center;
  padding: 1em 0;
  color: #fff;
  text-decoration: none;
}

.entry-entry .entry-txt {
  color: var(--thirdcolor);
}

.entry-entry .entry-btn a {
  background: var(--thirdcolor);
}

.entry-entry .entry-txt::after {
  border-top-color: var(--thirdcolor);
  border-right-color: var(--thirdcolor);
}

.entry-contact .entry-txt {
  color: var(--basecolor);
}

.entry-contact .entry-btn a {
  background: var(--basecolor);
}

.entry-contact .entry-txt::after {
  border-top-color: var(--basecolor);
  border-right-color: var(--basecolor);
}

/* end リクルート
--------------------------------------*/


/* インタビュー
--------------------------------------*/
.staff-photo {
  width: 80%;
  margin: auto;
}

.staff-interview-name {
  width: 80%;
  margin: 1em auto 3em;
  text-align: right;
}

.staff-interview-name h2 {
  color: var(--thirdcolor);
  font-size: var(--f3);
}

.staff-interview-name h2 span {
  font-size: smaller;
}

.staff-interview-name p {
  color: var(--thirdcolor);
  font-size: var(--f5);
  text-align: right;
}

.staff-interview-box {
  margin: 3em auto;
  width: 90%;
}

.staff-interview-box h3 {
  color: var(--thirdcolor);
  font-size: var(--f3);
  margin: 1.5em 0 .5em;
}

.staff-interview-box h3:first-child {
  margin: 0 0 .5em;
}

.back-to-recruit {
  display: block;
  width: 14em;
  padding: 1em 0;
  text-align: center;
  text-decoration: none;
  background: var(--thirdcolor);
  color: #fff;
  margin: 2em auto;
}

/* end インタビュー
--------------------------------------*/



/* サービス
--------------------------------------*/
.service-link-btn {
  width: 100%;
  margin: 3em 0 0;
  display: flex;
}

.service-link-btn li {
  width: 25%;
}

.service-link-btn li a {
  display: block;
  text-align: center;
  width: 99%;
  color: #fff;
  background-color: #b6b6b6;
  border-right: solid 1% #fff;
  text-decoration: none;
  padding: 1em 0;
}

.service-link-btn li:last-child a {
  width: 100%;
  border-right: none;
}

.service-link-btn li a.active {
  background-color: var(--basecolor);
}

.service-link-btn li a:hover {
  background-color: var(--thirdcolor);
  opacity: 1;
}

.main-service-visual-wrap {
  width: 100%;
  /*min-width: 1000px;*/
  margin: 0 auto 1.5em;
  position: relative;
}

.main-service-visual {
  width: 100%;
}

.main-service-visual img {
  object-fit: cover;
  width: 100%;
}

.service-ttl {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: auto;
  font-size: var(--f1);
  color: #fff;
  line-height: 1.6;
  font-feature-settings: "palt";
  letter-spacing: .05em;
  text-shadow: 0 0 10px #000;
}

.service-contents-box {
  clear: both;
  overflow: hidden;
  width: 100%;
  margin: 60px auto;
}

.service-intro-txt {
  font-size: var(--f5);
}

.service-contents-box h3 {
  font-size: var(--f2);
  font-weight: bold;
  text-align: center;
  color: white;
  background: var(--basecolor);
  padding: .3em 0;
  margin-bottom: 30px;
}

.service-feature-box {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.service-feature-image {
  width: 32%;
  height: 11em;
}

.service-feature-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.service-feature-txt {
  width: 65%;
}

.service-feature-box h4 {
  color: #036eb4;
  font-size: var(--f4);
  margin-bottom: 1em;
}

.flow-box {
  margin: 40px auto 60px;
}

.flow-box .flow {
  position: relative;
  background: #deeaf7;
  border-radius: 10px;
  padding: 2em;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 70px;
}

.flow-box .flow::after {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-15px);
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 25px solid transparent;
  border-left: 25px solid transparent;
  border-top: 30px solid #b5b5b5;
  border-bottom: 0;
}

.flow-box .flow dt {
  width: 35%;
  color: #036eb4;
  padding: .7em 0;
  font-size: var(--f4);
  font-weight: bold;
}

.flow-box .flow dt .flow-num {
  font-size: larger;
  padding-right: 2px;
}

.flow-box .flow dd {
  width: 65%;
  font-size: var(--f5);
  line-height: 1.4;
}

.service-contact {
 width: 400px;
 color: var(--basecolor);
 text-align: center;
 margin: 50px auto;
}

/* end サービス
--------------------------------------*/


/* 経営理念
--------------------------------------*/
.philosophy-logo {
  width: 50%;
  margin: 0 auto 60px;
}

.philosophy-box {
  width: 75%;
  margin: 0 auto 40px;
  padding-bottom: 50px;
  position: relative;
}

.philosophy-box::after {
  content: "";
  background-color: var(--basecolor);
  width: 80%;
  height: 3px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.philosophy-box:last-of-type::after {
  display: none;
}

.philosophy-box h2 {
  color: var(--basecolor);
  font-size: var(--f4);
  font-weight: bold;
  margin-bottom: 1em;
}

.philosophy-box h2 span {
  font-size: var(--f2);
}

.philosophy-box h3 {
  font-size: var(--f4);
  margin-bottom: .5em;
}

.philosophy-box p {
  margin-bottom: 2em;
}

/* end 経営理念
--------------------------------------*/


/* 沿革
--------------------------------------- */
.main-history-visual-wrap {
  width: 100%;
  /*min-width: 1000px;*/
  margin: 0 auto 1.5em;
  position: relative;
}

.main-history-visual {
  width: 100%;
}

.main-history-visual img {
  object-fit: cover;
  width: 100%;
}

.history-ttl {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: auto;
  font-size: var(--f1);
  width: 45%;
  opacity: .8;
  z-index: 5;
}

.history-box {
    width: 70%;
    margin: 50px auto;
}

.gengo {
    color: #b2d0ed;
    font-size: 33px;
    font-weight: bold;
    margin-bottom: 5px;
    padding: 0;
    margin-top: -50px;
    line-height: 1.2;
}

.gengo:first-child {
    margin-top: 0;
}

.history-list {
    margin: 0 0 0 1em;
    width: 100%;
}

.history-list::after {
    content: "";
    clear: both;
    display: block;
}

.history-list dt {
    float: left;
    clear: both;
    width: 100px;
    min-height: 70px;
    overflow: hidden;
    margin-bottom: 0;
}

.history-list dd {
    float: right;
    min-height: 70px;
    overflow: hidden;
    position: relative;
    padding-left: 30px;
    width: calc(100% - 135px);
    margin-bottom: 0;
}

.history-list dd::before {
    content: "";
    background: #b2d0ed;
    width: 2px;
    height: 100%;
    position: absolute;
    left: 8px;
    top: 0;
}

.history-box .history-list:first-of-type dd:first-of-type::before {
    top: 5px;
}

.history-list dd::after {
    content: "";
    background: url(./img/history-circle.svg) no-repeat;
    width: 18px;
    height: 18px;
    position: absolute;
    left: 0;
    top: 2px;
}

.history-list .year {
  color: var(--thirdcolor);
  font-size: var(--f3);
  font-weight: bold;
}

.history-list .month {
  font-weight: bold;
  text-align: right;
  width: 3em;
  margin-right: 1em;
  display: inline-block;
}

.history-list dd:last-of-type {
    min-height: 120px;
}

.history-list:last-of-type dd:last-of-type {
    min-height: 40px;
}

.history-images {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin: .7em 0 1em 6em;
    max-width: 80%;
}

.history-image {
    margin-bottom: 0;
}

.history-image2 {
    width: 110%;
}

.history-image-single {
    width: 50%;
}

.history-image p,
.history-image-single p {
    text-align: center;
    line-height: 1.2;
}

.history-images img {
    max-width: 100%;
}

/* スマホレイアウト */
@media(max-width: 640px){

    .history-list .j-year {
        display: block;
    }

    .history-images {
        margin-left: 0;
    }

    .history-image-single,
    .history-image2 {
        width: auto;
    }
}

/* end 沿革
--------------------------------------- */



/* 募集要項
--------------------------------------*/
.recruit-ttl {
  font-size: var(--f4);
  font-weight: normal;
  color: #fff;
  background-color: var(--thirdcolor);
  text-align: center;
  padding: .7em 0;
  margin-bottom: 1em;
}

.table-stye001 {
  line-height: 1.5;
  margin: 1em 0;
}

/* end 募集要項
--------------------------------------*/


/* 移住支援
--------------------------------------*/
.main-moving-visual-wrap {
  width: 100%;
  /*min-width: 1000px;*/
  margin: 0 auto 1em;
  position: relative;
}

.main-moving-visual {
  width: 100%;
}

.main-moving-visual img {
  object-fit: cover;
  width: 100%;
}

.moving-ttl-wrap {
  position: absolute;
  color: #fff;
  top: 9%;
  left: 5%;
}

.moving-ttl-wrap p {
  font-size: var(--f4);
  line-height: 1;
  margin: 0 0 .5em;
}

.moving-ttl-wrap p br {
  display: none;
}

.moving-ttl {
  margin: 0;
  font-size: 3.1em;
  font-weight: normal;
  font-feature-settings: "palt";
  letter-spacing: .07em;
}

.moving-intro {
  font-size: var(--f3);
}

.about-sumoto-box,
.town-box,
.food-box,
.drive-box {
  position: relative;
  width: 100%;
  margin: 2em 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.about-sumoto-box img,
.town-box img,
.food-box img,
.drive-box img {
  border-radius: 15px;
  overflow: hidden;
}

.sumoto-map {
  width: 37%;
}

.sumoto-map img {
  width: 100%;
  height: auto;
}

.about-sumoto {
  width: 62%;
}

.about-sumoto-box h2 {
  font-size: var(--f3);
  color: var(--secondcolor);
  margin: 1.2em 0 .5em;
}

.about-sumoto-box p {
  font-size: var(--f4);
}

.people-box {
  width: 90%;
  margin: 2em 0;
  padding-left: 10%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.people-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
}

.people-photo img {
  object-fit: cover;
  width: 100%;
  height: auto;
}

.people-box .people-photo {
  margin-top: 60px;
}

.food-box .people-photo {
  margin-top: 30px;
  margin-left: 20px;
}

.fukidashi {
  position: relative;
  width: 98%;
  padding: 0 0 20px 2%;
}

.fukidashi2 {
  position: relative;
  width: 97.5%;
  padding: 0 2.5% 20px 0;
}

.fukidashi::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.5em;
  width: 95%;
  height: 70%;
  background: url(./img/bg-dot.png) repeat;
  border-radius: 20px;
  z-index: 1;
}

.fukidashi2::before {
  content: "";
  position: absolute;
  right: 0;
  top: 1.5em;
  width: 95%;
  height: 70%;
  background: url(./img/bg-dot.png) repeat;
  border-radius: 20px;
  z-index: 1;
}

.fukidashi p,
.fukidashi2 p {
  position: relative;
  background-color: #fff;
  border: solid 7px #b0d9b5;
  border-radius: 20px;
  padding: 1.5em;
  z-index: 5;
}

.fukidashi p::after {
  content: "";
  position: absolute;
  right: -55px;
  top: 50%;
  background: url(./img/arrow-fukidashi.svg) no-repeat;
  width: 55px;
  height: 55px;
  z-index: 10;
}

.fukidashi2 p::after {
  content: "";
  position: absolute;
  left: -55px;
  top: 50%;
  background: url(./img/arrow-fukidashi2.svg) no-repeat;
  width: 55px;
  height: 55px;
  z-index: 10;
}

.people-box .fukidashi::before,
.food-box .fukidashi2::before,
.drive-box .fukidashi::before {
  height: 10em;
}

.fuki-long {
  width: 55%;
}

.fuki-short {
  width: 35%;
}

.drive-info2 .fuki-short {
  width: 45%;
}

.town-info1,
.town-info2 {
  width: 47%;
  position: relative;
}

.town-photo1 {
  width: 70%;
  position: absolute;
  z-index: 1;
  left: 0;
}

.town-photo2 {
  width: 45%;
  position: absolute;
  z-index: 5;
  bottom: 0;
  right: 10%;
}

.town-photo3 {
  margin-top: 3em;
}

.town-photo1 img,
.town-photo2 img,
.town-photo3 img {
  width: 100%;
  height: auto;
}

.food-box {
  margin: 50px 0;
}

.food-info1 {
  width: 60%;
  display: flex;
}

.food-info2 {
  width: 38%;
  height: 350px;
  position: relative;
}

.food-photo1 {
  width: 40%;
  position: absolute;
  z-index: 5;
  left: 10%;
  top: 0;
}

.food-photo2 {
  width: 60%;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.food-photo1 img,
.food-photo2 img {
  width: 100%;
  height: auto;
}

.food-txt {
  text-align: right;
  position: absolute;
  bottom: 0;
  right: 63%;
  z-index: 3;
  width: 15em;
}

.drive-info1 {
  width: 40%;
}

.drive-info2 {
  width: 50%;
}

.drive-info2 {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.drive-photo1 img,
.drive-photo2 img {
  width: 100%;
  height: auto;
}

.drive-info2 .people-photo {
  margin-top: 100px;
}

.moving-support-ttl {
  background: var(--secondcolor);
  font-size: var(--f3);
  font-weight: normal;
  color: #fff;
  padding: .5em 0 .5em 1em;
}

.moving-support-box {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
}

.moving-info1,
.moving-info2 {
  width: 49%;
}

.moving-info1 ul {
  font-size: var(--f4);
}

.moving-info1 li {
  margin-bottom: .5em;
}

.moving-info2 {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.moving-info2 img {
  width: 100%;
  height: auto;
}

.moving-info2 .wp-block-image {
  width: 45%;
}

/* end 移住支援
--------------------------------------*/



/* お問い合わせ・エントリーフォーム
--------------------------------------*/
.ttl001,
.ttl002 {
  font-size: var(--f4);
  font-weight: normal;
  color: #fff;
  text-align: center;
  padding: .7em 0;
  margin-bottom: 1em;
}

.ttl001 {
  background-color: var(--basecolor);
}

.ttl002 {
  background-color: var(--thirdcolor);
}

.contact-style {
  margin: 1em 0;
}

.contact-style dt {
  color: #444;
  margin-bottom: .5em;
}

.contact-style dd {
  color: #444;
  margin: .5em 0 2em;
  font-size: var(--f5);
}

.must {
  color: #f00;
}

.contact-style input[type=text],
.contact-style textarea,
.contact-style input[type=email],
.contact-style input[type=tel],
.contact-table input[type=text],
.contact-table textarea,
.contact-table input[type=email],
.contact-table input[type=tel] {
  width: 96%;
  padding: 1em 2%;
  border: solid 1px #a0a0a0;
  border-radius: 7px;
  font-size: var(--f5);
}

.contact-style input[type=radio],
.contact-table input[type=radio] {
  position: relative;
  top: -3px;
}

.contact-style .wpcf7-list-item-label {
  margin-right: 1em;
}

.contact-table {
  margin: 1.5em 0;
  border-top: solid 1px #a0a0a0;
  border-right: solid 1px #a0a0a0;
  width: 100%;
}

.contact-table th,
.contact-table td {
  border-bottom: solid 1px #a0a0a0;
  border-left: solid 1px #a0a0a0;
  padding: .5em 1em;
}

.contact-table th {
  vertical-align: top;
}

input:disabled  {
  background-color: #bfbfbf;
  border-color: #bfbfbf;
}

.wpcf7-submit {
  font-size: var(--f5);
  font-weight: normal;
  color: #fff;
  text-align: center;
  padding: .3em 0;
  margin-bottom: 1em;
  background-color: var(--thirdcolor);
  border-radius: 3px;
  width: 100%;
}



/* end お問い合わせ・エントリーフォーム
--------------------------------------*/


/* お知らせ
--------------------------------------*/
.info-ttl {
  font-size: var(--f3);
  margin-bottom: 7px;
  line-height: 1.5;
}

.blog-list {
  width: 100%;
}

.blog-list__item {
  padding: 0 0 30px 0;
  margin: 0 0 30px 0;
  border-bottom: solid 1px #ccc;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.blog-list__item--img {
  width: 30%;
}

.blog-list__item-box {
  width: 65%;
}

.blog-list__item--category {
  background-color: var(--basecolor);
  font-size: small;
  padding: .1em .5em;
  width: 5em;
  text-align: center;
}

.blog-list__item--category a {
  text-decoration: none;
  color: white;
}

.blog-list__item--title {
  margin-bottom: 15px;
}

.info--day {
  font-size: var(--f5);
  margin-bottom: 5px;
}

.info--category {
  margin-bottom: 30px;
  font-size: smaller;
}

.info--category--h {
  background-color: #505050;
  color: #fff;
  display: inline-block;
  padding: .1em 1em;
  margin-right: 1em;
}

.info--category--link {
  text-decoration: none;
}

.side-ttl {
  font-size: var(--f4);
  border-bottom: solid 1px #b5b5b5;
  padding-bottom: .5em;
  margin-bottom: 1em;
}

.blog-list__item--day {
  margin-bottom: 10px;
}

.side-blog-list__item {
  border-bottom: solid 1px #e3e3e3;
  padding-bottom: 1em;
  margin-bottom: 1em;
}

.side-blog-list__item--category {
  display: inline-block;
  background-color: var(--basecolor);
  font-size: small;
  padding: .1em .5em;
}

.side-blog-list__item--category a {
  text-decoration: none;
  color: white;
}

.blog-list__item--title {
  line-height: 1.5;
}

.blog-list__item--title a {
  text-decoration: none;
}

.blog-list__item--title a:hover {
  text-decoration: underline;
}

.category--name {
  font-size: var(--f4);
  font-weight: bold;
  margin-bottom: 1em;
}

/*ページネーション*/
p.pagenation {
  clear: both;
  font-size: 12px;
  font-size: 1.2rem;
  overflow: hidden;
}

span.oldpage {
  float: left;
}

span.newpage {
  float: right;
}

/* ページ番号リンク */
p.pagenum {
  text-align: center;
}

p.pagenum a {
  /*background-color: #e6e6e6;*/
  text-decoration: none;
  color: #575757;
}

.page-numbers {
  background-color: #fff;
  border: solid 1px #c3c3c3;
  display: inline-block;
  font-size: var(--f6);
  line-height: 15px;
  margin: 5px;
  padding: 1em;
  text-align: center;
  width: 15px;
  height: 15px;
  transition: .5s;
}

.page-numbers:hover {
  background-color: #c3c3c3;
}

.current {
  background-color: #c3c3c3;
  border: solid 1px #c3c3c3;
}

/* end ページネーション*/

/* end お知らせ
--------------------------------------*/



/* プライバシーポリシー
--------------------------------------*/
.privacy-wrap {
  width: 100%;
}

.privacy-wrap h3 {
  font-size: var(--f3);
  border-top: solid 2px var(--basecolor);
  padding: 1em 0;
  margin-top: 40px;
}

.privacy-wrap ol {
  padding-left: 1em;
  margin: 1em 0;
}

.privacy-wrap ol li {
  margin: .5em 0;
  line-height: 1.5;
}

.privacy-wrap ul {
  padding-left: 1em;
}

.privacy-wrap ul li {
  list-style: circle;
}

.privacy-wrap h4 {
  font-weight: bold;
  margin: 1em 0 .5em;
}

.privacy-ceo {
  text-align: right;
}


/* end プライバシーポリシー
--------------------------------------*/



/* フッター
--------------------------------------*/
.footer-wrap {
  background: var(--basecolor);
}

.footer {
  width: 80%;
  max-width: 1100px;
  margin: 50px auto 0;
   padding: 2em 0 1em;
}

.footer h1 {
  width: 330px;
}

.nav__footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 20px 0 40px;
}

.nav__footer ul {
  width: 47%;
  color: #fff;
}

.nav__footer li a {
  color: #fff;
  text-decoration: none;
}

.nav__footer li {
  margin-bottom: 1em;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
}

.footer__bottom div {
  width: 47%;
  color: #fff;
}

.footer__bottom h2 {
  margin-bottom: .4em;
}

.footer__recruit-btn img {
  width: 80%;
}

.footer__recruit-btn a:hover {
  opacity: 1;
}

.copyright {
  color: #fff;
  font-size: var(--f6);
  text-align: center;
  margin-top: 1em;
}

/* トップへ戻るボタン */
.totop {
  background: #cfdfe4;
  border: solid 2px #fff;
  border-radius: 5px;
  bottom: -100px;
  display: block;
  height: 40px;
  right: 3%;
  opacity: .8;
  position: fixed;
  width: 40px;
  transition: .5s;
  z-index: 100;
}

.totop:after {
  border-left: solid 2px #505050;
  border-top: solid 2px #505050;
  content: "";
  height: 14px;
  left: 12px;
  position: absolute;
  transform: rotate(45deg);
  top: 16px;
  width: 14px;
}

.totop.btn-in {
  bottom: 10px;
}

.totop:hover {
  bottom: 20px;
}


/* / トップへ戻るボタン */

/* end フッター
--------------------------------------*/


/* end レイアウト
---------------------------------------------*/



/* レスポンシブ調整（スマホレイアウト）
---------------------------------------------*/
@media screen and (max-width: 768px){

  /* ヘッダー
--------------------------------------*/
 
.header {
  display: block;
  width: 90%;
  min-width: 90%;
  padding: 10px 0 0;
  margin: auto;
}

.header__logo {
  width: 100%;
  max-width: 100%;
  padding-top: .5em;
  margin: 0 auto 10px;
}

.header__right {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin: auto;
}

.header__tel {
  width: 48%;
  padding: 1em .5em 0 0;
}

.header__contact {
  width: 35%;
  padding-right: .8em;
}

/* メニュー */
.nav__global--btn.active {
  position: fixed;
}

.nav__global {
  overflow-y: scroll;
}

.nav__upper {
  width: 80%;
  margin: 2vh auto 2vh;
}

.nav__upper ul {
  display: block;
  padding-top: 0;
}

.nav__upper ul li {
  width: 100%;
  margin-right: 0;
  margin-bottom: 2em;
  text-align: left;
}

.nav__upper ul li:first-child img {
  width: 80%;
  padding-top: 1em;
}

.nav__upper ul li:nth-child(2) img {
  width: 100%;
}

.nav__bottom {
  width: 90%;
  display: block;
  margin: 10vh auto 40px;
}

.nav__bottom ul {
  width: 100%;
  color: #fff;
  font-size: var(--f4);
}

.nav__bottom li a {
  display: block;
  border-bottom: solid 1px #fff;
  padding: 1em 0;
}

  
  /* end ヘッダー
--------------------------------------*/


/* トップページ
--------------------------------------*/
.main-visual-wrap {
  width: 100vw;
  min-width: 100vw;
  margin: 0 auto 1.5em;
  position: relative;
}

.main-visual {
  width: 100%;
}

.main-visual img {
  object-fit: cover;
  width: 100%;
}

.main-visual-wrap,
.main-visual,
.main-visual img {
  height: 60vh;
}

.main-message {
  position: absolute;
  top: 5%;
  left: 5%;
  font-size: var(--f2);
  color: #fff;
  line-height: 1.6;
  font-feature-settings: "palt";
  letter-spacing: .05em;
}

.btn__top-recruit {
  position: relative;
  top: 0;
  right: 0;
  width: 100%;
}

.btn__top-recruit a {
  font-size: var(--f5);
}

.top-news-list-wrap {
  display: block;
  width: 90%;
  margin: 100px auto 20px;
}

.top-news-list-ttl {
  width: 100%;
  margin-bottom: 1.5em;
}

.top-news-list-ttl > br {
  display: none;
}

.top-news-list {
  margin: .5em 0 0 1em;
}

.top-main-wrap {
  width: 96%;
  max-width: 96%;
  margin: auto;
}

.top-contents__service {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.top-contents-box {
  clear: both;
  overflow: hidden;
  width: 94%;
  margin: 60px auto;
}

.top-contents__service {
  display: block;
  margin-bottom: 50px;
  overflow: hidden;
}

.top-contents__service--left,
.top-contents__service--right {
  width: 100%;
}

.top-h-service {
  width: 100%;
}

.service-island-box {
  position: relative;
  margin: 40px auto 20px;
  width: 100%;
}

.service-island-box .awajishima {
  width: 90%;
  margin: auto 0 0 5%;
  position: relative;
}

.service-circle {
  width: 90px;
  height: 90px;
}

.service-circle--sell {
  top: 9%;
  left: 10%;
}

.service-circle--inspection {
  top: 50%;
  left: 2%;
}

.service-circle--buy {
  top: 5%;
  right: 2%;
}

.service-circle--maintenance {
  top: 42%;
  right: 20%;
}

.list--type li {
  width: 48%;
}

.top-h-message {
  width: 100%;
}

.top-greeting {
  width: 84%;
  padding: 7% 8% 5%;
}

.top-h-philosophy {
  width: 100%;
}

.top-philosophy {
  width: 100%;
  margin: 20px auto;
}

.top-philosophy dt {
  font-weight: bold;
  margin-bottom: .7em;
  line-height: 1.2;
}

.top-philosophy dd {
  margin: 0 0 1.5em 0;
  line-height: 1.5;
}

.top-h-company {
  width: 100%;
}

.company-info {
  width: 100%;
  margin: 20px auto;
  display: block;
  line-height: 1.5;
}

.company-info dt,
.company-info dd {
  width: 100%;
  text-align-last: left;
}

.company-info dt {
  margin-bottom: .5em;
}

.top-recruit-box {
  clear: both;
  width: 100%;
  display: block;
  justify-content: space-between;
  flex-direction: row-reverse;
  background: #143d7a;
  margin: 60px 0;
}

.top-recruit-image {
  width: 100%;
  height: 80vw;
  margin-top: 30px;
  overflow: hidden;
}

.top-recruit-image {
  height: 80vw;
  object-fit: cover;
}

.top-recruit {
  width: 90%;
  margin: auto;
}

.top-h-recruit {
  text-align: right;
  padding: 1.5em 0;
  display: flex;
  justify-content: flex-start;
}

.top-h-recruit h2 {
  width: 60%;
}

.top-recruit-message {
  font-size: var(--f3);
  color: #fff;
  padding: 0 0 .5em;
  line-height: 1.3;
}

.top-contact-box {
  width: 80vw;
  margin: 40px auto;
  display: block;
  justify-content: space-between;
}

.top-contact-btn {
  width: 80vw;
  height: auto;
  margin-bottom: 20px;
}

.top-contact-btn a {
  width: calc(100% - 2em);
  height: 50px;
  line-height: 50px;
  padding: 1em 1em;
}

.top-h-access {
  width: 100%;
  margin-bottom: 40px;
}





/* end トップページ
--------------------------------------*/


/* 下層ページ共通
--------------------------------------*/

.container-wrap {
  width: 96%;
  margin: 60px auto 60px;
}

.container-2column-wrap {
  width: 96%;
  margin: 60px auto 60px;
  display: block;
  justify-content: space-between;
  flex-wrap: wrap;
}

.main-column,
.side-column {
  width: 90%;
  margin: 0 auto 40px;
}

.main-column {
  margin-bottom: 80px;
}

.page-ttl {
  width: 96%;
  background-color: var(--basecolor);
  color: #fff;
  padding: .5em 0;
  margin: 60px auto 0;
  text-align: center;
  font-size: var(--f2);
}


/* end 下層ページ共通
--------------------------------------*/


/* リクルート
--------------------------------------*/
.recruit-visual-wrap {
  width: 92%;
  min-width: 92%;
  margin: 0 auto;
  position: relative;
}

.recruit-visual-wrap,
.recruit-visual-wrap .main-visual,
.recruit-visual-wrap .main-visual img {
  height: auto;
  min-height: auto;
  vertical-align: top;
}

.recruit-message {
  position: absolute;
  bottom: 25%;
  left: 10px;
  font-size: var(--f2);
  color: #fff;
  line-height: 1.6;
  font-feature-settings: "palt";
  letter-spacing: .05em;
}

.recruit-message img {
  width: 7em;
}

.btn__for-outside {
  position: relative;
  bottom: 0;
  right: 0;
  width: 100%;
  margin: 0 auto;
}

.btn__for-outside a {
  box-shadow: 2px 7px 15px -5px #777777;
}

.btn__for-outside a span {
  display: inline;
  padding-right: 1em;
}

.recruit-main-info {
  width: 78%;
  min-width: 78%;
  margin: 0 auto 80px;
  padding: 2em 7%;
}

.recruit-contents-box {
  width: 92%;
  max-width: 92%;
  margin: 60px auto;
}

.recruit-contents-box h2,
.recruit-main-info h2 {
  font-size: var(--f3);
  margin-bottom: 1em;
}

.recruit-contents-box p,
.recruit-main-info p {
  font-size: var(--f5);
}

.recruit-contents-box h3 {
  margin-bottom: .5em;
  color: var(--thirdcolor);
}

.recruit-reason-wrap {
  display: block;
  justify-content: space-between;
  flex-wrap: wrap;
}

.recruit-reason-list {
  margin: 1em;
}

.recruit-reason {
  width: 99%;
  border: solid 2px var(--thirdcolor);
  margin-bottom: 20px;
  /* 仮の設定 */
  height: auto;
  display: grid;
  place-items: center;
}

.recruit-reason-list li,
.wp-block-list.recruit-reason-list li {
  margin-bottom: .5em;
}

.reason-list-narrow-line li,
.wp-block-list.recruit-reason-list.reason-list-narrow-line li {
  margin-bottom: .5em;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.interview-list {
  display: block;
  margin-bottom: 80px;
}

.interview-list-staff {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  margin-bottom: 20px;
}

.interview-list-staff figure {
  width: 40%;
}

.interview-list-staff img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.interview-list-staff div {
  width: 55%;
  margin-left: 2em;
}

.interview-list-staff .staff-name span {
  display: block;
  padding-left: 0;
}

.entry-btn-box {
  width: 80%;
  margin: 40px auto;
  display: block;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: var(--f4);
}

.entry-txt,
.entry-btn {
  width: 100%;
}

.entry-txt {
  text-align: center;
  margin-bottom: 1em;
}

.entry-txt::after {
  position: absolute;
  top: 80%;
  right: 50%;
  content: "";
  width: 25px;
  height: 25px;
  border-top: solid 1px #000;
  border-right: solid 1px #000;
  transform: rotate(135deg) translate(-50%, 0);
}



/* end リクルート
--------------------------------------*/


/* インタビュー
--------------------------------------*/
.staff-interview-box h3 {
  color: var(--thirdcolor);
  font-size: var(--f4);
  line-height: 1.5;
  margin: 1.5em 0 .5em;
  text-indent: -1.6em;
  padding-left: 1.6em;
}


/* end インタビュー
--------------------------------------*/



/* サービス
--------------------------------------*/
.service-link-btn li a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 97%;
  min-height: 2em;
  padding: 1em 1%;
}

.main-service-visual-wrap {
  width: 100%;
  margin: 0 auto 1.5em;
  position: relative;
}

.main-service-visual {
  width: 100%;
}

.main-service-visual img {
  object-fit: cover;
  width: 100%;
}

.service-ttl {
font-size: var(--f2); 
letter-spacing: 0;
width: 100%;
text-align: center;
}

.service-contents-box {
  clear: both;
  overflow: hidden;
  width: 100%;
  margin: 20px auto 40px;
}

.service-intro-txt {
  font-size: var(--f5);
}

.service-contents-box {
width: 90%;
}

.service-contents-box h3 {
  font-size: var(--f3);
}

.service-feature-box {
  display: block;
  margin-bottom: 40px;
}

.service-feature-image {
  width: 100%;
  height: 12em;
}

.service-feature-txt {
  width: 100%;
  margin: 1em 0;
}

.service-feature-box h4 {
  line-height: 1.3;
}

.flow-box .flow {
  display: block;
}

.flow-box .flow dt,
.flow-box .flow dd {
  width: 100%;
  line-height: 1.4;
}

.service-contact {
  width: 90%;
}


/* end サービス
--------------------------------------*/


/* 経営理念
--------------------------------------*/
.philosophy-logo {
  width: 60%;
  margin: 0 auto 50px;
}

.philosophy-box h2,
.philosophy-box h3 {
  line-height: 1.5;
}

.philosophy-box p {
  text-align: justify;
}

.history-list dt {
  line-height: 1.1;
  width: 80px;
}

.history-list dd {
  padding-left: 25px;
  width: calc(100% - 110px);
}


/* end 経営理念
--------------------------------------*/


/* 沿革
--------------------------------------- */
.history-ttl {
  width: 60%;
}

.history-box {
  width: 90%;
  line-height: 1.5;
}

/* end 沿革
--------------------------------------- */


/* 移住支援
--------------------------------------*/
.main-moving-visual-wrap {
  margin-top: -40px;
}

.main-moving-visual,
.main-moving-visual img {
  height: 35vh;
}

.moving-ttl-wrap {
  padding-right: 1em;
}

.moving-ttl-wrap p br {
  display: block;
}

.moving-ttl {
  font-size: var(--f2);
}

.moving-intro {
  font-size: var(--f4);
}

.sumoto-map {
  width: 35%;
}

.about-sumoto {
  width: 64%;
}

.about-sumoto-box h2 {
  font-size: var(--f4);
  color: var(--secondcolor);
  margin: 1em 0 .5em;
}

.about-sumoto-box p {
  font-size: var(--f5);
}

.people-box {
  width: 100%;
  margin: 2em 0;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.people-photo {
  width: 100px;
  height: 100px;
}

.town-box {
  position: relative;
  width: 100%;
  margin: 2em 0;
  display: block;
}

.town-info1,
.town-info2 {
  width: 100%;
  position: relative;
}

.town-photo1 {
  width: 80%;
  position: relative;
  z-index: 1;
  left: -10%;
  margin-left: 0 !important;
  margin-right: 1px !important;
}

.town-photo2 {
  width: 45%;
  position: relative;
  z-index: 5;
  bottom: 0;
  left: 20%;
  margin-right: 0;
  margin-top: -30px;
}

.food-box {
  display: block;
  margin: 50px 0;
}

.food-info1 {
  width: 100%;
  display: flex;
}

.food-info2 {
  width: 100%;
  height: 410px;
  position: relative;
}

.food-photo1 {
  width: 40%;
  position: absolute;
  z-index: 5;
  left: 10%;
  top: 0;
}

.food-photo2 {
  width: 60%;
  position: absolute;
  right: 0;
  bottom: 22%;
  z-index: 1;
}

.food-txt {
  text-align: right;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 3;
  width: 100%;
}

.fukidashi {
  position: relative;
  width: 95%;
  padding: 0 0 20px 5%;
}

.fukidashi p::after,
.fukidashi2 p::after {
  top: 10%;
  width: 35px;
  height: 35px;
}

.fukidashi p::after {
  right: -35px;
}

.fukidashi2 p::after {
  left: -35px;
}

.fukidashi p,
.fukidashi2 p {
  border: solid 4px #b0d9b5;
}

.fuki-long,
.fuki-short {
  width: 60%;
}

.people-box .fukidashi::before {
  height: 17em;
}

.food-box .fukidashi2::before {
  height: 9em;
}

.drive-box .fukidashi::before {
  height: 14em;
}

.drive-box {
  position: relative;
  width: 100%;
  margin: 2em 0;
  display: block;
}

.drive-info1 {
  width: 100%;
}

.drive-info2 {
  width: 100%;
}

.moving-support-ttl {
  padding: .5em 0 .5em .5em;
}

.moving-support-box {
  display: block;
  justify-content: space-between;
  margin: 20px 0;
}

.moving-info1,
.moving-info2 {
  width: 100%;
}

.moving-info1 ul {
  font-size: var(--f5);
}


/* end 移住支援
--------------------------------------*/



/* お問い合わせ・エントリーフォーム
--------------------------------------*/
.contact-table th,
.contact-table td {
  display: block;
}

.contact-table th {
  border-bottom: dotted 1px #a0a0a0;
}


/* end お問い合わせ・エントリーフォーム
--------------------------------------*/


/* お知らせ
--------------------------------------*/
.blog-list {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
} 

.blog-list__item {
  display: block;
}

.blog-list__item--img,
.blog-list__item-box {
  width: 100%;
}



/* end お知らせ
--------------------------------------*/



/* プライバシーポリシー
--------------------------------------*/
.privacy-wrap {
  width: 85%;
  margin: auto;
}

/* end プライバシーポリシー
--------------------------------------*/



/* フッター
--------------------------------------*/
.footer-wrap {
  background: var(--basecolor);
}

.footer {
  width: 85%;
  max-width: 85%;
  margin: 50px auto 0;
   padding: 2em 0 1em;
}

.footer h1 {
  width: 85%;
  margin: 0 auto 1em;
}

.nav__footer {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 20px 0 40px;
}

.nav__footer ul:first-of-type {
  width: 50%;
}

.nav__footer ul:nth-of-type(2) {
  width: 47%;
}

.footer__bottom {
  display: block;
}

.footer__bottom div {
  width: 100%;
}

.footer__recruit-btn {
  text-align: center;
}

/* end フッター
--------------------------------------*/


}
/* end レスポンシブ調整（スマホレイアウト）
---------------------------------------------*/