@charset "UTF-8";
@import url("css/index.css");
@import url("css/page.css");
@import url("css/write.css");
@import url("css/topics.css");
@import url("css/report.css");
@import url("css/recruit.css");
@import url("css/wordpress.css");

@font-face {
    font-family: 'Zen Maru Gothic';
    src: url('fonts/ZenMaruGothic-Bold.woff2') format('woff2'),
        url('fonts/ZenMaruGothic-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Zen Maru Gothic';
    src: url('fonts/ZenMaruGothic-Regular.woff2') format('woff2'),
        url('fonts/ZenMaruGothic-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Zen Maru Gothic';
    src: url('fonts/ZenMaruGothic-Bold.woff2') format('woff2'),
        url('fonts/ZenMaruGothic-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Zen Maru Gothic';
    src: url('fonts/ZenMaruGothic-Regular.woff2') format('woff2'),
        url('fonts/ZenMaruGothic-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/*
  Theme Name: 3ど° | 飯舘村移住サポートセンター
  Theme URI: https://iju-iitate.net
  Description: WordPress Corporate Theme
  Author: yumitakeno
  Author URI: https://iju-iitate.net
*/



/* ひとまず */
header .top_menu nav.sab_nav ul li:last-child {
  display: none !important;
}
#cont ul li:nth-of-type(3) {
  display: none !important;
}
body.no-scroll {
  height: 100%;
}

* { 
 box-sizing: border-box;
 color: #333333;
}

/* color */
:root{
  --color_b: #036EB8;
  --color_y: #FFD938;
  --color_bk: #333333;
  --color_g: #F5F5F5;
}

/* font */
body {
  font-family: "Zen Maru Gothic", sans-serif;
  font-style: normal;
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0.01em;
}

.m_font {
  font-family: 'YuMincho','Yu Mincho','游明朝体','ＭＳ 明朝', 'MS Mincho',sans-serif;
  font-weight:bold !important;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, figure {
  margin: 0;
  padding: 0;
  outline: 0;
  border: 0;
  vertical-align: baseline;
}
html { 
  overflow-y: scroll;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
  height: 100%;
  width: 100%;
}
body {
  -webkit-text-size-adjust: 100%; 
  -moz-text-size-adjust: 100%; 
  -ms-text-size-adjust: 100%; 
  -o-text-size-adjust: 100%; 
  text-size-adjust: 100%;
  position: relative;
  width: 100%;
  overflow: hidden;
}
img {
  vertical-align: top;
  width: 100%;
}
a {
  outline: medium none;
  text-decoration: none;
  transition: all 0.3s ease-in-out 0s;
}
a:hover {
  transition: all 0.3s ease-in-out 0s;
}
a img {
  border-style: none;
  transition: all 0.3s ease-in-out 0s;
}
a:hover img {
  border-style: none;
  transition: all 0.3s ease-in-out 0s;
}
ul,li {
  list-style-type: none;
}
p {
  text-align: justify;
}

/* link */
.link_all {
  width: 40px;
}
.link_all a:hover {
  opacity: 0.7;
}
.link a {
  font-size: 18px;
  color: var(--color_b);
  text-align: center;
  white-space: nowrap;
  padding: 6px 10px 8px;
  border: 2px solid var(--color_b);
  border-radius: 30px;
  width: 280px;
  display: inline-block;
  background: #fff;
  
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.link a::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 0%;
  height: 100%;
  background: var(--color_y);
  transition: all .3s;
  border-radius: 30px;
}
.link a:hover::before {
  width: 100%;
}
.page_link {
  display: flex;
  justify-content: center;
  flex-flow: wrap;
  gap: 10px 30px;
}
.link.on a::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url(images/link.png.webp);
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  position: relative;
  top: -3px;
  margin-left: 4px;
}
.link.pdf a {
  width: auto;
  padding: 6px 20px 8px;
}
.link.pdf a::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url(images/link_pdf.png.webp);
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  position: relative;
  margin-left: 8px;
}

br.res {
  display: none;
}
br.reson {
  display: block;
}

#cont,
.logo_res,
.main_nav span,
.main_nav span,
.top_sns,
.res_tel,
footer .res,
footer a.res {
  display: none;
}

/* スクロールlogo変更 */
header.on h1 {
  width: 100px !important;
  transition: all 0.4s ease;
}

header {
  width: 100%;
  height: 134px;
  background: #fff;  
  position: relative;
  z-index: 9999;
}
header h1 {
  width: 120px;
  position: fixed;
  z-index: 200;
  top: 30px;
  left: 30px;
  transition: all 0.4s ease;
}

header .top_menu .menu_in {
  display: flex;
  max-width: 1400px;
  margin: auto;
  padding: 0 3% 0 18%;
}
@media (1200px <= width) {
header .top_menu nav.main_nav {
  padding-top: 24px;
  z-index: 2;
  width: 100%;
}
header .top_menu nav.main_nav ul {
  display: flex;
  gap: 4%;
}
header .top_menu nav.main_nav ul > li {
  font-size: 15px;
  line-height: 10px;
  z-index: 0;
  display: inline-block;
  position: relative;
  white-space: nowrap;
}
header .top_menu nav.main_nav ul > li:hover img {
  transition: transform 0.3s;
  transform: rotate(16deg);
}
header .top_menu nav.main_nav ul li::before {
  content: "";
  display: inline-block;
  width: 70px;
  height: 70px;
  background: var(--color_y);    
  border-radius: 50%;  
  position: absolute;
  z-index: -1;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.0);
  transition: transform 0.3s;
}
header .top_menu nav.main_nav ul li b {
  font-weight: normal;
  transition: transform 0.3s; 
  display: inline-block;
}
header .top_menu nav.main_nav ul li:hover b {
  transform: scale(1.2);
}
header .top_menu nav.main_nav ul li:hover::before {
  transform: translate(-50%, -50%) scale(1.0);
}
header .top_menu nav.main_nav ul.downlist li::before {
  content: none;
}
header .top_menu nav.main_nav ul > li img {
  height: 60px;
  width: auto;
  display: block;
  margin: auto;
}
header .top_menu nav.main_nav ul.downlist {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition:.3s;
  width: auto;
  position: absolute;
  left: 0;

  background: #fff;
  border: 3px solid var(--color_b);
  border-radius: 20px;
  padding: 20px 30px 10px;
  display: flex;
  justify-content: center;
  gap: 40px;
}
header .top_menu nav.main_nav ul.downlist a {
  color: var(--color_b);
  font-size: 18px;
}
header .top_menu nav.main_nav ul.downlist a:hover {
  color: var(--color_y);
}
header .top_menu nav.main_nav ul > li:hover ul.downlist {
  height: 60px;
  overflow: visible;
  opacity: 1;
  transition:.3s;
  
  top: 100px;
  position: absolute;
}
header .top_menu nav.main_nav ul.downlist li {
  white-space: nowrap;
}
header .top_menu nav.main_nav ul.downlist::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  background-image: url(images/head_menu.png.webp);
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  z-index:1;
  top: -15px;
  left: 10%;
}
header .top_menu nav.sab_nav ul {
  display: flex;
  gap: 10px;
}
header .top_menu nav.sab_nav ul li {
  width: 120px;
  height: 100px;
  position: relative;
  z-index: 1;
  
  display: flex;
  align-items: center;
  justify-content: center;
}
header .top_menu nav.sab_nav ul li::before {
  content: '';
  display: inline-block;
  width: 120px;  
  height: 133px;
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  position: absolute;
  z-index: -1;
  left: 50%;
  transform: translateX(-50%);
}
header .top_menu nav.sab_nav ul li:first-child::before {
  background-image: url(images/button_contact_1.png.webp);
}
header .top_menu nav.sab_nav ul li:last-child::before {
  background-image: url(images/button_contact_2.png.webp);
}
header .top_menu nav.sab_nav ul li img {
  width: 50px;
  margin-top: 10px;
}
header .top_menu nav.sab_nav ul li:hover img {
  transition: transform 0.3s;
  transform: rotateY(180deg);
}
header .top_menu nav.sab_nav_res {
  display: none;
}
} /* 1200px 以上 */

#sidescroll {
  position: fixed;
  display: flex;
  flex-direction: column;
  gap: 50px;
  bottom: 6%;
  left: 2%;
  z-index: 1000;
}
#sidescroll img {
  width: 14px;
}
#sidescroll .animation {
  animation: anima 1s ease-in-out infinite alternate-reverse;
}
@keyframes anima {
  0% {
    transform: translateY(-5%);
  }
  100% {
    transform: translateY(5%);
  }
}

#scroll {
  display: none;
  position: fixed;
  z-index: 2000;
  bottom: 30px;
  width: 100%;
}
#add {
  bottom:4%;
  width: 840px;
  margin: auto;
  left: -90px;
  right: 0;
}
#add .action-close {
  position: relative;
}
#add .action-close .btn {
  position: absolute;
  right: 0;
  top: -8px;
  width: 37px;
  height: 37px;
  font-size: 28px;
  line-height: 12px;
  padding: 0 5px 3px;
  background-image: url("images/button_batu.png.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  cursor: pointer;
  transition:.3s;
}
#add .action-close .btn::before {
  content: "";
  display: inline-block;
  width: 37px;
  height: 37px;
  background-image: url("images/button_batu_f.png.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
  left: 0;
  top: 0;
  position: absolute;
}
#add .action-close .btn:hover::before {
  opacity: 1;
}
#add .add-control .checkbox {
  display: none;
}
#add .add-control .action-close #close:checked ~ .btn {
  display: none;
}
#add .add-control .action-close #close:checked ~ .box {
  display: none;
}
#add .action-close .box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  
  background: #fff;
  border: 4px solid var(--color_b);
  border-radius: 30px;
  padding: 10px 30px;
}
#add .action-close .box .illsut {
  width: 18%;
}
#add .action-close .box .tell {
  width: 50%;
}
#add .action-close .box  ul {
  width: 26%;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
#add .action-close .box ul li{
  color: var(--color_b);
  background: var(--color_y);
  font-size: 17px;
  line-height: 18px;
  padding: 2px 7px 5px;
  border-radius: 30px;
}
#add .action-close .box ul li::before {
  content: "#";
}

#info,
#cont .info {
  position: absolute;
  background: #fff;
  border: 3px solid var(--color_b);
  border-radius: 10px;
  right: -10px;
  top: -120px;
  white-space: nowrap;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-feature-settings: initial;
  padding: 60px 6px 20px 3px;
  transition:.3s;
  z-index: 1;
}
#info::before,
#cont .info::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 32px;
  background-image: url(images/info.webp);
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  position: absolute;
  z-index: 2;
  left: 7px;
  top: 16px;
}
#info:hover,
#cont .info:hover {
  background: var(--color_y);
  transition:.3s;
}
#info a,
#cont .info a {
  color: var(--color_b);
  font-size: 16px;
  letter-spacing: 2px;
  position: relative;
  right: 1px;
}

#online {
  position: absolute;
  right: 6%;
  bottom: 30%;
  text-align: center;
  font-size: 23px;
  line-height: 27px;
  white-space: nowrap;
  transition: transform 0.3s;
  padding-bottom: 8px;
}
#online a {
  font-weight: bold;
  width: 90px;
  display: inline-block;
  transition: transform 0.3s;
}
#online a span {
  display: block;
  letter-spacing: -4px;
  transition: transform 0.3s;
}
#online::before {
  content: '';
  display: inline-block;
  width: 140px;
  height: 140px;
  background: #fff;
  border: 4px solid var(--color_b);
  border-radius: 50% 5% 50% 50%;
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s;
}
#online:hover::before {
  transform: translate(-50%, -50%) scale(0.9);
  transition: transform 0.3s;
  background: var(--color_b);
  color: #fff;
}
#online:hover a {
  color: #fff;
  transition: transform 0.3s;
}
#online:hover a span {
  color: #fff;
  transition: transform 0.3s;
}
#online:hover {
  transition: transform 0.3s;
  transform: rotate(16deg) scale(1.05);
  opacity: 1;
}

section.topics {
  padding: 120px 10px 0;
  margin-top: 50px;
  position: relative;
}
section.topics::after {
  content: '';
  display: inline-block;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  height: 100%;
  background: var(--color_b);
  position: absolute;
  z-index: -2;
  bottom: -160px;
  left: 0;
}
section.topics .topics_in {
  position: relative;
}
section.topics .topics_in::before {
  content: '';
  display: inline-block;
  max-width: 1200px;
  width: 118%;
  height: 900px;
  background-image: url(images/slider_back.png.webp);
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  position: absolute;
  z-index: -1;
  
  left: 50%;
  transform: translateX(-50%);
  top: -96px;
}
main#page section.topics .topics_in::before {
  top: -78px;
}
section h2 {
  color: var(--color_b);
  font-weight: bold;
  letter-spacing: 2px;
  text-align: center;
  line-height: 40px;
}
section.topics .category {
  margin-top: 10px;
}
section.topics .category ul {
  display: flex;
  gap: 30px;
  justify-content: center;
  padding: 10px 0 30px;
}
section.topics .category li a {
  padding: 12px 35px;
  border-radius: 30px;
  letter-spacing: 1px;
  white-space: nowrap;
  font-size: 16px;
  background: var(--color_g);
}
section.topics .category li.current a {
  background: #E4E4E4;
}
section.topics .category li a:hover {
  background: #E4E4E4;
}
section.topics .slider::before {
  content: '';
  display: inline-block;
  width: 210px;
  height: 200px;
  background-image: url(images/slider_illust.png.webp);
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  position: absolute;
  z-index:1;
  right: -90px;
  top: -330px;
}

main#idx section.topics .slider,
main#page section.topics .slider {
  width: 840px;
  margin: auto;
  position: relative;
  
  display: flex;
  flex-flow: wrap;
}
main#idx section.topics .slider dl,
main#page section.topics .slider dl {
  width: calc(92% / 3);
  font-family: "Zen Maru Gothic", sans-serif;
}
main#page section.topics h2 {
  padding-top: 20px;
}
main#page section.topics .slider {
  margin: 10px auto 30px;
}
main#page.single section.topics .slider {
  margin: 40px auto 30px;
}
main#page section.topics .slider::before {
  top: -350px;
}
section.topics .slider dl,
main#page.home .in.topics dl {
  margin: 0 7px;
}
section.topics .slider dt a:hover,
main#page.home .in.topics dl a:hover {
  opacity: 0.7;
}
section.topics .slider img,
main#page.home .in.topics img {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  width: 100%;
}
section.topics .slider dd.day,
main#page.home .in.topics dd.day {
  font-size: 13px;
  padding-top: 6px;
  color: #A7A7A7;
}
section.topics .slider dd p,
main#page.home .in.topics dd p {
  font-size: 15px;
  text-align: justify;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 22px;
}
section.topics .slider dd .c_t,
main#page.home .in.topics dd .c_t {
  height: 26px;
  overflow: hidden;
}
section.topics .slider dd ul,
main#page.home .in.topics dd ul {
  font-size: 14px;
  display: flex;
  height: 30px;
  width: 100%;
  white-space: nowrap
}
section.topics .slider dd li:not(:last-child)::after,
main#page.home .in.topics dd li:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 16px;
  background-color: #C8C8C8;
  margin: 0 10px; 
  position: relative;
  top: 2px;
}
section.topics .slider dd li:last-child,
main#page.home .in.topics dd li:last-child {
  display: flex;
  flex-wrap: wrap;
  line-height: 20px;
  padding-top: 4px;
  gap: 0 5px;
}
section.topics .slider dd ul a,
main#page.home .in.topics dd ul a {
  color: #A7A7A7;
}
section.topics .slider dd ul a:hover,
main#page.home .in.topics dd ul a:hover {
  color: var(--color_y);
}

section.topics .link {
  display: table;
  margin: 30px auto 0;
}

section.series {
  margin: 100px 0 80px;
  padding: 0 10px;
  position: relative;
}
section.series::after {
  content: '';
  display: inline-block;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  height: 130%;
  background-image: url("images/back_3.png.webp");
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
}
section.series > p {
  max-width: 420px;
  width: 92%;
  display: table;
  margin: 0 auto 30px;
}
section.series ul {
  display: flex;
  gap : 40px;
  max-width: 1240px;
  margin: auto;
}
section.series ul a:hover {
  opacity: 0.7;
}

footer {
  position: relative;
  z-index: 3000;
  background: var(--color_b);
  padding: 30px 20px 10px;
}
footer .foot {
  max-width: 1300px;
  width: 100%;
  padding: 0 20px;
  margin: auto;
  
  display: flex;
  justify-content: space-around;
}
footer .foot p {
  color: #fff;
  font-size: 12px;
}
footer .foot .logo {
  display: flex;
  align-items: center;
  gap: 20px;
}
footer .foot .logo a:nth-of-type(1) {
  width: 400px;
  display: inline-block;
}
footer .foot .logo a:nth-of-type(4) {
  width: 24px;
  display: inline-block;
}
footer .foot .logo a:hover {
  opacity: 0.7;
}
footer .foot .address {
  padding: 20px 0 0;
}
footer .foot .tel {
  width: 380px;
}
footer .foot .tel a:hover {
  opacity: 0.7;
}
footer .foot #cp {
  padding: 40px 0 0;
  font-size: 11px;
}
footer .foot .foot_menu {
  display: flex;
  gap: 30px;
  padding-top: 10px;
}
footer .foot .foot_menu li {
  line-height: 28px;
}
footer .foot .foot_menu a {
  color: #fff;
  font-size: 15px;
  line-height: 15px;
}
footer .foot .foot_menu a::before {
  content: "-";
  padding-right: 5px;
}
footer .foot .foot_menu a:hover {
  color: var(--color_y);
}
footer .foot .foot_menu ul.img_link li {
  line-height: 40px;
}
footer .foot .foot_menu ul.img_link a {
  display: inline-block;
  background: #fff;
  width: 200px;
  height: 50px;
  text-align: center;
  border-radius: 5px;
  overflow: hidden;
}
footer .foot .foot_menu ul.img_link a img {
 display: inline-block;
 height: 100%;
 width: auto;
}
footer .foot .foot_menu ul.img_link a img:hover {
  opacity: 0.6;
}
footer .foot .foot_menu ul.img_link a::before {
  content: none;
}
footer #gotop a {
  width: 70px;
  height: 70px;
  position: absolute;
  right: 3%;
  top: -3%;
}
footer #gotop a:hover {
  transform:translateY(-10px);
}


@media (width < 1200px) {
#scroll,
.sab_nav,
main_nav.downlist,
#sidescroll,
footer .pc,
footer a.pc {
  display: none !important;
}

.link a {
  background: var(--color_y);
}
main#page section.topics .link a {
  background: var(--color_y);
}
main#page .link a {
  background: #fff;
}

.logo_res,
.main_nav span,
.top_sns,
.res_tel,
footer .res,
footer a.res {
  display: block !important;
}

/* レスポンシブ */
.navbar_toggle {
  display: inline-block;
  z-index: 9999;
  position: fixed;
  width: 35px;
  height: 35px;
  right: 0;
  top: 0;
  margin: 14px 14px;
}
.navbar_toggle_icon {
  position: relative;
  display: block;
  height: 2px;
  background: var(--color_b);
  transition: ease .5s;
}
.navbar_toggle_icon:nth-child(1) {
  top: 0;
  width: 30px;
}
.navbar_toggle_icon:nth-child(2) {
  margin: 8px 0;
  width: 26px;
}
.navbar_toggle_icon:nth-child(3) {
  top: 0;
  width: 30px;
}
.navbar_toggle.open .navbar_toggle_icon:nth-child(1) {
  top: 12px;
  -webkit-transform: rotate(34deg);
  transform: rotate(34deg);
  background: #fff;
}
.navbar_toggle.open .navbar_toggle_icon:nth-child(2) {
  opacity: 0;
}
.navbar_toggle.open .navbar_toggle_icon:nth-child(3) {
  top: -8px;
  -webkit-transform: rotate(-34deg);
  transform: rotate(-34deg);
  background: #fff;
}
.top_menu {
  position: fixed;
  background: var(--color_b);
  display: none;
  height: 100vh;
  width: 100%;
  z-index: 9000;
  margin: auto;
  left: 0;
  top: 0;
  overflow: scroll;
  padding-top: 50px;
}
.top_menu .menu_in {
  margin: auto;
  padding: 20px;
  max-width: 500px;
  width: 100%;  
  height: auto;
}
.nav_menu.open {
  -webkit-transform:translateX(0);
  transform:translateX(0);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

header {
  height: 0;
  background: #fff;
}
header.idx {
  height: 80px;
}
header.on h1 {
  width: 60px !important;
}
header h1 {
  width: 90px;
  top: 18px;
  left: 18px;
}

/* アコーディオン */
.main_nav .downlist {
  display: none;
}
.main_nav li.is-open > .downlist {
  display: block;
}
.main_nav li:has(> .downlist) > a {
  position: relative;
  padding-right: 2.5em;
}
.main_nav li:has(> .downlist) > a::before {
  content: "+";
  position: absolute;
  color: #fff;
  width: 18px;
  height: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  border-radius: 30px;
  right: 0;
  top: 12px;
  font-size: 21px;
  padding: 1px 0px 4px 2px;
  pointer-events: none;
}
.main_nav li.is-open > a::before {
  content: "−";
}
.main_nav li:not(:has(> .downlist)) > a::after {
  content: '';
  display: inline-block;
  width: 55px;
  height: 14px;
  background-image: url(images/res_menu-2.png.webp);
  background-repeat: no-repeat;
  background-size: contain;
  margin-left: 15px;
}
.main_nav li > a::before,
.main_nav li > a::after {
  pointer-events: none;
}
/* /アコーディオン */

header .top_menu .menu_in {
  flex-direction: column;
  justify-content: center;
  padding: 0;
  
  border-top: 1px dotted #fff;
}
header .top_menu .menu_in::before {
  content: "MENU";
  position: absolute;
  font-size: 13px;
  color: #fff;
  top: 20px;
  letter-spacing: 2px;
  width: 290px;
  margin: auto;
  left: 50%;
  transform: translateX(-50%);
}
header .top_menu nav.main_nav ul {
  flex-direction: column;
  flex-flow: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px 0;
}
header .top_menu nav.main_nav > ul li {
  width: 100%;
  white-space: nowrap;
  border-bottom: 1px dotted #fff;
}
header .top_menu nav.main_nav ul li a {
  display: flex;
  align-items: center;
  padding: 10px 0;
  letter-spacing: 2px;
  width: 290px;
  margin: auto;
}
header .top_menu nav.main_nav ul > li img {
  display: none;
}
header .top_menu nav.main_nav ul > li b {
  color: #fff;
  font-size: 18px;
  line-height: 26px;
}
header .top_menu nav.main_nav .downlist {
  background: #fff;
}
header .top_menu nav.main_nav .downlist a {
  font-size: 16px;
  color: var(--color_b);
  padding: 4px 50px;
}
header .top_menu nav.main_nav .downlist li:not(:last-child) {
  border-bottom: 1px dotted var(--color_b);
}

header .menu_in .sab_nav_res {
  padding: 20px 0;
}
header .menu_in .sab_nav_res li a {
  text-align: center;
  width: 290px;
  display: block;
  margin: 14px auto;
  border-radius: 30px;
  
  background: #fff;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 2px;
  color: var(--color_b);
  padding: 2px 0 4px;
}

#cont {
  display: none;
}
#cont {
  position: fixed;
  bottom: 0;
  z-index: 8000;
  width: 100%;
  height: 78px;
}
#cont ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: 100%;
  margin: auto;
}
#cont ul li {
  height: 78px;
  overflow: hidden;
  position: relative;
}
/* ひとまず */
#cont ul li:nth-of-type(1),
#cont ul li:nth-of-type(2) {
  width: 50%;
}
#cont ul li:nth-of-type(2) a {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--color_b);
  height: 100%;
  width: 100%;
  gap: 10px;
  font-size: 15px;
}
#cont ul li:nth-of-type(2) a::before{
  content: "";
  display: inline-block;
  width: 20px;
  height: 30px;
  background-image: url(images/icon_tel.png.webp);
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  position: relative;
}
/*
#cont ul li:nth-of-type(1) {
  width: 54%;
}

#cont ul li:nth-of-type(2),
#cont ul li:nth-of-type(3) {
  width: 23%;
}
*/
#cont ul li::after {
  content: "";
  display: inline-block;
  width: 100%;
  height: 7px;
  position: absolute;
  left: 0;
  top: 0;
  mix-blend-mode: multiply;
  z-index: 2;
  opacity: 0.4;
}
#cont ul li:nth-of-type(1)::after {
  background: var(--color_y);
}
#cont ul li:nth-of-type(2)::after,
#cont ul li:nth-of-type(3)::after {
  background: var(--color_b);
}
#cont ul li a {
  position: relative;
  white-space: nowrap;
  z-index: 2;
  height: 100%;
  line-height: 22px;
  color: #fff;
}
#cont ul li:nth-of-type(1) a {
  background: var(--color_y);
  width: 100%;
  gap: 10px;
  padding: 0 20px;
  border-right: 1px solid #fff;
  color: var(--color_b);
  
  display: flex;
  align-items: center;
  justify-content: center;
}
#cont ul li:nth-of-type(1) a::before {
  content: '';
  display: inline-block;
  width: 50px;
  height: 42px;
  background-image: url(images/button_contact_1-1.png.webp);
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  z-index:1;
}
/*
#cont ul li:nth-of-type(2) a,
#cont ul li:nth-of-type(3) a {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  background: var(--color_b);
  height: 100%;
  width: 100%;
  gap: 10px;
  font-size: 15px;
  padding-bottom: 8px;
}
#cont ul li:nth-of-type(2) a {
  border-right: 1px solid #fff;
}
#cont ul li:nth-of-type(2) a::before{
  content: "";
  display: inline-block;
  width: 20px;
  height: 30px;
  background-image: url(images/icon_tel.png.webp);
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
}
#cont ul li:nth-of-type(3) a::before{
  content: "";
  display: inline-block;
  width: 38px;
  height: 28px;
  background-image: url(images/button_contact_2-2.png);
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
}
*/
#cont ul li:nth-of-type(4) {
  position: absolute;
}
#cont .info {
  top: -220px;
}

footer .foot {
  flex-direction: column;
  max-width: 420px;
}
footer .foot .logo {
  align-items: end;
}
footer .foot .address {
  line-height: 18px;
}
footer .foot .logo a:nth-of-type(2) {
  width: 130px;
  display: inline-block;
  margin: 0 130px 0 -14px;
}
footer .foot .logo a:nth-of-type(3) {
  width: 26px;
}
footer .foot .tel {
  max-width: 350px;
  margin-left: -20px;
}
footer .foot .logo a:nth-of-type(4) {
  width: 30px;
}
footer .foot .foot_menu {
  padding: 14px 0 50px;
}
footer .foot .foot_menu ul:first-child {
  display: none;
}
footer .foot #cp {
  padding: 0;
  position: absolute;
  bottom: 20px;
}
} /* 1200以下 */


@media (width < 1000px) {
section.topics {
  margin: 150px auto 60px;
  padding: 30px 20px;
  
  background: #fff;
  border: 3px solid var(--color_b);
  max-width: 680px;
  border-radius: 30px;
}
section.topics::after {
  bottom: auto;
  top: 80px;
  height: 110%;
}
section.topics .topics_in::before {
  content: none;
}
section.topics .slider::before {
  content: none;
}
section.topics .category {
  display: flex;
  margin: auto;
}
section.topics .category ul {
  width: 96%;
  white-space: nowrap;
  display: flex;
  gap: 3px 8px;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding: 6px;
  margin: 5px auto 10px;
  flex-flow: wrap;
}
section.topics .category li.current a {
  background: #FFE40B;
  color: var(--color_b);
}
section.topics .category li a {
  padding: 3px 11px 5px;
  border-radius: 30px;
  letter-spacing: 2px;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 500;
  background: var(--color_b);
  color: #fff;
}
main#idx section.topics .slider,
main#page section.topics .slider {
  width: 100%;
  gap: 20px;
}
section.topics .slider {
  max-width: 520px;
  width: 100%;
}
section.topics .slider dl:last-child {
  display: none;
}

section.series {
  margin: 24px 0 30px;
  padding: 50px 0 90px;
}
section.series::after {
  width: 100vw;
  height: 100%;
  background-image: url("images/back_1-1_res.png");
  top: 0;
  left: 0;
}
section.series > p {
  width: 100%;
}
section.series ul {
  flex-direction: column;
  gap: 10px;
  max-width: 420px;
  width: 100%;
  margin: auto;
}

main#idx section.topics .slider dl,
main#page section.topics .slider dl {
  width: 100%;
}
} /* 1000以下 */


@media (width < 800px) {
br.res {
  display: block;
}
br.reson {
  display: none;
}
header .top_menu nav.main_nav ul > li em {
  display: none;
}

header.idx::before {
  content: '';
  display: inline-block;
  width: 120px;
  height: 50px;
  background-image: url(images/back_illust_2.png);
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  position: absolute;
  z-index: 1;
  right: 10%;
  top: 40px;
}
} /* 800以下 */


@media (width < 450px) {

} /* 450以下 */