@charset "UTF-8";

/*WordPress対策・全ページ余白なし*/
* {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  color: #000;
  background: #fff;
}

img {
  vertical-align: bottom;
  max-width: 100%;
}

p,
h1,
h2,
h3,
h4 {
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
}

a {
  text-decoration: none;
}

body {
  background-image: url(/wp2/wp/wp-content/themes/inunekosan/image/back.jpg);
  background-repeat: no-repeat;
  background-size: 100% 110%;
}

main {
  z-index: 1;
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

/* メディアクエリ */
@media screen and (min-width: 1025px) {
  .pc {
    display: block;
  }

  .sp {
    display: none;
  }

  /*電話番号をクリックしても自動発信しない*/
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}

@media screen and (max-width: 1024px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  main {
    padding-top: 75px;
  }
}

.fadeUpTrigger,
.fadeInTrigger {
  opacity: 0;
}

.fadeUp,
.fadeIn {
  animation-fill-mode: forwards;
  opacity: 0;
}

.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 2s;
}

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

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

.fadeIn {
  animation-name: fadeInAnime;
  animation-duration: 2s;
}

@keyframes fadeInAnime {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

p.indent {
  padding-left: 1em;
  text-indent: -1em;
}

/*ヘッダー*/
/*PC*/
@media screen and (min-width: 1025px) {
  header {
    width: 100%;
    height: auto;
    padding-top: 65px;
  }

  header .container {
    display: flex;
    justify-content: space-between;
    padding: 0 70px;
    margin-bottom: 55px;
  }

  header .container .logo {
    display: block;
    width: 500px;
    transition: 0.4s ease;
  }

  header .container .logo image {
    width: 100%;
  }

  header .container .logo:hover {
    opacity: 0.7;
  }

  header .container .links {
    display: grid;
    grid-template-columns: 300px auto;
    -moz-column-gap: 45px;
    column-gap: 45px;
  }

  header .container .links .link-1 {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  /*
  header .container .links .link-1 .tel {
    display: grid;
    grid-template-columns: repeat(2, auto);
    -moz-column-gap: 5px;
         column-gap: 5px;
    align-items: center;
  }
*/
  header .container .links .link-1 .tel p.p-1 {
    /*
    grid-column: 1/2;
    grid-row: 1/2;
*/
    margin-top: 5px;
    font-size: 14px;
    font-weight: bold;
    line-height: 24.5px;
    letter-spacing: 2.88px;
    text-align: left;
    color: #000;
  }

  header .container .links .link-1 .tel a {
    /*
    grid-column: 2/3;
    grid-row: 1/2;
*/
    font-size: 36px;
    font-weight: bold;
    line-height: 24.5px;
    letter-spacing: 1.25px;
    text-align: left;
    color: #000;
  }

  header .container .links .link-1 .tel p.p-2 {
    grid-column: 1/3;
    grid-row: 2/3;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.75;
    letter-spacing: 2.88px;
    text-align: right;
    color: #000;
  }

  header .container .links .link-1 nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  header .container .links .link-1 nav a {
    font-size: 17px;
    font-weight: bold;
    line-height: 1.75;
    letter-spacing: 3.74px;
    text-align: left;
    color: #000;
  }

  header .container .links .link-1 nav a:hover {
    text-decoration: underline;
  }

  header .container .links nav.link-2 {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    -moz-column-gap: 13px;
    column-gap: 13px;
    align-items: end;
  }

  header .container .links nav.link-2 a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 99.8px;
    padding-top: 20px;
    box-sizing: border-box;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.22;
    letter-spacing: 3.96px;
    text-align: center;
    color: #fff;
    position: relative;
    transition: 0.4s ease;
  }

  header .container .links nav.link-2 a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    z-index: -1;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 106.4/106.2;
    background-image: url(/wp2/wp/wp-content/themes/century21uchijima/image/house_icon.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }

  header .container .links nav.link-2 a:hover {
    opacity: 0.7;
  }

  header nav.links {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    height: 80px;
    background-color: #ae8047;
  }

  header nav.links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 4.68px;
    text-align: center;
    color: #fff;
    /* 通常時の文字色 */
    border-right: solid 1px #fff;
    transition: color 0.3s ease;
    /* 色が変わる時にアニメーション */
  }

  /* 最後のメニューは右の境界線なし */
  header nav.links a:nth-last-of-type(1) {
    border-right: none;
  }

  /* マウスオーバー時 */
  header nav.links a:hover {
    color: #683a1c;
    /* 文字色を黒に変更（お好みで色を変更可） */
  }
}

/*SP*/
@media screen and (max-width: 1024px) {
  header {
    width: 100%;
    height: 75px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: #fff;
  }

  header .header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 20px);
    height: auto;
    padding: 10px;
  }

  header .header__container .logo {
    display: block;
    width: 290px;
    height: auto;
  }

  header .header__container .logo img {
    width: 100%;
    height: auto;
  }

  header .header__container .header__menu-toggle {
    width: auto;
    height: auto;
  }

  header .header__container .header__menu-toggle .header__menu-bars {
    cursor: pointer;
    z-index: 999;
    display: block;
    position: relative;
    width: 55px;
    height: 55px;
    text-align: center;
  }

  header .header__container .header__menu-toggle .header__menu-bars .header__menu-bar {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    width: 22.5px;
    height: 2px;
    border-radius: 2px;
    background-color: #6a3906;
    transition: 0.35s ease-in-out;
  }

  header .header__container .header__menu-toggle .header__menu-bars .header__menu-bar:nth-of-type(1) {
    top: 20px;
  }

  header .header__container .header__menu-toggle .header__menu-bars .header__menu-bar:nth-of-type(2) {
    top: 26.5px;
  }

  header .header__container .header__menu-toggle .header__menu-bars .header__menu-bar:nth-of-type(3) {
    top: 32.5px;
  }

  header .header__container .header__menu-toggle .header__menu-bars.active {
    background-color: transparent;
  }

  header .header__container .header__menu-toggle .header__menu-bars.active .header__menu-bar {
    top: 26.5px;
    left: 50%;
    background-color: #fff;
  }

  header .header__container .header__menu-toggle .header__menu-bars.active .header__menu-bar:nth-of-type(1) {
    background-color: #fff;
    transform: translateX(-50%) rotate(-45deg);
  }

  header .header__container .header__menu-toggle .header__menu-bars.active .header__menu-bar:nth-of-type(2) {
    background-color: #fff;
    transform: translateX(-50%) rotate(45deg);
  }

  header .header__container .header__menu-toggle .header__menu-bars.active .header__menu-bar:nth-of-type(3) {
    background-color: #fff;
    transform: translateX(-50%) rotate(45deg);
  }

  header .header__container .header__menu-toggle nav.header__nav-sp {
    position: fixed;
    z-index: 103;
    top: 0;
    right: 0;
    transform: translateX(100%);
    transition: all 0.6s;
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
    background-color: #ae8047;
    opacity: 1;
  }

  header .header__container .header__menu-toggle nav.header__nav-sp.active {
    transform: translateX(0%);
  }

  header .header__container .header__menu-toggle nav.header__nav-sp .header__nav-list {
    display: grid;
    grid-template-columns: 300px;
    justify-content: center;
    align-items: center;
    margin: 75px auto 40px;
    position: relative;
    list-style: none;
  }

  header .header__container .header__menu-toggle nav.header__nav-sp .header__nav-list .header__nav-item a {
    display: block;
    width: 100%;
    height: auto;
    padding: 10px;
    box-sizing: border-box;
    border-top: dashed 1px #fff;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.75;
    letter-spacing: 2px;
    text-align: left;
    color: #fff;
  }

  header .header__container .header__menu-toggle nav.header__nav-sp .header__nav-list .header__nav-item:nth-last-of-type(1) {
    border-bottom: dashed 1px #fff;
  }

  header .header__container .header__menu-toggle nav.header__nav-sp .tel {
    display: grid;
    grid-template-columns: max-content;
    justify-content: center;
    padding-bottom: 30px;
  }

  header .header__container .header__menu-toggle nav.header__nav-sp .tel p.p-1 {
    font-size: 14px;
    font-weight: 900;
    line-height: 18px;
    letter-spacing: normal;
    text-align: left;
    color: #fff;
  }

  header .header__container .header__menu-toggle nav.header__nav-sp .tel a {
    font-size: 26px;
    font-weight: 900;
    line-height: 35px;
    letter-spacing: 0.5px;
    text-align: left;
    color: #fff;
  }

  header .header__container .header__menu-toggle nav.header__nav-sp .tel p.p-2 {
    font-size: 14px;
    font-weight: 900;
    line-height: 18px;
    letter-spacing: normal;
    text-align: left;
    color: #fff;
  }
}

/*トップページ*/
/*PC*/
@media screen and (min-width: 1025px) {
.news-subsububox{margin:0 auto;
width:630px;
margin-bottom:20px;}

  #top {
    position: relative;
    width: 100%;
    height: auto;
  }

  #top .kv {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
  }

  #top .kv img {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    top: 0;
  }

  #top .kv img.sp {
    display: none;
  }

  #top .kv h1 {
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    font-size: 50px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 6px;
    text-align: center;
    color: #fff;
  }

  #top .kv p {
    display: block;
    width: 100%;
    height: auto;
    padding-top: 30px;
    padding-bottom: 35px;
    position: absolute;
    bottom: 0;
    left: 0;
  }

  #top .kv p::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    mix-blend-mode: multiply;
    background-blend-mode: multiply;
    background-image: linear-gradient(to bottom, #1c611e, #1c611e);
  }

  #top .kv p span {
    display: block;
    font-size: 37px;
    font-weight: normal;
    line-height: 1.38;
    letter-spacing: 9.62px;
    text-align: center;
    color: #fff;
    position: relative;
  }

  #top .kv p small {
    display: block;
    font-size: 18px;
    font-weight: normal;
    line-height: 2.83;
    letter-spacing: 4.68px;
    text-align: center;
    color: #fff;
    position: relative;
  }

  #top .contents-1 {
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 75px;
  }

  #top .contents-1::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 140px;
    transform: translateX(-50%);
    width: 120%;
    height: 200px;
    /* 弧の深さを調整 */
    background-color: #fff;
    /* 背景色と同じにする（下の背景を隠す） */
    border-top-left-radius: 50% 70%;
    border-top-right-radius: 50% 70%;
  }

  #top .contents-1 .video-container {
    width: 170px;
    height: auto;
    position: absolute;
    top: 20px;
    right: 90px;
    cursor: pointer;
    /* 再生中：中央固定表示（controlsはそのまま表示） */
  }

  #top .contents-1 .video-container video {
    width: 100%;
    height: auto;
    display: block;
  }

  #top .contents-1 .video-container .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    cursor: pointer;
  }

  #top .contents-1 .video-container .play-button svg {
    width: 60%;
    height: 60%;
  }

  #top .contents-1 .video-container .play-button:hover {
    opacity: 0.8;
  }

  #top .contents-1 .video-container .close-button {
    /* 右上の× */
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10002;
  }

  #top .contents-1 .video-container .close-button span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 2px;
    background: #fff;
    transform-origin: center;
  }

  #top .contents-1 .video-container .close-button span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  #top .contents-1 .video-container .close-button span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  #top .contents-1 .video-container .close-button:hover {
    opacity: 0.8;
  }

  #top .contents-1 .video-container .video-overlay {
    display: none;
  }

  #top .contents-1 .video-container.fixed-center {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 980px;
    max-width: 95vw;
    transform: translate(-50%, -50%);
    background: #000;
    z-index: 10001;
    cursor: default;
    /* 再生後は隠す */
  }

  #top .contents-1 .video-container.fixed-center video {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 10001;
    /* ★ 動画(=controls含む)を最前面に */
  }

  #top .contents-1 .video-container.fixed-center .play-button {
    display: none;
  }

  #top .contents-1 .video-container.fixed-center .close-button {
    display: block;
  }

  #top .contents-1 .video-container.fixed-center .video-overlay {
    display: block;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.75);
    z-index: 10000;
    /* ★ 動画より下 */
  }

  #top .contents-1 .news_bg {
    width: 100%;
    height: 245px;
    overflow: hidden;
    position: relative;
    /* 無限横スクロールアニメーション */
  }

  #top .contents-1 .news_bg .slider {
    display: flex;
    width: 200%;
    /* 画像2枚分 */
    height: 100%;
    animation: slide 40s linear infinite;
  }

  #top .contents-1 .news_bg img {
    width: 50%;
    /* 画像2枚分なので1枚あたり半分 */
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
  }

  @keyframes slide {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-50%);
    }
  }

  #top .contents-1 .news {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: -42px;
    background: #fff;
    z-index: 2;
  }

  #top .contents-1 .news h2 {
    margin-bottom: 45px;
    font-size: 39px;
    font-weight: bold;
    line-height: 1.75;
    letter-spacing: 8.58px;
    text-align: center;
    color: #9e632d;
  }

  #top .contents-1 .news .items {
    display: grid;
    grid-template-columns: 980px;
    justify-content: center;
  }

  #top .contents-1 .news .items a.item:hover {
    color: #8ec31f;
    /* マウスオン時の文字色（お好みで変更可） */
  }

  #top .contents-1 .news .items a.item {
    display: grid;
    grid-template-columns: auto 1fr;
    -moz-column-gap: 60px;
    column-gap: 60px;
    padding: 20px 30px 23px;
    border-top: solid 0.5px #808080;
    border-right: solid 0.5px #808080;
    border-left: solid 0.5px #808080;
  }

  #top .contents-1 .news .items a.item:nth-last-of-type(1) {
    border-bottom: solid 0.5px #808080;
  }

  #top .contents-1 .news .items a.item time,
  #top .contents-1 .news .items a.item p.title {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.75;
    letter-spacing: 5.2px;
    text-align: left;
    color: #666;
  }

  #top .contents-1 .news .items a.item:hover,
  #top .contents-1 .news .items a.item:hover time,
  #top .contents-1 .news .items a.item:hover p.title {
    color: #8ec31f;
  }


  #top .contents-2 {
    position: relative;
width: 1280px;;
    height: auto;
margin: 0 auto;
        padding-bottom: 70px;
  }

  #top .contents-2 h2 {
    display: grid;
    grid-template-columns: 40px auto;
    -moz-column-gap: 10px;
    column-gap: 10px;
    align-items: center;
    margin-bottom: 20px;
    margin-left: 25px;
    font-family: "Zen Maru Gothic", serif;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: normal;
    text-align: left;
    color: #fea621;
    position: relative;
  }

  #top .contents-2 h2::after {
    content: "";
    display: block;
    width: calc(100% - 50px);
    height: 1px;
    border-bottom: dashed 1px #fea621;
    position: absolute;
    bottom: -2.5px;
    right: 0;
  }

  #top .contents-2 h2 img {
    width: 100%;
    height: auto;
  }

  #top .contents-2 #calendar {
    position: relative;
    width: 100%;
    height: auto;
  }

  #top .contents-3 {
    position: relative;
    width: 1280px;
    height: auto;
    margin: 0 auto 60px;
    padding: 45px 100px 35px;
    background-image: url(/wp2/wp/wp-content/themes/century21uchijima/image/bg_wood.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    box-sizing: border-box;
  }

  #top .contents-3 h2 {
    margin-bottom: 40px;
    font-size: 28px;
    font-weight: normal;
    line-height: 1.34;
    letter-spacing: 4.67px;
    text-align: left;
    color: #491c05;
  }

  #top .contents-3 p {
    font-size: 18px;
    font-weight: bold;
    line-height: 2;
    letter-spacing: 1.14px;
    text-align: left;
    color: #000;
  }

  #top .contents-4 {
    position: relative;
    width: 980px;
    height: auto;
    margin: 0 auto 50px;
  }

  #top .contents-4 h2 {
    margin-bottom: 400px;
    font-size: 28px;
    font-weight: bold;
    line-height: 40px;
    letter-spacing: 1px;
    text-align: center;
    color: #552B15;
  }

  #top .contents-4 .content {
    width: 100%;
    position: relative;
  }

  #top .contents-4 .content img {
    width: 100%;
    display: block;
  }

  #top .contents-4 .content .hotspot {
    position: absolute;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    border: none;
    background: transparent;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }

  #top .contents-4 .content .hotspot--1 {
    width: 216px;
    height: 216px;
    border-radius: 50%;
    bottom: 74px;
    left: 23px;
  }

  #top .contents-4 .content .hotspot--2 {
    width: 216px;
    height: 216px;
    border-radius: 50%;
    top: 154px;
    left: 130px;
  }

  #top .contents-4 .content .hotspot--3 {
    width: 216px;
    height: 216px;
    border-radius: 50%;
    top: 50px;
    left: 382px;
  }


  #top .contents-4 .content .hotspot--4 {
    width: 216px;
    height: 216px;
    border-radius: 50%;
    top: 155px;
    right: 128px;
  }

  #top .contents-4 .content .hotspot--5 {
    width: 216px;
    height: 216px;
    border-radius: 50%;
    bottom: 74px;
    right: 18px;
  }

  #top .contents-4 .sub_content img:nth-of-type(1) {
    display: block;
    width: calc(173px * 980 / 1270);
    height: auto;
    position: absolute;
    bottom: 115px;
    left: -130px;
  }

  #top .contents-4 .sub_content img:nth-of-type(2) {
    display: block;
    width: calc(415px * 980 / 1270);
    height: auto;
    position: absolute;
    top: 285px;
    left: -95px;
  }

  #top .contents-4 .sub_content img:nth-of-type(3) {
    display: block;
    width: calc(554px * 980 / 1270);
    height: auto;
    position: absolute;
    top: 100px;
    left: 275px;
  }

  #top .contents-4 .sub_content img:nth-of-type(4) {
    display: block;
    width: calc(252px * 980 / 1270);
    height: auto;
    position: absolute;
    top: 485px;
    right: -95px;
  }

  #top .contents-4 .sub_content img:nth-of-type(5) {
    display: block;
    width: calc(173px * 980 / 1270);
    height: auto;
    position: absolute;
    bottom: 115px;
    right: -130px;
  }

  #top .contents-4 .sub_content .subimg {
    transition: transform 0.35s ease;
    transform-origin: center center;
  }

  #top .contents-4 .sub_content .subimg.is-zoomed {
    transform: scale(1.1);
  }

  /*
  #top .contents-5 {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    justify-items: center;
    margin-bottom: 75px;
  }

  #top .contents-5 a {
    display: block;
    width: 230px;
    height: auto;
    transition: 0.4s ease;
  }

  #top .contents-5 a:hover {
    opacity: 0.7;
  }

  #top .contents-5 a img {
    width: 100%;
    height: auto;
  }
    */

  #top .contents-5 {
    width: 100%;
    height: 500px;
    margin-bottom: 75px;
    overflow: hidden;
  }

  #top .contents-5 img {
    width: 100%;
    height: auto;
    /*height: 100%;*/
    opacity: 0.5;
    object-fit: cover;
  }

  #top .contents-6 {
    position: relative;
    width: 100%;
    height: auto;
  }

  #top .contents-6 h2 {
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.75;
    letter-spacing: 3.52px;
    text-align: center;
    color: #000;
  }

  #top .contents-6 .items {
    display: grid;
    grid-template-columns: 290px 55px 390px;
    -moz-column-gap: 25px;
    column-gap: 25px;
    justify-content: center;
    align-items: center;
  }

  #top .contents-6 .items .mail {
    display: grid;
    grid-template-columns: 42px auto;
    -moz-column-gap: 23px;
    column-gap: 23px;
    align-items: center;
    padding: 0 25px;
    font-size: 22px;
    font-weight: bold;
    line-height: 55px;
    letter-spacing: 3.52px;
    text-align: left;
    color: #fff;
    background-color: #491c05;
    transition: 0.4s ease;
  }

  #top .contents-6 .items .mail:hover {
    opacity: 0.7;
  }

  #top .contents-6 .items .mail img {
    width: 100%;
  }

  #top .contents-6 .items .tel {
    display: grid;
    grid-template-columns: 35px auto;
    -moz-column-gap: 12px;
    column-gap: 12px;
    align-items: center;
    padding: 0 25px;
    font-size: 30px;
    font-weight: normal;
    line-height: 55px;
    letter-spacing: 5.15px;
    text-align: left;
    color: #000;
    white-space: nowrap;
  }

  #top .contents-6 .items .tel:hover span {
    text-decoration: underline;
  }
}

/*SP*/
@media screen and (max-width: 1024px) {
  #top {
    position: relative;
    width: 100%;
    height: auto;
  }

  #top .kv {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
  }

  #top .kv img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
  }

  #top .kv img.pc {
    display: none;
  }

  #top .kv h1 {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    font-size: 28px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 3px;
    text-align: center;
    color: #fff;
    white-space: nowrap;
  }

  #top .kv p {
    display: block;
    width: 100%;
    height: auto;
    padding-top: 15px;
    padding-bottom: 17.5px;
    position: absolute;
    bottom: 0;
    left: 0;
  }

  #top .kv p::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    mix-blend-mode: multiply;
    background-blend-mode: multiply;
    background-image: linear-gradient(to bottom, #1c611e, #1c611e);
  }

  #top .kv p span {
    display: block;
    font-size: 18px;
    font-weight: normal;
    line-height: 1.38;
    letter-spacing: 4.5px;
    text-align: center;
    color: #fff;
    position: relative;
  }

  #top .kv p small {
    display: block;
    font-size: 10px;
    font-weight: normal;
    line-height: 2.83;
    letter-spacing: 2.3px;
    text-align: center;
    color: #fff;
    position: relative;
  }

  #top .contents-1 {
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 75px;
  }

  #top .contents-1 .video-container {
    position: relative;
    width: 250px;
    height: auto;
    margin: 40px auto;
    cursor: pointer;
    /* 再生中：中央固定表示（controlsはそのまま表示） */
  }

  #top .contents-1 .video-container video {
    width: 100%;
    height: auto;
    display: block;
  }

  #top .contents-1 .video-container .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    cursor: pointer;
  }

  #top .contents-1 .video-container .play-button svg {
    width: 60%;
    height: 60%;
  }

  #top .contents-1 .video-container .play-button:hover {
    opacity: 0.8;
  }

  #top .contents-1 .video-container .close-button {
    /* 右上の× */
    display: none;
    position: absolute;
    top: -40px;
    right: 0;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10002;
  }

  #top .contents-1 .video-container .close-button span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 2px;
    background: #fff;
    transform-origin: center;
  }

  #top .contents-1 .video-container .close-button span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  #top .contents-1 .video-container .close-button span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  #top .contents-1 .video-container .close-button:hover {
    opacity: 0.8;
  }

  #top .contents-1 .video-container .video-overlay {
    display: none;
  }

  #top .contents-1 .video-container.fixed-center {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 80vw;
    transform: translate(-50%, -50%);
    background: #000;
    z-index: 10001;
    cursor: default;
    /* 再生後は隠す */
  }

  #top .contents-1 .video-container.fixed-center video {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 10001;
    /* ★ 動画(=controls含む)を最前面に */
  }

  #top .contents-1 .video-container.fixed-center .play-button {
    display: none;
  }

  #top .contents-1 .video-container.fixed-center .close-button {
    display: block;
  }

  #top .contents-1 .video-container.fixed-center .video-overlay {
    display: block;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.75);
    z-index: 10000;
    /* ★ 動画より下 */
  }

  #top .contents-1 .news_bg {
    width: 100%;
    height: 120px;
    overflow: hidden;
    position: relative;
    /* 無限横スクロールアニメーション */
  }

  #top .contents-1 .news_bg .slider {
    display: flex;
    width: 200%;
    /* 画像2枚分 */
    height: 100%;
    animation: slide 20s linear infinite;
  }

  #top .contents-1 .news_bg img {
    width: 50%;
    /* 画像2枚分なので1枚あたり半分 */
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
  }

  @keyframes slide {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-50%);
    }
  }

  #top .contents-1 .news {
    position: relative;
    width: 100%;
    height: auto;
    background: #fff;
    margin-top: 30px;
  }

  #top .contents-1 .news h2 {
    margin-bottom: 22.5px;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.75;
    letter-spacing: 4px;
    text-align: center;
    color: #9e632d;
  }

  #top .contents-1 .news .items {
    display: grid;
    /*grid-template-columns: 300px;*/
    /*justify-content: center;*/
  }

  #top .contents-1 .news .items a.item {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 10px;
    padding: 10px 15px 11.5px;
    border-top: solid 0.5px #808080;
    border-right: solid 0.5px #808080;
    border-left: solid 0.5px #808080;
    width: 73%;
    margin: 0 auto;
  }

  #top .contents-1 .news .items a.item:nth-last-of-type(1) {
    border-bottom: solid 0.5px #808080;
  }

  #top .contents-1 .news .items a.item time,
  #top .contents-1 .news .items a.item p.title {
    font-size: 13px;
    font-weight: bold;
    line-height: 1.75;
    letter-spacing: 2.6px;
    text-align: left;
    color: #666;
  }

  #top .contents-2 {
    position: relative;
    /*width: 100%;*/
    height: auto;
    width: 80%;
    margin: 0 auto 70px;
  }

  #top .contents-2 h2 {
    display: grid;
    grid-template-columns: 40px auto;
    -moz-column-gap: 10px;
    column-gap: 10px;
    align-items: center;
    margin-bottom: 20px;
    margin-left: 25px;
    font-family: "Zen Maru Gothic", serif;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: normal;
    text-align: left;
    color: #fea621;
    position: relative;
  }

  #top .contents-2 h2::after {
    content: "";
    display: block;
    width: calc(100% - 50px);
    height: 1px;
    border-bottom: dashed 1px #fea621;
    position: absolute;
    bottom: -2.5px;
    right: 0;
  }

  #top .contents-2 h2 img {
    width: 100%;
    height: auto;
  }

  #top .contents-2 #calendar {
    position: relative;
    width: 100%;
    height: auto;
  }

  #top .contents-3 {
    position: relative;
    width: 350px;
    height: auto;
    margin: 0 auto 40px;
    padding: 22.5px 20px 17.5px;
    background-image: url(/wp2/wp/wp-content/themes/century21uchijima/image/bg_wood.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    box-sizing: border-box;
  }

  #top .contents-3 h2 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: normal;
    line-height: 1.34;
    letter-spacing: 2.3px;
    text-align: left;
    color: #491c05;
  }

  #top .contents-3 p {
    font-size: 13px;
    font-weight: bold;
    line-height: 2;
    letter-spacing: 1.14px;
    text-align: left;
    color: #000;
  }

  #top .contents-4 {
    position: relative;
    width: 350px;
    height: auto;
    margin: 0 auto 40px;
  }

  #top .contents-4 h2 {
    margin-bottom: 22.5px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.4;
    letter-spacing: 2px;
    text-align: center;
    color: #9e632d;
  }

  #top .contents-4 .content {
    width: 100%;
    position: relative;
  }

  #top .contents-4 .content .item {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 10px;
    border: solid 0.5px #c0c0c0;
  }

  #top .contents-4 .content .item h3 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.4;
    letter-spacing: 1.58px;
    text-align: center;
    color: #9e632d;
  }

  #top .contents-4 .content .item h4 {
    margin-top: 5px;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.3;
    letter-spacing: 1.14px;
    text-align: center;
  }

  #top .contents-4 .content .item .images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  #top .contents-4 .content .item p {
    display: block;
    width: 310px;
    margin: 10px auto 0;
    font-size: 13px;
    font-weight: normal;
    line-height: 1.4;
    letter-spacing: 1.14px;
    text-align: left;
  }

  #top .contents-4 .content .item p strong {
    font-size: 13px;
    font-weight: bold;
    line-height: 1.4;
    letter-spacing: 1.14px;
    text-align: left;
  }

  #top .contents-4 .content .item .images .image {
    width: 100px;
  }

  #top .contents-4 .content .item img {
    width: 200px;
    display: block;
    margin: 0 auto;
  }

  #top .contents-4 .content .item img.subimg {
    width: 100%;
    margin-top: 20px;
  }

  #top .contents-4 .content .hotspot {
    display: none;
  }

  #top .contents-4 .content .hotspot--left {
    display: none;
  }

  #top .contents-4 .content .hotspot--right {
    display: none;
  }

  /*
  #top .contents-5 {
    display: grid;
    grid-template-columns: repeat(2, 120px);
    gap: 20px;
    justify-content: center;
    justify-items: center;
    margin-bottom: 40px;
  }

  #top .contents-5 a {
    display: block;
    width: 100%;
    height: auto;
  }

  #top .contents-5 a img {
    width: 100%;
    height: auto;
  }
    */

  #top .contents-5 {
    width: 100%;
    height: 200px;
    margin-bottom: 40px;
    overflow: hidden;
  }

  #top .contents-5 img {
    width: 100%;
    height: 100%;
    opacity: 0.5;
    object-fit: cover;
  }

  #top .contents-6 {
    position: relative;
    width: 100%;
    height: auto;
  }

  #top .contents-6 h2 {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.75;
    letter-spacing: 2px;
    text-align: center;
    color: #000;
  }

  #top .contents-6 .items {
    display: grid;
    grid-template-columns: 250px;
    row-gap: 10px;
    justify-content: center;
    align-items: center;
  }

  #top .contents-6 .items .mail {
    display: grid;
    grid-template-columns: 26px max-content;
    -moz-column-gap: 11.5px;
    column-gap: 11.5px;
    justify-content: center;
    align-items: center;
    padding: 0 12.5px;
    font-size: 16px;
    font-weight: bold;
    line-height: 40px;
    letter-spacing: 2px;
    text-align: left;
    color: #fff;
    background-color: #491c05;
  }

  #top .contents-6 .items .mail img {
    width: 100%;
  }

  #top .contents-6 .items .tel {
    display: grid;
    grid-template-columns: 17.5px max-content;
    -moz-column-gap: 6px;
    column-gap: 6px;
    justify-content: center;
    align-items: center;
    padding: 0 12.5px;
    font-size: 20px;
    font-weight: normal;
    line-height: 40px;
    letter-spacing: 2px;
    text-align: left;
    color: #000;
    white-space: nowrap;
  }
}

/*フッター*/
/*PC*/
@media screen and (min-width: 1025px) {
  footer {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 50px;
    padding-top: 25px;
    padding-bottom: 75px;
    background-image: url(/wp2/wp/wp-content/themes/century21uchijima/image/bg_ft_wood.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }

  footer .items {
    position: relative;
    width: 100%;
    height: auto;
  }

  footer .items .logo {
    display: block;
    position: relative;
    width: 600px;
    height: auto;
    margin: 0 auto 20px;
  }

  footer .items .logo img {
    width: 100%;
  }

  footer .items .text {
    position: relative;
  }

  footer .items .text p {
    display: block;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.75;
    letter-spacing: 1.02px;
    text-align: center;
    color: #000;
  }

  footer .items .text p a {
    color: #000;
    text-decoration: none;
  }

  footer .items .text p.address {
    margin-bottom: 18px;
  }

  footer .items .text p.com {
    position: absolute;
    bottom: 0;
    left: calc(50% + 300px);
  }
}

/*SP*/
@media screen and (max-width: 1024px) {
  footer {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 30px;
    padding-top: 12.5px;
    padding-bottom: 35px;
    background-image: url(/wp2/wp/wp-content/themes/century21uchijima/image/bg_ft_wood.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }

  footer .items {
    position: relative;
    width: 100%;
    height: auto;
  }

  footer .items .logo {
    display: block;
    position: relative;
    width: 300px;
    height: auto;
    margin: 0 auto 20px;
  }

  footer .items .logo img {
    width: 100%;
  }

  footer .items .text {
    position: relative;
  }

  footer .items .text p {
    display: block;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.75;
    letter-spacing: 1px;
    text-align: center;
    color: #000;
  }

  footer .items .text p a {
    color: #000;
    text-decoration: none;
  }

  footer .items .text p.address {
    margin-bottom: 10px;
  }

  footer .items .text p.copy {
    font-size: 10px;
    margin-bottom: 10px;
  }
}

/*お知らせ*/
/*PC*/
@media screen and (min-width: 1025px) {
  #post .topNews {
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 60px;
  }

  #post .topNews .topNews__container {
    position: relative;
    width: 1100px;
    height: auto;
    margin: 0 auto;
    padding: 30px 35px;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 10px;
  }

  #post .topNews .topNews__container h3.title {
    margin-bottom: 20px;
    color: #6a3906;
    font-size: 26px;
    line-height: 1.5;
  }
}

/*SP*/
@media screen and (max-width: 1024px) {

.topNews a {
  overflow-wrap: anywhere;
}
  #post .topNews {
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  #post .topNews .topNews__container {
    position: relative;
    width: 350px;
    height: auto;
    margin: 0 auto;
    padding: 15px 20px;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 10px;
  }

  #post .topNews .topNews__container h3.title {
    margin-bottom: 20px;
    color: #6a3906;
    font-size: 18px;
    line-height: 1.5;
  }
}

/*ごあいさつ*/
/*PC*/
@media screen and (min-width: 1025px) {
  #greet {
    position: relative;
    width: 1050px;
    height: auto;
    margin: 0 auto;
  }

  #greet .contents-1 {
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 150px;
  }

  #greet .contents-1::after {
    content: "";
    display: block;
    width: 100%;
    height: 15px;
    background-image: url(/wp2/wp/wp-content/themes/inunekosan/image/line.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: absolute;
    bottom: -90px;
    left: 0;
  }

  #greet .contents-1 h2 {
    display: grid;
    grid-template-columns: 41px max-content;
    -moz-column-gap: 8px;
    column-gap: 8px;
    align-items: center;
    margin-bottom: 25px;
    font-family: "Zen Maru Gothic", serif;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.75;
    letter-spacing: normal;
    text-align: left;
    color: #a0642f;
  }

  #greet .contents-1 h3 {
    margin-bottom: 15px;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    font-size: 36px;
    font-weight: 900;
    line-height: 1.75;
    letter-spacing: normal;
    text-align: left;
    color: #a0642f;
  }

  #greet .contents-1 p {
    margin-bottom: 40px;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 2.14;
    letter-spacing: 1.68px;
    text-align: left;
    color: #000;
  }

  #greet .contents-1 .img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 200px;
    border-radius: 28px;
    background-color: #fff;
    position: relative;
  }

  #greet .contents-1 .img img {
    display: block;
    width: 320px;
    height: auto;
    position: absolute;
    bottom: 0;
    right: 0;
  }

  #greet .contents-1 .img p {
    margin-bottom: 0;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 2.14;
    letter-spacing: 1.6px;
    text-align: left;
    color: #000;
  }

  #greet .contents-2 {
    margin-bottom: 70px;
  }

  #greet .contents-2 h2 {
    display: grid;
    grid-template-columns: 41px max-content;
    -moz-column-gap: 8px;
    column-gap: 8px;
    align-items: center;
    margin-bottom: 25px;
    font-family: "Zen Maru Gothic", serif;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.75;
    letter-spacing: normal;
    text-align: left;
    color: #a0642f;
  }

  #greet .contents-2 .items {
    display: grid;
    grid-template-columns: repeat(2, 500px);
    -moz-column-gap: 50px;
    column-gap: 50px;
  }

  #greet .contents-2 .items .item {
    display: grid;
    grid-template-columns: 150px 1fr;
    -moz-column-gap: 15px;
    column-gap: 15px;
  }

  #greet .contents-2 .items .item .img img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
  }

  #greet .contents-2 .items .item .img p.name {
    font-family: "Zen Maru Gothic", serif;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.5;
    letter-spacing: 2px;
    text-align: center;
    color: #a0642f;
  }

  #greet .contents-2 .items .item .text {
    margin-top: 20px;
  }

  #greet .contents-2 .items .item .text h3 {
    margin-bottom: 10px;
    font-family: "Zen Maru Gothic", serif;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.75;
    letter-spacing: normal;
    text-align: left;
    color: #a0642f;
  }

  #greet .contents-2 .items .item .text p {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.75;
    letter-spacing: 1.68px;
    text-align: left;
    color: #000;
  }

  #greet .contents-3 {
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 70px;
  }

  #greet .contents-3 h2 {
    display: grid;
    grid-template-columns: 40px auto;
    -moz-column-gap: 10px;
    column-gap: 10px;
    align-items: center;
    margin-bottom: 20px;
    margin-left: 25px;
    font-family: "Zen Maru Gothic", serif;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: normal;
    text-align: left;
    color: #fea621;
    position: relative;
  }

  #greet .contents-3 h2::after {
    content: "";
    display: block;
    width: calc(100% - 50px);
    height: 1px;
    border-bottom: dashed 1px #fea621;
    position: absolute;
    bottom: -2.5px;
    right: 0;
  }

  #greet .contents-3 h2 img {
    width: 100%;
    height: auto;
  }

  #greet .contents-3 #calendar {
    position: relative;
    width: 100%;
    height: auto;
  }

  #greet .page-banner {
    display: grid;
    grid-template-columns: 400px 495px;
    -moz-column-gap: 100px;
    column-gap: 100px;
    row-gap: 70px;
    justify-content: center;
    justify-items: center;
  }

  #greet .page-banner .left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    grid-column: 1/2;
    grid-row: 1/2;
    margin-top: 20px;
  }

  #greet .page-banner .left a {
    display: block;
    width: 100%;
    height: 103.02px;
  }

  #greet .page-banner .right {
    position: relative;
    width: 100%;
    height: auto;
    padding: 25px;
    border-radius: 28px;
    background-color: #fff;
    box-sizing: border-box;
    grid-column: 2/3;
    grid-row: 1/2;
  }

  #greet .page-banner .right h2 {
    display: grid;
    grid-template-columns: 45px 1fr;
    -moz-column-gap: 10px;
    column-gap: 10px;
    align-items: center;
    margin-bottom: 20px;
    font-family: "Zen Maru Gothic", serif;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: normal;
    text-align: left;
    color: #67ae9d;
    position: relative;
  }

  #greet .page-banner .right h2::after {
    content: "";
    display: block;
    width: calc(100% - 55px);
    height: 1px;
    border-bottom: dashed 1px #67ae9d;
    position: absolute;
    bottom: -2.5px;
    right: 0;
  }

  #greet .page-banner .right h2 img {
    width: 100%;
    height: auto;
  }

  #greet .page-banner .right .item {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 10px;
  }

  #greet .page-banner .right .item img {
    width: 100%;
    height: auto;
  }

  #greet .page-banner .right .item p {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.73;
    letter-spacing: normal;
    text-align: left;
    color: #000;
  }

  #greet .page-banner .bottom {
    grid-column: 1/3;
    grid-row: 2/3;
    display: block;
    width: 350px;
    height: auto;
  }
}

/*SP*/
@media screen and (max-width: 1024px) {
  #greet {
    position: relative;
    width: 350px;
    height: auto;
    margin: 0 auto;
    padding-top: 95px;
  }

  #greet .contents-1 {
    position: relative;
    margin-bottom: 80px;
  }

  #greet .contents-1::after {
    content: "";
    display: block;
    width: 350px;
    height: 7.5px;
    background-image: url(/wp2/wp/wp-content/themes/inunekosan/image/line.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
  }

  #greet .contents-1 h2 {
    display: grid;
    grid-template-columns: 25px max-content;
    -moz-column-gap: 10px;
    column-gap: 10px;
    align-items: center;
    margin-bottom: 12.5px;
    font-family: "Zen Maru Gothic", serif;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.75;
    letter-spacing: normal;
    text-align: left;
    color: #a0642f;
  }

  #greet .contents-1 h2 img {
    width: 100%;
  }

  #greet .contents-1 h3 {
    margin-bottom: 7.5px;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.75;
    letter-spacing: normal;
    text-align: left;
    color: #a0642f;
  }

  #greet .contents-1 p {
    margin-bottom: 20px;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 2;
    letter-spacing: 0.8px;
    text-align: left;
    color: #000;
  }

  #greet .contents-1 .img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100px;
    border-radius: 14px;
    background-color: #fff;
    position: relative;
  }

  #greet .contents-1 .img img {
    display: block;
    width: 160px;
    height: auto;
    position: absolute;
    bottom: 0;
    right: 0;
  }

  #greet .contents-1 .img p {
    margin-bottom: 0;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 2;
    letter-spacing: 0.8px;
    text-align: left;
    color: #000;
  }

  #greet .contents-2 {
    margin-bottom: 40px;
  }

  #greet .contents-2 h2 {
    display: grid;
    grid-template-columns: 25px max-content;
    -moz-column-gap: 10px;
    column-gap: 10px;
    align-items: center;
    margin-bottom: 12.5px;
    font-family: "Zen Maru Gothic", serif;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.75;
    letter-spacing: normal;
    text-align: left;
    color: #a0642f;
  }

  #greet .contents-2 h2 img {
    width: 100%;
  }

  #greet .contents-2 .items {
    display: grid;
    grid-template-columns: 100%;
    row-gap: 25px;
  }

  #greet .contents-2 .items .item {
    display: grid;
    grid-template-columns: 75px 1fr;
    -moz-column-gap: 7.5px;
    column-gap: 7.5px;
  }

  #greet .contents-2 .items .item .img img {
    width: 100%;
    height: auto;
    margin-bottom: 7.5px;
  }

  #greet .contents-2 .items .item .img p.name {
    font-family: "Zen Maru Gothic", serif;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.5;
    letter-spacing: 1px;
    text-align: center;
    color: #a0642f;
  }

  #greet .contents-2 .items .item .text {
    margin-top: 10px;
  }

  #greet .contents-2 .items .item .text h3 {
    margin-bottom: 10px;
    font-family: "Zen Maru Gothic", serif;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.75;
    letter-spacing: normal;
    text-align: left;
    color: #a0642f;
  }

  #greet .contents-2 .items .item .text p {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.75;
    letter-spacing: 0.8px;
    text-align: left;
    color: #000;
  }

  #greet .contents-3 {
    position: relative;
    width: 350px;
    height: auto;
    margin: 0 auto 40px;
  }

  #greet .contents-3 h2 {
    display: grid;
    grid-template-columns: 26px auto;
    -moz-column-gap: 5px;
    column-gap: 5px;
    align-items: center;
    margin-left: 12.5px;
    margin-bottom: 10px;
    font-family: "Zen Maru Gothic", serif;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: normal;
    text-align: left;
    color: #fea621;
    position: relative;
  }

  #greet .contents-3 h2::after {
    content: "";
    display: block;
    width: calc(100% - 31px);
    height: 1px;
    border-bottom: dashed 1px #fea621;
    position: absolute;
    bottom: -2.5px;
    right: 0;
  }

  #greet .contents-3 h2 img {
    width: 100%;
    height: auto;
  }

  #greet .contents-3 #calendar {
    position: relative;
    width: 100%;
    height: auto;
  }

  #greet .page-banner {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 30px;
    justify-content: center;
    justify-items: center;
  }

  #greet .page-banner .left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
  }

  #greet .page-banner .left a {
    display: block;
    width: 250px;
    height: auto;
  }

  #greet .page-banner .right {
    position: relative;
    width: 100%;
    height: auto;
    padding: 12.5px;
    border-radius: 14px;
    background-color: #fff;
    box-sizing: border-box;
  }

  #greet .page-banner .right h2 {
    display: grid;
    grid-template-columns: 30px 1fr;
    -moz-column-gap: 5px;
    column-gap: 5px;
    align-items: center;
    margin-bottom: 10px;
    font-family: "Zen Maru Gothic", serif;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: normal;
    text-align: left;
    color: #67ae9d;
    position: relative;
  }

  #greet .page-banner .right h2::after {
    content: "";
    display: block;
    width: calc(100% - 35px);
    height: 1px;
    border-bottom: dashed 1px #67ae9d;
    position: absolute;
    bottom: -2.5px;
    right: 0;
  }

  #greet .page-banner .right h2 img {
    width: 100%;
    height: auto;
  }

  #greet .page-banner .right .item {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 5px;
  }

  #greet .page-banner .right .item img {
    width: 100%;
    height: auto;
  }

  #greet .page-banner .right .item p {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    font-size: 10px;
    font-weight: bold;
    line-height: 1.73;
    letter-spacing: normal;
    text-align: left;
    color: #000;
  }

  #greet .page-banner .bottom {
    display: block;
    width: 250px;
    height: auto;
  }
}

/*診療について*/
/*PC*/
@media screen and (min-width: 1025px) {
  #about {
    position: relative;
    width: 1050px;
    height: auto;
    margin: 0 auto;
  }

  #about .contents-1 {
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 150px;
  }

  #about .contents-1::after {
    content: "";
    display: block;
    width: 100%;
    height: 15px;
    background-image: url(/wp2/wp/wp-content/themes/inunekosan/image/line.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: absolute;
    bottom: -90px;
    left: 0;
  }

  #about .contents-1 .items-1 {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 40px;
  }

  #about .contents-1 .items-1 h2 {
    display: grid;
    grid-template-columns: 50px max-content;
    -moz-column-gap: 8px;
    column-gap: 8px;
    align-items: center;
    font-family: "Zen Maru Gothic", serif;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.75;
    letter-spacing: normal;
    text-align: left;
    color: #c878b9;
  }

  #about .contents-1 .items-1 ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
  }

  #about .contents-1 .items-1 ul li {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.75;
    letter-spacing: 1px;
    text-align: left;
    color: #000;
  }

  #about .contents-1 .items-1 ul li span {
    color: #c878b9;
  }

  #about .contents-1 .items-2 {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 40px;
  }

  #about .contents-1 .items-2 h2 {
    display: grid;
    grid-template-columns: 50px max-content;
    -moz-column-gap: 8px;
    column-gap: 8px;
    align-items: center;
    font-family: "Zen Maru Gothic", serif;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.75;
    letter-spacing: normal;
    text-align: left;
    color: #80c41c;
  }

  #about .contents-1 .items-2 h2 img {
    width: 40px;
    margin: 0 auto;
  }

  #about .contents-1 .items-2 ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
  }

  #about .contents-1 .items-2 ul li {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.75;
    letter-spacing: 1px;
    text-align: left;
    color: #000;
  }

  #about .contents-1 .items-2 ul li span {
    color: #80c41c;
  }

  #about .contents-1 .items-3 {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  #about .contents-1 .items-3 h2 {
    display: grid;
    grid-template-columns: 50px max-content;
    -moz-column-gap: 8px;
    column-gap: 8px;
    align-items: center;
    font-family: "Zen Maru Gothic", serif;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.75;
    letter-spacing: normal;
    text-align: left;
    color: #5072b3;
  }

  #about .contents-1 .items-3 ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  #about .contents-1 .items-3 ul li {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 5px;
  }

  #about .contents-1 .items-3 ul li p {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.75;
    letter-spacing: 1px;
    text-align: left;
    color: #000;
  }

  #about .contents-1 .items-3 ul li p span {
    color: #5072b3;
  }

  #about .contents-2 {
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 70px;
  }

  #about .contents-2 h2 {
    display: grid;
    grid-template-columns: 40px auto;
    -moz-column-gap: 10px;
    column-gap: 10px;
    align-items: center;
    margin-bottom: 20px;
    margin-left: 25px;
    font-family: "Zen Maru Gothic", serif;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: normal;
    text-align: left;
    color: #fea621;
    position: relative;
  }

  #about .contents-2 h2::after {
    content: "";
    display: block;
    width: calc(100% - 50px);
    height: 1px;
    border-bottom: dashed 1px #fea621;
    position: absolute;
    bottom: -2.5px;
    right: 0;
  }

  #about .contents-2 h2 img {
    width: 100%;
    height: auto;
  }

  #about .contents-2 #calendar {
    position: relative;
    width: 100%;
    height: auto;
  }

  #about .page-banner {
    display: grid;
    grid-template-columns: 400px 495px;
    -moz-column-gap: 100px;
    column-gap: 100px;
    row-gap: 70px;
    justify-content: center;
    justify-items: center;
  }

  #about .page-banner .left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    grid-column: 1/2;
    grid-row: 1/2;
    margin-top: 20px;
  }

  #about .page-banner .left a {
    display: block;
    width: 100%;
    height: 103.02px;
  }

  #about .page-banner .right {
    position: relative;
    width: 100%;
    height: auto;
    padding: 25px;
    border-radius: 28px;
    background-color: #fff;
    box-sizing: border-box;
    grid-column: 2/3;
    grid-row: 1/2;
  }

  #about .page-banner .right h2 {
    display: grid;
    grid-template-columns: 45px 1fr;
    -moz-column-gap: 10px;
    column-gap: 10px;
    align-items: center;
    margin-bottom: 20px;
    font-family: "Zen Maru Gothic", serif;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: normal;
    text-align: left;
    color: #67ae9d;
    position: relative;
  }

  #about .page-banner .right h2::after {
    content: "";
    display: block;
    width: calc(100% - 55px);
    height: 1px;
    border-bottom: dashed 1px #67ae9d;
    position: absolute;
    bottom: -2.5px;
    right: 0;
  }

  #about .page-banner .right h2 img {
    width: 100%;
    height: auto;
  }

  #about .page-banner .right .item {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 10px;
  }

  #about .page-banner .right .item img {
    width: 100%;
    height: auto;
  }

  #about .page-banner .right .item p {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.73;
    letter-spacing: normal;
    text-align: left;
    color: #000;
  }

  #about .page-banner .bottom {
    grid-column: 1/3;
    grid-row: 2/3;
    display: block;
    width: 350px;
    height: auto;
  }
}

/*SP*/
@media screen and (max-width: 1024px) {
  #about {
    position: relative;
    width: 350px;
    height: auto;
    margin: 0 auto;
    padding-top: 95px;
  }

  #about .contents-1 {
    position: relative;
    margin-bottom: 80px;
  }

  #about .contents-1::after {
    content: "";
    display: block;
    width: 350px;
    height: 7.5px;
    background-image: url(/wp2/wp/wp-content/themes/inunekosan/image/line.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
  }

  #about .contents-1 .items-1 {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 20px;
  }

  #about .contents-1 .items-1 h2 {
    display: grid;
    grid-template-columns: 25px max-content;
    -moz-column-gap: 4px;
    column-gap: 4px;
    align-items: center;
    font-family: "Zen Maru Gothic", serif;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.75;
    letter-spacing: normal;
    text-align: left;
    color: #c878b9;
  }

  #about .contents-1 .items-1 ul {
    list-style: none;
    display: flex;
    gap: 10px;
    align-items: center;
  }

  #about .contents-1 .items-1 ul li {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.75;
    letter-spacing: 0.5px;
    text-align: left;
    color: #000;
  }

  #about .contents-1 .items-1 ul li span {
    color: #c878b9;
  }

  #about .contents-1 .items-2 {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 20px;
  }

  #about .contents-1 .items-2 h2 {
    display: grid;
    grid-template-columns: 25px max-content;
    -moz-column-gap: 4px;
    column-gap: 4px;
    align-items: center;
    font-family: "Zen Maru Gothic", serif;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.75;
    letter-spacing: normal;
    text-align: left;
    color: #80c41c;
  }

  #about .contents-1 .items-2 h2 img {
    width: 20px;
    height: auto;
    margin: 0 auto;
  }

  #about .contents-1 .items-2 ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
  }

  #about .contents-1 .items-2 ul li {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.75;
    letter-spacing: 0.5px;
    text-align: left;
    color: #000;
  }

  #about .contents-1 .items-2 ul li span {
    color: #80c41c;
  }

  #about .contents-1 .items-3 {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  #about .contents-1 .items-3 h2 {
    display: grid;
    grid-template-columns: 25px max-content;
    -moz-column-gap: 4px;
    column-gap: 4px;
    align-items: center;
    font-family: "Zen Maru Gothic", serif;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.75;
    letter-spacing: normal;
    text-align: left;
    color: #5072b3;
  }

  #about .contents-1 .items-3 ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  #about .contents-1 .items-3 ul li {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 2.5px;
  }

  #about .contents-1 .items-3 ul li p {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.75;
    letter-spacing: 0.5px;
    text-align: left;
    color: #000;
  }

  #about .contents-1 .items-3 ul li p span {
    color: #5072b3;
  }

  #about .contents-2 {
    margin-bottom: 40px;
  }

  #about .contents-2 h2 {
    display: grid;
    grid-template-columns: 25px max-content;
    -moz-column-gap: 10px;
    column-gap: 10px;
    align-items: center;
    margin-bottom: 12.5px;
    font-family: "Zen Maru Gothic", serif;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.75;
    letter-spacing: normal;
    text-align: left;
    color: #a0642f;
  }

  #about .contents-2 h2 img {
    width: 100%;
  }

  #about .contents-2 .items {
    display: grid;
    grid-template-columns: 100%;
    row-gap: 25px;
  }

  #about .contents-2 .items .item {
    display: grid;
    grid-template-columns: 75px 1fr;
    -moz-column-gap: 7.5px;
    column-gap: 7.5px;
  }

  #about .contents-2 .items .item .img img {
    width: 100%;
    height: auto;
    margin-bottom: 7.5px;
  }

  #about .contents-2 .items .item .img p.name {
    font-family: "Zen Maru Gothic", serif;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.5;
    letter-spacing: 1px;
    text-align: center;
    color: #a0642f;
  }

  #about .contents-2 .items .item .text {
    margin-top: 10px;
  }

  #about .contents-2 .items .item .text h3 {
    margin-bottom: 10px;
    font-family: "Zen Maru Gothic", serif;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.75;
    letter-spacing: normal;
    text-align: left;
    color: #a0642f;
  }

  #about .contents-2 .items .item .text p {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.75;
    letter-spacing: 0.8px;
    text-align: left;
    color: #000;
  }

  #about .contents-3 {
    position: relative;
    width: 350px;
    height: auto;
    margin: 0 auto 40px;
  }

  #about .contents-3 h2 {
    display: grid;
    grid-template-columns: 26px auto;
    -moz-column-gap: 5px;
    column-gap: 5px;
    align-items: center;
    margin-left: 12.5px;
    margin-bottom: 10px;
    font-family: "Zen Maru Gothic", serif;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: normal;
    text-align: left;
    color: #fea621;
    position: relative;
  }

  #about .contents-3 h2::after {
    content: "";
    display: block;
    width: calc(100% - 31px);
    height: 1px;
    border-bottom: dashed 1px #fea621;
    position: absolute;
    bottom: -2.5px;
    right: 0;
  }

  #about .contents-3 h2 img {
    width: 100%;
    height: auto;
  }

  #about .contents-3 #calendar {
    position: relative;
    width: 100%;
    height: auto;
  }

  #about .page-banner {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 30px;
    justify-content: center;
    justify-items: center;
  }

  #about .page-banner .left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
  }

  #about .page-banner .left a {
    display: block;
    width: 250px;
    height: auto;
  }

  #about .page-banner .right {
    position: relative;
    width: 100%;
    height: auto;
    padding: 12.5px;
    border-radius: 14px;
    background-color: #fff;
    box-sizing: border-box;
  }

  #about .page-banner .right h2 {
    display: grid;
    grid-template-columns: 30px 1fr;
    -moz-column-gap: 5px;
    column-gap: 5px;
    align-items: center;
    margin-bottom: 10px;
    font-family: "Zen Maru Gothic", serif;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: normal;
    text-align: left;
    color: #67ae9d;
    position: relative;
  }

  #about .page-banner .right h2::after {
    content: "";
    display: block;
    width: calc(100% - 35px);
    height: 1px;
    border-bottom: dashed 1px #67ae9d;
    position: absolute;
    bottom: -2.5px;
    right: 0;
  }

  #about .page-banner .right h2 img {
    width: 100%;
    height: auto;
  }

  #about .page-banner .right .item {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 5px;
  }

  #about .page-banner .right .item img {
    width: 100%;
    height: auto;
  }

  #about .page-banner .right .item p {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    font-size: 10px;
    font-weight: bold;
    line-height: 1.73;
    letter-spacing: normal;
    text-align: left;
    color: #000;
  }

  #about .page-banner .bottom {
    display: block;
    width: 250px;
    height: auto;
  }
}

/*カレンダー*/
@media screen and (min-width: 769px) {
  #calendar {
    margin-bottom: 10px;
  }

  .fc-button-group {
    -moz-column-gap: 15px;
    column-gap: 15px;
  }

  .fc-button {
    border-radius: 0.25em !important;
  }

  .fc-daygrid-event {
    padding: 3px 1.5px;
  }

  .fc table {
    font-weight: bold;
    line-height: 1.3;
  }

  .fc-event-main b {
    display: block;
  }

  .fc-event-main b:nth-of-type(1) {
    margin-bottom: 5px;
  }
}

@media screen and (max-width: 768px) {
  #calendar {
    margin-bottom: 5px;
  }

  .fc-view-harness {
    min-height: 350px;
  }

  .fc-button-group {
    -moz-column-gap: 7.5px;
    column-gap: 7.5px;
  }

  .fc-button {
    border-radius: 0.25em !important;
  }

  .fc-daygrid-event {
    padding: 2px 1px;
  }

  .fc table {
    font-size: 0.625em;
    font-weight: bold;
    line-height: 1.3;
  }

  .fc-daygrid-event {
    font-size: 0.5em;
  }

  .fc-button {
    font-size: 0.8em !important;
  }

  .fc-event-main b {
    display: block;
  }

  .fc-event-main b:nth-of-type(1) {
    margin-bottom: 2.5px;
  }
}

.fc-today-button,
.fc-dayGridMonth-button,
.fc-listYear-button,
.fc-toolbar-title {
  display: none !important;
}

.fc-button-primary {
  background-color: #a0642f !important;
  border-color: #a0642f !important;
  color: #fff !important;
}

.fc-header-toolbar {
  margin-bottom: 0.5em !important;
}

.fc-daygrid-event {
  white-space: wrap !important;
}

.fc-h-event {
  border: none !important;
}

.fc-daygrid-event-dot {
  display: none !important;
}

#calendar .fc-scrollgrid {
  background-color: #fff;
}

#calendar thead {
  background-color: #e0e1df;
}

/*# sourceMappingURL=style.css.map */