@charset "UTF-8";
/*
Theme Name: tosashimizu_shakyo
Theme URl: https://192.168.0.210:10000/tosashimizu_shakyo/
Author: Office Partner
Description: 土佐清水市社会福祉協議会HPオリジナルテーマ
*/

/* ********** base  ********** */
*,
*:before,
*:after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: #1a1a1a;
  background-color: #f2ebd8;
  min-height: 100dvh;
  width: 100vw;
  overflow-x: hidden;
  scroll-behavior: smooth;
  letter-spacing: 0.05em;
  font-family: "Outfit", "Noto Sans JP", sans-serif;
}
/* 画面遷移時のフェードインのため */
body {
  display: none;
}
main {
  margin: 0 auto;
  width: 80%;
  max-width: 900px;
}
p {
  padding: 0;
  margin: 0;
  margin-block-end: 0;
  margin-block-start: 0;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--sub-font);
  transition: 0.5s;
  display: inline-block;
}
a:hover,
a:active {
  color: var(--blue);
}

h1,
h2,
h3,
h4,
h5 {
  padding: 0;
  margin: 0;
}

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

/********** 変数用 **********/
:root {
  /* vw */
  --vw: 1vw;
  /* 色 */
  --white: #fff;
  --base-beige: #f5efde;
  --main-font: #1a1a1a;
  --sub-font: #46423c;
  --orange: #f1c064;
  --blue: #bacdd1;
  --accent-blue: #bdebe2;
  --accent-green: #c7ebaa;
  --accent-yellow: #ffed8a;
  --accent-pink: #ffbeab;

  /* 文字間隔 */
  --l-space-50: 0.05em;
  --l-space-100: 0.1em;
  --l-space-200: 0.2em;
}
/********** フォント **********/
@font-face {
  font-family: "Outfit";
  src: url(../fonts/Outfit-VariableFont_wght.woff2) format("woff2");
  font-weight: 400 900;
}
@font-face {
  font-family: "NotoSansJP", sans-serif;
  src: url(../fonts/NotoSansJP-VariableFont_wght.woff2) format("woff2");
  font-weight: 400 900;
}

/* 部分的に英数字にするとき */
.font_fam-EN {
  font-family: "Outfit", "Arial", sans-serif;
}
/* 色をホワイトにするとき */
.font_color-W {
  color: var(--white);
}
/* 色強調 -- オレンジ*/
.font_color-accent {
  color: var(--orange);
}
/* 色強調 -- グリーン*/
.font_color-accentGR {
  color: var(--accent-green);
}
/* 色強調 -- ピンク*/
.font_color-accentPK {
  color: var(--accent-pink);
}
/* 部分的に文字間を変えるとき */
.l_space-125 {
  letter-spacing: 0.125em;
}
/* 太字強調 medium or semibold */
.font_weight-700 {
  font-weight: 700;
}
.font_weight-500 {
  font-weight: 500;
}
/* 文字種類 */
.font_headline-32 {
  /* max 32px min 22px */
  font-size: clamp(1.375rem, 1.25rem + 0.63vw, 2rem);
  font-weight: 500;
  letter-spacing: var(--l-space-100);
}
.font_headline-28 {
  /* max 28px min 22px */
  font-size: clamp(1.375rem, 1.3rem + 0.375vw, 1.75rem);
  font-weight: 500;
  letter-spacing: var(--l-space-100);
}
.font_headline-24 {
  /* max 24px min 20px */
  font-size: clamp(1.25rem, 1.2rem + 0.25vw, 1.5rem);
  font-weight: 500;
  letter-spacing: var(--l-space-100);
}
.font_sub-headline-20 {
  /* max 20px min 18px */
  font-size: clamp(1.125rem, 1.1rem + 0.13vw, 1.25rem);
  font-weight: 500;
  letter-spacing: var(--l-space-50);
}
.font_text-20 {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: var(--l-space-50);
}
.font_text-18 {
  /* max 18px min 16px */
  font-size: clamp(1rem, 0.975rem + 0.13vw, 1.125rem);
}
.font_text-16 {
  /* max 16px min 12px */
  font-size: clamp(0.75rem, 0.7rem + 0.25vw, 1rem);
}
.font_text-14 {
  /* max 14px min 11px */
  font-size: clamp(0.688rem, 0.65rem + 0.19vw, 0.875rem);
}
.font_text-12 {
  font-size: 0.75rem;
}
.font_caption {
  /* max 12px min 9px */
  font-size: clamp(0.563rem, 0.525rem + 0.19vw, 0.75rem);
}
.font_menu-headline {
  /* max 18px min 14px */
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem);
  font-weight: 500;
  letter-spacing: var(--l-space-200);
}
.font_menu-list {
  /* max 16px min 12px */
  font-size: clamp(0.75rem, 0.7rem + 0.25vw, 1rem);
  font-weight: 500;
  letter-spacing: var(--l-space-200);
}
/* 単語途中改行なし */
.nowrap {
  white-space: nowrap;
}
.span_nowrap {
  display: inline-block;
}

/* 一文字インデント */
.chara-indent {
  text-indent: 1em;
  margin-bottom: 0.5em;
}
/* 二行目ぶら下げインデント */
.secondline-indent {
  padding-left: 1em;
  text-indent: -1em;
  margin-bottom: 0.5em;
}
.textDecoMarker {
  text-decoration-color: rgba(255, 237, 138, 0.7);
  text-decoration-line: underline;
  text-decoration-thickness: 8px;
  text-underline-offset: -5px;
}

/* ----------------------------------- */
/* ---------- アニメーションクラス --------- */
/* ----------------------------------- */
/* body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--base-beige); 
  z-index: 9999; 
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}
body#fade::after {
  opacity: 1;
} */

/* ----------------------------------- */
/* ---------- リンクボタン関連 --------- */
/* ----------------------------------- */
.btn-circle {
  border: var(--blue) 1.5px solid;
  border-radius: 50%;
  height: 46px;
  width: 46px;
  position: relative;
  cursor: pointer;
  color: var(--blue);
  text-align: center;
  margin-left: 16px;
  transition: 0.25s;
}
.btn-circle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border: 0;
  border-top: solid 2px var(--blue);
  border-right: solid 2px var(--blue);
  display: inline-block;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: 0.25s;
}
a:hover .btn-circle {
  background-color: var(--blue);
}
a:hover .btn-circle::after {
  border-top: solid 2px var(--white);
  border-right: solid 2px var(--white);
  left: 58%;
}
.btn-circle:hover {
  background-color: var(--blue);
}
.btn-circle:hover::after {
  border-top: solid 2px var(--white);
  border-right: solid 2px var(--white);
  left: 58%;
}

/********** display メディアクエリ **********/
.display_over501 {
  display: block;
}
.display_over769 {
  display: block;
}
.display_over844 {
  display: inline-block;
}
.display_over1024 {
  display: inline-block;
}
.display_under1440 {
  display: none;
}
.display_under1024 {
  display: none;
}
.display_under768 {
  display: none;
}
.display_under500 {
  display: none;
}
@media screen and (max-width: 1439px) {
  .display_under1440 {
    display: inline-block;
  }
}
@media screen and (max-width: 1023px) {
  .display_over1024 {
    display: none;
  }
  .display_under1024 {
    display: inline-block;
  }
}
@media screen and (max-width: 843px) {
  .display_over844 {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .display_over769 {
    display: none;
  }
  .display_under768 {
    display: block;
  }
}
@media screen and (max-width: 500px) {
  .display_under500 {
    display: block;
  }
  .display_over501 {
    display: none;
  }
}
/********** flex 共通 **********/
/* initial */
.flexbox {
  display: flex;
}
.flexbox_column-u768,
.flexbox_column-u390 {
  display: flex;
}
.flexbox_row {
  display: flex;
  align-items: center;
}
.flexbox_column {
  display: flex;
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
@media screen and (max-width: 1024px) {
  .flexbox {
    flex-direction: column;
  }
}
@media screen and (max-width: 768px) {
  .flexbox_column-u768 {
    flex-direction: column;
  }
}
@media screen and (max-width: 390px) {
  .flexbox_column-u390 {
    flex-direction: column;
    align-items: center;
  }
}
/********** セクション共通 **********/
.section_wrapper {
  margin: 120px auto;
}
.breaking-out {
  margin-inline: calc(50% - 50vw);
}
/********** セクション見出し **********/

/********** セクション見出し **********/

/********** サブセクション見出し **********/

/* ------------------------------------ */
/* ---- 前頁共通 footer.php ---- */
/* ----------------------------------- */
/* pagetopボタン */
#js-pagetop {
  position: fixed;
  z-index: 9999;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 32px;
}
#js-pagetop .flexbox_column {
  align-items: center;
  margin-bottom: 24px;
}
#js-pagetop .pagetop_icon,
#js-pagetop .tohome_icon {
  width: 32px;
  aspect-ratio: 1/1;
}

#js-pagetop .pagetop {
  writing-mode: vertical-lr;
  line-height: 1;
  font-weight: 600;
  letter-spacing: var(--l-space-100);
  margin-top: 8px;
}

/*footerまでスクロールしたらシャドウを追加*/
.add-shadow img {
  background: var(--blue);
  box-shadow: 1px 1px 3px #b4c7cb, -1px -1px 3px #c0d3d7;
  border-radius: 8px;
}
.add-shadow #pagetop .pagetop {
  color: var(--white);
}
.add-shadow #pagetop:hover .pagetop {
  color: var(--orange);
}
/* コンタクト */
section.contact {
  margin: 240px auto;
  width: 80%;
  max-width: 900px;
}
.contact_wrapper {
  position: relative;
  padding: 40px 80px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
}
.contact_wrapper::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  width: 100%;
  height: 100%;
  border: 0.5px solid var(--blue);
}
img.title-en.contact_title-en {
  position: absolute;
  top: -32px;
  left: -32px;
  width: 20vw;
  max-width: 256px;
  min-width: 236px;
}
.contact_container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 80%;
}
p.contact_catch {
  text-align: center;
}
.contact_inner {
  margin-top: 24px;
}
.contact_inner .inner_title {
  text-align: center;
  padding-bottom: 16px;
}
.contact_inner-tel {
  padding-bottom: 8px;
}
.mail_btn {
  background-color: var(--orange);
  position: relative;
  display: block;
  padding: 24px 40px;
  border-radius: 8px;
  text-align: center;
  letter-spacing: var(--l-space-100);
  z-index: 2;
}
a.mail_btn:hover {
  color: var(--white);
}
img.bg_line {
  position: absolute;
  z-index: -1;
  top: 8px;
  transform: translateX(-50%);
  left: 50%;
}
#footer {
  color: var(--white);
  margin-top: 240px;
}
.ft_wrapper {
  display: flex;
  position: relative;
  z-index: 2;
}
.ft_container.container_left {
  background-color: var(--sub-font);
  border-radius: 0 24px 0 0;
  padding: 104px 80px 10px 11.1%;
  width: calc(100vw - 50%);
  letter-spacing: 0.1em;
}
.ft_container-upperbox {
  margin-bottom: 24px;
}
img.bg_nanohana {
  position: absolute;
  bottom: 95%;
  left: 0;
  width: 34.7vw;
  max-width: 500px;
  min-width: 280px;
  opacity: 0.72;
  z-index: -1;
}
.ft_container.container_right {
  background-color: var(--blue);
  margin-top: 32px;
  padding: 64px 11.1% 64px 80px;
  width: calc(100vw - 50%);
  display: flex;
  align-items: center;
}
.corp_name {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 16px;
}
.corp_name img {
  width: 72px;
  margin-right: 24px;
}
.corp_add {
  min-width: 350px;
}
.corp_add p {
  margin-bottom: 16px;
  white-space: nowrap;
}
.corp_contact {
  display: flex;
  align-items: center;
}
a.icon_btn {
  background-color: var(--blue);
  border-radius: 8px;
  color: var(--sub-font);
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  padding: 11px;
  margin-left: 24px;
}
a.icon_btn:hover {
  color: var(--white);
}
.fb_icon {
  padding-right: 8px;
  width: 24px;
}
.shakyo-logo_wrapper img {
  max-width: 400px;
}
#footer small {
  display: block;
  position: absolute;
  transform: translateX(-50%) rotate(90deg);
  top: 50%;
  left: 0;
  margin: 24px 16px;
}
/* ********** メディアクエリ ********** */
/* 1440px以上 */
@media screen and (min-width: 1440px) {
  .ft_container.container_left {
    width: calc(100vw - 40%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-right: 10%;
  }
  .ft_container.container_right {
    width: calc(100vw - 60%);
  }
  .ft_container-upperbox {
    display: flex;
    align-items: flex-end;
    margin-bottom: 0;
  }
  .shakyo-logo_wrapper {
    margin-left: 40px;
  }
  .display_over1440 {
    display: block;
  }
}
/* 1439px以下 */
@media screen and (max-width: 1439px) {
  .ft_container.container_right {
    padding: 64px 6.4%;
  }
  .ft_container.container_left {
    padding: 80px 6.4% 24px;
  }
  .shakyo-logo_wrapper {
    margin-left: 0;
    margin-top: 24px;
  }
}

/* 1024px以下 */
@media screen and (max-width: 1024px) {
  .contact_container {
    flex-direction: column;
  }
  .corp_contact {
    flex-direction: column;
    align-items: flex-start;
  }
  a.icon_btn {
    margin-left: 0;
    margin-top: 24px;
  }
}

/* 768px以上 */
@media screen and (min-width: 769px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}
@media screen and (max-width: 768px) {
  .section_wrapper {
    margin: 80px auto;
  }
  section.contact {
    margin: 120px auto;
  }
  /* footer */
  .ft_wrapper {
    flex-direction: column;
  }
  .ft_container.container_left {
    width: calc(100vw - calc(100vw - 100%));
    border-top-right-radius: 80px;
  }
  .ft_container.container_right {
    width: calc(100vw - calc(100vw - 100%));
    margin-top: 0;
  }
  .shakyo-logo_wrapper img {
    max-width: initial;
  }
  #footer small {
    bottom: 48%;
    top: initial;
  }
}
@media screen and (max-width: 600px) {
  img.title-en.contact_title-en {
    top: -48px;
  }
  .contact_wrapper {
    padding: 56px 24px 24px;
  }
  .corp_name {
    font-size: 1rem;
  }
}
@media screen and (max-width: 468px) {
  .mail_btn {
    padding: 16px 24px;
  }
  .mail_btn span {
    display: inline-block;
    line-height: 1.2;
  }
  #js-pagetop {
    right: 20px;
  }
  #footer small {
    font-size: 10px;
    bottom: 50%;
  }
}
@media screen and (max-width: 390px) {
  img.title-en.contact_title-en {
    min-width: 200px;
    left: -24px;
  }
  p.contact_catch {
    font-size: 16px;
  }
}
