@charset "UTF-8";

/* フッター */
.footer {
    position: relative;
    height: 275px;
    background-color: #222;
    font-size: 16px;
    color: #efefef;
    padding: 65px 0 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background-color: inherit;
}

.footer-info {
  margin: 0 auto;
}

.footer-info-title {
  margin-bottom: 26px;
  font-size: 17px;
}

.footer-copyright {
  font-size: 9px;
  margin-top: 93px;
}

img.footer-back-img-mp {
    display: none;
}

.footer-right {
  position: relative;
  width: 45%;
}

button#fotter-saying-change {
    position: relative;
    width: fit-content;
    padding: 13px 67px 13px 33px;
    font-size: 16px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    /* 黒40%の透明度 */
    conic-gradient(from 125deg at 89% 77%, rgba(32, 72, 98, 1) 0deg, rgba(38, 77, 104, 1) 57deg 133deg, rgba(74, 114, 141, 1) 160deg, rgba(92, 133, 160, 1) 288deg, rgba(94, 135, 162, 1) 303deg, rgba(122, 157, 180, 1) 317deg, rgba(177, 202, 218, 1) 346deg, rgba(186, 209, 224, 1) 360deg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
    border-radius: 27px;
}

button#fotter-saying-change::after {
  content: "";
  position: absolute;
  top: 15px;
  right: 29px;
  width: 30px;
  height: 30px;
  background-image: url('https://www.emotion-edu.com/wp/wp-content/uploads/2025/07/coffee-cup.png');
  background-repeat: no-repeat;
  background-size: contain;
}

button#fotter-saying-change:active {
  transform: scale(0.99);
  /* 90%のサイズに縮小 */
  transition: transform 0.1s;
  /* 変化を滑らかに */
}

div#fotter-famous-saying {
  margin-top: 27px;
}

.speech-bubble-right {
  position: relative;
  background-color: #8e8e8e;
  border-radius: 2px;
  padding: 15px 20px;
  width: fit-content;
  max-width: 70%;
  margin-left: auto;
}

.speech-bubble-right::after {
  content: "";
  /* 疑似要素には content が必要 */
  position: absolute;
  top: 50%;
  /* 吹き出しの垂直方向の中央 */
  right: -10px;
  /* 吹き出しの右端から外に出す距離 (しっぽの長さ) */
  transform: translateY(-50%);
  /* 垂直方向の中央に微調整 */

  /* 吹き出しのしっぽ（三角形）の作成 */
  border-width: 10px 0 10px 10px;
  /* 上辺 右辺 下辺 左辺 の太さ */
  border-style: solid;
  border-color: transparent transparent transparent #8e8e8e;
  /* 透明な上、右、下辺と、#dddの左辺 */
  /* これにより、左辺が#dddの三角形ができます */
}

.footer-saying-area {
  display: flex;
  /* justify-content: start; */
  align-items: center;
}

.footer-right img {
  width: 50px;
  margin-top: auto;
  margin-right: 39%;
  padding-left: 15px;
}

img.footer-back-img {
  position: absolute;
  bottom: 0;
  right: 19%;
  width: 540px;
  height: auto;
  opacity: 0.5;
}


/* ------------------------
   レスポンシブ対応 追加CSS
------------------------- */
/* 1. 画面幅 1024px以下（タブレット） */
@media (max-width: 1024px) {
    .footer-content {
    display: flex;
    flex-direction: column-reverse;
    background-color: inherit;
}

.footer-info {
    text-align: center;
}

.footer-info-title {
    margin-bottom: 21px;
    font-size: 17px;
}

.footer-copyright {
    margin-top: 24px;
    margin-bottom: 0;
}

.footer-right {
    width: 100%;
    margin-bottom: 55px;
}

button#fotter-saying-change {
    width: 330px;
    display: block;
    margin: 0 auto;
    text-align: center;
    justify-content: center;
    align-items: flex-start;
}

.footer-right img {
    width: 50px;
    margin-top: auto;
    margin-right: 5%;
    padding-left: 15px;
}

img.footer-back-img {
    display: none;
}
}



/* 2. 画面幅 767px以下（スマホ） */
@media (max-width: 767px) {
.footer-content {
    padding: 0 6px;
}

.footer-info-title {
    font-size: 15px;
}

.footer-right img {
    width: 45px;
    margin-right: 2%;
    margin-bottom: 5px;
}
}

