@charset "utf-8";

/*SP（750px以下）*/

@media screen and (max-width: 750px) {

    .pc {
        display: none;
    }

    .sp {
        display:block;
    }

    .column2-top {
        width: 100%;
    }

    .column2-top img {
        display: block;
        width: 100%;
        padding-top: 50px;        
    }

    .column2 {
        display: flex;
        width: 100%;
        flex-direction: column;
    }

    /* 岡本 */
    .column2-contents {
        width: 100%;
        /* background-color: pink;
        height: 500px; */
        color: black;
        padding: 5px;
    }

    /* topテキスト */
  
    .column2-text {
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      text-align: center;
    }
  
    .column2-text:before,
    .column2-text:after {
      border-top: 2px solid black;
      content: "";
      width: 20px;
    }
  
    .column2-text:before {
      margin-right: 10px;
    }
  
    .column2-text:after {
      margin-left: 10px;
    }
  
    .column2-text-content {
      border: 5px dotted #99d0e6;
      padding: 10px;
      margin: 5px;
      font-size: 20px;
      line-height: 1.5;
    }
  
    .column2-title {
      background-color: #a2db61;
      color: white;
      font-size: 2vw;
      text-align: center;
      padding: 20px;
      font-weight: bold;
    }
  
    /*---------------
   ◆ ふきだし ◆
  ---------------*/
  
    /*=== 共通設定 ===*/
  
    /*全体の上下左右の余白*/
    .column2-fuki {
      margin: 20px 0;
    }
  
    /*テキスト回り込み解除*/
    .column2-fuki:after,
    .column2-fuki:before {
      clear: both;
      content: "";
      display: block;
    }
  
    /*アイコン画像の設定*/
    .column2-fuki figure {
      margin: 0;
      display: block;
    }
  
    .column2-fuki figure img {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      margin: 0;
      vertical-align: middle;
      border: 1px solid #ccc;
    }
  
    /*アイコン画像の設定*/
    .column2-fuki-img-left {
      margin-left: 10px;
      margin-top: 1px;
      float: left;
    }
  
    .column2-fuki-img-right {
      margin-right: 10px;
      margin-top: 1px;
      float: right;
    }
  
    .column2-fuki-img-left,
    .column2-fuki-img-right {
      width: 90px;
      height: 90px;
    }
  
    /*アイコン画像の名前*/
    .column2-fuki-img-name {
      padding: 0;
      margin-top: 3px;
      font-size: 10px;
      line-height: 1.2em;
      font-weight: 400;
      text-align: center;
      display: block;
    }
  
    /*=== 会話風ふきだし ===*/
    .column2-chat-text-left,
    .column2-chat-text-right {
      position: relative;
      margin: 0 100px 16px;
      padding: 10px;
      box-shadow: 1px 1px 5px #aaaaaa90;
      border-radius: 10px;
      min-height: 80px;
      display: flex;
      align-items: center;
      line-height: 1.5;
    }
  
    .column2-chat-text-left p,
    .column2-chat-text-right p {
      margin: 0 !important;
      font-size: 18px;
    }
  
    /*左からのふきだし*/
    .column2-chat-text-left {
      background-color: #f9d7ed;
      border: 1px solid #e26ee6;
    }
  
    /*左からのふきだしの三角部分*/
    .column2-chat-text-left:after {
      position: absolute;
      top: 16px;
      left: -22px;
      content: '';
      border: 12px solid transparent;
      border-right: 12px solid #f9d7ed;
    }
  
    .column2-chat-text-left:before {
      position: absolute;
      top: 16px;
      left: -24px;
      content: '';
      border: 12px solid transparent;
      border-right: 12px solid #e26ee6;
    }
  
    /*右からのふきだし*/
    .column2-chat-text-right {
      background-color: #d0eff9;
      border: 1px solid #41d6e6;
    }
  
    /*左からのふきだしの三角部分*/
    .column2-chat-text-right:after {
      position: absolute;
      top: 16px;
      right: -22px;
      content: '';
      border: 12px solid transparent;
      border-left: 12px solid #d0eff9;
    }
  
    .column2-chat-text-right:before {
      position: absolute;
      top: 16px;
      right: -24px;
      content: '';
      border: 12px solid transparent;
      border-left: 12px solid #41d6e6;
    }
  
    /*スマホ表示の時は横幅いっぱいに広げる*/
    .column2-chat-text-left {
      margin-left: 90px;
      margin-right: 0;
    }
  
    .column2-chat-text-right {
      margin-left: 0;
      margin-right: 90px;
    }
  
    /*スマホ表示の時はふきだし画像サイズを小さくする*/
    .column2-fuki-img-left,
    .column2-fuki-img-right {
      width: 80px;
      height: 80px;
    }
  
    .column2-while {
      font-size: 18px;
      line-height: 1.5;
    }
  
    /* ボタン */
    .column2-button a {
      background: #f95a49;
      border-radius: 3px;
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 0 auto;
      max-width: 500px;
      padding: 10px 25px;
      color: #1e1c1c;
      transition: 0.3s ease-in-out;
      font-weight: 600;
      border: 2px solid #ec7367;
      z-index: 1;
      border-radius: 5px;
      font-size: 20px;
      width: 80%;
    }
  
    .column2-button a:before {
      content: "";
      width: 100%;
      height: 100%;
      position: absolute;
      background: #b5dfef;
      z-index: -1;
      border: 2px solid #000;
      border-radius: 5px;
    }
  
    .column2-button a:after {
      position: absolute;
      top: 0;
      bottom: 0;
      width: 100%;
      height: 100%;
      content: '';
      -webkit-transition: all .3s;
      transition: all .3s;
      -webkit-transform: translate3d(0, 0.40rem, -1rem);
      transform: translate3d(0, 0.40rem, -1rem);
      border: 2px solid #000;
      border-radius: inherit;
      background: #41d6e6;
      -webkit-box-shadow: 0 0.6rem 0 0 rgb(0 0 0 / 20%);
      box-shadow: 0 0.4rem 0 0 rgb(0 0 0 / 20%);
      z-index: -2;
    }
  
    .column2-button a i {
      position: absolute;
      right: 9px;
    }
  
    .column2-button a:hover {
      transform: translate3d(0, 0.2rem, -1rem);
    }
  
    .column2-button a:hover:after {
      transform: translate3d(0, 0.2rem, -1rem);
      box-shadow: 0 0.2rem 0 0 rgb(0 0 0 / 20%);
    }


    /* 片岡 */
    .column2-side {
        width: 100%;
        background-color: #eeffff;
        padding: 10px 0;
    }

    .column2-side-top {
        width: 98%;
        margin: 0 auto;
    }

    .column2-side-top h3 {
        font-size: 5vw;
        text-align: center;
        color: #364e96;
        padding: 0.5em 0;
        border-top: solid 3px #364e96;
        border-bottom: solid 3px #364e96;
    }

    .column2-side-topimage {
        width: 40%;
        margin: 0 auto;
    }

    .column2-side-topcontents {
        width: 95%;
        margin: 0 auto;
    }

    .column2-side-topcontents h4 {
        font-size: 4.5vw;
        text-align: center;
    }

    .column2-side-topcontents h4 span {
        font-size: 4.2vw;
    }

    .column2-side-topcontents p {
        font-size: 14px;
        line-height: 1.3;
    }

    .column2-side-secondimage {
        padding-top: 30px;
        border-top: solid 1px #ccc;
        width: 40%;
        margin: 0 auto;
    }

    .column2-side-secondcontents {
        width: 95%;
        margin: 0 auto;
    }

    .column2-side-secondcontents h4 {
        font-size: 4.5vw;
        text-align: center;
    }

    .column2-side-secondcontents p {
        font-size: 14px;
        line-height: 1.3;
    }    

}