/* CSS Document */
p { margin: 0; }

@media (min-width: 768px) { .top_lead { text-align: center; font-size: 18px; line-height: 2.0; margin: 0 0 40px 0; }
  .photo_flex { display: flex; gap: 0 10px; justify-content: center; align-items: center; }
  .photo_flex > div { width: 33.3%; position: relative; }
  .photo_flex > div span { position: absolute; background-color: #ddd; right: 0; bottom: 12px; padding: 2px 15px; font-size: 20px; }
  .photo_flex2 { display: flex; gap: 0 10px; justify-content: center; align-items: center; }
  .photo_flex2 > div { width: calc(40% - 10px); position: relative; }
  .photo_flex2 > div p { font-size: 14px; margin: 5px 0 0 0; text-align: center; }
  .photo_flex2 > div.last_d { width: 20%; position: relative; padding: 0 0 0 12px; }
  .photo_flex2 > div.last_d p { font-size: 18px; font-weight: bold; margin: 0; text-align: left; }
  .photo_flex3 { display: flex; gap: 0 10px; justify-content: center; }
  .photo_flex3 > div:first-child { width: 501px; }
  .photo_flex3 > div:first-child p { font-size: 14px; margin: 5px 0 0 0; line-height: 1.2; text-align: center; }
  .popup_ul { margin: 0; }
  .popup_ul span { color: #ea1c20; font-weight: bold; }
  .top_title { background-color: #a99472; color: #fff; margin: 0; padding: 25px 20px; }
  .midashi02 { margin: 60px 0 30px; }
  .midashi03 { margin: 40px 0 30px; }
  #link_1f, #link_b1f { margin-top: -110px; padding-top: 110px; } }
@media (max-width: 767.98px) { .top_lead { text-align: center; font-size: 14px; line-height: 1.8; margin: 0 0 30px 0; }
  .photo_flex { display: flex; flex-wrap: wrap; gap: 0 10px; justify-content: center; align-items: center; }
  .photo_flex > div { width: calc(50% - 5px); position: relative; margin: 0 0 10px 0; }
  .photo_flex > div span { position: absolute; background-color: #ddd; right: 0; bottom: 10px; padding: 2px 10px; font-size: 12px; }
  .photo_flex > div:last-child { margin: 0; }
  .photo_flex2 { display: flex; flex-wrap: wrap; gap: 0 2%; justify-content: center; }
  .photo_flex2 > div { width: calc(48%); position: relative; }
  .photo_flex2 > div span { position: absolute; background-color: #ddd; right: 0; bottom: 10px; padding: 2px 15px; font-size: 20px; }
  .photo_flex2 > div p { margin: 3px 0 0 0; }
  .photo_flex2 > div.last_d { width: 100%; position: relative; padding: 10px 0 0 0; }
  .photo_flex2 > div.last_d p { font-size: 16px; font-weight: bold; margin: 0; text-align: left; }
  .photo_flex3 { display: flex; gap: 0 10px; justify-content: center; }
  .photo_flex3 > div:first-child { width: 100%; }
  .photo_flex3 > div:first-child p { margin: 3px 0 0 0; line-height: 1.2; }
  .popup_ul { margin: 0; padding: 0 0 0 25px; }
  .popup_ul span { color: #ea1c20; font-weight: bold; }
  .top_title { background-color: #a99472; color: #fff; margin: 0; padding: 15px 10px; font-size: 16px; }
  .midashi02 { margin: 30px 0 20px; }
  .midashi03 { margin: 25px 0 15px; }
  #link_1f, #link_b1f { margin-top: -60px; padding-top: 60px; } }
@media (min-width: 768px) { .title { background-color: #bbb; display: block; padding: 1em; text-align: center; font-weight: bold; }
  .popup_menu { padding: 2em; list-style-type: none; display: flex; justify-content: center; background-color: #eee; margin-bottom: 0; width: 100%; gap: 0 30px; }
  .popup_menu li { margin: 0; padding: 0; width: 410px; text-align: center; font-size: 18px; }
  .popup_menu li a { width: 100%; height: 100%; padding: 20px; background-color: #fff; display: block; border-radius: 50px; }
  .popup_menu li span { display: block; text-align: center; }
  .popup_menu li:hover { opacity: 0.8; }
  .popup_menu .menu_name { font-weight: bold; color: #000; font-size: 18px; }
  .popup_menu .menu_link { color: #000; background-color: #eee; border-radius: 50px; font-size: 14px; padding: 6px; margin-left: 10px; margin-right: 10px; } }
@media (max-width: 767.98px) { .title { background-color: #bbb; display: block; padding: 10px; text-align: center; font-weight: bold; font-size: 14px; }
  .popup_menu { padding: 2em; list-style-type: none; display: flex; flex-wrap: wrap; justify-content: space-between; background-color: #eee; margin-bottom: 0; flex-wrap: wrap; }
  .popup_menu li { margin: 0; padding: 0; width: 49%; text-align: center; margin-bottom: 1em; width: 100%; }
  .popup_menu li a { width: 100%; height: 100%; padding: 10px 14px; background-color: #fff; display: block; border-radius: 50px; }
  .popup_menu li span { display: block; text-align: center; }
  .popup_menu li:hover { opacity: 0.8; }
  .popup_menu li:last-child { margin: 0; }
  .popup_menu .menu_name { font-weight: bold; color: #000; font-size: 14px; }
  .popup_menu .menu_link { color: #000; background-color: #eee; border-radius: 50px; font-size: 12px; padding: 6px; margin-left: 10px; margin-right: 10px; } }
